Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora Resources > Guides & Solutions (No Questions)
FedoraForum Search

Forgot Password? Join Us!

Guides & Solutions (No Questions) Post your guides here (No links to Blogs accepted). You can also append your comments/questions to a guide, but don't start a new thread to ask a question. Use another forum for that.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 5th December 2011, 07:24 AM
Jeff72 Offline
Registered User
 
Join Date: Nov 2008
Posts: 164
linuxchrome
Fedora 16 boots slow because of extra swap line in /etc/fstab

I thought I would post something I noticed with one of my systems booting slow with Fedora 16. My system booted very fast with Fedora 15 before and I was seeing much slower boot times with Fedora 16.

I saw this "failed" message in my /var/log/boot.log-20111204 file:
# grep -i fail /var/log/boot.log-20111204
Starting /dev/disk/by-uuid/c6d5573f-87c2-4ce4-b497-5bf314800688 aborted because a dependency failed.

It turns out, that c6d5573f-87c2-4ce4-b497-5bf314800688 number was for my swap partition entry in /etc/fstab. For some reason I had 2 different swap entries in my /etc/fstab file, like so:
# grep swap /etc/fstab
/dev/mapper/vg_w2-lv_swap swap swap defaults 0 0
UUID=c6d5573f-87c2-4ce4-b497-5bf314800688 swap swap defaults 0 0

I commented the extra line with the UUID entry in /etc/fstab like so:
# grep swap /etc/fstab
/dev/mapper/vg_w2-lv_swap swap swap defaults 0 0
#UUID=c6d5573f-87c2-4ce4-b497-5bf314800688 swap swap defaults 0 0

This change made my system boot much faster. Something to consider if your system is booting slow with Fedora 16 and was booting fast with Fedora 15.
Reply With Quote
  #2  
Old 5th December 2011, 11:09 AM
David Batson Offline
Registered User
 
Join Date: Jul 2009
Posts: 1,234
windows_7opera
Re: Fedora 16 boots slow because of extra swap line in /etc/fstab

Any invalid UUID number in fstab can result in a slow boot. I had recreated my SWAP partition on an third Linux OS install which changed the UUID number for it in Fedora. Like you, I noticed Fedora booting noticeably slower than before.

You can run blkid to find the current UUID numbers for your partitions, and edit fstab accordingly.
__________________
Fedora 19 Gnome on a ThinkPad X220, i5-2540M CPU, Intel HD Graphics 3000, Intel N 6205 wireless, and Sierra Wireless 754S Mobile Hotspot (AT&T)
Reply With Quote
  #3  
Old 6th December 2011, 04:14 AM
diamond_ramsey Offline
Registered User
 
Join Date: Aug 2009
Posts: 790
windows_98_nt_2000firefox
Re: Fedora 16 boots slow because of extra swap line in /etc/fstab

Quote:
Originally Posted by David Batson View Post
Any invalid UUID number in fstab can result in a slow boot. I had recreated my SWAP partition on an third Linux OS install which changed the UUID number for it in Fedora. Like you, I noticed Fedora booting noticeably slower than before.

You can run blkid to find the current UUID numbers for your partitions, and edit fstab accordingly.
+1 for blkid and verifying the UUID entry(ies) within fstab.
__________________
2 dual cores, 11 GB RAM, F18 Spherical Cow - 3.11.10-100.fc18.x86_64 / i686
2 dual cores, 11 GB RAM, F19 Schrödinger's Cat - 3.14.22-100.fc19.x86_64 / i686
2 dual cores, 11 GB RAM, F20 Heisenbug - 3.16.6-200.fc20.x86_64 / i686
2 dual cores, 11 GB RAM, F21 - 3.17.1-302.fc21.x86_64 / i686
80 x86_64 computing cores, 144 GB RAM & 8 SATA Seagate 7200.12 500 GB harddisks
Reply With Quote
  #4  
Old 16th December 2011, 10:04 AM
usador Offline
Registered User
 
Join Date: Aug 2007
Location: Spain
Age: 38
Posts: 22
linuxfirefox
Re: Fedora 16 boots slow because of extra swap line in /etc/fstab

This same happened to me. I have 2 swap partitions.
As root:

swapoff /dev/"ofending partition"
mkswap /dev/"ofending partition"
swapon /dev/"ofending partition"

Crude, but worked.

Hope this helps.
__________________
La experiencia es lo que te da la vida el instante DESPUES de haberla necesitado
Reply With Quote
Reply

Tags
boots, extra, fedora, line, or etc or fstab, slow, swap

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Crypted tmp and swap in fstab alwin Security and Privacy 8 4th November 2011 06:32 PM
Fedora SOMETIMES boots very slow.. infernosoft Using Fedora 12 6th May 2009 09:24 PM
fedora boots so slow... Fittersman Using Fedora 4 9th October 2007 11:10 PM
Boots to command line but no x gdm login sonic6567 Using Fedora 4 20th July 2007 07:06 AM
Linux Partition Appears Dead, Grub Boots to Command Line wyrmis Using Fedora 0 26th July 2004 08:17 AM


Current GMT-time: 03:39 (Sunday, 26-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Novotroitsk Photos - Guarapuava Instagram Photos - Adapazari Travel Photos on Instagram