Bug#422851: grub-pc: Configuration fails if there is no /dev/fd0

2007-05-09 Thread Sam Morris
That's the only output from the grub-probe command: $ sudo grub-probe -v /boot/grub/ grub-probe: error: Cannot get the real path of `/dev/fd0' -- Sam Morris http://robots.org.uk/ PGP key id 1024D/5EA01078 3412 EA18 1277 354B 991B C869 B219 7FDB 5EA0 1078 signature.asc

Bug#422851: grub-pc: Configuration fails if there is no /dev/fd0

2007-05-09 Thread Sam Morris
I noticed that grub-probe gets the list of devices to probe from the existing /boot/grub/device.map. If I removed the line from that file that mentioned /dev/fd0 (which has never existed on this system) then grub-probe no longer fails. However, I still can't get grub2 to install: # dpkg

Bug#422851: grub-pc: Configuration fails if there is no /dev/fd0

2007-05-09 Thread Sam Morris
It seems that my particular failure is caused by my /boot being on RAID and so is unrelated to this exact bug: # grub-probe -v --target=partmap --device-map=/boot/grub/device.map /boot/grub grub-probe: info: the size of hd0 is 117266688 grub-probe: info: opening the

Bug#422851: grub-pc: Configuration fails if there is no /dev/fd0

2007-05-09 Thread Sam Morris
Here's a better backtrace, obtained one I patched the build system to respect DEB_BUILD_OPTIONS=noopt: #0 0x08048eb9 in probe (path=0xbfdd6e50 /boot/grub) at /tmp/x/grub2-1.95+20070507/util/i386/pc/grub-probe.c:129 device_name = 0x806a138 md0

Bug#423022: Bug#422851: grub-pc: Configuration fails if there is no /dev/fd0

2007-05-09 Thread Robert Millan
On Wed, May 09, 2007 at 12:37:03PM +0100, Sam Morris wrote: Here's a better backtrace, obtained one I patched the build system to respect DEB_BUILD_OPTIONS=noopt: #0 0x08048eb9 in probe (path=0xbfdd6e50 /boot/grub) at

Bug#423022: Bug#422851: grub-pc: Configuration fails if there is no /dev/fd0

2007-05-09 Thread Sam Morris
On Wed, 2007-05-09 at 15:58 +0200, Robert Millan wrote: On Wed, May 09, 2007 at 12:37:03PM +0100, Sam Morris wrote: Here's a better backtrace, obtained one I patched the build system to respect DEB_BUILD_OPTIONS=noopt: #0 0x08048eb9 in probe (path=0xbfdd6e50 /boot/grub)

Bug#423022: Bug#422851: grub-pc: Configuration fails if there is no /dev/fd0

2007-05-09 Thread Robert Millan
On Wed, May 09, 2007 at 03:02:48PM +0100, Sam Morris wrote: Yes, grub-probe: error: Cannot detect partition map for md0. The message doesn't appear when grub-pc's postinst is run, however. Also, what is the result of parted /dev/md0 print ? Disk /dev/md0: 300GB Sector

Bug#422851: grub-pc: Configuration fails if there is no /dev/fd0

2007-05-09 Thread Sam Morris
On Wed, 2007-05-09 at 17:16 +0200, Robert Millan wrote: On Wed, May 09, 2007 at 03:02:48PM +0100, Sam Morris wrote: Yes, grub-probe: error: Cannot detect partition map for md0. The message doesn't appear when grub-pc's postinst is run, however. Also, what is the result of parted

Bug#422851: grub-pc: Configuration fails if there is no /dev/fd0

2007-05-08 Thread johfel
Package: grub-pc Version: 1.95+20070507-1 Severity: normal At the installation I got this error messages: Setting up grub-pc (1.95+20070507-1) ... Updating /boot/grub/grub.cfg ... grub-probe: error: Cannot get the real path of `/dev/fd0' grub-probe: error: Cannot get the real path of `/dev/fd0'

Bug#422851: grub-pc: Configuration fails if there is no /dev/fd0

2007-05-08 Thread Robert Millan
On Tue, May 08, 2007 at 03:00:45PM +0200, [EMAIL PROTECTED] wrote: Package: grub-pc Version: 1.95+20070507-1 Severity: normal At the installation I got this error messages: Setting up grub-pc (1.95+20070507-1) ... Updating /boot/grub/grub.cfg ... grub-probe: error: Cannot get the real