LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 09-22-2004, 09:55 PM   #1
chuchII
LQ Newbie
 
Registered: Sep 2004
Location: MA
Distribution: Fedora
Posts: 3

Rep: Reputation: 0
mount point swap does not exist


hey guys,
i'm not sure if this should be posted under software or hardware but here goes.

i've recently done a fresh install of Fedora Core 2 (had origonally upgraded from redhat 9)
i partitioned my hard drive into 3 sections (/ , /home, and swap)
everything works fine except initializing the swap which fails
when i attempt to mount the swap i get

mount: mount point swap does not exist

i've checked my /etc/fstab
looks fine from what i know (posted below)

LABEL=/ / ext3 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
LABEL=/home /home ext3 defaults 1 2
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/hda2 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0

whether i mount swap or mount /dev/hda2 i get the same message.

i've never seen anything like this before

any thoughts?
 
Old 09-22-2004, 10:02 PM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
What does

fdisk -l

give you?
 
Old 09-22-2004, 10:06 PM   #3
CroMagnon
Member
 
Registered: Sep 2004
Location: New Zealand
Distribution: Debian
Posts: 900

Rep: Reputation: 33
Your mount point for the swap partition should be "none", not "swap". Only the type column should say swap.
 
Old 09-22-2004, 10:10 PM   #4
CroMagnon
Member
 
Registered: Sep 2004
Location: New Zealand
Distribution: Debian
Posts: 900

Rep: Reputation: 33
Oh also, my systems just have 'sw' in the options section, not 'defaults' - you might want to try changing that if you have other problems (I couldn't see any documentation on why that sw is there, but I will keep looking).
 
Old 09-23-2004, 10:42 AM   #5
chuchII
LQ Newbie
 
Registered: Sep 2004
Location: MA
Distribution: Fedora
Posts: 3

Original Poster
Rep: Reputation: 0
fdisk -l gives this:

Disk /dev/hde: 80.0 GB, 80026361856 bytes
16 heads, 63 sectors/track, 155061 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

Device Boot Start End Blocks Id System
/dev/hde1 * 1 26412 13311616+ 83 Linux
/dev/hde2 26413 30573 2097144 82 Linux swap
/dev/hde3 30574 155061 62741952 83 Linux


i'm trying some of the suggestions on here
 
Old 09-23-2004, 11:46 AM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,154

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
Quote:
/dev/hda2 swap swap defaults 0 0
Should be
/dev/hde2 swap swap defaults 0 0 [/quote]

The form of the fstab entry above AFAIK is still valid for Fedora. You can not mount a swap partition using the mount command. To enable swap without rebooting:
swapon /dev/hde2

Last edited by michaelk; 09-23-2004 at 12:00 PM.
 
Old 09-23-2004, 01:00 PM   #7
chuchII
LQ Newbie
 
Registered: Sep 2004
Location: MA
Distribution: Fedora
Posts: 3

Original Poster
Rep: Reputation: 0
thanks guys, was def pounding my head against the wall.
looks like all i needed to do was change /dev/hda2 to /dev/hde2

don't know how that 'a' got in there but the swap is mounted and working.
thanks again
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 give not-root user ability to mount devices to any mount point??? jdupre Linux - General 8 02-04-2012 11:03 AM
Mount point /mnt/cdrom does not exist. njbrain Linux - General 4 02-13-2007 08:01 PM
How to unmount actual swap and mount a new(bigger) swap space? isaac Linux - Newbie 1 06-06-2004 02:23 AM
How do I point to a new swap partition? CaptainRandom Linux - General 3 05-26-2004 08:17 AM
what is mount point for swap sadiboyz Solaris / OpenSolaris 7 09-10-2003 07:49 PM


All times are GMT -5. The time now is 08:40 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration