LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Resizing the swap partition (https://www.linuxquestions.org/questions/fedora-35/resizing-the-swap-partition-427557/)

R N Ghosh 03-23-2006 01:42 AM

Resizing the swap partition
 
Once upon a time I had a nice 40 GB seagate disc with XP Pro. Then I decided to try a dual boot with fedora core 2. Fine. it started running both of them. But a couple of days after it gave message noverify hda(0,0), chainloader +1 sort of scary things. I read a couple of articles from here and there about fixing but it resulted in even the fedora grub loader failed and the beauty is the characters displayed on screen were not recognisable. So, I clean formatted the disc, loaded XP and once again loaded the Fedora Core-2. Everything is fine except that in a hurry I kept my windows partitions very small (c= 2GB and D=2GB)and let fedora autometically decide the linux partition. Now, there is no space in windows and fedora root is about 30GB and swap is 590MB. Since then I am breaking my head as to how I can free some space from the root to allocate to swap as well as to windows D partition. Will any sympathiser who has already burnt his finger with this fedora chap may kindly come forward and rescue me from once again doing things from scratch please ?

Gracious

Gethyn 03-23-2006 07:51 AM

You might be able to resize your partitions using something like the partition resize tool in Knoppix (can't remember the name, but shouldn't be hard to find) or another liveCD. However, it might destroy your system! If you have enough RAM, you could try removing the swap, but I don't suppose another 500MB will last very long before it gets full. Best to resize or reinstall if you can. Make sure you back up any important data first!

R N Ghosh 04-04-2006 01:19 AM

thanxs Gethyn, I installed the fedora 2 once again and this time I at first formatted a 10gb partition with vfat so as to make enough room for my windows files and the rest is though automatic but changed some sizes here and there. Everything is fine. But two things disturbed me. one there is still around 4GB free space which I am not sure how to convert to some usable partition or to add with a existing partion. no.2 is twice whenever I tried to manually size the partions, everytime when it comes to installing the packages, it always compains that one of the portion is falling short of requirement though I allocated more than 2GB space for each parition i.e /, boot,usr, opt, var .. you just name it. why so ? is not fedora intelligent enough to make some minor changes on its own to do the arithmatic and make necessary adjustments ?
Regards

"Tools of mind becomes obsolete when they are no longer in use" anonymous

$Linuxnoob 04-04-2006 01:25 AM

If that don't work, just reinstall next time making sure :-(. Sucks but it's something to consider if all else fails.

Gethyn 04-04-2006 12:04 PM

You shouldn't need more than 100MB for your /boot partition, so making it 2GB is going to waste quite a bit of space. If you're setting the computer up as a desktop workstation, not a server, then /var shouldn't need to be all that big. I'd advise against making it a separate partition. /usr is likely to be your biggest partition, but I don't know how much space you'll need for it, not familiar with Fedora 2 and of course it depends on which packages you choose.

Sadly Fedora is not smart enough to tell you that you haven't allocated enough space for a partition, but then I haven't used an OS that was. If you're having difficulties, your best bet is probably to have a small /boot partition (say 100MB) and the rest as /. For a basic home user setup this should work fine, and saves you having to figure out how big every partition should be.

R N Ghosh 04-07-2006 02:39 AM

thanx once again Gethyn & $Linuxnoob for your kind advice. Next time I will keep in mind the points you pointed out.

regards

rngband


All times are GMT -5. The time now is 08:01 AM.