ArchThis Forum is for the discussion of Arch Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
Hey, but dd won't operate in a vacuum! I must give some file. And where do I get the file? The answer if syslinux, as I have been told in another forum.
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364
Rep:
Hey stf92,
Unless I'm misunderstanding your requirement (not impossible ...), I believe BootRepair (available as standalone live ISO) can restore the MBR. I've had success with both Windows and linux boots.
In fact all I need is a 512 bytes file containing (almost) any MBR! In this the era of information I think I should be able to find it on the internet. Only not many people will ever ask for such a thing and there it can be a little dificult to acquire.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.