Package: linux-2.6
Version: 2.6.26-21lenny3
Severity: important
Today I tried to replace CentOS to Debian in one of hosts. It has LVM
in standard (for CentOS) configuration:
/dev/disk-part1 - /boot
/dev/disk-part2 - LVM
VolGroup00
LogVol00 - root (centOS)
LogVol01 - swap
I turned off swap, renamed (lvrename) it to debian, created
ext3 filesystem into /dev/VolGroup00/debian, mounted, used debootstrap
to install debian, chrooted into it
in chroot i installed linux-image, and lvm2, busibox, regenerated
initramfs and wrote grub config:
title Debian
root (hd0,0)
kernel /vmlinuz-2.6.26-2-686 ro root=/dev/VolGroup00/debian
initrd /initrd.img-2.6.26-2-686
rebooting into debian lead me into log:
Begin: Mounting root file system...
Begin: Running /scripts/local-top ... done.
Begin: Waiting for root file system ...
and hang up for a few munutes, then log has these records:
Gave up waiting for root device. Common problems:
- Boot args (cat /proc/cmdline)
- check rootdelay= (did the system wait long enough?)
- check root= (did the system wait for the right device?)
- Missing modules (cat /proc/modules; ls /dev)
ALERT! /dev/VolGroup00/debian does not exist. Dropping to a shell!
All these advices didn't help me to resove this problem :(
I was sick and tired trying on hardware and I went to virtualbox.
It has the same problem. I can easy reproduce it and can reply any
question.
I tried debootstrap squeeze, too. It has the same problem.
--
... mpd is off
. ''`. Dmitry E. Oboukhov
: :’ : email: unera@debian.org jabber://UNera@uvw.ru
`. `~’ GPGKey: 1024D / F8E26537 2006-11-21
`- 1B23 D4F8 8EC0 D902 0555 E438 AB8C 00CF F8E2 6537
Attachment:
signature.asc
Description: Digital signature