LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
LinkBack Search this Thread
Old 05-31-2008, 03:29 PM   #1
Baracuda
Member
 
Registered: Aug 2002
Posts: 60

Rep: Reputation: 15
no swap on bootup and system locking up


recently i upgraded to Ubuntu 8.04. Before doing so I had some problems with the system slowing down and not being able to do anything for a minute or two.

Since the upgrade I realized I needed a bigger swap partition. I used gparted to expand the partition. Afterwards i ran mkswap and swapon. Now when I boot there is not swap mounted. I have to rerun swapon. How do I get the system to boot with the swap mounted?

I have used system monitor to try to get a hold on what is causing the system to lock up. Before the upgrade i could trace it to insufficient swap. Now it is locking up so I cannot even switch to the monitor to see what is happening. I hear the hard drive in action but the system locks for as long as I let it go before hitting the reset button. What can I do to test the system to see what is happening?

Thanks
 
Old 05-31-2008, 03:54 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, SolydK 2013
Posts: 7,434

Rep: Reputation: 134Reputation: 134
Quote:
Originally Posted by Baracuda View Post

Since the upgrade I realized I needed a bigger swap partition. I used gparted to expand the partition. Afterwards i ran mkswap and swapon. Now when I boot there is not swap mounted. I have to rerun swapon. How do I get the system to boot with the swap mounted?
Check and make sure that you have an entry for swap in /etc/fstab.

-------------------
Steve Stites
 
Old 05-31-2008, 06:06 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 11,801

Rep: Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923
The mkswap will have changed the UUID - update fstab appropriately.

As for the other, come up in recovery mode - that way you'll see all the messages. Might give you an idea of any problems.

Last edited by syg00; 05-31-2008 at 06:08 PM.
 
  


Reply

Tags
lock, swap


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora system stuck at system message bus service upon bootup guy_ripper Linux - Software 4 02-16-2009 01:54 PM
bootup halts after enabling swap space voa2mp3 Linux - General 1 12-26-2005 10:10 AM
system locking up ??? michael_util Linux - General 4 09-15-2004 10:28 AM
where does linux look for swap partition information @ bootup? timsch75 Linux - Newbie 13 08-23-2004 08:21 AM
FC2 Bootup locking up Alf829 Fedora 0 03-08-2004 07:41 AM


All times are GMT -5. The time now is 10:05 AM.

Main Menu
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