Quantcast

Maximum PC

It is currently Tue Jun 18, 2013 5:33 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 19 posts ] 
Author Message
 Post subject: formating drives.
PostPosted: Thu Dec 27, 2007 11:44 am 
Team Member Top 250
Team Member Top 250
User avatar

Joined: Sun Nov 26, 2006 3:17 pm
Posts: 1156
how do i format hardrives in linux? I want to erase my windows partition. i dont have my live cd with me. is there a program that is available to linux?


Top
  Profile  
 
 Post subject:
PostPosted: Thu Dec 27, 2007 12:20 pm 
Sharptooth
Sharptooth
User avatar

Joined: Thu May 10, 2007 9:08 pm
Posts: 468
Location: North-central Ohio
Might find what you are looking HERE.


Top
  Profile  
 
 Post subject:
PostPosted: Thu Dec 27, 2007 12:46 pm 
Team Member Top 250
Team Member Top 250
User avatar

Joined: Sun Nov 26, 2006 3:17 pm
Posts: 1156
i need something in a language that i can understand. again, can anyone tell me how to reformat a drive in linux? i ran the fdisk command and i get a this:
Image

could anyone tell me what this means? i am having alot of unnecessary trouble with this and im starting to get frustrated.


Top
  Profile  
 
 Post subject:
PostPosted: Thu Dec 27, 2007 3:31 pm 
Million Club - 5 Plus*
Million Club - 5 Plus*
User avatar

Joined: Sun Sep 12, 2004 6:37 pm
Posts: 4735
Location: In the monkey's litterbox
what's the output of "mount"

also, describe your setup (what hard drives are hooked up ide/sata)

IDE drives are hdx, SATA drives are sdx


Top
  Profile  
 
 Post subject:
PostPosted: Thu Dec 27, 2007 4:06 pm 
Team Member Top 250
Team Member Top 250
User avatar

Joined: Sun Nov 26, 2006 3:17 pm
Posts: 1156
here:
Image

i have 1 hard drive. it is ide i partitioned it into 2 partitions. 1 for windows and one for ubuntu. when i look at the volumes in windows, there are 3 partitions. the 3rd one i didn't make. i think it made itself when i installed ubuntu.


Top
  Profile  
 
 Post subject:
PostPosted: Thu Dec 27, 2007 4:30 pm 
Million Club - 5 Plus*
Million Club - 5 Plus*
User avatar

Joined: Sun Sep 12, 2004 6:37 pm
Posts: 4735
Location: In the monkey's litterbox
gparted should be able to help you, but the ID of your windows partition is /dev/sda1

I personally use jfs, and the command for that is

Code:
sudo umount /dev/sda1
sudo mkfs.jfs /dev/sda1


Top
  Profile  
 
 Post subject:
PostPosted: Thu Dec 27, 2007 5:09 pm 
Bitchin' Fast 3D Z8000
Bitchin' Fast 3D Z8000
User avatar

Joined: Wed Jun 16, 2004 5:29 pm
Posts: 6318
Location: Far away from you
whelderwheels613 wrote:
i need something in a language that i can understand. again, can anyone tell me how to reformat a drive in linux?


And yet, you fail to specify this in your initial post. Seriously dude, a little self help here.

In any case, assuming you're still playing around with Ubuntu, you should be able run gparted via System -> Administration -> Gnome Partition Editor. If it's not there, you can install it via System -> Administration ->Synaptic.

You may have to remove the partition and re-add it and flag it to format, but you should be able to simply format it from there.

If you're looking to do this via a command prompt, you'll want to know what kind of partitions you have. If you're using ext2 or ext3, you'll be using mke2fs. Clearly if you're using a Rieser file system, you'll use mkreiserfs instead.

Since your screenshots reflect you're using ext3, you'll want to use mke2fs. Once you have that done, you'll want to edit your fstab so this thing mounts permanently, but you should be able to test by manually mounting the partition via the command

Mount /dev/sda3 (of whatever the disk you formated was)

btw: fdisk -l should list all the partitions you have currently. You will need to repartition this, so before anyone can start to explain how to partition this through a command proompt, you'll want to post the output of fdisk -l as you will need to remove the partition and then recreate it. Personally, I'd still be using the gnome partition manager


Top
  Profile  
 
 Post subject:
PostPosted: Thu Dec 27, 2007 6:24 pm 
Team Member Top 250
Team Member Top 250
User avatar

Joined: Sun Nov 26, 2006 3:17 pm
Posts: 1156
sorry bout that. i was really frustated. anyway...

here is a screen shot of gParted after i formated the first partition.
Image
i formatted it into another ext3 file system. i am going to delete this partition and resize the big one.

i am trying to unmount the big partition and resize to take up the entire hard drive. but i get this error message:
Image

i am also curious as to what the last two partitions are? if they are not needed, than i might as well reformat and resize them.

here is the screen shot of the command "fdisk -l" there is nothing to show, for nothing showed up in the next line.
Image


Top
  Profile  
 
 Post subject:
PostPosted: Thu Dec 27, 2007 6:32 pm 
Million Club - 5 Plus*
Million Club - 5 Plus*
User avatar

