Re: Reformatting hard disk.



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.

The newer windows method is fixmbr. Or something like that.

There is a dd command that will zero out the mbr first block but I
forget what the exact string is.

dd if=/dev/zero of=/dev/hda count=1 bs=512

NOTE: fdisk /MBR does NOT zero out the MBR. I puts the windows
stuff/bootloader into the MBR. With a zero'd out MBR, you cannot boot
anything off of the drive until you run fdisk /MBR or fixmbr in windows,
or install grub or lilo to the MBR. Granted that it's hard to run fdisk
/MBR in windows when it requires you to reboot before you've had a chance
to run it. Thank goodness for grub boot cd's and floppies. Also note
that the partition table is also in that first 512 bytes, so you'll likely
need to repartition it after running that dd command.


Here are some specs on the drives from dmesg: hda: ST3250824A, ATA DISK
drive
hdb: Maxtor 6Y080P0, ATA DISK drive

The /hda drive is a recent 250MB drive. Windows 2000 however sees it as
a 133MB drive.

There's a motherboard limitation on older boards that only recognizes
about that much of a drive larger than that. Not much of a problem in
linux as you can boot from it and use all of the drive in most cases.
Just make sure your boot partition is in that first 133MB seen by the
motherboard. In windows you're pretty much screwed and can only use 133MB
of that 250MB drive. At least until you upgrade your motherboard and cpu,
or bios.

HTH
.



Relevant Pages

  • Re: Need to install Windows 2000 from scratch to HDDs with Debian/Linux
    ... we need the print outputs of fdisk for the ... > Linux partitions with Windows tools. ... > Root and Boot floppy is fine for this, ...
    (comp.os.linux.setup)
  • Re: A disk read error occurred; Press Ctrl+Alt+Del to restart
    ... I can't tell you how many times I've installed Windows ... I was able to boot into my "Last Known Good" ... Disinfecting boot sector viruses. ... MBR will replace the MBR. ...
    (microsoft.public.windowsxp.general)
  • Re: MBR problem
    ... >>use of Windows boot.ini for booting into FreeBSD.) ... >>whenever I boot I get directly to the FreeBSD boot menu where there's ... >>I tried to restore the MBR using fixmbr from Windows Recovery ...
    (freebsd-questions)
  • Re: Booting problems after deleting XP from the E partition of a 98SE machine
    ... Anyway, I deleted XP, and the machine still gave me the "XP or Windows" boot menu. ... How the hell do I get rid of that boot menu, the two files in root of C:\ and (/if/ in fact XP messed around with the MBR) restore the MBR to normal operating conditions? ... with the Windows 98SE startup diskette or a Windows 98SE boot diskette. ...
    (microsoft.public.windowsxp.newusers)
  • Re: I accidently deleted MBR
    ... i deleted the MBR then i would be able to boot into windows xp and try to ... Will i have to install everything again or can i recover a MBR to get back ... Boot using a bootable floppy and run 'fdisk /mbr'. ... boot.ini file in the Windows partition. ...
    (microsoft.public.windowsxp.security_admin)