Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 6267  / 2 Years ago, mon, april 4, 2022, 10:53:16

So, I have a fresh install of Windows 8... Here's the issue.



When I first installed W8, the Wubi loader would launch just fine, no issues, no fuss... At the time, I elected to avoid installing through Wubi, and just setting up a dedicated partition, and I think this is where I messed up.



I installed my drivers (no OEM bloatware*), ran truecrypt, set up a dedicated partition.. Everything appeared to be fine, was still able to run my TC bootloader, I couldn't [esc] to grub yet though, I thought to myself "okay, it's just because I haven't encrypted the system yet, but rather only installed the bootloader".



After 8 hours of encrypting, I woke up and thought "awesome, let me reboot & check Ubuntu", which, to my dismay, did not properly install.



Soooo... I booted my 12.10 liveCD to try another installation, and that's when all hell broke loose. Ubuntu refused to identify any partitions within the installer. Gparted threw an error about my hdd when I launched it, showed me 3 partitions, 2 of which were "Unknown" thanks to TrueCrypt, and the one where I attempted to install Ubuntu. The Ubuntu partition was labeled "Extended".



Being too scared to screw around with the partitions, or make any changes to the table, I booted into Windows 8 (YES! Still worked!), attempted to run Wubi, and I got the dreaded error where it refuses to run. I checked my Environment Variables, no python path.. Okay... So I checked my startup folder.. Still there... Check the temp folder for a Wubi log file.. NOPE!



Basically, I have several issues, and each one is only compounded by the next. Any help with this situation can make my day vastly better.



System Specs:
Thinkpad Edge e535,
AMD APU A4-4300m,
4GB ram,
Windows 8,
UEFI (THE DEVIL!!!)



and, well, that's about it.



*OEM BLOATWARE: I don't ever install OEM software, and seeing as it's a Thinkpad, I related it to they Python issue, but that's not the case.



**Side note: I did a side-by-side installation with Win8 from the Ubuntu installer AFTER I installed the Truecrypt bootloader, and before I encrypted my drive.



***EDIT: I have Secure Boot disabled with UEFI, and I have it set to UEFI+Legacy booting mode.



**EDIT2: I don't care about encrypting Ubuntu, I only want my windows partition encrypted. My priority is dual-boot.


More From » grub2

 Answers
5

Okay. I solved this. I'm going to start from the basics.



I found how to simultaneously dual boot Windows 8 (Truecrypt encrypted) & Ubuntu 12.10 (home folder encrypted) while keeping secure boot enabled!!



UEFI/BIOS:



Configuration:
Check all settings, confirm that USB is set to secure boot.



Boot settings: Enable UEFI/Legacy, with legacy booting first.



Save & Exit.



Install Windows 8, once installed, restart.



Install Ubuntu using the "Install alongside Windows 8" setting in the installer.



Install Gparted (or your favorite partition manager)



Shrink the Windows 8 partition by 250mb AFTER the data layer.



Make Ext4 filesystem on 250mb partition. (No label necessary, but I labeled mine "/boot" for the sake of memory.



Open Terminal and run "sudo grub-installer /dev/sdxX --force" (where xX is your "/boot" drive letter & partition number)



Return to windows, encrypt system partition using "dual boot" category. Drink a beer, or 12, depending on the size of your disk & wipe mode



*BE SURE TO MAKE A BACKUP OF THE REPAIR DISK. IF YOU FUTZ SOMETHING UP, YOU WILL HATE YOUR LIFE*



After encryption, reboot, and backup your MBR/TC boot loader



Run your livedisk: "sudo grub-install /dev/sdx --force" to install GRUB2 to the MBR



Using your favorite partition editor, erase your "/boot" partition, formatting it to either Ext4 or FAT32



Extract your MBR/TC backup to your "/boot" partition



Download & run grub-customizer (or edit it manually, if you prefer) to include the TC bootloader



And there you have it, dual booting Windows 8 and Ubuntu, with Windows encrypted, and chainloading the Truecrypt bootloader from Grub2, on a UEFI system.


[#34317] Tuesday, April 5, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
itchlos

Total Points: 486
Total Questions: 115
Total Answers: 110

Location: Macau
Member since Fri, Apr 28, 2023
1 Year ago
;