[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #10186] install-grub does not find the root device

From: Nick Andrew
Subject: [bug #10186] install-grub does not find the root device
Date: Mon, 13 Aug 2007 06:23:38 +0000
User-agent: Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.7 (like Gecko) (Debian)

Follow-up Comment #2, bug #10186 (project grub):

I'll second this bug.

Under debian etch, grub 0.97-27 ... If there's no separate /boot partition
then grub-install checks the root filesystem. If no initramfs is used, then
the root device mounted is known as /dev/root. And if /etc/mtab is a symlink
to /proc/mounts then "df /" shows /dev/root as the root device. And so
grub-install errors out with "/dev/root: Not found or not a block device."

The workaround I did was to remove the /etc/mtab symlink and make it an
ordinary file. Now df shows:

duke:~# df /
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda3              1976524    886592    989528  48% /

And grub-install works.

So I suggest that grub-install should implement some more powerful voodoo for
obtaining the correct root device.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]