GNU bug report logs - #25602
[parted] Problem with msdos mbr creation

Previous Next

Package: parted;

Reported by: Lukasz Majewski <lukma <at> denx.de>

Date: Wed, 1 Feb 2017 16:43:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Phil Susi <psusi <at> ubuntu.com>
To: "Brian C. Lane" <bcl <at> redhat.com>, Lukasz Majewski <lukma <at> denx.de>
Cc: 25602 <at> debbugs.gnu.org
Subject: bug#25602: [parted] Problem with msdos mbr creation
Date: Tue, 18 Apr 2017 11:50:27 -0400
On 2/1/2017 6:33 PM, Brian C. Lane wrote:
> That's the MBR boot code normally used to boot a BIOS system. If it
> causes problems on a non-x86 system you should zero it out (or write the
> system bootloader after partitioning).

Brian, do you know why parted adds the boot code but fdisk does not?
Maybe we should consider removing it?  It's only use is to chain load
the "active partition" boot loader.  I can only think of three times
this is going to be used:

1) Booting DOS/Windows: they have commands to add the boot code after
the fact, and normally they would partition the disk first.

2) Booting with LILO installed to a partition: LILO had a switch to
write the MBR boot code if you ever wanted to do this and anyone still
uses LILO.

3) Booting with GRUB installed to a partition: GRUB strongly recommends
installing to the MBR instead, and if you really must put it in a
partition, and don't already have MBR boot code, you can use LILO to add it.





This bug report was last modified 8 years and 101 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.