LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 08-16-2005, 04:18 PM   #1
Dimension User
Member
 
Registered: Feb 2005
Distribution: Fedora Core 4 and happy user of KDE 3.5
Posts: 49

Rep: Reputation: 15
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.
 
Old 08-16-2005, 04:29 PM   #2
dinolinux
Member
 
Registered: Jun 2005
Location: Oslo, Norway
Distribution: Slackware 11, Solaris 10, Solaris 9, Sourcemage 0.9.6
Posts: 322

Rep: Reputation: 31
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.
 
Old 08-17-2005, 04:28 PM   #3
Dimension User
Member
 
Registered: Feb 2005
Distribution: Fedora Core 4 and happy user of KDE 3.5
Posts: 49

Original Poster
Rep: Reputation: 15
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!

(see http://www.linuxquestions.org/questi...hreadid=354317 for full info)

Is this because I changed the swap?
 
Old 08-17-2005, 04:53 PM   #4
dinolinux
Member
 
Registered: Jun 2005
Location: Oslo, Norway
Distribution: Slackware 11, Solaris 10, Solaris 9, Sourcemage 0.9.6
Posts: 322

Rep: Reputation: 31
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
 
Old 08-26-2005, 12:46 PM   #5
Dimension User
Member
 
Registered: Feb 2005
Distribution: Fedora Core 4 and happy user of KDE 3.5
Posts: 49

Original Poster
Rep: Reputation: 15
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.
 
Old 08-26-2005, 12:53 PM   #6
geeman2.0
Member
 
Registered: Feb 2005
Location: Ontario, Canada
Distribution: Gentoo, Slackware
Posts: 345

Rep: Reputation: 30
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.
 
Old 09-19-2005, 06:21 PM   #7
Dimension User
Member
 
Registered: Feb 2005
Distribution: Fedora Core 4 and happy user of KDE 3.5
Posts: 49

Original Poster
Rep: Reputation: 15
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?
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to pick the SWAP partition after install of FC4 Peanutman Fedora 9 10-27-2005 07:25 AM
enabling SWAP partition (FC4) dark_prancer Linux - Newbie 3 07-18-2005 04:26 PM
how to alter partition size ? minil Linux - Software 2 07-06-2005 10:46 AM
How to make a swap partition with mac-fdisk? PsychoSync Linux - Software 1 04-03-2005 06:58 PM
RH 7.2 install and swap partition hedstrom Linux - Software 2 12-31-2001 10:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 02:51 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
Open Source Consulting | Domain Registration