Isgar
July 27th, 2012, 11:42 AM
Hello, this is what I did:
-install Windows 7
-get rid of the 100mb boot partition and install boot-data on main win-partition (a terrible idea in hindsight)
-install ubuntu encrypted (/boot unencrypted)
-install grub2 into /boot
-encrypt win7 with truecrypt and install tc-bootloader into MBR
Until here, everything works fine. On startup tc-bootloader chains into grub, where i can choose to boot win7 or ubuntu. I got a bit annoyed that the win7 boot option was so far down in the grub menu, so I changed the order in /etc/grub.d
The win7 boot option vanished completely from grub. I wasnt aware how update-grub worked, it obviously cant find win7 with os_prober when the partition is encrypted. Sadly I didnt backup grub.cfg either.
So how can I make os_prober work?
Or alternatively, can I write/copy the script for win7 myself?
-install Windows 7
-get rid of the 100mb boot partition and install boot-data on main win-partition (a terrible idea in hindsight)
-install ubuntu encrypted (/boot unencrypted)
-install grub2 into /boot
-encrypt win7 with truecrypt and install tc-bootloader into MBR
Until here, everything works fine. On startup tc-bootloader chains into grub, where i can choose to boot win7 or ubuntu. I got a bit annoyed that the win7 boot option was so far down in the grub menu, so I changed the order in /etc/grub.d
The win7 boot option vanished completely from grub. I wasnt aware how update-grub worked, it obviously cant find win7 with os_prober when the partition is encrypted. Sadly I didnt backup grub.cfg either.
So how can I make os_prober work?
Or alternatively, can I write/copy the script for win7 myself?