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

Re: Re: Boot from 2.6.26-2-686 fails - unable to find root device



Juha Tuuna said:

>> The boot fails with messages:
>>    Gave up waiting for root device.
>>    ALERT! /dev/disk/by-label/D5root does not exist.
>>           Dropping to a shell!
>> 
>> At that stage there is no /dev/disk directory (let alone a by-label
>> subdir!)
>> 
>> I use labels for my partitions because I have a mix of SATA and SCSI
>> disks and Etch and Lenny find them in different order! I have exactly
>> equivalent GRUB stanzas for both kernels; 2.6.26-1-686 has no problem.
>> 
>Try editing /boot/grub/menu.lst

> Look at the working 2.6.26-1 entry and then match the root= in 2.6.26-2 entry
> accordingly. That should be it.

Done that. That is not the problem - here are the GRUB menu.lst entries:

title		Debian GNU/Linux, kernel 2.6.26-2-686
root		(hd0,0)
kernel		/vmlinuz-2.6.26-2-686 root=LABEL=D5root ro quiet
initrd		/initrd.img-2.6.26-2-686

title		Debian GNU/Linux, kernel 2.6.26-1-686
root		(hd0,0)
kernel		/vmlinuz-2.6.26-1-686 root=LABEL=D5root ro quiet
initrd		/initrd.img-2.6.26-1-686

The second one works, the first fails. Why?

Bruce



Reply to: