Fedora - Installation This forum is for the discussion of installation issues with Fedora. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
|
11-25-2004, 11:52 AM
|
#1
|
LQ Newbie
Registered: Sep 2004
Location: Detroit area
Posts: 5
Rep:
|
Fedora 3 hangs on "Enabling swap space"
Install seemed to go great via the ISO I burned to a DVD. Just told Fedora to replace the Linux install I already had (Mandrake 10.1, which was fine, but was curious about Fedora). It seemed to do it well, leaving my XP Home edition alone, but, when it tries to boot, it hangs at "Enabling swap space:", so Fedora has never actually come up on the system. I've given Linux about half of my 200 GB drive. Running an AMD 64-bit 2800+ system with 1 GB memory.
TIA,
Tom Ewald
|
|
|
11-26-2004, 04:06 AM
|
#2
|
Senior Member
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994
Rep:
|
It may be that you have a problem with your swap space partition (or file).
You should be able to boot into a rescue system using the DVD; from here you can reformat it using
Code:
mkswapfs /dev/partition
(hint: don't get the wrong partition or you'll wreck something).
If that doesn't fix the problem, try disabling swap (I find I don't need it much with 256Mb on SuSE so with 1Gb on Fedora you should be fine). Delete the line in /etc/fstab pointing to your swap partition. That's a stop-gap measure at best but it'll let you boot the system in order to see if anything else is causing problems.
|
|
|
05-20-2005, 07:08 AM
|
#3
|
LQ Newbie
Registered: Mar 2005
Distribution: Fedora Core 5
Posts: 13
Rep:
|
I have the same problem. I shut down cleanly from the login screen, so there must be something wrong with the way FC3 handles swap.
Quote:
Originally posted by rjlee
It may be that you have a problem with your swap space partition (or file).
You should be able to boot into a rescue system using the DVD; from here you can reformat it using
Code:
mkswapfs /dev/partition
(hint: don't get the wrong partition or you'll wreck something).
|
I booted from FC3 install CD with
linux rescue
then did a # chroot /mnt/sysimage
But the mkswapfs command wasn't avaible. Has it been removed from FC3?
Quote:
If that doesn't fix the problem, try disabling swap (I find I don't need it much with 256Mb on SuSE so with 1Gb on Fedora you should be fine). Delete the line in /etc/fstab pointing to your swap partition. That's a stop-gap measure at best but it'll let you boot the system in order to see if anything else is causing problems.
|
I commented out the line in question, but it still hangs in the same place. Perhaps that fstab-something that manages /etc/fstab changes it back on reboot...
This kind of thing usually makes me dump a distro, but if I figure out a solution to this problem, I'd be prepared to fix a RH Enterprise box with the same problem...
Marco
|
|
|
05-20-2005, 07:32 AM
|
#4
|
Member
Registered: Feb 2004
Posts: 781
Rep:
|
I had this problem too after I did some changes to /etc/X11/xorg.conf. I don't know why it stops at enabing swap space. After I've rolled back the changes it worked again.
|
|
|
05-21-2005, 11:16 PM
|
#5
|
LQ Newbie
Registered: Mar 2005
Distribution: Fedora Core 5
Posts: 13
Rep:
|
Fedora Core 3 hangs at "enabling swap space" [FIXED]
Althought the boot process appears to hang on a text mode screen, it actually says [OK] after it, thus:
Enabling swap space [OK]
Which would indicate the swap space service ran successfully.
In fact, there is an X display running, if you switch to X using Ctrl + Alt + F7, you will see that it has hung on something else... in my case, it was the samba share I mounted at boot time. It doesn't time out after a certain time, and just keeps going indefinitely.
I think this is most definitely a bug, since a network share may be inaccessible, for instance if the Windows PC is turned off. The mount process should terminate after a certain amount of time.
(The same share is accessible through Konqueror, using the smb://<name>/<path> protocol)
Has anyone else noticed that halfway through the boot process, it switches from X (bitmap) to console (text)... and it usually switches back to X towards the end, before the login screen? Is that intentional?
I would rather have it in X the whole time, not that I reboot very often... it is a server OS, after all.
Also, I have noticed sendmail and something called s-manager take an abnormally long time to start. Furthermore, the service lists at "webmin -> system -> bootup and shutdown" and in Red Hat's services configuration tool differ. For instance, webmin had the intelligence to detect the redhat.no-ip script in /etc/init.d giving me the option to start it at boot time, whereas RedHat's tool is oblivious to its presence. It works regardless wether webmin turns it on or not.
Ah well, I'm happy with my Fedora system at the moment, but I won't be installing any updates for a while, that's for sure.
Thanks to Everyone who replied.
|
|
|
06-02-2005, 08:05 AM
|
#6
|
LQ Newbie
Registered: Jun 2005
Posts: 7
Rep:
|
Hmmmm. What if Control+Alt+F7 just gives you a blank screen? I'm having the same problem with my Fedora Core 3 distro and when I do that key combo, I don't get X back. I deleted that swap line in the /etc/fstab file too. I have a gig of ram so I figured it wouldn't cause any problems. Still, I'm still stuck at the same hangup though. Any ideas?
|
|
|
06-02-2005, 03:29 PM
|
#7
|
Senior Member
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994
Rep:
|
Quote:
Originally posted by cotep
Hmmmm. What if Control+Alt+F7 just gives you a blank screen? I'm having the same problem with my Fedora Core 3 distro and when I do that key combo, I don't get X back. I deleted that swap line in the /etc/fstab file too. I have a gig of ram so I figured it wouldn't cause any problems. Still, I'm still stuck at the same hangup though. Any ideas?
|
If your computer's truly hung then pressing buttons on the keyboard won't make any difference. It sounds like you still have the schedular running at least. Can you log in on other virtual terminals (Alt+F1 through Alt+F6)?
If your system is hanging at “enabling swap space” and you don't have any swap-space enabled, then it's likely that it's hanging at the next stage in the boot process.
I would pass the command-line option s at the boot prompt (see other threads for how to do this) to start up in single-user mode. Then check /var/log/messages and other log files to see if anything weird has happened. You probably want to check XOrg.0.log (XFree86.0.log?) as well if this happened after upgrading X.
|
|
|
06-04-2005, 08:20 PM
|
#8
|
LQ Newbie
Registered: Jun 2005
Posts: 7
Rep:
|
Thanks for pointing out how I could get to those log files. I find out through /var/log/messages that sendmail was taking close to 10 minutes to bootup. Seing as I don't really need a mail server, I killed it at every runlevel using chkconfig. It still goes to full screen at that point for a few seconds when it gets to that point on bootup but that seems to have solved the problem.
|
|
|
06-14-2005, 10:15 AM
|
#9
|
LQ Newbie
Registered: Aug 2004
Location: Chicago
Distribution: Fedora Core 2&3
Posts: 8
Rep:
|
Quote:
Originally posted by cotep
Thanks for pointing out how I could get to those log files. I find out through /var/log/messages that sendmail was taking close to 10 minutes to bootup. Seing as I don't really need a mail server, I killed it at every runlevel using chkconfig. It still goes to full screen at that point for a few seconds when it gets to that point on bootup but that seems to have solved the problem.
|
Try this. Unplug your network cable. I had the same problem on 3 different machines. Turns out my machines suddenly didn't like the DHCP my firewall was doing. Once I got in, I plugged it back in, manually set my IP's and I don't have the problem anymore. Didn't have anything to do with swap file size or memory.
|
|
|
11-05-2005, 04:25 AM
|
#10
|
LQ Newbie
Registered: Jun 2002
Location: Coimbatore
Distribution: Linux Redhat
Posts: 11
Rep:
|
Enabling Swap space
I notice the same problem too. But as in other replies, the problem lies in the swap.. Make swap is ok.. But sometimes you would notice a LABEL=xxx-swap option set in /etc/passwd. I agree LABEL on ext2 throught e2label.. But swap ? I changed this to the actual device /dev/sda2 . No hanging now
|
|
|
11-05-2005, 04:26 AM
|
#11
|
LQ Newbie
Registered: Jun 2002
Location: Coimbatore
Distribution: Linux Redhat
Posts: 11
Rep:
|
Errata
Sorry it should read as /etc/fstab instead of /etc/passwd
|
|
|
11-05-2005, 05:32 AM
|
#12
|
LQ Newbie
Registered: Oct 2005
Posts: 3
Rep:
|
I had the same problem .... just look in to /etc/fstab and remove all unwanted entries...only wrong entries in fstab wud lead to this error msg.
Regards
|
|
|
12-14-2005, 07:09 AM
|
#13
|
LQ Newbie
Registered: Jan 2005
Posts: 8
Rep:
|
Warning. If your distro boots first in text mode then in graphical mode, and when loading something in graphical mode fails screen returns to text mode and for some reason (I guess a resolution adjust) last thing you see is swap initialization, so this lead your mind to a problem in swap, but don't. Change you inittab to boot in runlevel 3 so you don't have this resolution change and confusion.
|
|
|
09-07-2007, 09:36 AM
|
#14
|
LQ Newbie
Registered: Jul 2007
Posts: 7
Rep:
|
RHEL 4 ES booting hangs on "enabling swap space"
Hello ! everybody ..this is my first question in this site.
i'm from Bangladesh and a University of computer science.
i'm using Debian(2.6.18)and RHEL 4 now in my system dual booting.
At first 5 or 6 days i had no problem in booting to both of those
linux. But, i'm now facing problem in RHEL 4.
When it booting ..initializes hardwares & at the last point it hangs
on "Enabling swap space". and never booting to desktop and restarts sometimes. But there, is no problem with Debian.
I had use both of the linux in the first two drive of my hard disk.
It seems to problem in swap spacing. But, can't fix it.
My system : Intel 865GBF (intel chipset)
RAM 512 DDR 2
HDD 80 GB
I have provide space :
RHEL 4 [ 12 GB (swap 1050MB ) ]
Debian [ 16 GB (1050MB) ]
|
|
|
02-09-2008, 10:21 AM
|
#15
|
LQ Newbie
Registered: Jul 2007
Posts: 7
Rep:
|
Enabling swap space...........
stop NIS domain ... with command # chkconfig ypserv off
from services.. stop ypserv,ypbind,yppasswd,ypxfrd
its done..then reboot ..and see magic !!
|
|
|
All times are GMT -5. The time now is 06:38 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|