On søn, 2005-02-06 at 23:57 +0000, Steven Satelle wrote:
> [2] Is there a linux version of 'fdisk /mbr'?
No, Linux fdisk does not have an option like that. There are two ways of
archieving this:
On Debian:
install-mbr /dev/sda --force (where /dev/sda is the device, that you
want a new mbr on)
On any other distribution find a system with a sane mbr and run:
dd if=/dev/sda of=mbr.img bs=512 count=1
On the system, that has a problem with the mbr you can then write this
mbr to the disk:
dd if=mbr.img of=/dev/sda
That's basically the only way to do it on Linux, as least, what i know
of.
Slán leat,
Martin List-Petersen
Dublin, Eire
(contact info on --> http://www.marlow.dk/)
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!