https://bugzilla.novell.com/show_bug.cgi?id=769789 https://bugzilla.novell.com/show_bug.cgi?id=769789#c0 Summary: Some ARM devices fail to boot because of dummy MBR sector written by parted. Classification: openSUSE Product: openSUSE 12.2 Version: Factory Platform: Other OS/Version: openSUSE 12.2 Status: ASSIGNED Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: puzel@suse.com ReportedBy: puzel@suse.com QAContact: qa-bugs@suse.de CC: agraf@suse.com Found By: Development Blocker: --- Description by Alexander Graf:
When running parted to create or modify an MBR label, it tries to be clever and throws a dummy x86 boot sector onto the MBR, so the disk is bootable on PCs.
While that's nice and helpful for a bunch of use cases, it doesn't exactly help when running on ARM. Some ARM devices, such as the OMAP3 series, have a buggy boot rom that simply goes into nirvana if it finds non-0 in the first 4 bytes of the SD card.
Please see libparted/labels/dos.c:1271 for the place that copies a generic x86 asm MBR into the MBR when its first byte is 0.
We need to have the first byte be 0 though. Otherwise later on the whole machine won't be bootable anymore :).
Since the dummy boot sector is useless outside x86, let's do it only there. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.