LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 03-09-2009, 06:58 PM   #1
vinoloco
Member
 
Registered: Jan 2005
Posts: 53

Rep: Reputation: 15
Ubuntu install minimized my Vista disk space!....


Just got a new Thinkpad T400 and installed 8.10 trouble free after following the "thinkwiki.org" guide. No errors whatsovever and Ubuntu works great!

My issue seems to be one with the use of the "autopartitioning" during the install. The partition tool has taken my existing Vista partition and reduced it to the minimum (only 40 MB free!) so Vista boots up but is essentially useless...

What can I do to re-size it?

Thanks in advance...
 
Old 03-09-2009, 07:28 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,160

Rep: Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125
My normal response to these sort of things is the gparted liveCD - its a GUI similar to partition magic. Works fine with Vista NTFS - use the liveCD not the Ubuntu application to avoid issues with mounted (active) partitions.
Shift the ubuntu stuff out of the way, resize Vista - it'll complain and do a check on re-boot, but I've not had any problems. Ubuntu should be fine, but you'll need to re-install grub.
 
Old 03-09-2009, 08:06 PM   #3
vinoloco
Member
 
Registered: Jan 2005
Posts: 53

Original Poster
Rep: Reputation: 15
OK, I'll try this tonight and see what happens..

Thanks for the response.
 
Old 03-10-2009, 07:25 PM   #4
vinoloco
Member
 
Registered: Jan 2005
Posts: 53

Original Poster
Rep: Reputation: 15
Well, I booted the Gparted live CD and was able to resize my Ubuntu partition (/dev/sda5) so now just below it in the table (between sda5 and 6) is a block of free space but I can't figure out how to use it to expand my Vista partition (which by the way is an NTFS located at /dev/sda2). When I select the partition it tells me I can only increase the size by 3MB(!)...

I'm no partition guru. Need help here....

Thanks!
 
Old 03-10-2009, 08:02 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,160

Rep: Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125
The free space has to be "next to" the NTFS partition - it can't have another partition in-between'. Note I said "Shift the ubuntu stuff out of the way" above.
Either post (attach) a screen-shot from gparted showing the partitions, or from a terminal run "fdisk -l" and post that.
 
Old 03-12-2009, 12:45 AM   #6
vinoloco
Member
 
Registered: Jan 2005
Posts: 53

Original Poster
Rep: Reputation: 15
OK. For some reason I couldn't get a screenshot from the Gparted liveCD on my system but was able to boot the Ubuntu 8.10 live CD and issue an "fdisk -l" command. Here is what returned:

**********************

sudo fdisk -l

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xb05cea56

Device Boot Start End Blocks Id System
/dev/sda1 * 1 192 1536000 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2 192 3498 26559488 7 HPFS/NTFS
Partition 2 does not end on cylinder boundary.
/dev/sda3 8455 9730 10240000 7 HPFS/NTFS
Partition 3 does not end on cylinder boundary.
/dev/sda4 3499 8454 39804928 f W95 Ext'd (LBA)
Partition 4 does not end on cylinder boundary.
/dev/sda5 3499 6716 25840080 83 Linux
/dev/sda6 8245 8454 1678288+ 82 Linux swap / Solaris

Partition table entries are not in disk order

***********************

Unfortunately this doesn't show the free space I have between the partitions nor does the layout look quite like it was displayed in Gparted. Does it help? Anyway, Gparted won't let me move the free space which I created below my Linux partitions anywhere (maybe that is expected...) and I don't seem to have much ability to move the Vista partitions either. Any suggestions? I'm kinda stuck here with an unusable computer...

-- vino
 
Old 03-12-2009, 12:57 AM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,160

Rep: Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125
O.k., you need to move (not change the size of) sda5 up against sda6 (your swap). gparted should allow you to do that, if not, drag the right edge of sda5 all the way, then drag the left edge of sda5 to make it the size you want.
Then drag the left edge of the extended up to sda5.
I would apply all that at that stage.
You will now have unallocated space following sda2 - drag its right edge up to the extended to use all the free space.
Apply that too and you should be done - if I got all my left's and right's correct ...
 
Old 03-12-2009, 05:56 PM   #8
vinoloco
Member
 
Registered: Jan 2005
Posts: 53

Original Poster
Rep: Reputation: 15
OK, after really getting the hang of how to move things around, I eventually was able to re-size the NTFS partition I wanted. After a quick re-intall of GRUB I was back in business. Thanks for the help!

vino
 
  


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
Multi-boot Ubuntu-64/Vista-64/WinXP only boots Ubuntu and Vista rben Linux - Newbie 4 02-24-2009 04:52 AM
Ubuntu 7.10.....Not enouph Disk space...I have a 60 gig drive?? legionlost2010 Linux - Newbie 7 01-24-2009 12:59 AM
After installing Vista on one disk, Knoppix or Ubuntu Install CDs stopped working dkaplowitz Linux - General 2 12-09-2007 08:38 AM
Disk space in Ubuntu tombiz Ubuntu 1 08-18-2006 05:30 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

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