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 02-28-2005, 02:01 PM   #1
hongman
Member
 
Registered: Feb 2005
Location: UK
Distribution: Knoppix 3.7
Posts: 285

Rep: Reputation: 35
Help with enlarging my partiton


Hello all

I have got a 15GB system partition, but I have just freed up an extra 60GB of space on that disk...hence I would like to make my system partition bigger.

In QTParted, the free space shows as Hidden. It wont let me do a simple 'resize'.

I thought about running Live off the CD, but then I have an extra problem...it alays tells me everything is read only! I have tried chmod, also unmounting but it says the 'device is busy'...

So whats the best way to do this? Thanks in advance

Hong
 
Old 02-28-2005, 02:28 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 122Reputation: 122
Resizing filesystems while they are in use is either impossible or dangerous, depending on the mount point. Running parted from a livecd is, I believe, the standard mechanism for partition resizing.
 
Old 02-28-2005, 02:48 PM   #3
hongman
Member
 
Registered: Feb 2005
Location: UK
Distribution: Knoppix 3.7
Posts: 285

Original Poster
Rep: Reputation: 35
Thanks.

So I need to do this from LiveCD, which I had guess as much.

How do i unmount the partition and remount it with write perms? Can I do a resize or doe it have to be formatted and done from scratch (which I DO NOT want to do!)?

Thanks

Hong
 
Old 02-28-2005, 03:32 PM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 122Reputation: 122
You should be able to do a resize, but do NOT do it while the partition is mounted (if avoidable). If not, do it mounted read-only. I don't believe a resize requires read-write access.

If you want to remout rw, try the following:
Code:
mount -o rw,remount /dev/PARTITION /mnt/POINT
This is mainly needed for /, as in
Code:
mount -o rw,remount /dev/hda3 /
for my system.
 
Old 02-28-2005, 03:39 PM   #5
hongman
Member
 
Registered: Feb 2005
Location: UK
Distribution: Knoppix 3.7
Posts: 285

Original Poster
Rep: Reputation: 35
Thanks Matir

I dont quite understand...When i boot into Live, and start QTParted, on my system part the only option I get is &Properties. No resize, or anything like that.

How would you do it?

Thanks

Hong

PS Sorry for being a pain
 
Old 02-28-2005, 03:57 PM   #6
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 122Reputation: 122
To be quite honest, I haven't used qtparted in a long time, but there should be a resize option... somewhere. Which version of qtparted are you using? Does is show all the partitions?

PS. You're not a pain, you're just here to learn something.
 
Old 02-28-2005, 04:13 PM   #7
hongman
Member
 
Registered: Feb 2005
Location: UK
Distribution: Knoppix 3.7
Posts: 285

Original Poster
Rep: Reputation: 35
Thanks for the support Matir. I've recently just replaced my XP box with Knoppix, and although prving to be a headache at the best of times, I am determined to make this work!!

I am using version 0.4.4 I believe. Its a pretty simple layout, and from what I can see there isnt a resize option. It does see all partitions...

What next? Thinking of it, if I booted with Acronis Parition Expert would it be harmful to give that a try?

Thanks

Hong
 
Old 02-28-2005, 04:17 PM   #8
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 122Reputation: 122
I'm not familiar with acronis partition expert; but I looked it up on the web. It claims support for ext3, so it should be able to handle it. Make sure all your data is backed up first, of course. (This should've been said back when this thread started, oops).
 
Old 02-28-2005, 04:27 PM   #9
hongman
Member
 
Registered: Feb 2005
Location: UK
Distribution: Knoppix 3.7
Posts: 285

Original Poster
Rep: Reputation: 35
Just tried that. It says that if the drive is bootable, I have to use the linux boot floppy and boot from that, and run /sbin/lilo or something.

Rather not go down that route as I can put money down I will screw it up. Guaranteed!!

Is there another way? Surely this cant be that hard!! (obvisouly it is!)

Hong
 
Old 02-28-2005, 04:34 PM   #10
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 122Reputation: 122
Umm, you may need to do that after the resize. Are you using lilo or grub for your boot manager?
 
Old 02-28-2005, 06:03 PM   #11
hongman
Member
 
Registered: Feb 2005
Location: UK
Distribution: Knoppix 3.7
Posts: 285

Original Poster
Rep: Reputation: 35
I'm using Lilo. How do i make a boot disk? When i installed I opted not to make one...
 
  


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
enlarging /var partition freebies Linux - General 1 05-05-2005 11:36 AM
Enlarging existing partition wrangler Linux - Newbie 1 03-14-2005 09:26 AM
enlarging ext3 problem with lvm jadupl2 Linux - Enterprise 2 01-10-2005 04:42 PM
char enlarging vasu Programming 3 09-02-2003 12:01 PM
enlarging text without altering the resolution fullmark Linux - Newbie 2 01-13-2003 08:53 AM


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