Bug#496040: error: unknown device hd1

Arthur Marsh arthur.marsh at internode.on.net
Tue Aug 26 22:54:11 UTC 2008



Robert Millan wrote, on 27/08/08 04:38:
> On Tue, Aug 26, 2008 at 10:48:37AM +0930, Arthur Marsh wrote:
>> Setting up grub-pc (1.96+20080724-8) ...
>> error: cannot open `(null)'
> 
> It seems there are 3 places in which the same message could be issued.
> 
> Please try the attached patch (in addition to the last one).  It should make
> them distinguishable so we can find which one you hit.
> 
> Thank you
> 
> 

The following error makes sense for a floppy drive with no disk in it, 
but maybe the error message could be improved (removable disk not in 
drive, identify the drive)?

Arthur.

dpkg -i grub-common*.deb grub-pc*.deb grub-rescue-pc*.deb
(Reading database ... 259214 files and directories currently installed.)
Preparing to replace grub-common 1.96+20080724-8 (using 
grub-common_1.96+20080724-8_i386.deb) ...
Unpacking replacement grub-common ...
Preparing to replace grub-pc 1.96+20080724-8 (using 
grub-pc_1.96+20080724-8_i386.deb) ...
Unpacking replacement grub-pc ...
Preparing to replace grub-rescue-pc 1.96+20080724-8 (using 
grub-rescue-pc_1.96+20080724-8_i386.deb) ...
Unpacking replacement grub-rescue-pc ...
Setting up grub-common (1.96+20080724-8) ...
Setting up grub-pc (1.96+20080724-8) ...
error: cannot open `(null)' while attempting to get disk size
error: cannot open `(null)' while attempting to get disk size
Updating /boot/grub/grub.cfg ...
error: cannot open `(null)' while attempting to get disk size
error: cannot open `(null)' while attempting to get disk size
error: cannot open `(null)' while attempting to get disk size
error: cannot open `(null)' while attempting to get disk size
error: cannot open `(null)' while attempting to get disk size
error: cannot open `(null)' while attempting to get disk size
Found linux image: /boot/vmlinuz-2.6.27-rc4-686
Found initrd image: /boot/initrd.img-2.6.27-rc4-686
Found linux image: /boot/vmlinuz-2.6.27-rc3
Found initrd image: /boot/initrd.img-2.6.27-rc3
Found linux image: /boot/vmlinuz-2.6.26-1-686
Found initrd image: /boot/initrd.img-2.6.26-1-686
Found linux image: /boot/vmlinuz-2.6.26
Found initrd image: /boot/initrd.img-2.6.26
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 95/98/Me on /dev/hda1
Found Windows 95/98/Me on /dev/hda7
done
Setting up grub-rescue-pc (1.96+20080724-8) ...
Processing triggers for man-db ...





More information about the Pkg-grub-devel mailing list