Your message dated Fri, 19 Feb 2010 23:44:31 +0100 with message-id <20100219224431.GW19179@baikonur.stro.at> and subject line Re: Bug#570571: kernel doesn't load if root is placed in LVM has caused the Debian Bug report #570571, regarding kernel doesn't load if root is placed in LVM to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 570571: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=570571 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: kernel doesn't load if root is placed in LVM
- From: "Dmitry E. Oboukhov" <unera@debian.org>
- Date: Fri, 19 Feb 2010 23:44:01 +0300
- Message-id: <20100219204401.GA14228@work.uvw.ru>
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 6537Attachment: signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
- To: 570571-done@bugs.debian.org
- Subject: Re: Bug#570571: kernel doesn't load if root is placed in LVM
- From: maximilian attems <max@stro.at>
- Date: Fri, 19 Feb 2010 23:44:31 +0100
- Message-id: <20100219224431.GW19179@baikonur.stro.at>
- In-reply-to: <20100219204401.GA14228@work.uvw.ru>
- References: <20100219204401.GA14228@work.uvw.ru>
On Fri, Feb 19, 2010 at 11:44:01PM +0300, Dmitry E. Oboukhov wrote: > 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 > as documented in releasenotes use real device and not symlink: root=/dev/mapper/vg-lv this will fix it. thanks for your report.
--- End Message ---