This screenshot show how you can select to install Grub to the root partition PBR.
How have you encrypted a Windows/MX Linux dual-boot PC?
Re: How have you encrypted a Windows/MX Linux dual-boot PC?
"The first principle is that you must not fool yourself -- and you are the easiest person to fool."
-- Richard Feynman
-- Richard Feynman
Re: How have you encrypted a Windows/MX Linux dual-boot PC?
Thanks but you check one of my screenshots download/file.php?id=14471&mode=view,BitJam wrote: ↑Mon Mar 18, 2019 4:02 pmThis screenshot show how you can select to install Grub to the root partition PBR.
the ESP checkbox was greyed out.
Re: How have you encrypted a Windows/MX Linux dual-boot PC?
As this is for BIOS-booting: PBR means partition boot record of the the partition you have installed grub into.
If you cannot select from the installer the boot partition - guess what : that looks like a bug in the installer.
As the boot partition is not encrypted, hence shall be free usable for PBR grub-install to install into.
I'll need to check the commandline alternative ...
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB
Re: How have you encrypted a Windows/MX Linux dual-boot PC?
OK: Open a terminal from booted encrypted MX -Linux
and run
Code: Select all
sudo grub-install --force /dev/sda5
That shall do it.
NOTE: With this command you have now in addition to currently on the MBR also on the PBR of sda5 a grub-record installed and you can boot into e.g. from VeraCrypt boot-menu or also from another rescue stick via chainloading ...
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB
Re: How have you encrypted a Windows/MX Linux dual-boot PC?
Thanks fehlix.
I will get to work on this sometime this weekend.
I will get to work on this sometime this weekend.
Re: How have you encrypted a Windows/MX Linux dual-boot PC?
It depends also whether you have installed first encrypted with veracrypt.
Probaly also good to have a verycrypt rescue media ready.
I would probably also combine the idea of the grub-resuce iso with this modification:
After you have install encrypted MX Linux you do this with the running MX Live
Code: Select all
mkdir -p /tmp/my-grub-rescue/boot/grub
like this
copy from /dev/sda5 the file /dev/sda5@/boot/grub/grub.cfg
to /tmp/my-grub-rescue/boot/grub/grub.cfg
and now create the rescue iso
Code: Select all
grub-mkrescue -o my-grub-rescue.iso /tmp/my-grub-rescue
Code: Select all
sudo dd-live-usb -f my-grub-rescue.iso
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB
Re: How have you encrypted a Windows/MX Linux dual-boot PC?
I disabled installing on root on encrypted root. Is it possible/good idea to install GRUB on root if root is encrypted?
Re: How have you encrypted a Windows/MX Linux dual-boot PC?
Not "/"-root but PBR of /boot -partition to install grub to is required to get the above scenario seamlessly working.
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB
Re: How have you encrypted a Windows/MX Linux dual-boot PC?
I'm going to try it all over again now.
This time, I made only ONE partition for Windows.
Last time, I made a second one for Linux while installing Windows and VeraCrypt clearly encrypted both at once.
In my laptop, I have two spare partitions for a possible Linux installation so I gotta delete them before I consider encrypting my Windows.
If I were to live boot Linux and delete those partitions in GParted, would it have any adverse effect on the partition containing my Windows OS and file system?
Thanks.
This time, I made only ONE partition for Windows.
Last time, I made a second one for Linux while installing Windows and VeraCrypt clearly encrypted both at once.
In my laptop, I have two spare partitions for a possible Linux installation so I gotta delete them before I consider encrypting my Windows.
If I were to live boot Linux and delete those partitions in GParted, would it have any adverse effect on the partition containing my Windows OS and file system?
Thanks.
Re: How have you encrypted a Windows/MX Linux dual-boot PC?
Well, yesterday I tried it again.
One time I did it exactly as before but I didn't install GRUB at all so I could try and just install in it the PBR via the command line method you showed me.
But it wouldn't work in a live boot.
I tried again, installed GRUB in both the MBR and PBR sectors.
However the encrypted Windows installation was still broken.
I think I'll try again by installing Windows, don't encrypt it yet, then install Linux encrypted and go back to Windows to encrypt its partition, using VeraCrypt's "multiboot" option.
One time I did it exactly as before but I didn't install GRUB at all so I could try and just install in it the PBR via the command line method you showed me.
But it wouldn't work in a live boot.
I tried again, installed GRUB in both the MBR and PBR sectors.
However the encrypted Windows installation was still broken.
I think I'll try again by installing Windows, don't encrypt it yet, then install Linux encrypted and go back to Windows to encrypt its partition, using VeraCrypt's "multiboot" option.