Bug#284790: update-grub: Silently fails if root device doesn't exist.

Erik Forsberg Erik Forsberg <forsberg+debianbug@lysator.liu.se>, 284790@bugs.debian.org
Wed, 08 Dec 2004 20:41:52 +0100


Package: grub
Version: 0.95+cvs20040624-12
Severity: minor

On a strangely installed system I'm currently rescuing, /etc/fstab had the line

/dev/hda3	/	ext3	errors=remount-ro		0	0

In reality, though, /dev/hda3 didn't exist, but instead the root
partition showed up as /dev/ide/host0/bus0/target0/lun0/part1 (this
system is a bit FUBARed when it comes to if it uses sysfs or not. As I
said, I'm doing a rescue operation here).

This is of course not a very normal situation, but I still think it
would be nice if update-grub could warn about a non-existing root
partition, instead of just silently exiting with exit code 1.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (50, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.25uterus7
Locale: LANG=sv_SE, LC_CTYPE=sv_SE