Maarten Mastbroek sent the following at 25/06/12 12:49: > I did not have any problems with this. I described the installation > process on my techblog. I installed Windows 7 first and encrypted it > with Truecrypt. The Truecrypt loader is placed inside the master boot > record. Then I installed Ubuntu 12.04 with the alternate CD, created a > boot partition first (for /boot), then created a crypto volume and a LVM > for the swap and root filesystem. I installed the GRUB loader in the > volume boot record inside the boot partition. See my blog for the > detailed installation process and screenshots. It is all working fine. > If you installed Windows and Ubuntu the other way around you probably > have to repair/re-install Grub inside the volume boot record in the boot > partition. This is also documented on my blog. > > Article: http://techblog.mastbroek.com/all-articles/dualboot-encrypted- > windows-and-ubuntu/ > > Maarten Mastbroek - http://techblog.mastbroek.com >
That's brilliant Maarten and would have been a great help to me and saves me a lot of work as I was planning to create something like that: no need now as you've done it better than I ever could. I had misunderstood things about LVM on LUKS that your step through would have clarified for me I'm sure but the real "gotcha" for me on the Toshiba was at the end. The default /boot/grub/grub.cfg that Ubuntu had installed for me says "gfxmode $linux_gfx_mode" but that appears to conflict with the way that LUKS was prompting for the key. That left me with a black screen lockout. Here's how I summarised my workaround for Canonical: OK. We have some real progress. I think the key incompatibility that is different on this machine from whatever you are using must be about the graphics and that line in /boot/grub/grub.cfg that reads "gfxmode $linux_gfx_mode". That is the killer that gets me the black screen lock up. What I've done now is a complete reinstall of Ubuntu this time creating a 500Mb /dev/sda3 for /boot, otherwise all the same. I then boot to that using supergrub2 to find that grub.cfg and go for the recovery/rescue option (and the "resume normal boot" that comes up in that). Then I get in and edit that line in /boot/grub/grub.cfg to replace "gfxmode $linux_gfx_mode" with "gfxmode auto" and I seem to be away. Now I've got another problem that ubuntu doesn't seem to want to suspend which is a real pain but I guess that's something quite different! Many thanks again, Chris -- Chris Evans <[email protected]> Skype: chris-psyctc Consultant Psychiatrist in Psychotherapy, Notts. PDD network; Professor, Psychotherapy, Nottingham University *If I am writing from one of those roles, it will be clear. Otherwise* *my views are my own and not representative of those institutions * If you have difficulty Emailing me on this address or getting a reply, send again but cc to: chris dot evans at nottshc dot nhs dot uk and to: c dot evans at nottingham dot ac dot uk -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/979971 Title: grub install to partition fails with 12.04 alternate & LUKS multiboot setup To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/979971/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
