Re: Reformatting hard disk.
- From: John Thompson <john@xxxxxxxxxxxxxxxxxx>
- Date: Mon, 28 Jan 2008 17:24:37 -0600
On 2008-01-28, john@xxxxxxxxxxxxxxxx <john@xxxxxxxxxxxxxxxx> wrote:
After various experiments, including an attempt to install Windows
2000 (it failed) I can no longer boot from /dev/hda. I have
reassigned /dev/hdb as my hard drive boot device in the bios.
Now I want to do a low level format on /dev/hda and start all over. I
have already tried the trick of using a DOS fdisk from a floppy to
zero out the MBR:
A: fdisk /mbr
That may have made things worse, I don't know.
There is a dd command that will zero out the mbr first block but I
forget what the exact string is.
Boot linux (use a CD if necessary; e.g. http://www.sysresccd.org/) and
fire up fdisk:
fdisk /dev/hda
From the fdisk command prompt type "o" to create a new, emtpy partitiontable, then "n" to create new partitions (if that's what you want), then
"w" to write the changes onto the disk.
If you want to use something else to create your new partitions, skip
the "n" and just use "w" to write the empty table to the disk.
--
John (john@xxxxxxxxxxx)
.
- References:
- Reformatting hard disk.
- From: john@xxxxxxxxxxxxxxxx
- Reformatting hard disk.
- Prev by Date: Re: Acer, AMD, GeForce 6150 LE
- Next by Date: Re: wipe broken disk
- Previous by thread: Re: Reformatting hard disk.
- Next by thread: udev blocking boot
- Index(es):