Joined: Sun Sep 12, 2004 6:37 pm
Posts: 4735
Location: In the monkey's litterbox
the next to last one is a extended partition, a partition that holds a second partition table.

The last one is the linux version of a swap file.


Top
  Profile  
 
 Post subject:
PostPosted: Thu Dec 27, 2007 6:37 pm 
Bitchin' Fast 3D Z8000
Bitchin' Fast 3D Z8000
User avatar

Joined: Wed Jun 16, 2004 5:29 pm
Posts: 6318
Location: Far away from you
Try sudo fdisk -l

and I do not see any windows partitions on that screenshot. Different drive? That selector in the upper right probably has a couple of other things in there.


Top
  Profile  
 
 Post subject:
PostPosted: Thu Dec 27, 2007 6:51 pm 
Team Member Top 250
Team Member Top 250
User avatar

Joined: Sun Nov 26, 2006 3:17 pm
Posts: 1156
furball146 wrote:
Try sudo fdisk -l

and I do not see any windows partitions on that screenshot. Different drive? That selector in the upper right probably has a couple of other things in there.


the first partition was the windows one, but i unmounted it, reformatted it to ext3 and remounted it.

i typed in the command you gave me but when i go and type in my password, nothing shows up.


Top
  Profile  
 
 Post subject:
PostPosted: Thu Dec 27, 2007 7:00 pm 
Bitchin' Fast 3D Z8000
Bitchin' Fast 3D Z8000
User avatar

Joined: Wed Jun 16, 2004 5:29 pm
Posts: 6318
Location: Far away from you
I guess it doesn't matter at this point.

I guess to be safe, you are using L and not 1 or the pipe right?

Did you get that mount point in your fstab?


Top
  Profile  
 
 Post subject:
PostPosted: Thu Dec 27, 2007 7:05 pm 
Team Member Top 250
Team Member Top 250
User avatar

Joined: Sun Nov 26, 2006 3:17 pm
Posts: 1156
i was using L

what is fstab?

how about the error message i keep on getting. i tried lookin on the file system for another file system but no luck.

what are the two partitions at the end of the hardrive?


Top
  Profile  
 
 Post subject:
PostPosted: Thu Dec 27, 2007 7:31 pm 
Million Club - 5 Plus*
Million Club - 5 Plus*
User avatar

Joined: Sun Sep 12, 2004 6:37 pm
Posts: 4735
Location: In the monkey's litterbox
I think you missed this:

smartcat99s wrote:
the next to last one is a extended partition, a partition that holds a second partition table.

The last one is the linux version of a swap file.


Top
  Profile  
 
 Post subject:
PostPosted: Thu Dec 27, 2007 7:58 pm 
Bitchin' Fast 3D Z8000
Bitchin' Fast 3D Z8000
User avatar

Joined: Wed Jun 16, 2004 5:29 pm
Posts: 6318
Location: Far away from you
whelderwheels613 wrote:
what is fstab?


Basically it's a text file that tells linux where to mount things on boot. It's located in your /etc directory

whelderwheels613 wrote:
how about the error message i keep on getting. i tried lookin on the file system for another file system but no luck.


If you're talking about the error above that said "could not unmount..", basic you're trying to unmount the partition you're currently using. The same would occur in windows if you tried to delete your systemroot partition. You'll definitely need to use the liveCD to resize that.


Top
  Profile  
 
 Post subject:
PostPosted: Fri Dec 28, 2007 7:29 am 
Team Member Top 250
Team Member Top 250
User avatar

Joined: Sun Nov 26, 2006 3:17 pm
Posts: 1156
smartcat99s wrote:
I think you missed this:

smartcat99s wrote:
the next to last one is a extended partition, a partition that holds a second partition table.

The last one is the linux version of a swap file.



woops, didnt see that.

is it possible that i can append drive letters to the hard drives?


Top
  Profile  
 
 Post subject:
PostPosted: Fri Dec 28, 2007 12:54 pm 
Bitchin' Fast 3D Z8000
Bitchin' Fast 3D Z8000
User avatar

Joined: Wed Jun 16, 2004 5:29 pm
Posts: 6318
Location: Far away from you
whelderwheels613 wrote:
is it possible that i can append drive letters to the hard drives?


huh?

What are you trying to accomplish?


Top
  Profile  
 
 Post subject:
PostPosted: Sat Dec 29, 2007 8:36 am 
Team Member Top 250
Team Member Top 250
User avatar

Joined: Sun Nov 26, 2006 3:17 pm
Posts: 1156
i was just wondering if i could append drive letters like in windows. just a question.


Top
  Profile  
 
 Post subject:
PostPosted: Sat Dec 29, 2007 9:45 am 
Bitchin' Fast 3D Z8000
Bitchin' Fast 3D Z8000
User avatar

Joined: Wed Jun 16, 2004 5:29 pm
Posts: 6318
Location: Far away from you
I'm not quite certain what you mean by append, but if you're looking to assign designations like you see in windows, the answer is no.


Top
  Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 19 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group