LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 05-27-2007, 09:35 PM   #1
mhg
Member
 
Registered: Apr 2007
Location: Utah
Distribution: BodhiLinux
Posts: 205

Rep: Reputation: 30
can I use gparted to resize after installation


Hi All,

To make a long story short, I deleted all my partitions on a second HHD, and installed Ubuntu 7.04. I choose to let the installer set up partitions. Now I have a swap, and 147 GB ext3 partition. What I had hoped I could do was go in with gparted and resize these partitions. I installed gparted and opened it, but it will not let me do anything to these partitions.

What I would like to end up with is two 10 gig partitions, one for Ubuntu, and one for a later install of a different distro, and the rest of the drive as a separate partition to store data. Can I accomplish that now, or will I need to partition before hand and then install Ubuntu again?

The problem I had last time when I partitioned before the install, was figuring out how to use the installer to set the partitions correctly for "/" and all else that is necessary.

As you can tell, I am a newbie.

Thanks for all help.
 
Old 05-27-2007, 09:44 PM   #2
mitchell7man
Member
 
Registered: Jan 2007
Location: Draper, UT
Distribution: Ubuntu, Windows 10, OSX
Posts: 461

Rep: Reputation: 31
I have resized reformatted and created partitions from ubuntu after install what i do is download gparted or use the live cd, I prefer the live cd, as it does not seem to create so many issues, but that may not have any essence to it. One problem i have faced is when a partition is locked, but i have had more success doing this kind of formatting from a live cd. Just boot you live cd, open terminal and type sudo gparted, you can select the drive, resize reformat or whatever. If your willing to tho, you might prefer to start over, so that you have your partitions in a preferable order, during ubuntu install go to manual setup or whatever, just create a base partition for ubuntu a swap probably a gig, a data, and whatever else, you probably have to create logial partitions after the first one or two... to set a partition as home or whatever during the install on the partition management step you select a partition and click edit or something like that, a think will pop up with partition size and mount point, you can set the size of the partition, and mount point there, if you want to mount it on home or install directory just put a slash "/" in this field. You can also mount a partition as /media/-whatever you want- for data partitions or /home if you want to have your data partition be your home partition. I currently have my partitions in a tangle from not planning it out perfect at the beginning, i have changed after install, but am not completely satisfied, i plan on going in and re doing everything as i want soon, and i think that is what you should do, tho you can be satisfied otherwise. Good luck, any questions or doubts, just keep posting, i'm a relative noob but i will help you where i can.
BTW - when i refer to live cd i am refering to the Ubuntu live cd.

Last edited by mitchell7man; 05-27-2007 at 09:46 PM.
 
Old 05-27-2007, 10:12 PM   #3
mhg
Member
 
Registered: Apr 2007
Location: Utah
Distribution: BodhiLinux
Posts: 205

Original Poster
Rep: Reputation: 30
Thanks,

I think I am following you from what I have been experimenting with.

So I need a swap partition, a "/" partition which will be where the OS is installed, and a "/home" partition for data? How can a set aside another 10gig for a future install? Will it allow me to create two "/" partitions?

Thanks for the help.
 
Old 05-27-2007, 10:20 PM   #4
mitchell7man
Member
 
Registered: Jan 2007
Location: Draper, UT
Distribution: Ubuntu, Windows 10, OSX
Posts: 461

Rep: Reputation: 31
no you cannot create two / partititions, what your probably want to do is just leave the space for future installations as unpartitioned, seeing as when you install other operating systems you will have similar install options, you can create the partition then (upon installing the other OS) and set the new partition (the one you make during the future install) as "/" no need to do it now, and you cant do it now, it will be set up with the other OS. So in summary, you will go into installation, delete all the partitions, make a partition for the os, mount it as "/" make a partition for data mount it as "/home" (both without quotations of course) and a swap which does not need to be mounted, the rest of the space for later on can be left un partitioned... and you will nto have a problem partitioning it for other installs later on.

