Teen Programmers Unite  
 

 

Return to forum top

Format Command in Linux

Posted by eternaldisciple [send private reply] at January 09, 2002, 03:31:54 PM

What is it, please

Posted by DakeDesuDx [send private reply] at January 09, 2002, 03:52:35 PM

Um... if your like me and are not quite savvy enough to use the commandline yet, you would go into a GUI and use the option that is there... there usually is...

If you talking about harddrive, I believe you can use either fsck or chsck (ch something like that)...

Though I usually keep, atleast my floppies, in Win32FAT format cause most of the school computers use Win98 or WinNT4*, and Windows computers cannot read Linux formatted floppies (or atleast none that I've seen), and Linux seems to have no problem with Win32FAT disks, and will even tell me which sectors are broken on the disk instead of just: " I/O error: There was an error reading your disk." Which I am sure I will eventually learn how to use that knowledge one day :-D

If your talking about text format in a program your making, I think in perl it is sprint <format>, <text>;


Posted by DakeDesuDx [send private reply] at January 09, 2002, 03:53:14 PM

I should stop starting my posts with "Um..." shouldn't I?

Posted by eternaldisciple [send private reply] at January 09, 2002, 04:24:56 PM

Yes, but that's not the point, the point is, I need to get linux off this stupid harddrive so that I can play with something new, but I don't know how to format the stupid harddrive, and I certainly can't run a windows installer in linux, and for some damnable reason, neither the floppy boot disk or the cd are booting anything!

Posted by DakeDesuDx [send private reply] at January 09, 2002, 05:59:03 PM

Have you checked the BIOS for what order your looking at the drives for a boot image?

Posted by eternaldisciple [send private reply] at January 09, 2002, 06:10:19 PM

Of course. It should be a bootable cd, for some reason it's not behaving as such, the floppy keeps registering as drive B:\ but I haven't tried to boot from there, so it doesn't matter anyway.

Posted by DakeDesuDx [send private reply] at January 09, 2002, 06:26:12 PM

In the Bios drives do not act as they do on Windows.

A, is floppy master, B is floppy slave
C, is primary master, D is primary slave
E, is secondary master, F is secondary slave.
Just thought I would note that.

Posted by eternaldisciple [send private reply] at January 09, 2002, 09:12:45 PM

Yes well I only have one floppy with no jumpers to change, so my thinking would be that it should be master by default...is there actually anyone reading these boards who *knows* the format command in linux so that I can rid myself of one OS for another yet again?

Posted by DakeDesuDx [send private reply] at January 09, 2002, 09:39:42 PM

I am pretty sure fsck should be on your system... it is pretty much common software...

try typing "fsck" on the commandline. The only thing I think I am buggering up is the second letter.

Posted by taubz [send private reply] at January 09, 2002, 09:57:23 PM

Even if you could format it, how would that help you? I don't think you can format the drive for FAT32 from within Linux. You'll still a boot disk.

It's possible that by connecting the floppy to the other connector on the IDE cable it might pop up as the primary FDD.

I think DiskDruid is the name of the linux program. If that's not it exactly, google search for it.

- taubz

Posted by DakeDesuDx [send private reply] at January 09, 2002, 11:10:16 PM

Yes you can format a FAT32 drive on linux... though I do not know if you can the root drive

Posted by gian [send private reply] at January 10, 2002, 02:06:19 PM

Have you got a "Low level format" option in your BIOS?

That seems to be the easiest way to get rid of linux and Liloall in one foul swoop...

You must be logged in to post messages and see which you have already read.

Log on
Username:
Password:
Save for later automatic logon

Register as a new user
 
Copyright TPU 2002. See the Credits and About TPU for more information.