Linux - NewbieThis 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.
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 now have a working system with XP on hda and RH on hdb.
These are two separate hdd's with only the necessary boot and swap partitions and with grub in the mbr.
Now I've decided to give either slack or debian a go (haven't decided which one yet) and I want to free up some space for it.
Thing is that I have never partitioned manually in my life, so I'm quite clueless in the territory.
So what would be best:
put it on the linux drive
(can I leave RH intact and is it then possible to share swap and /home? How much can you share anyway??)
Put it on the XP drive
How to do this and can I do it leaving everything (XP and grub) intact?
I would put the two linux's together. It will probably save trouble in the long run. Do you have free space on any of your HDD's? If not you need to resize some partitions which can be tricky.
You can totally share a swap or home partition. Just don't create them when installing the second distro, then manually edit your /etc/fstab after your first boot.
I have three distro's on one HDD that share the same swap partition, as well as another partition that has all my oggs, which gets mounted at boot no matter which distro I happen to be using. Very convenient.
I'm afraid I will have to repartition since I just let RH partition the HDD (30 gb) automatically.
Any ideas on how and with which program I could do that easiest?
Originally posted by twan i advice you partition magic
Nothing directed at you personally...
I'd rather chew my arm off than use that. There has been FAR too many threads on people jackin up partitions using that for linux tasks. Parted is a free Gnu tool for resizing linux partitions, it works great. Linux's fdisk is also a great tool along with cfdisk, so I'd much rather use parted, followed with a cfdisk over PM any day of the week and twice on Sunday
I'm having the almost EXACT problem, I have RH 8 on hdb and Win XP on hda and I want to free space up on hdb(80gigs) the only problem is that I didnt really know what I was doing when I installed RH, so I let it take up the whole drive.I'm going to download QTParted, but I too, have no I dea what to do. I'm not really too worried about sharing any partitions, maybe the home partition if its not that complicated. Anyway, Should I just reduce the size of every partition by half? That sounds too easy, that probably wont be the case with the Swap partition. If anyone has ever done this beofre it would be nice to hear some advice, I havent found any documentation on QTparted's website. Thanks
It's really straight forward (QTparted I'm guessing is going to be a graphical front end for GNU parted). I'd find the largest partition and see if you can shrink that one down. Give yourself about 4GB's overall, then install to that. The swap don't worry about, you can use it in both distros (and all linux distros).
I'd rather make my drive 50/50 Rh 40gigs and debian 40gigs. Or rather, I'd make rh 30gigs and debain 30 gigs, so maybe I'l try slackware or something. So i shoudlent touch the swap? Will I share it or just make another? Is it hard to share partitions? If im going to share the swap I might as well share the home, too.
ok Im having a hard time installing QTparted, but I have parted installed. Is it hard without the GUI? Should I just completely remove RH and install debian on only 30 gigs? I dont really have anything on RH, so its no loss. Any music files are already on CD
If nothing lossed, I would. Now you have an idea of how you partitions hopefully, and can partition your space a bit better. 30GB for a single distro is ALOT of space. 4GB per distro is about all you really need. The rest is hopefully shared data such as music/movies/programs and so on. These can be on "shared" partitions mounted up at /mnt/shared and such (I personally don't suggest sharing /home since it's where the program specific files are kept). You could probably increase the 4 to 6GB and be comfy. So, make 3 partitions at 6GB a pop. These will be your / partitions for each distro. Then, create a seperate /boot partition if you so desire, no need for anything larger than about 50mb for that (you could go for a GB if you wanted, but that's about 20 times overkill) and some shared mount points, at what, around 10 or 20GB a pop depending on your thoughts/needs/desires. A seperate /var and /usr are sometimes suggested, however I don't do the seperate /usr as that's what my 6GB of space on / are for. I do however use a seperate /var for my server distro (slack for me) since that's where I host some of my FTP/HTTP files from.
What you don't need seperate partitions for (someone jump in if you find this incorrect) are /opt /sbin /root /etc (maybe for backup puposes the /etc but I'd say nah) you also don't need a seperate /dev /mnt /proc or /lib /tmp is a mixed issue. You could have it seperate, but why? I'd include that in the list of things not needing a seperate partition. From there, you decide from the rest of the required mount points what your needs are. Just for kicks, here's my setup:
diskdrake can resize without losing data, but it's taking a bigger risk than using parted AFAIK. I've successfully done it with diskdrake, but my drive wasn't nearly full. If you are willing to try it, good luck. Parted really isn't that bad via the CLI. Might be worth a shot.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.