LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-03-2011, 06:29 AM   #1
adarshmca
LQ Newbie
 
Registered: Dec 2010
Posts: 28

Rep: Reputation: 0
Enabling /etc/fstab swaps


Dear all,

I am very much confused about the time taken during system booting.
My screen goes blank for few minutes during booting to print the login page.

When I press ctrl+alt+f1 it shows and hangs at

Enabling /etc/fstab swaps

Please let me know how to solve this.

I show below the output of some commands:

[root@ws-test ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 76G 55G 18G 76% /
tmpfs 3.9G 0 3.9G 0% /dev/shm
/dev/sda3 56G 34G 20G 64% /hdd-1
[root@ws-test ~]# fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 10199 81923436 83 Linux
/dev/sda2 10200 12145 15631245 82 Linux swap / Solaris
/dev/sda3 12146 19441 58605120 83 Linux
[root@ws-test ~]#




Thanks & Regards

Adarsh Sharma
 
Old 01-03-2011, 06:47 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
if you think you have an issue with fstab, why have you not shown us what's in the file?
 
Old 01-03-2011, 11:20 PM   #3
adarshmca
LQ Newbie
 
Registered: Dec 2010
Posts: 28

Original Poster
Rep: Reputation: 0
Sir here is the file contents :

[root@ws-test ~]# cat /etc/fstab
LABEL=/ / ext3 defaults 1 1
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
#LABEL=SWAP-sda2 swap swap defaults 0 0
/dev/sda3 /hdd-1 ext3 defaults 0 0
/dev/sda2 swap swap defaults 0 0
[root@ws-test ~]#




Thanks
 
  


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
System hangs on "Enabling /etc/fstab swaps :" rajb366a Linux - Hardware 2 01-05-2009 06:25 PM
enable /etc/fstab swaps takes 5 minutes on boot unterhausen Linux - Software 1 10-09-2008 11:10 PM
Definition of Kernel Swaps and Pages tsunami_imcool Linux - Software 4 01-15-2008 03:52 PM
Swaps 55 mb but 700 MB RAM Free? SupaDucta Linux - General 5 04-05-2006 04:45 AM
Two Swaps Thanatos Linux - General 4 12-22-2004 07:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:02 PM.

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