Home
Friday, April 28, 2017
8:44:47 AM
Users online: 0   You are here >> Home > Open Source OS

Forums | Open Source OS Forums search
Forum FAQ
   
  1  
Partition rest of the HDD
rayman82 
4/9/08 12:10:32 AM
Guru

Hey guys,

I have a 120 GB HDD on my comp. I partitioned 80 GB for Linux so I have around 40 GB left, I'm planning to use the rest of the 40 GB for VMWare, so I'm wondering how can I partitioned the rest of the HDD and then mounting it.

Cheers

-----
Why Did The Chiken Cross The Road?

Einstein's Answer: The question is not about did the chicken cross the road, but did the road move under the chicken?

Cheers!
Ray

Midnighter 
4/9/08 8:24:46 AM
Immortal

Just partiton it with Gparted. What distro are you using? If you're using PCLOS or Mandriva, you can simply mount the partition from the Control Centre, but in most other cases you will need to manually add an entry for it to the /etc/fstab file, then issue the mount command. Pretty straight forward really. I say this from having done it far too often :P

Give me some more details, like what OS/distro you're running, and I'll have a better idea of what steps to suggest, etc.

-----
-Anger. Courage. Truth. These are the daughters of Hope.
-Death isn't scary.Giving up is.
-If there's one thing guaranteed to fuck me off, it's the sheer miserable meanness of the human race.
-The price of freedom, the price to soar, is small.

rayman82 
4/9/08 11:41:03 AM
Guru

Oh... I'm using Ubuntu Linux, Hardy Heron (8.04). Thanks I'll give GParted a try

-----
Why Did The Chiken Cross The Road?

Einstein's Answer: The question is not about did the chicken cross the road, but did the road move under the chicken?

Cheers!
Ray

Midnighter 
4/9/08 4:03:44 PM
Immortal

Did you get it sorted, or still need a hand? If sorted, cool. Just speak up if not. :)

-----
-The price of freedom, the price to soar, is small. All they ask for is your wings.
-If there's one thing guaranteed to fuck me off, it's the sheer miserable meanness of the human race.
-Anger. Courage. Truth. These are the daughters of Hope.

aaronbajado 
5/9/08 12:31:05 PM
Banned
try partition magic. its easy and very simple

-----
http://trvidcom.com.au

Midnighter 
5/9/08 4:05:07 PM
Immortal

It's also not free. Gparted is easy to use also, and it's free. Besides, Partition Magic has been known to not be so good with Linux partitions.

-----
-The price of freedom, the price to soar, is small. All they ask for is your wings.
-If there's one thing guaranteed to fuck me off, it's the sheer miserable meanness of the human race.
-A lot of being human is about degradation and pain and humil

Redhatter 
5/9/08 7:34:23 PM
Hero
Titan


aaronbajado: I wouldn't recommend PartitionMagic for manipulating Linux partitions. Last check, it understood EXT2 and that was it.

My recommendation would be to get to know the command-line tools. fdisk and mke2fs (or the tool for your filesystem of choice).

It's easy...
$ sudo -s  
Password: enter password here
# fdisk -l /dev/sda # Check this is the drive you
# want to partition, if not... try sdb,
# sdc... or hda...etc. Otherwise...

# fdisk /dev/sda


Now... the basic commands for fdisk are:
p: print (to screen) the partition table
n: add a new partition
d: delete a partition
t: change the partition type of a partition
w: write changes and quit
q: cancel changes and quit

If you think you've screwed something up... just hit 'q' and try again. By default, partitions are created as "Linux data" partitions (type 0x83) which is probably what you want. When setting the partition type, the 'l' command will tell you what other ones are there -- the notable ones are 0xc (VFAT), 0x7 (NTFS/HPFS) and 0x82 (Linux Swap).

Once the partition is created... format it:
# mke2fs -j /dev/sda2  # or sda5 if it's a logical partition...etc 


The -j tells mke2fs to make a journalled (EXT3) filesystem, which provides better data integrity at the cost of some extra overhead.

GParted does a nice job, but it's worth knowing how to do it by hand.

-----
Stuart Longland (aka. Redhatter, VK4FSJL)
I haven't lost my mind it's backed up on a tape somewhere...
http://atomicdoc.yi.org <-- AtomicDOC Wiki
Resident Coolie-hatted Gentoo geek. (Gentoo MIPS & Mozilla herd member)

  1  
Forums | Open Source OS