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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-24-2005, 08:33 AM
|
#1
|
LQ Newbie
Registered: Jan 2005
Posts: 12
Rep:
|
doing away with XP - need to resize main linux partition, but how?
Hi, All!
I'm having a small problem installing MythTV - I'm out of diskspace. I do in fact have a RAID-1 configuration for two 250GB HDDs, but the main linux partition is running off an old 8 gig drive, 4 gigs of which are in use by XP. (Yes, I know, stupid of me.) Give that I've used the XP install exactly once, whereas the Fedora Core 3 installation is running 24/7 as a router, I'd really like to do away with the XP partition and use the entire 8 gigabytes for Linux.
The Partiton Table looks like this: (coppied manually from "Hardware Browser":
Device Start End Size Type
/dev/hda
hda1 1 463 3632 Fat32 /// that's the XP partition i want to get rid of
hda2 464 475 94 ext3
hda3 476 540 510 linux swap
hda4 541 973 3397 extended
hda5 541 973 3397 ext3
The fstab file looks like this:
# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
LABEL=SWAP-hda3 swap swap defaults 0 0
So, how would I go about resizing my linux partition? Guides I've seen on the Net either instruct me how to reformat the XP drive for ext3, which is good but not what I want to do, or assume you are resizing a data partition - not the main partition your system is running on!
How, then, would I do what I am trying to do?
Daniel
|
|
|
02-24-2005, 01:20 PM
|
#2
|
Senior Member
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029
Rep:
|
i would use fdisk to delete the XP partition, then use a tool like partition magic to resize the linux partition.
|
|
|
02-24-2005, 01:46 PM
|
#3
|
Senior Member
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938
Rep:
|
If you have a copy of knoppix or similar lying around, boot to that and use qtparted to resize your disks. Using a live CD means you don't need to mount your partitions which is best when you're resizing them.
I've had a lot of sucess with qtparted
|
|
|
02-24-2005, 02:20 PM
|
#4
|
LQ Newbie
Registered: Jan 2005
Posts: 12
Original Poster
Rep:
|
Quote:
i would use fdisk to delete the XP partition, then use a tool like partition magic to resize the linux partition.
|
Unfortunately, I tried this. The version of PM I have does not support the resizing of ext3.
Quote:
Originally posted by Komakino
If you have a copy of knoppix or similar lying around, boot to that and use qtparted to resize your disks. Using a live CD means you don't need to mount your partitions which is best when you're resizing them.
I've had a lot of sucess with qtparted
|
Thanks, I'll probably try this. However, wouldnt this mean my mount points would change, as hda2 becomes hda1, hda3 becomes hda2, etc.? And, furthur, wouldn't this prevent FC3 from booting? Lastly, I use grub, what should I tell it to do, and when should I tell it to do this? (Before I delete the XP partition, or after?)
Daniel
|
|
|
All times are GMT -5. The time now is 01:40 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|