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

2005-01-18 Thread Joey Hess
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


signature.asc
Description: Digital signature


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

2005-01-17 Thread Lee Maguire
Package: installation-reports

INSTALL REPORT

Debian-installer-version: RC2 (20041121)
Date: 2005-01-14
Method: netinst CD

Machine: hp proLiant DL380
Root Device: HP CISS (hardware RAID 5)
   /dev/cciss/c0d0p1 (94M) bootable /boot
   /dev/cciss/c0d0p2 (199G) /
   /dev/cciss/c0d0p3 swap

Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot worked:[O]
Configure network HW:   [O]
Config network: [O]
Detect CD:  [O]
Load installer modules: [O]
Detect hard drives: [O]
Partition hard drives:  [O]
Create file systems:[O]
Mount partitions:   [O]
Install base system:[O]
Install boot loader:[E]
Reboot: [E]

Comments/Problems:

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.




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]