How to install grub to /dev/sda3 (=/boot = ext2) when MBR, sda1 & sda2 are windoze & Ubuntu (12.04) is LUKS encrypted?
I have to continue to use some windoze s'ware for work and where a few things just aren't available in FLOSS. I've come across from years with Debian on "servers" via Debian on a Dell laptop to try to set up Truecrypt encrypted Windoze 7 and dual boot Ubuntu 12.04 on a Toshiba Satellite L750-170. (I came to Ubuntu as its hardware awareness seems a bit better than Debian.) However, I'm having a nightmare time with this and most advice on the www seems out of date and not to work.
What I've done:
1) shrunk the main windoze 7 (home premium 64 for what that's worth) partition (/dev/sda2) inside windoze and ditched the D: (sda3) partition it had.
2) done umpteen installations of Ubuntu (started with 11.10 and then kubuntu, ended with 12.04 beta2 alternate) and have succeeded fine in creating 2Gb /dev/sda3 as /boot (ext2) and the rest of the disc (about 500Gb) as an encrypted volume that LVM partitions into a 12Gb swap and the rest as / and if I install the grub to multiboot in the MBR as it wants, all is fine but that won't coexist with Truecrypt encrypting the windoze installation.
3) I do the truecrypt and try to install grub to /dev/sda3 : NO go, seems nothing will achieve it.
4) I then to a complete reinstall of ubuntu, only difference is making the /boot partition a logical one (so /dev/sda5) ... no difference, seems that grub simply won't install there.
5) in desperation I install grub to a USB drive /dev/sdb in its MBR. Seems that grub looks good there with an entry for windoze (which I confess I didn't try) and for ubuntu but the ubuntu one just hangs with black screen. I think it's failing to link up with me so I can input the passphrase for the LUKS encrypted LVM but I admit I don't know that, just guessing.
Has someone achieved this? I'd have thought it was a pretty common set up for moderately security conscious people who have to keep a foot in the windoze camp. Would hugely appreciate advice from someone who has achieved it.
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Ubuntu grub2 Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: