You are not logged in.

#1 2018-05-29 00:12:03

stf92
Member
Registered: 2018-05-06
Posts: 23

Restoring the MBR in Arch.

Hi: any utility to restore the master boot record (boot sector in the linux jaergon)? Lilo could do it (lilo -M /dev/sdX mbr) but the target is an eMMC device and lilo can't write it. Perhaps grub can? "Restore" means to write, in logical sector 0 of the disk, the code expected to be there to load the MS-DOS OS. Nothing to do with the partition table. The code begins with a 0xEB90 jump to the code proper.

Offline

#2 2018-05-29 01:28:06

loqs
Member
Registered: 2014-03-06
Posts: 17,378

Re: Restoring the MBR in Arch.

Offline

#3 2018-05-29 08:34:11

stf92
Member
Registered: 2018-05-06
Posts: 23

Re: Restoring the MBR in Arch.

Thanks a lot.

Offline

#4 2018-05-29 14:59:01

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,925

Re: Restoring the MBR in Arch.

https://en.wikipedia.org/wiki/Master_boot_record wrote:

The MBR holds the information on how the logical partitions, containing file systems, are organized on that medium. The MBR also contains executable code to function as a loader for the installed operating system—usually by passing control over to the loader's second stage, or in conjunction with each partition's volume boot record (VBR). This MBR code is usually referred to as a boot loader.[1]

The syslinux MBR will start syslinux, if that's not what you need/want , check http://bootdisk.com/ .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB