LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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, 01: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, 01:28 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
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, 01: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, 02:32 PM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
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, 02: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, 02:57 PM   #6
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
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, 03: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, 03:17 PM   #8
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
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, 03: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, 03:34 PM   #10
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Umm, you may need to do that after the resize. Are you using lilo or grub for your boot manager?
 
Old 02-28-2005, 05: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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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