LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 04-07-2011, 02:55 PM   #1
tanvsb
LQ Newbie
 
Registered: Apr 2011
Posts: 4

Rep: Reputation: 0
Unhappy Resize ext4 in ubuntu 10.10


Hi, I'm using ubuntu 10.10.While I installed it in my desktop, i choose double boot by selecting "install them side by side,choosing between them each start up". After installing I found that my ext4 with root size is 100GB and swap 4 GB. Isn't it too big!!?? Is there any way to reduce the size of ext4 with root without harming the OS? Should it be done?
 
Old 04-07-2011, 03:03 PM   #2
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
You'll have to boot onto a live CD, and unmount that root partition. Its probably set up as a volume group. Here are the pseudo steps to do this:

Make a backup of your computer (clonezilla is nice for this)
  • Boot to a live CD
  • Unmount the root drive (if it is mounted)
  • Resize the filesystem with resize2fs
  • Reduce the size of the Logical Volume with lvreduce
  • Reduce the size of the Volume Group with vgreduce
 
Old 04-07-2011, 04:28 PM   #3
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
The / partition has all your OS on it unless you installed on 2 partitions (/ and /home). Look at the size of your other OS. I really do not think that 100GB is too big.

Debian is my main OS. This install is about 6 months old. I am installed on / and /home (system files in / and data in /home. My root partition is 30Gb and half full already (I use a number of programs most folks go with 10 or 15Gb). My home partition is only 51Gb but I keep a lot of files on another partition that is 100GB and has over 61Gb of files in it.

As you are on 100GB (one partition) I added all mine together and come up with 96.75Gb used (Gparted numbers).
 
Old 04-07-2011, 08:39 PM   #4
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
I would be extremely surprised if Ubuntu installed with LVM as a default install.

Easiest would be to get a gparted liveCD and do it all from there. This is a GUI similar to Partition Magic say - just grab the edge of the partition and move it appropriately. Hit the "Apply" button, and it's all done for you.
 
Old 04-08-2011, 12:22 AM   #5
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 293Reputation: 293Reputation: 293
Quote:
Originally Posted by syg00 View Post
I would be extremely surprised if Ubuntu installed with LVM as a default install.
Indeed. In order to install Ubuntu with LVM, you have to install Ubuntu from the alternate install CD, and select to install using LVM. Using LVM has never been the default in Ubuntu.
By default, the Ubuntu installer will create two partitions. Your swap partition will be roughly 2x your memory. The root partition will be whatever is left over.
In order to install Ubuntu with a separate root, swap, and home partitions you have to select manual partitioning and choose the appropriate sizes of the partitions, and mount points for each partition.

Last edited by tommcd; 04-08-2011 at 12:24 AM.
 
Old 04-19-2011, 01:18 PM   #6
tanvsb
LQ Newbie
 
Registered: Apr 2011
Posts: 4

Original Poster
Rep: Reputation: 0
thanks to all....:-)
 
  


Reply

Tags
ext4, ubuntu+10.10



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
[SOLVED] Ubuntu Backup as ext4 marcelux Linux - Newbie 7 03-18-2011 07:38 AM
Is it safe to format USB flash to ext4 or ext4? joham34 Linux - Newbie 2 01-08-2011 11:58 AM
[SOLVED] eCryptfs/ext4/Ubuntu 10.04 riganta Linux - Laptop and Netbook 3 05-20-2010 10:57 AM
ext4 in ubuntu 9.04 WillingToLikeLinux Linux - Newbie 3 05-21-2009 10:10 PM
Resize ext4 partition with LUKS encryption wsduvall Linux - Software 1 03-09-2009 10:14 AM

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

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