LinuxQuestions.org
Visit Jeremy's Blog.
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 08-13-2005, 04:07 PM   #1
Finibhire
LQ Newbie
 
Registered: Aug 2005
Posts: 1

Rep: Reputation: 0
Increasing my linux partition


I currently have partitons as follows:

/dev/hda1 (ext3)
/dev/hda2 (ext3) (boot)
/dev/hda3 (estended)
/dev/hda5 (linux-swap)


I only have 20 gigs on my boot partition where linux (distro is ubuntu) installed.. i want to take the remaining 220 gigs i have on my hda1 partiton onto my boot partition but i don't know how.


ANy help is greatly appreciated
 
Old 08-13-2005, 04:19 PM   #2
corfe
Member
 
Registered: Dec 2004
Location: Washington State, USA
Distribution: Debian Sid
Posts: 128

Rep: Reputation: 16
If you want to keep the contents of your partitions, you'll need a partition resizer program - "partition magic" is a pretty popular commercial option, or gnu's "parted" (free software) may be able to help.

If you don't mind deleting the partitions and starting over, boot on a rescue or knoppix CD and run (as root) "cfdisk /dev/hda", and do all your partition destruction there.
 
Old 08-13-2005, 04:47 PM   #3
titanium_geek
Senior Member
 
Registered: May 2002
Location: Melbourne Australia
Distribution: it died/ macosx
Posts: 2,478

Rep: Reputation: 50
cfdisk is the most failsafe option- that is, if you don't mind starting again.

otherwise, http://freshmeat.net should be useful- parted or qtparted are good. (gui tools)

titanium_geek
 
Old 08-13-2005, 04:55 PM   #4
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 7,151

Rep: Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203
What puzzles me is your reference to the "/boot partition." I am uncertain why you would want 220 gigabytes in that partition.

/boot is normally the smallest partition, because all that it needs to have is enough space for grub and a couple of kernel-images (the one you're using, the one you just built, and maybe the one before that) and their related files.

Personally, I've grown rather fond of having multiple partitions ... ones that are "entirely separate in every way" from the root partition and its contents. Great places (hint, hint...) to put backups of everything important. Stuff like the contents of /home, /etc/, /lib.

If I were you, finding myself with 220 gigabytes of storage just a'burnin' a hole in my pocket, I'd keep it as a separate partition. Maybe two. Three. I might even hold some space purely in-reserve.
 
Old 08-13-2005, 05:09 PM   #5
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 62
Download the Rescue CD iso from http://freshmeat.net/projects/systemrescuecd/ and it has the tools needed to resize partitions. Alot smaller than knoppix Live CD. You just have to move each partition after the /dev/hda1 to the end and then can increase /dev/hda1. Only issue with a new user to knoppix and qtparted is when knoppix is started it mounts the harddrive partitions and they need to be unmounted before using qtparted.

Brian1

Last edited by Brian1; 08-13-2005 at 05:10 PM.
 
  


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
Samba - Increasing Partition rubensilva Linux - Newbie 1 09-09-2005 09:05 AM
increasing partition size Don Powell Linux - Hardware 3 06-23-2005 10:14 AM
Increasing Partition The Patbon Mandriva 8 11-28-2004 07:33 PM
Increasing partition size?? petey *BSD 5 04-25-2002 08:24 AM
Increasing Partition Size? petey Linux - General 1 04-24-2002 12:33 PM


All times are GMT -5. The time now is 04:18 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration