This error still occurs in Ubuntu 10.04 (Lucid Lynx) Beta 1.

On my test system, I've got two installations of Lucid ("Test" and "Work"):
/dev/sda1 (hd0,1) = "dm-crypt"-crypted ext3, /-Partition for Lucid Test
/dev/sda2 (hd0,2) = unencrypted ext2, /boot-Partition for Lucid Work
/dev/sda3 (hd0,3) = unencrypted ext2, /boot-Partition for Lucid Test
/dev/sda5 (hd0,5) = "dm-crypt"-encrypted ext3, /-Partition for Lucid Work
First I installed "Test", then I installed "Work". I'm currently working in 
"Work".

$ mount
/dev/mapper/sda5_crypt on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
none on /var/lib/ureadahead/debugfs type debugfs (rw,relatime)
/dev/sda2 on /boot type ext2 (rw)

$ sudo update-grub2 
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.32-16-generic
Found initrd image: /boot/initrd.img-2.6.32-16-generic
Found memtest86+ image: /memtest86+.bin
done

$ sudo mkdir /lucid-test

$ sudo cryptsetup luksOpen /dev/sda1 lucid-test
Enter passphrase for /dev/sda1: 
Key slot 0 unlocked.

$ sudo mount /dev/mapper/lucid-test /lucid-test

$ sudo mount /dev/sda3 /lucid-test/boot

$ mount
/dev/mapper/sda5_crypt on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
none on /var/lib/ureadahead/debugfs type debugfs (rw,relatime)
/dev/sda2 on /boot type ext2 (rw)
/dev/mapper/lucid-test on /lucid-test type ext3 (rw)
/dev/sda3 on /lucid-test/boot type ext2 (rw)

$ sudo update-grub2 
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.32-16-generic
Found initrd image: /boot/initrd.img-2.6.32-16-generic
Found memtest86+ image: /memtest86+.bin
done

$ sudo ls -A /lucid-test/
bin  boot  cdrom  dev  etc  home  initrd.img  lib  lost+found  media  mnt  opt  
proc  root  sbin  selinux  srv  sys  tmp  usr  var  vmlinuz

$ sudo ls -A /lucid-test/boot/
System.map-2.6.32-16-generic  config-2.6.32-16-generic  
initrd.img-2.6.32-16-generic  memtest86+.bin                
vmlinuz-2.6.32-16-generic
abi-2.6.32-16-generic         grub                      lost+found              
      vmcoreinfo-2.6.32-16-generic

-- 
grub2 doesn't recognize installations with encrypted /
https://bugs.launchpad.net/bugs/532838
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to