On 8/12/07, <b class="gmail_sendername">Brian Beattie</b> <<a href="mailto:beattie@beattie-home.net">beattie@beattie-home.net</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Sat, 2007-08-11 at 22:44 -0500, Linda Hanigan wrote:<br>> I have an unused computer setting around that has unbuntu installed on<br>> the hard drive. I replaced it with a newer and faster computer. My son<br>> really wants to play his sisters old win98 games. Since I still have a
<br>> Win 98 CD for the computer I thought about reinstalling win 98 on it for<br>> him. Does anybody know what I have to do to reformat the drive as a<br>> vfat?<br>>  I assume boot from cd and run<br>> mkfs.vat
 /dev/hda<br><br>If you wipe out the partition table Win98 will install itself.<br><br>dd if=/dev/zero of=/dev/hda count=100 will zero out hte first 100 blocks<br>of the disk which should do it.</blockquote><div><br>You can also create a bootable DOS formatted floppy disk or bootable DOS USB under Linux,
<br>you need to download the bootdisk images from <a href="http://bootdisk.com">bootdisk.com</a>, or <a href="http://freedos.org">freedos.org</a>, usually .EXE files are just zip files, that you can unzip them to obtain the .IMG or .IMA files.
<br><br>For floppy, do<br><br>dd if=/dev/zero of=/dev/fd0 bs=1024<br>mkdosfs -I /dev/fd0<br>dd if=DOS.IMG of=/dev/fd0 bs=1024<br><br>For USB, you need to download the mbr package "sudo apt-get install mbr",<br>then make sure your USB drives are unmounted before doing any operations.
<br><br>dd if=/dev/zero of=/dev/sda bs=512 count=1<br><re-plug USB><unmount every automatic mounts><br>mkisofs -I /dev/sda<br>install-mbr --force /dev/sda<br>fdisk /dev/sda (then create a new FAT partition, set it as bootable)
<br><re-plug USB><unmount every automatic mounts><br>mkisofs -I /dev/sda1<br><br>mount the IMG file into a directory, example /mnt/<br>mount -o loop DOS.IMG /mnt<br>then mount /dev/sda1<br>cp -R /mnt/* /mount/disk/
<br>unmount everything.<br><br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">>                     Linda<br>><br>><br>--
<br>Brian Beattie   LFS12947 | "Honor isn't about making the right choices.<br><a href="mailto:beattie@beattie-home.net">beattie@beattie-home.net</a> | It's about dealing with the consequences."<br><a href="http://www.beattie-home.net">
www.beattie-home.net</a>     | -- Midori Koto<br><br><br><br>--<br>ubuntu-users mailing list<br><a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a><br>Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users">
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br></blockquote></div>