LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 08-30-2004, 08:11 PM   #1
akilhoffer
LQ Newbie
 
Registered: Aug 2004
Location: North Carolina
Distribution: Fedora Core 2
Posts: 23

Rep: Reputation: 15
Question How do I create new partition?


I have a Laptop running Fedora Core 2 with Gnome as my WM. My hd is a 30 gig, but it's partitioned weird:

5 gig - /Home
1024k - Swap
2x gig - Free Space

Any suggestions on how I should distribute this space and what tools should I use? I'm VERY new to Linux, so bear with me!

Thank in advance for any advice!

-Tony
 
Old 08-30-2004, 09:08 PM   #2
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509

Rep: Reputation: 46
You didn't mention the / partition, where is it? You must have one.

There are several ways to accomplish that. Easier way is to use fedora's native tools. Boot the machine with the install cd's you have, and run the partitioner program (disk druid?).

The ways to partition depend on your hd layout. Maybe you have to build a logical partition.

A hd can have up to 4 primary partitions, including extended ones. If you already used these, you have to create a logical partition to use these 2Gb.

Post here the output of

cat /etc/fstab

and

df

So we can take a look at it.

Last edited by bruno buys; 08-30-2004 at 09:11 PM.
 
Old 08-31-2004, 08:06 AM   #3
akilhoffer
LQ Newbie
 
Registered: Aug 2004
Location: North Carolina
Distribution: Fedora Core 2
Posts: 23

Original Poster
Rep: Reputation: 15
You're right. I do have a / partition. I'm so new to Linux, I'm still trying to figure out what's going on. Anyway, here's the output of cat /etc/fstab:

LABEL=/ / ext3 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/hda5 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,r o 0 0


output of df:

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda1 6047376 3585328 2154856 63% /
none 257636 0 257636 0% /dev/shm

Thanks for your help!

-Tony
 
Old 08-31-2004, 08:23 AM   #4
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509

Rep: Reputation: 46
Hi Tony!
Sorry man, I forgot to ask you to also output the mount command, with no switches. Just do

mount

So we can see where each partitions are mounted.
 
Old 08-31-2004, 08:38 AM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,158

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
In addition post the output of the command
fdisk -l /dev/hda (that is a small L and you need to be logged in as root)
 
Old 08-31-2004, 03:55 PM   #6
akilhoffer
LQ Newbie
 
Registered: Aug 2004
Location: North Carolina
Distribution: Fedora Core 2
Posts: 23

Original Poster
Rep: Reputation: 15
Thanks a million for your help!

Here is the result of 'mount':

/dev/hda1 on / type ext3 (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
none on /dev/shm type tmpfs (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)


Here is the result of 'fdisk -l /dev/hda':

Disk /dev/hda: 30.0 GB, 30005821440 bytes
15 heads, 63 sectors/track, 62016 cylinders
Units = cylinders of 945 * 512 = 483840 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 13003 6143886 83 Linux
/dev/hda2 13004 62016 23158642+ 5 Extended
/dev/hda5 13004 15222 1048446 82 Linux swap
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using partition magic to create Linux partition then install EviLBoX Linux - General 5 09-12-2008 06:01 AM
How to resize a partition and create/mount a new partition? Maarten_Holland Linux - Newbie 1 04-20-2005 09:56 AM
Trying to create a partition help embassy Linux - Software 3 12-08-2004 08:03 PM
create new partition vande Linux - Newbie 1 10-14-2004 12:35 AM
Create partition? mikeshn Linux - General 7 02-08-2004 09:31 PM


All times are GMT -5. The time now is 10:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration