LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-06-2007, 01:48 PM   #1
ctsiow
LQ Newbie
 
Registered: Oct 2007
Location: Isle of Wight, UK
Distribution: Ubuntu 8.10 server - Ubuntu 10.10 Aspire netbook
Posts: 29
Blog Entries: 2

Rep: Reputation: 15
Post add space to / when from spare space on disk


I have 4 gig spare on my dual boot laptop that I would like to us on my / partition. Am I right in thinking that Partition Magic / Acronis disk director will mess up grub and I will need to rebuild it if I use that?
I have tried to add it using YAST and partitioner but I don't see the free space using that tool. Currently my disk looks like this:

/dev/sda 74.5G

/dev/sda1 50.0G Windows
/dev/sda2 10.4G Windows
/dev/sda4 10.1G Extended
/dev/sda5 619.6M swap
/dev/sda6 109.8M (linux native)
/dev/sda7 3.6G /home
/dev/sda8 5.4G /

Thanks
 
Old 11-06-2007, 06:37 PM   #2
archangel_617b
Member
 
Registered: Sep 2003
Location: GMT -08:00
Distribution: Ubuntu, RHEL/CentOS, Fedora
Posts: 234

Rep: Reputation: 42
IIRC gparted can do this for you. Works super easy if you boot from a liveCD that has gparted on it like: http://gparted-livecd.tuxfamily.org/
 
Old 11-06-2007, 07:03 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Depends what you mean by spare (unallocated, or unused within a partition).
Also depends on where it is located relative to the current partitions. It's possible it's "unreachable" due to previous allocations. Run this and post (all) the output - use code tags in your post so we can read it
Code:
cfdisk -P s /dev/sda
Might need root/sudo.

Last edited by syg00; 11-06-2007 at 07:04 PM.
 
Old 11-07-2007, 04:27 AM   #4
ctsiow
LQ Newbie
 
Registered: Oct 2007
Location: Isle of Wight, UK
Distribution: Ubuntu 8.10 server - Ubuntu 10.10 Aspire netbook
Posts: 29

Original Poster
Blog Entries: 2

Rep: Reputation: 15
Post

Well run cfdisk and come up with:

Code:
dhcppc3:~ # cfdisk -P s /dev/sda
FATAL ERROR: Bad logical partition 8: enlarged logical partitions overlap
dhcppc3:~ #

I wasn't aware of any problems with overlap! Can't see it using Expert Partitioner, all the start and ends appear OK, for example sda4, the extended part starts at 8409, as does sda8, root partition, and sda8 ends on 9125 with 9126 being the start of sda5. Now apart from partition numbers not making a lot of sense to me, 5 coming after 8, it looks OK.
The space is un-partioned free space btw.
Mark

Last edited by ctsiow; 11-07-2007 at 04:30 AM. Reason: additional info
 
Old 11-07-2007, 07:55 AM   #5
ctsiow
LQ Newbie
 
Registered: Oct 2007
Location: Isle of Wight, UK
Distribution: Ubuntu 8.10 server - Ubuntu 10.10 Aspire netbook
Posts: 29

Original Poster
Blog Entries: 2

Rep: Reputation: 15
Cool

Quote:
Originally Posted by archangel_617b View Post
IIRC gparted can do this for you. Works super easy if you boot from a liveCD that has gparted on it like: http://gparted-livecd.tuxfamily.org/
d/l and run! Just what I needed, thanks archangel_617b.

still have overlapping logical parts according to cfdisk but all running ok and now have the spare unallocated space inside the extended partition for later use.
Thanks for help guys.
Mark
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cedega "Disk space required for the installation exceeds available disk space" Solved Spewdemon LinuxQuestions.org Member Success Stories 1 10-18-2007 06:19 PM
Need to add a disk space to my cluster that is on SAN (/dev/dm-*) chrysek Red Hat 1 01-02-2007 12:56 PM
Disk druid to add disc space to server davidtcw Linux - Newbie 1 06-05-2006 01:12 PM
3Gb of disk space lost! Disk space problem or mother board conflicts with HDD Mistreated Linux - Hardware 4 12-06-2004 03:58 PM
add unallocated free space to existing disk drives!! ajaymyeg Linux - Networking 1 07-21-2004 08:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:23 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
Open Source Consulting | Domain Registration