Bug#487755: grub2 does not install on boot sector of the current (or a mounted) partition

Robert Millan rmh at aybabtu.com
Wed Jun 25 20:56:14 UTC 2008


On Mon, Jun 23, 2008 at 11:48:30PM +0200, Holger Fischer wrote:
> Package: grub2
> Version: 1.96+20080621-1
> Severity: important
> 
> In my mbr I installed gag. It boots from my bootable partitions.
> Therfore I install grub in the boot block of a partition I want to boot
> from, I find this more "sorted". This worked fine for years.
> 
> I tried it with some prior version of grub2 (I think 1.96-200805xx) on
> my root (like above sda6) as follows:
> 
> grub-install /dev/sda6
> 
> This does not work. After a lot of tries and some dangerous 
> grub-install /dev/sda6
> grub-install /dev/sda7
> dd if=/dev/sda7 of=/dev/sda6 bs=512 count=1 
> actions I got it to work, but this does not always work.

Possibly caused by GRUB 2 core.img being bigger.  Anyway, mixing bootloader
code with your filesystem is dangerous and not recommended.

-- 
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What good is a phone call… if you are unable to speak?
(as seen on /.)





More information about the Pkg-grub-devel mailing list