Quantcast
Channel: How do I find/change where GRUB 2 gets installed on a rewrite, on Debian Wheezy? - Unix & Linux Stack Exchange
Viewing all articles
Browse latest Browse all 2

How do I find/change where GRUB 2 gets installed on a rewrite, on Debian Wheezy?

0
0

I have a Debian Wheezy system. On a recent upgrade, I got an error message from GRUB telling me that embedding was not supported for ext2 file systems (huh? Never seen that one before.) and after a bit of digging the problem appears to be that I was installing GRUB into the boot record of /dev/md0, which is formatted directly (no partitions inside the MD container).

I was able to get past this by manually pointing grub-install at the raw disk device (in GRUB parlace, (hd0)) instead, but I have a feeling that this will come up again the next time GRUB gets updated.

This led me to start looking for where the GRUB installation location is actually stored on Wheezy. However, grepping for md0 didn't yield anything interesting.

Hence my question: On Debian Wheezy specifically, where exactly does one set the GRUB installation location? In other words, if I want to change my GRUB setup from being in a partition boot record to being in the master boot record, say, what specific file (and setting within that file) do I need to change?


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images