Linux - GeneralThis 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
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.
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.
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.
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!
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)
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.
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629
Rep:
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 .
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.
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629
Rep:
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 /
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.
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!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.