Power Developer
https://powerdeveloper.org/forums/

MBR clear
https://powerdeveloper.org/forums/viewtopic.php?f=7&t=1110
Page 1 of 1

Author:  mark-tbs [ Tue Jan 02, 2007 11:59 pm ]
Post subject:  MBR clear

i have an efika with a 2.5" hdd what was used in a notebook with windows... so:

is there a way to clear the MBR with the debian without needing of new reinstall? something like MorphOS' mbrclear (or so) command...

thanks in advance.

bye, MarK.

Author:  lix [ Wed Jan 03, 2007 4:40 am ]
Post subject: 

This overrides the whole MBR with zeros (including the partition table!!):
Code:
dd if=/dev/null of=/dev/XXX bs=512 count=1
Your system will not boot after that, because of the missing partion table. Perhaps you only want to clear the boot code of the MBR.
Look here for details abobut the MBR: http://en.wikipedia.org/wiki/Master_boot_record

But I am not sure why you wont to clear your MBR? OF loads your kernel directly and doesn't needs the boot code in the MBR.

Author:  mark-tbs [ Wed Jan 03, 2007 4:49 am ]
Post subject: 

well, OF can't load kernel from the hdd, as the hdd isn't visible... when i load the kernel from a usb flash, then it boots correctly... i'll try to connect it to my pegasos and clear it with morphos...

thanks and bye, MarK.

Author:  Neko [ Wed Jan 03, 2007 6:29 am ]
Post subject: 

Quote:
well, OF can't load kernel from the hdd, as the hdd isn't visible... when i load the kernel from a usb flash, then it boots correctly... i'll try to connect it to my pegasos and clear it with morphos...

thanks and bye, MarK.
I think there's need for a cute tool here!

How about a small script that reads out the RDB partition block, wipes the MBR off a disk and replaces it? It seems a lot of people want this 'feature'.

Page 1 of 1 All times are UTC-06:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/