LinuxQuestions.org
Help answer threads with 0 replies.
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 02-13-2009, 06:16 AM   #1
QueenZ
Member
 
Registered: Sep 2008
Distribution: openSUSE, Ubuntu
Posts: 372
Blog Entries: 2

Rep: Reputation: 32
How to make/add a new partition?


OK, for now I have nothing but Ubuntu on my PC. It's fresh Now i have one partition (i think)...

But i remember on windows machine i had two partitions - Local Disc C:\ and Other D:\
One is for Windows and other is for my all important documents.

Now, I would really like to make the same on Linux.

As far as i know the one partition that i have is / (root). Right? And no i need another one \ or something.. i don't know how it will be but it won't go like D:\ that's for sure.. maybe \ or / or something.. In other words, Please help!

Can i give labels for my new partitions too? like i had on windows (Local Disc and Other)
 
Old 02-13-2009, 06:26 AM   #2
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,461
Blog Entries: 6

Rep: Reputation: 51
You can use fdisk utility for a new partition.
I would like you to google "fdisk linux"
 
Old 02-13-2009, 06:27 AM   #3
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
Use a partition manager like qparted, to schrink the existing partition, and to create the new one.
Best is to download a live cd.
Then edit /etc/fstab to add the new partition.
 
Old 02-13-2009, 07:02 AM   #4
QueenZ
Member
 
Registered: Sep 2008
Distribution: openSUSE, Ubuntu
Posts: 372
Blog Entries: 2

Original Poster
Rep: Reputation: 32
I downloaded and installed gParted but it doesn't allow me to resize or create a new patition.. take a look.. what's wrong?

http://www.freeimagehosting.net/uploads/e4f099e219.jpg
 
Old 02-13-2009, 07:02 AM   #5
ajlewis2
Member
 
Registered: Nov 2003
Distribution: Ubuntu
Posts: 217

Rep: Reputation: 46
Here is a good document at Ubuntu's wiki about partitioning. See especially Resizing, Extended partition (which is a good idea so that you can make more than 4 partitions eventually) and Reformatting (since after you make the partition, you will need to format it in order to use it).

https://help.ubuntu.com/community/HowtoPartition
 
Old 02-13-2009, 07:15 AM   #6
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
Quote:
I downloaded and installed gParted but it doesn't allow me to resize or create a new patition.. take a look.. what's wrong?
You need to unmount the partition, in order to resize it.
I would suggest to boot from a live cd, and the resize
 
Old 02-13-2009, 07:15 AM   #7
QueenZ
Member
 
Registered: Sep 2008
Distribution: openSUSE, Ubuntu
Posts: 372
Blog Entries: 2

Original Poster
Rep: Reputation: 32
I don't have cd rom and i want to resize it.. why do i need to unmount it and can i unmount it?

does it mean i can't resize it now?

Last edited by QueenZ; 02-13-2009 at 07:16 AM.
 
Old 02-13-2009, 07:17 AM   #8
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,453
Blog Entries: 55

Rep: Reputation: Disabled
Mmm, that's odd - you've got unallocated space in between your Windows & Linux partitions. I'm not sure, I've never tried it, but I think you can move your ext3 partition to take up that space, move your swap as well (run swapoff /dev/sda5 first).
You'll have to use a live CD.

Last edited by brianL; 02-13-2009 at 07:19 AM.
 
Old 02-13-2009, 07:18 AM   #9
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
did you tried to unmount it?
 
Old 02-13-2009, 07:21 AM   #10
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
Quote:
OK, for now I have nothing but Ubuntu on my PC.
so you have sda2 for linux
Is there something on sda1?
You can use sda1 for your data partition.
 
Old 02-13-2009, 07:29 AM   #11
QueenZ
Member
 
Registered: Sep 2008
Distribution: openSUSE, Ubuntu
Posts: 372
Blog Entries: 2

Original Poster
Rep: Reputation: 32
ok guys, i did it ! I used that unallocated space between win and linux partition and i made a new partition and gave it label "other" And it's ext2 with 3MB space. That's great! I can put all my word documents there now!

But when i went to computer:// and tried to open other (my new partition) it asked me for password (weird) and then when i gave it my password it showed error - "Unable to mount location. Internal error: No mount object for mounted volume" what's that What's happening
 
Old 02-13-2009, 07:30 AM   #12
QueenZ
Member
 
Registered: Sep 2008
Distribution: openSUSE, Ubuntu
Posts: 372
Blog Entries: 2

Original Poster
Rep: Reputation: 32
But when i chose to open my new partition from sidebar places section, it opened successfully.. weird again.. and i found lost+found folder in it (huh??)
 
Old 02-13-2009, 08:02 AM   #13
ajlewis2
Member
 
Registered: Nov 2003
Distribution: Ubuntu
Posts: 217

Rep: Reputation: 46
Quote:
Originally Posted by QueenZ View Post
But when i chose to open my new partition from sidebar places section, it opened successfully.. weird again.. and i found lost+found folder in it (huh??)
lost+found is normally made with a newly formatted partition.

If you can make a cd, there is a 100Mb iso available for a livecd for gparted: http://sourceforge.net/project/showf...kage_id=271779

It would also be good to know if you already have 4 primary partitions before you attempt to resize. If you already have 4 primaries, you will not be able to use the new space. You can do 'fdisk -l' to see what your partitions look like and report here if you want advice.
 
Old 02-13-2009, 09:13 AM   #14
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,787

Rep: Reputation: 211Reputation: 211Reputation: 211
Try this

Here is the link to an introduction course on linux that many have recommended. It explains the general structure and terminology of linux and has a section on partitions.

http://www.linux.org/lessons/

Welcome to the project.
 
Old 02-13-2009, 09:17 AM   #15
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
Is there something on sda1?
 
  


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
How to make linux partition like windows partition? frozenade Linux - Desktop 14 08-16-2007 04:39 PM
Can I add a Partition to the front of / partition? glennph93 Linux - General 4 04-08-2006 05:24 PM
How to add a new partition bennett Linux - Newbie 3 10-11-2003 01:31 AM
How to add new partition before Linux partition in an existing Linux box? ashutosh Linux - Software 3 04-23-2002 04:26 AM
How to Add a partition Ismark Linux - Newbie 1 01-13-2002 07:01 PM


All times are GMT -5. The time now is 04:40 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration