Rapidweather
Group: Members
Posts: 375
Joined: Jan. 2004 |
|
Posted: April 23 2005,22:56 |
|
Repairing MBR. If you are setting up a new drive as a slave, and are experimenting with linux fdisk to see what sort of partitions you may want to have, I usually set up a Windows W95 Fat 16 LBA "e" of say 8 GB to use as an extra drive for Windows 98, found on the primary HDD. To get to "fdisk" do "fdisk /dev/hdb", and for the menu, "m", and for the existing partition table as seen by fdisk, "p". Now, if you want to zero the master boot record for any reason, do this: dd if=/dev/zero of=/dev/hdb1 bs=512 count=1 My slave drive is hdb, and the partition I want to zero out is hdb1. I would need to do this if I have already made a Windows partition of 4 GB, and then changed my mind, after I rebooted into Win 98, and formatted the new 8 GB partition. Now, Windows 98 "forgets" what it had, and you can remake the partition using linux fdisk, and then when you reboot into Win 98, format it. Next, you make an extended partition for the rest of the drive, and then set up the partitions for linux and for swap. This method should also work if SuSE has changed your MBR. One other item: I don't use Windows 98 on the Internet any more, but do have a few programs that I sometimes use. Mostly, I place linux .iso's in the Win 98 Extra drive, and boot from them in Knoppix, so I don't have to use a CD, and can free up the CDROM drive for other uses once the system boots from the .iso.
-------------- Rapidweather Remaster of DSL: http://www.angelfire.com/ms/telegram/getting_started.html Rapidweather Remaster of Knoppix Linux: http://www.geocities.com/rapidweather/getting_started.html Screenshots: http://www.rapidweather.com/linuxcdsales.html
|