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

Bug#290871: installation-reports: pivot_root fails due to /dev naming in grub config

Lee Maguire wrote:
> The device naming used in the grub config does not match the names available at
> boot time.  Specifically /dev/cciss/c0d0p* devices were not available until
> after booting, the /dev/cciss/host0/... naming is used instead.
> Boot argument "linux26".  There are no problems booting the CD and
> setting up the base system, and no error messages at grub installation.
> Reboot fails when it attempts to switch from /boot to root
>   /dev/cciss/host0/target0: p1 p2 p3
>   pivot_root: No such file or directory
>   /sbin/init: 4??: cannot open dev/console: No such file
>   Kernel panic: Attempted to kill init!
> I rebooted the install CD, got as far as the partition menu, dropped into
> a console on F2.
>   mount /dev/cciss/host0/target0/part0 /target
>   nano /target/grub/menu.list
> Located the lines that read
>    kernel /vmlinuz-2.6.8-1-386 root=/dev/cciss/c0d0p2
> and replaced with
>    kernel /vmlinuz-2.6.8-1-386 root=/dev/cciss/host0/target0/part2
> unmounted, rebooted.  This works around the problem.

This sounds like the bug fixed in initrd-tools 0.1.75. I'm suprised that
you were able to work around it by modifying the root= parameter.
Anyway, you could verify that it's fixed by upgrading to the new
initrd-tools, putting back the old menu.lst, and rebuilding your initrd.

see shy jo

Attachment: signature.asc
Description: Digital signature

Reply to: