5 Jul
2008
5 Jul
'08
12:47
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