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 07-20-2012, 06:36 PM   #1
dthims
Member
 
Registered: Mar 2003
Posts: 48

Rep: Reputation: 1
resize partiion with gpart not working


trying to increase sda1. decreased sda5, then sda2. that did not allow me the option to increase sda1. so i decreaseed sda4, that did not allow me to increase sda1 either. any help would be appreciated. trying to increase sda1.
Attached Thumbnails
Click image for larger version

Name:	gpart-size.jpg
Views:	12
Size:	94.2 KB
ID:	10172  
 
Old 07-20-2012, 08:08 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,842

Rep: Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823
You can only resize a partition if there is unallocated space (right) next to it. You can move the other partitions around to achieve that. Or, in your case, just delete the swap and put it in the extended - i.e. make it a logical.
You will need to fix fstab prior to re-booting if you do that of course.
 
1 members found this post helpful.
Old 07-20-2012, 10:45 PM   #3
dthims
Member
 
Registered: Mar 2003
Posts: 48

Original Poster
Rep: Reputation: 1
how do i know if i delete the swap that the available space will go to sda1. resized the "/" partition and nothing came available to any of the partitions. don't mind deleting it and editing fstab. thnx for your input.
 
Old 07-20-2012, 11:10 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,842

Rep: Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823
The space won't "go" anywhere - it's merely become "unallocated". You will have to expand any partition to use it.

That is a poor photo, better to use a screenshot.
BTW, I hope you are doing this from a liveCD - some things you just should (or can't) do from a running system.
 
Old 07-21-2012, 08:47 AM   #5
dthims
Member
 
Registered: Mar 2003
Posts: 48

Original Poster
Rep: Reputation: 1
i wasn't trying to give you a hard time, just making sure that i didn't want to reinstall everything. you were right, it did work. thnx so much. will keep your name noted next time i have a problem. the space came available after i deleted the swap file. thnx a million.
 
  


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
Other than gpart !!!! To partition vibinlakshman Linux - Software 3 12-13-2008 06:51 PM
Gpart and DSL LiveCDs on ONE CD-R ? medya Linux - Software 2 05-21-2006 08:18 AM
Copying partition to another partiion sigma957 Debian 2 12-14-2004 04:25 PM
messed up partitiontable -help with gpart jackren Linux - General 0 05-22-2004 07:45 AM
Adding space to a partiion Maistre Linux - Newbie 5 02-26-2004 03:05 PM


All times are GMT -5. The time now is 12:38 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