LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 04-13-2008, 04:25 PM   #1
Akaena
LQ Newbie
 
Registered: Apr 2008
Posts: 3

Rep: Reputation: 0
initial problems: black screen and mount point swap does not exist


hi,
i'm absolutely new to linux and have installed opensuse 10.3 right now.
there are 2 problems occuring:

1. when starting suse the screen turned absolutely black when kde should appear :-(
after "sax2 -m 0=versa" i finally get a mouse pointer on black screen before system offers command line log in ... "kde" stops with errormessage "can't contact kdeinit" and others. that's the current situation ... may be the problem is related to 2.? ok, swap is not really required but ...

2. when starting in failsafe mode (otherwise the messages are not displayed since the sax2 command) the message appears "mount: mount point swap does not exist".
"swapon -s" gives me "/dev/sda5 partition 369452 0 -1", "free -m" tells me that 360 is free but no swap is used and fstab contains 2 swap related entries:
a) "/dev/disk/by-id/...-part1 swap vfat defaults 0 0" (where ... is the internal scsi device label)
b) "/dev/disk/by-id/...-part1 swap swap defaults 0 0" (where ... is the internal scsi device label)
guess b) is /dev/sda5.

i searched the forum before questioning (as you can see in the commands i used before) but did not found (or understand) any further solutions.

so can anyone give me some hints?

thanx!
 
Old 04-13-2008, 07:45 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Jessie 8.4
Posts: 5,873

Rep: Reputation: 348Reputation: 348Reputation: 348Reputation: 348
Show us the output of 'fdisk -l' and 'cat /etc/fstab' (without quotes). Fdisk will show the hard drives and their partitions and fstab will show the devices and their mount points. Any discrepancy between the two will be easy to spot.
 
Old 04-13-2008, 11:04 PM   #3
kwill
Member
 
Registered: Jul 2007
Location: Horowhenua New Zealand
Distribution: (X)(K)ubuntu PCLinuxOS Mepis Puppy
Posts: 67

Rep: Reputation: 18
Just a thought but the fstab line should be

b) "/dev/disk/by-id/...-part1 none swap sw defaults 0 0" (where ... is the internal scsi device label)
guess b) is /dev/sda5.

The mount point for swap is normally "none"

Never heard of using vfat as swap before. I just had similar problem with Kubuntu, swap was there originally then it disappeared. It was in still in fstab but not getting mounted. I followed suggestion from a post by AwesomeMachine "Learn The DD Command Revised" which tells you how to make a swap on the run, the main thing was the:-

mkswap /swapspace (this should be path to your swap partition)
swapon /swapspace

When I did that to my existing swap file all came right.
 
Old 04-14-2008, 02:17 PM   #4
Akaena
LQ Newbie
 
Registered: Apr 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by bigrigdriver View Post
Show us the output of 'fdisk -l' and 'cat /etc/fstab' (without quotes). Fdisk will show the hard drives and their partitions and fstab will show the devices and their mount points. Any discrepancy between the two will be easy to spot.
ok, here we are (a lot of typework on my still-windows computer):

fdisk -l:
Code:
Disk /dev/sda: 15.0 GB, 15096840192 bytes
255 heads, 63 sectors/track, 1835 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000db507

Device    Boot Start End    Blocks    Id System
/dev/sda1      1     47     377496    82 Linux swap / Solaris
/dev/sda2      48    1835 14362110     f W95 Ext'd (LBA)
/dev/sda5      48    93     369463+   82 Linux swap / Solaris
/dev/sda6   *  94    805   5719108+   83 Linux
/dev/sda7      806   1835  8273443+   83 Linux
this old windows stuff looks strange ... thought it had been killed before ... however, there is no windows available at startup and all microsoft stuff can/should/must disappear. how to?

cat /etc/fstab:
Code:
/dev/disk/by-id/scsi-SATA_TOSHIBAMK1516G51111553T-part6 / ext3 acl,user_xattr 1 1
/dev/disk/by-id/scsi-SATA_TOSHIBAMK1516G51111553T-part7 /home ext3 acl,user_xattr 1 2
/dev/disk/by-id/scsi-SATA_TOSHIBAMK1516G51111553T-part1 swap vfat defaults 0 0
/dev/disk/by-id/scsi-SATA_TOSHIBAMK1516G51111553T-part5 swap swap defaults 0 0
proc    /proc             proc    defaults         0 0
sysfs   /sys              sysfs   noauto           0 0
debugfs /sys/kernel/debug debugfs noauto           0 0
usbfs   /proc/bus/usb     usbfs   noauto           0 0
devpts  /dev/pts          devpts  mode=0620,gid=5  0 0
hope that serves what is needed to spot any discrepancies ...

thanx for your help!

Last edited by Akaena; 04-14-2008 at 02:18 PM.
 
Old 04-14-2008, 03:02 PM   #5
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Jessie 8.4
Posts: 5,873

Rep: Reputation: 348Reputation: 348Reputation: 348Reputation: 348
This
Quote:
/dev/disk/by-id/scsi-SATA_TOSHIBAMK1516G51111553T-part1 swap vfat defaults 0 0
is causing this error.
Quote:
mount: mount point swap does not exist
Basically, it means you are trying to mount a vfat filesystem in mount point called swap. But that partition is probably formated swap instead of vfat, so it's causing problems when you try to mount it.

Edit fstab to read
Quote:
/dev/disk/by-id/scsi-SATA_TOSHIBAMK1516G51111553T-part1 swap swap defaults 0 0
*DO NOT* try to remove /dev/sda2. It is an extended partition (which does not get mounted. It's a container for logical partitions sda5, sda6, and sda7).

You have two swap partitions (sda1 and sda5). You should be able to get rid of sda5 and extend sda6 to take up the free space, or use sda5 for some other purpose. If you decide to use it to extend sda6, do make a backup of sda6 first. If there are problems booting sda6 after extending it to take up the space occupied by sda5, you will have a backup that you can restore.

Of course, you have the option of re-formating sda1 for Linux instead of swap, and keep sda5 as swap.

At any rate, try the correction to fstab as mentioned above, then try a re-boot. Do you still get errors? If yes, what errors do you get?
 
Old 04-14-2008, 03:41 PM   #6
Akaena
LQ Newbie
 
Registered: Apr 2008
Posts: 3

Original Poster
Rep: Reputation: 0
thanx!!!

hi bigrigdriver,

following your suggestion i just changed sda1 from vfat to swap* and it works fine! no error message any longer! thanx a lot!

i will leave the 2 swap patitions for now - never change a running system ... with more experience in linux i'll come back to this issue ...

now i have to make the system wlan-ready and go for internet - that's the main mission ;-)

thanx again!

* first time i used the vi editor ;-)
 
Old 04-14-2008, 03:57 PM   #7
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Jessie 8.4
Posts: 5,873

Rep: Reputation: 348Reputation: 348Reputation: 348Reputation: 348
Quote:
now i have to make the system wlan-ready and go for internet
Go into YaST - Network devices to configure you wlan connection.
 
  


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
mount point doesn't exist Carunkumar Fedora 1 10-27-2007 07:41 AM
Can't see cdroom Fedora Core 6 says "mount point does not exist? BootLaptop Linux - Software 2 06-18-2007 04:08 PM
Mount point /mnt/cdrom does not exist. njbrain Linux - General 4 02-13-2007 08:01 PM
mount error: mount point /home/me/x does not exist whil Fedora 3 05-24-2006 11:39 AM
mount point swap does not exist chuchII Linux - Software 6 09-23-2004 01:00 PM


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