LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-02-2004, 04:56 PM   #1
IBBoard
LQ Newbie
 
Registered: Feb 2004
Location: Herefordshire, UK
Distribution: Fedora Core 6
Posts: 15

Rep: Reputation: 0
Moving and resizing partitions to install Windows


Hi,

I've got Redhat9 install on my PC with the disk currently partitioned for /boot, swap and /. I'm having problems with WiFi drivers and I want to install Windows temporarily so that my PC doesn't have to live in the front room next to the cable modem so it can use the internet.

Is there any easy way to shrink and move my / partition so that it remains at the end of the disk while making enough space for a WindowsXP (not my choice :\) install. I know I'll probably have to rebuild the MBR afterwards, but that doesn't bother me. A step-by-step guide up to that point would be useful.

Thanks
 
Old 08-02-2004, 09:03 PM   #2
penguin4
Senior Member
 
Registered: May 2004
Location: california
Distribution: mdklinux8.1
Posts: 1,209

Rep: Reputation: 45
ibboard; u left out important info; ie drive size, that said now if it is 40gb or larger no problem. both os,s demand space to store all u would desire. that
is where u will have to decide which to have biggest piece of that (pie) drive. advice; give linux larger piece along swapsize and memory ram, linux
devours ram to run effecient. as to howto http://tldp.org/HOWTO/HOWTO-
installtion-HOWTO/details.html covers howto in what u need. in section
4.1 the linux os subsections 4.1.4 installations and 4.1.8 partitions and filesystem in detail. advice: expand each section and subsection for more detail information. lots of pages but ingreat detail!
 
Old 08-03-2004, 04:43 AM   #3
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 18.3+19.0, MX-18
Posts: 4,258

Rep: Reputation: Disabled
That should be

http://tldp.org/HOWTO/HOWTO-INDEX/index.html

got somehow mangled
 
Old 08-03-2004, 05:52 AM   #4
IBBoard
LQ Newbie
 
Registered: Feb 2004
Location: Herefordshire, UK
Distribution: Fedora Core 6
Posts: 15

Original Poster
Rep: Reputation: 0
I think its a 40GB disk, but thats not the problem. The problem is how to resize and move a partition. Since I've only got the one partition at the moment its always mounted and I've read that you can't do anything beyond expand it when its mounted.

I've tried rescue mode, but umount /dev/hda3 always returns a 'busy' error, even when I'm not viewing it or using it in any way (that I know of)

Thanks
 
Old 08-03-2004, 07:01 AM   #5
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 18.3+19.0, MX-18
Posts: 4,258

Rep: Reputation: Disabled
Try parted / qtparted / sparted or partimage for prior backup.
 
Old 08-03-2004, 07:11 AM   #6
IBBoard
LQ Newbie
 
Registered: Feb 2004
Location: Herefordshire, UK
Distribution: Fedora Core 6
Posts: 15

Original Poster
Rep: Reputation: 0
huh? sorry, I don't quite understand how that'll help - qtparted says it runs on parted and that parted can't cope with 'sliding' partitions (or at least thats what I remember it saying somewhere last night). I know of utilities, but I think my main problem is the fact that the partition I want to move and resize is always mounted.
 
Old 08-03-2004, 07:17 AM   #7
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 18.3+19.0, MX-18
Posts: 4,258

Rep: Reputation: Disabled
Quote:
Originally posted by IBBoard
... qtparted says it runs on parted and that parted can't cope with 'sliding' partitions (or at least thats what I remember it saying somewhere last night).
Never heard of those. Can you post a more detailed error description please...

Quote:
Originally posted by IBBoard
... I know of utilities, but I think my main problem is the fact that the partition I want to move and resize is always mounted.
Easy . Get Knoppix or some other live CD and do it from there. They usually mount the hd read-only and you can safely umount everything on your hd and then use parted .
 
Old 08-03-2004, 09:36 AM   #8
IBBoard
LQ Newbie
 
Registered: Feb 2004
Location: Herefordshire, UK
Distribution: Fedora Core 6
Posts: 15

Original Poster
Rep: Reputation: 0
I thought I'd read it on the website last night in the FAQ or something - either that or it turned up in one of my many Google searches!

I tried Rescue mode from an install book disk hoping that I'd be able to do it from there, but like I said before, it wouldn't unmount my main partition (resource busy). I'll try again tonight mounting the disk in read only mode.
 
Old 08-03-2004, 09:41 AM   #9
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 18.3+19.0, MX-18
Posts: 4,258

Rep: Reputation: Disabled
Quote:
Originally posted by IBBoard
I thought I'd read it on the website last night in the FAQ or something - either that or it turned up in one of my many Google searches!
And when you ran it on your machine?

Quote:
Originally posted by IBBoard
I tried Rescue mode from an install book disk hoping that I'd be able to do it from there, ...
You need a live CD, a rescue system uses your installation as far as it can and thus mounts /
 
Old 08-03-2004, 09:57 AM   #10
IBBoard
LQ Newbie
 
Registered: Feb 2004
Location: Herefordshire, UK
Distribution: Fedora Core 6
Posts: 15

Original Poster
Rep: Reputation: 0
I didn't try running it on my machine because I don't have anywhere to back up to.
And as for the live CD option - I'll look at it, but I might be easier trying to borrow a copy of Partition Magic from one of my friends or otherwise using their computer than trying to get hold of a CD.
 
Old 08-03-2004, 10:12 AM   #11
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 18.3+19.0, MX-18
Posts: 4,258

Rep: Reputation: Disabled
Quote:
Originally posted by IBBoard
I didn't try running it on my machine because I don't have anywhere to back up to.
Partimage should be able to write to CDs inclusive splitting your data in chunks of the appropriate size -- AFAIK, but I didn't try it myself.

Look here for more information about partimage and also here for further links.

Quote:
Originally posted by IBBoard
... a copy of Partition Magic from one of my friends ...
Partition Magic is a Windows-program, isn't it?!? :/


Last edited by JZL240I-U; 08-03-2004 at 10:14 AM.
 
Old 08-03-2004, 10:50 AM   #12
IBBoard
LQ Newbie
 
Registered: Feb 2004
Location: Herefordshire, UK
Distribution: Fedora Core 6
Posts: 15

Original Poster
Rep: Reputation: 0
I've not got a CD writer!
And I think it is a Windows program, but if the worst comes to the worst then I can unhook the disk and hook it up to a friends PC or create a rescue-type disk (I'm sure I remember Partition Magic having something that loaded on boot-up and was OS-independant). I've used Partition Magic before when I was at home, but now I've moved out and I'm at the wrong end of England to borrow it from my dad!
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Resizing and moving partitions linmix Linux - Software 16 04-09-2005 10:08 AM
resizing and moving partitions DAChristen29 Linux - Newbie 4 10-18-2004 10:48 PM
Moving and resizing partitions slyman Linux - General 2 07-04-2004 09:02 PM
Moving & Resizing partitions...? Nu-Bee Linux - General 2 01-02-2003 11:38 AM
Moving And Resizing Partitions For Another Distro darkmage Linux - General 3 08-13-2002 06:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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