[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug report
From: |
Faheem Mitha |
Subject: |
bug report |
Date: |
Mon, 3 Jan 2011 12:55:33 -0500 (EST) |
User-agent: |
Alpine 2.00 (LRH 1167 2008-08-23) |
This is part of an attempt to install grub2 to the software raid array
from inside a chroot.
I was trying to mount the boot partition on the chrooted root partition,
both on them logical volumes on a software raid device. grub seems to be
having problems with the boot device though. The vg in question
corresponds to newdebian below.
I don't know if this is a real bug, or really what the relevant info is to
include, so I'm just dumping some info here.
grml:/# dpkg -l grub-pc
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-============================-============================-========================================================================
ii grub-pc 1.98+20100804-10 GRand Unified
Bootloader, version 2 (PC/BIOS version)
grml:/# grub-install /dev/md0
/usr/sbin/grub-probe: error: no such disk.
Auto-detection of a filesystem of /dev/mapper/newdebian-boot failed.
Please report this together with the output of "/usr/sbin/grub-probe
--device-map=/boot/grub/device.map --target=fs -v /boot/grub" to
<address@hidden>
Similar results with
grml:/# grub-install /dev/sda
/usr/sbin/grub-probe: error: no such disk.
Auto-detection of a filesystem of /dev/mapper/newdebian-boot failed.
Please report this together with the output of "/usr/sbin/grub-probe
--device-map=/boot/grub/device.map --target=fs -v /boot/grub" to
<address@hidden>
grml:/# /usr/sbin/grub-probe --device-map=/boot/grub/device.map
--target=fs -v /boot/grub
/usr/sbin/grub-probe: info: Cannot stat
`/dev/disk/by-id/scsi-1AMCC_3QF0QNYWC318ED001709', skipping.
/usr/sbin/grub-probe: info: Cannot stat
`/dev/disk/by-id/scsi-1AMCC_3QF0SGE4C318ED000F4B', skipping.
/usr/sbin/grub-probe: info: changing current directory to /dev.
/usr/sbin/grub-probe: info: changing current directory to newdebian.
/usr/sbin/grub-probe: info: changing current directory to md.
/usr/sbin/grub-probe: info: changing current directory to backup.
/usr/sbin/grub-probe: info: changing current directory to debian.
/usr/sbin/grub-probe: info: changing current directory to dri.
/usr/sbin/grub-probe: info: changing current directory to snd.
/usr/sbin/grub-probe: info: changing current directory to by-path.
/usr/sbin/grub-probe: info: changing current directory to cpu.
/usr/sbin/grub-probe: info: changing current directory to shm.
/usr/sbin/grub-probe: info: changing current directory to bus.
/usr/sbin/grub-probe: info: changing current directory to usb.
/usr/sbin/grub-probe: info: changing current directory to 002.
/usr/sbin/grub-probe: info: changing current directory to 001.
/usr/sbin/grub-probe: info: changing current directory to disk.
/usr/sbin/grub-probe: info: changing current directory to by-label.
/usr/sbin/grub-probe: info: changing current directory to by-uuid.
/usr/sbin/grub-probe: info: changing current directory to by-path.
/usr/sbin/grub-probe: info: changing current directory to by-id.
/usr/sbin/grub-probe: info: changing current directory to block.
/usr/sbin/grub-probe: info: changing current directory to char.
/usr/sbin/grub-probe: info: changing current directory to net.
/usr/sbin/grub-probe: info: changing current directory to pts.
/usr/sbin/grub-probe: info: changing current directory to bsg.
/usr/sbin/grub-probe: info: changing current directory to mapper.
/usr/sbin/grub-probe: info: opening newdebian-boot.
/usr/sbin/grub-probe: error: no such disk.
grml:/# fdisk -l (only for sda, where the degraded device lives)
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00071bf8
Device Boot Start End Blocks Id System
/dev/sda1 1 24315 195310206 8e Linux LVM
/dev/sda2 * 24316 38905 117187584 fd Linux raid
autodetect
Disk /dev/md0: 120.0 GB, 119997915136 bytes
2 heads, 4 sectors/track, 29296366 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/md0 doesn't contain a valid partition table
Disk /dev/dm-14: 55.0 GB, 54999908352 bytes
255 heads, 63 sectors/track, 6686 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/dm-14 doesn't contain a valid partition table
Disk /dev/dm-15: 28.0 GB, 27996979200 bytes
255 heads, 63 sectors/track, 3403 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/dm-15 doesn't contain a valid partition table
Disk /dev/dm-16: 251 MB, 251658240 bytes
255 heads, 63 sectors/track, 30 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/dm-16 doesn't contain a valid partition table
grml:/# lvs
LV VG Attr LSize Origin Snap% Move Log Copy%
Convert
local_src backup -wi-a- 25.00g
video backup -wi-a- 65.00g
etch_template debian -wi-a- 10.00g
fedora debian -wi-a- 10.00g
feisty debian -wi-a- 10.00g
gutsy debian -wi-a- 5.00g
home debian -wi-a- 50.00g
lenny debian -wi-a- 10.00g
msi debian -wi-a- 10.00g
oldchresto debian -wi-a- 5.00g
root debian -wi-a- 25.00g
suse debian -wi-a- 10.00g
vgentoo debian -wi-a- 10.00g
wsgi debian -wi-a- 10.00g
boot newdebian -wi-ao 240.00m
home newdebian -wi-a- 51.22g
root newdebian -wi-ao 26.07g
grml:/# vgs
VG #PV #LV #SN Attr VSize VFree
backup 1 2 0 wz--n- 186.26g 96.26g
debian 1 12 0 wz--n- 186.26g 21.26g
newdebian 1 3 0 wz--n- 111.75g 34.22g
# /etc/fstab: static file system information.
#
# Use 'vol_id --uuid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/mapper/newdebian-root / ext3 errors=remount-ro 0
1
/dev/mapper/newdebian-boot /boot ext3 defaults 0
2
/dev/mapper/newdebian-home /home ext3 defaults 0
2
# swap was on /dev/sdb2 during installation
UUID=948b8576-0085-44f2-858b-440713248d71 none swap sw
0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
/dev/sdc1 /media/usb0 auto rw,user,noauto 0 0
Regards, Faheem
- bug report,
Faheem Mitha <=