Bug#478238: grub-probe: fails to find drive for /dev/sda10
Török Edwin
edwintorok at gmail.com
Sun May 4 14:01:32 UTC 2008
Robert Millan wrote:
> On Mon, Apr 28, 2008 at 11:54:16AM +0300, Török Edwin wrote:
>
>> Package: grub-common
>> Version: 1.96+20080426-1
>> Severity: important
>>
>> --- Please enter the report below this line. ---
>>
>> # grub-probe -t device /boot
>> /dev/sda10
>>
>> # grub-probe -t drive /boot
>> grub-probe: error: Cannot find a GRUB drive for /dev/sda10. Check your device.map.
>>
>> I attached the output of
>> 'grub-probe -d /dev/sda10 -vv'
>>
>> =---------------------------------------------------------=
>> Output from fdisk -l:
>>
>> Disk /dev/sda: 60.0 GB, 60011642880 bytes
>> 255 heads, 63 sectors/track, 7296 cylinders
>> Units = cylinders of 16065 * 512 = 8225280 bytes
>> Disk identifier: 0x8f800100
>>
>> Device Boot Start End Blocks Id System
>> /dev/sda1 * 1 1275 10241406 7 HPFS/NTFS
>> /dev/sda2 1276 2248 7815622+ a6 OpenBSD
>> /dev/sda3 2249 5289 24426832+ f W95 Ext'd (LBA)
>> /dev/sda4 6080 7296 9775552+ bf Solaris
>> /dev/sda5 2249 2371 987966 82 Linux swap / Solaris
>> /dev/sda6 2372 3587 9767488+ 83 Linux
>> /dev/sda7 3588 3600 104391 83 Linux
>> /dev/sda8 3601 4863 10145016 8e Linux LVM
>> /dev/sda9 4864 5228 2931831 a6 OpenBSD
>> /dev/sda10 5229 5289 489951 83 Linux
>>
>
> Could you run grub-emu and type the following commands?
>
> "ls", "ls (hd0,1)", "ls (hd0,2)", ........., "ls (hd0,10)"
>
> and send the output? Thank you
Output from grub2:
GNU GRUB version 1.96
[ Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists possible
device/file completions. ]
grub> ls
(VolGroup00-LogVol01) (VolGroup00-LogVol00) (host) (hd0) (hd0,1) (hd0,2)
(hd0,2,a) (hd0,2,b) (hd0,2,d) (hd0,2,e) (hd0,2,g) (hd0,2,h) (hd0,2,l)
(hd0,2,m) (hd0
,2,n) (hd0,2,o) (hd0,2,p) (hd0,4) (hd0,5) (hd0,6) (hd0,7) (hd0,8) (hd0,9)
error: invalid disk label magic 0x4542414c
grub> ls (hd0,1)
Partition hd0,1: Filesystem type ntfs
grub> ls (hd0,2)
Partition hd0,2: Filesystem type ufs
grub> ls (hd0,3)
error: unknown device
grub> ls (hd0,4)
Partition hd0,4: Unknown filesystem
grub> ls (hd0,5)
Partition hd0,5: Unknown filesystem
grub> ls (hd0,6)
Partition hd0,6: Filesystem type xfs, Label debian_ROOT
grub> ls (hd0,7)
Partition hd0,7: Filesystem type ext2, Label /boot
grub> ls (hd0,8)
Partition hd0,8: Unknown filesystem
grub> ls (hd0,9)
Partition hd0,9: Unknown filesystem
grub> ls (hd0,10)
error: unknown device
grub> ls (hd0,11)
error: unknown device
grub>
Output from grub-0.97:
grub> root (hd0,1)
Filesystem type unknown, partition type 0xa6
grub> root (hd0,2)
Filesystem type unknown, partition type 0xf
grub> root (hd0,3)
Filesystem type unknown, partition type 0xbf
grub> root (hd0,4)
Filesystem type unknown, partition type 0x82
grub> root (hd0,5)
Filesystem type is xfs, partition type 0x83
grub> root (hd0,6)
Filesystem type is ext2fs, partition type 0x83
grub> root (hd0,7)
Filesystem type unknown, partition type 0x8e
grub> root (hd0,8)
Error 24: Attempt to access block outside partition
grub> root (hd0,9)
Filesystem type is ext2fs, partition type 0x83
grub> root (hd0,10)
Error 22: No such partition
P.S. Sorry for the late reply, the mail from the bug tracker went into
the spam folder :(
Best regards,
--Edwin
More information about the Pkg-grub-devel
mailing list