Public bug reported:

Binary package hint: initramfs-tools

First symptom : at boot, the message "No init found. Try passing init= bootarg."
Boot fails.

I'm upgrading to Natty from Maverick

My configuration :
/dev/sda1 : /boot
/dev/sda5 : an encrypted luks volume containing an LVM physical volume

the volume groupe name is "arwen", the logical volume name for / is "racine"
the device containing rootfs is named /dev/mapper/arwen-racine

hence, my grub menuentry looks like this :

menuentry 'Ubuntu, avec Linux 2.6.38-8-generic' --class ubuntu --class 
gnu-linux --class gnu --class os {
        recordfail
        savedefault
        set gfxpayload=$linux_gfx_mode
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos1)'
        search --no-floppy --fs-uuid --set=root 
uuiduuid-uuid-uuid-uuid-uuiduuiduuid
        linux   /vmlinuz-2.6.38-8-generic root=/dev/mapper/arwen-racine ro   
quiet splash vt.handoff=7
        initrd  /initrd.img-2.6.38-8-generic
}

Sometimes, the error is more verbose, I've get yersterday a message which said 
the system attempt to mount /dev/mapper/arwen on initramfs' /root, but it's a 
mistake, my rootfs is on /dev/mapper/arwen-racine.
The root= kernel argument is correct, but an initramfs script mades a mistake.

>From initramfs' shell I've mounted my /boot partition, then create a new 
>initrd.img hardcoding /dev/mapper/arwen-racine path on the  line 91 of 
>scripts/local, then reboot, then choose my new initramfs from the grub editor…
The boot does'nt complain and I'm writing this bug report from Natty. :)

So, there is a bug in one script into initramfs which troncate the volume group 
name of / .
I've not found where.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: initramfs-tools 0.98.8ubuntu3
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
Architecture: amd64
Date: Thu Apr 28 12:21:09 2011
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=fr_FR:en
 PATH=(custom, user)
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
SourcePackage: initramfs-tools
UpgradeStatus: Upgraded to natty on 2011-04-21 (6 days ago)

** Affects: initramfs-tools (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug natty

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/772270

Title:
  initramfs uses bad lvm lvname to mount /

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to