Furthermore, you probably want to make your first partition "primary" and the rest of the partitions are "logical"... get back to me if you have more questions or doubts.

I will try to be clear.. good luck...

EDIT - your probably want to stick with ext3 for the partitions (with exception of the SWAP)

Last edited by mitchell7man; 05-27-2007 at 10:24 PM.
 
Old 05-28-2007, 11:01 AM   #5
mhg
Member
 
Registered: Apr 2007
Location: Utah
Distribution: BodhiLinux
Posts: 205

Original Poster
Rep: Reputation: 30
This is what I am considering. I have 160 gig drive to work with.

swap = 1024mb
"/" = 10 gig ext3 (This one would then be primary?) To install Ubuntu.
"/home" = 130 gig ext3 (make this one extended or logical?) For storage.

That would leave me approx 20 gig unpartitioned for future use should I want to add a distro.

I am a little sketchy on the primary/logical/extened, other than I know the number of primary are limited. I also do not remember seeing the options for selecting what type of partition, but it must have been there.

I am considering trying gparted first, then booting off the install disk, though unsure what Ubuntu installer will give me for options if the partitions are already there. Hopefully I will use the manual install option and figure it out from there.

I have lost a post where someone gave a good explanation of how Linux used the different mounts, if that is the proper term. Seems like the post was saying that with a "/home" partition, anything that was saved to my "home" folder would automatically be put on this "/home" partition. Am I completely full of it? I am so used to Windows, where I browse to where I want to save a file.

My point is to be able to save my data on a different partition than the OS.

Thanks for all the help.
 
Old 05-28-2007, 11:10 PM   #6
mitchell7man
Member
 
Registered: Jan 2007
Location: Draper, UT
Distribution: Ubuntu, Windows 10, OSX
Posts: 461

Rep: Reputation: 31
primary/logical/extened,- Yes i would suggest making one primary for the OS, then make an extended with all the rest of the space, and however many logicals you would need, being the logical for data, and the logical with the extra space if you decide to partition the extra space now.
I would like to explain the extended/ logical... in a simple way. Extended is a sort of partition that makes logical partitions possible, that is a logical partition comes after an extended partition and is actually a division of the extended partition. So if you go to gparted you would first make a primary partition, then an extended partition with all of the rest of the space, and then however many logical partitions you wanted, swap can be "logical" also.
-If you use the ubuntu installer you will not even see the term "extended" as it will automatically set this up when you tell it to make a "logical" partition.

I hope that was clear enough, if you have doubts on that go ahead and ask me.

As for the /home thing, when you select the mount point of a partition to be /home it is infact the home on linux, so yes, when you go to home in linux and save something it is infact going to another partition, in this case your "data" partition.

Good luck, feel free to ask anything... sorry for the delay in response, my internet was slow with this site during a storm we were having here.
 
Old 05-29-2007, 07:10 PM   #7
mhg
Member
 
Registered: Apr 2007
Location: Utah
Distribution: BodhiLinux
Posts: 205

Original Poster
Rep: Reputation: 30
For some reason I can not get gparted live cd to boot. I used the manual mode in the Ubuntu installer, and with what you described it went very well. I left some of the HHD unused, and most as /home.

The newer version of Ubuntu solved some problems I was having, so happy about that.

If this "home" works as I am understanding, it sounds very slick.

Thanks for all the help.
 
  


Reply



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
Error trying to resize NTFS partition with Gparted mistere29 Linux - Newbie 6 06-14-2009 05:20 PM
resize non contiguous partitions in gparted mariogarcia Debian 2 04-20-2007 02:44 PM
Gparted refuses to resize NTFS (3G) partition, even if it has been unmounted. PureRumble Linux - Software 9 04-02-2007 07:02 PM
Help! GParted wont resize XP drive... phantom_cyph Linux - General 4 02-26-2007 11:10 AM
Is it possible to resize the swap partition after installation is completed? Akhran Linux - Newbie 5 08-07-2005 02:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:30 AM.

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
Open Source Consulting | Domain Registration