Is it okay to alter swap partition with fdisk after FC4 install?
FedoraThis forum is for the discussion of the Fedora Project.
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.
Distribution: Fedora Core 4 and happy user of KDE 3.5
Posts: 49
Rep:
Is it okay to alter swap partition with fdisk after FC4 install?
Hi. I had already installed FC4 and Win Me on my hard drive when I realized I needed to make my shared partition. I booted the FC4 install disc using "linux rescue," and loaded up fdisk, which I had already used before the install for partitioning. I couldn't use the free space I had left on my hard drive without redoing the extended partition that my swap was on, so I deleted that, created a new extended partition with both the swap and the new, shared, vfat partition. Everything seems fine, but is it okay to alter the swap after FC4 is installed? I'm guessing it is, but I would appreciate a confirmation.
Distribution: Slackware 11, Solaris 10, Solaris 9, Sourcemage 0.9.6
Posts: 322
Rep:
Hi!
It's nothing wrong with changing swap after a installation. There is only one problem: After changing the swap partition, Fedora won't be able to use it unless you specify it's new location. To do that simply edit /etc/fstab.
Distribution: Fedora Core 4 and happy user of KDE 3.5
Posts: 49
Original Poster
Rep:
Thanks a lot for your reply, dinolinux! I thought that probably was the case.
Unfortunately, now I'm getting this weird error at boot:
Uncompressing Linux... Ok, booting the kernel
Red Hat nash version 4.2.15 starting
ERROR opening /dev/console!!!!: 20
error dup'2ing fd of 0 to 0
error dup'2ing fd of 0 to 1
error dup'2ing fd of 0 to 2
/bin/sh: ro: No such file or directory
kernel panic - not syncing: Attempted to kill init!
Distribution: Slackware 11, Solaris 10, Solaris 9, Sourcemage 0.9.6
Posts: 322
Rep:
Fedora has that stupid idea! Nothing can be changed after the installation or else it will not boot!
Anyway lets try fixing this problem . Try booting the first CD and at the boot promt press F5 or enter linux rescue. After the rescue system has booted, try editing the /etc/fstab there. If it doesn't work, just come back here
Distribution: Fedora Core 4 and happy user of KDE 3.5
Posts: 49
Original Poster
Rep:
I'm sorry it took me so long to reply dinolinux! My phone line went haywire, and I wasn't able to fix it and connect until today. In diagnosing the problem, I had to reinstall Windows (and therefore Linux), so the the error message is of course not appearing now. I'm sorry for taking your time, but I really appreciated your help anyway.
For your future reference, you don't have to re-install linux after installing windows, you simply need to reinstall the linux boot loader, which can be done relatively quickly using your rescue cd.
Distribution: Fedora Core 4 and happy user of KDE 3.5
Posts: 49
Original Poster
Rep:
Thanks for the heads up, geeman! Just in case I run in to that problem again, by rescue CD do you mean typing "linux rescue" at the boot prompt of the FC4 install CD? After that loads, what do I type?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.