I knew from earlier versions of openSUSE that it was possible to reset the MBR, but I lost how to do that. Can anybody tell me? Thanks, André den Oudsten -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tue, 24 Jun 2008 20:09:17 +0200 "A. den Oudsten" <AdenOudsten@wxs.nl> wrote:
I knew from earlier versions of openSUSE that it was possible to reset the MBR, but I lost how to do that. Can anybody tell me?
The dd(1) command can be used to do that. This zeroes only the MBR dd if=/dev/zero of=/dev/sda bs=446 count=1 This zeroes the MBR and partition table. dd if=/dev/zero of=/dev/sda bs=512 count=1 If you are running GRUB, and want GRUB to do it, you can use Yast/System/bootloader. If you use LILO, then the command /sbin/lilo will rewrite the MBR. -- Jerry Feldman <gaf@blu.org> Boston Linux and Unix PGP key id: 537C5846 PGP Key fingerprint: 3D1B 8377 A3C0 A5F2 ECBB CA3B 4607 4319 537C 5846
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Tuesday 2008-06-24 at 20:09 +0200, A. den Oudsten wrote:
I knew from earlier versions of openSUSE that it was possible to reset the MBR, but I lost how to do that. Can anybody tell me? Thanks,
I think Yast, bootloader, write generic mbr or something like that, hidden somewhere. I mean that it moves around from version to version. But, if grub is already saved in the MBR, then modify a global setting like the timeout, and commit the change. This forces grub to be written again. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFIb3GltTMYHG2NR9URAilkAJ43Jo1lfPxhbll1waPUHxWDPpY62gCZAdVR Mog3RyletXz5Ev6XaSPYeXk= =9Hog -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
A. den Oudsten
-
Carlos E. R.
-
Jerry Feldman