Quantcast
Viewing latest article 4
Browse Latest Browse All 10

Remove Grub 2 Blockfiles from Partition eg. /dev/sda1

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?

Asked by Rqomey

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

Answered by johnshen64

Viewing latest article 4
Browse Latest Browse All 10

Trending Articles