Bug#548648: grub-pc jumps straight to rescue and prints error: no such disk / file not found

Josip Rodin joy at debbugs.entuzijast.net
Sun Jan 3 12:14:47 UTC 2010


On Sat, Jan 02, 2010 at 03:00:39PM +0100, Josip Rodin wrote:
> On Sat, Jan 02, 2010 at 02:29:36PM +0100, Josip Rodin wrote:
> > I've got two disks and a software RAID setup on the partition that holds
> > the /boot directory. I have several Linux software RAID partitions, based
> > on this scheme:
> > 
> > sda2+sdb2	-> Linux amd64 /
> > sda3+sdb3	-> Linux i386 /
> > 
> > The first two become md0, differentiated by old GRUB menu entries -
> > Linux parameters raid=noautodetect and md0=first,second ... settings.
> 
> So I then set root=(md3), and set prefix to use one as well, and am able
> to get to my menu by running insmod normal, insmod configfile, configfile
> /boot/grub/grub.cfg. Yay!

I also can't seem to get rid of the need to change md0 to md3 early on.
I tried running:

grub-setup -r '(md3)' /dev/sda
grub-setup -r '(md3)' /dev/sdb

These commands seemed to work, but there was no change in behaviour...?!
This is how -v output looks:

grub-setup: info: the size of hd0 is 625142448
grub-setup: info: the size of hd0 is 625142448
grub-setup: info: the size of hd0 is 625142448
grub-setup: info: the size of hd0 is 625142448
grub-setup: info: the size of hd0 is 625142448
grub-setup: info: the size of hd0 is 625142448
grub-setup: info: the size of hd0 is 625142448
grub-setup: info: the size of hd0 is 625142448
grub-setup: info: the size of hd0 is 625142448
grub-setup: info: the size of hd1 is 625142448
grub-setup: info: the size of hd1 is 625142448
grub-setup: info: the size of hd1 is 625142448
grub-setup: info: the size of hd1 is 625142448
grub-setup: info: the size of hd1 is 625142448
grub-setup: info: the size of hd1 is 625142448
grub-setup: info: the size of hd1 is 625142448
grub-setup: info: the size of hd1 is 625142448
grub-setup: info: the size of hd1 is 625142448
grub-setup: info: the size of hd0 is 625142448
grub-setup: info: the size of hd0 is 625142448
grub-setup: info: the size of hd0 is 625142448
grub-setup: info: the size of hd0 is 625142448
grub-setup: info: the size of hd0 is 625142448
grub-setup: info: the size of hd0 is 625142448
grub-setup: info: the size of hd0 is 625142448
grub-setup: info: the size of hd0 is 625142448
grub-setup: info: the size of hd0 is 625142448
grub-setup: info: the size of hd1 is 625142448
grub-setup: info: the size of hd1 is 625142448
grub-setup: info: the size of hd1 is 625142448
grub-setup: info: the size of hd1 is 625142448
grub-setup: info: the size of hd1 is 625142448
grub-setup: info: the size of hd1 is 625142448
grub-setup: info: the size of hd1 is 625142448
grub-setup: info: the size of hd1 is 625142448
grub-setup: info: the size of hd1 is 625142448
grub-setup: info: getting the size of /boot/grub/boot.img
grub-setup: info: reading /boot/grub/boot.img
grub-setup: info: getting the size of /boot/grub/boot.img
grub-setup: info: getting the size of /boot/grub/core.img
grub-setup: info: reading /boot/grub/core.img
grub-setup: info: getting the size of /boot/grub/core.img
grub-setup: info: the size of hd0 is 625142448
grub-setup: info: setting the root device to `md3'
grub-setup: info: dos partition is -2, bsd partition is -2
grub-setup: info: the core image will be embedded at sector 0x1

-- 
     2. That which causes joy or happiness.





More information about the Pkg-grub-devel mailing list