Question
In the process of setting up an encrypted Windows partition along with a dual booting Ubuntu, I have had to install the GRUB bootloader onto a partition /dev/sda1
instead of the MBR.
In this setup /dev/sda1
is a Dell recovery partition.
It actually works fine believe it or not. I have written basic pointers.
To a point. On the system I was testing this on, I ended up with GRUB installed on two partitions, sda1
and sda2
. Is there a way to remove the GRUB blockfiles from one of these?
Answer
you mean removing the grub boot sector so that it won’t boot from it? it is just the first sector in your drive or partition
backup, be very cautious, etc.!
dd if=/dev/sda1 bs=512 count=1 of=sda1.bootsector.backup
dd if=/dev/zero of=/dev/sda1 bs=512 count=1
Check more discussion of this question.