[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

Package: installation-reports


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]


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.

Reply to: