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

Notices

Tags used in this thread
Popular LQ Tags ,

Reply
 
Thread Tools
Old 05-31-2008, 04:29 PM   #1
Baracuda
Member
 
Registered: Aug 2002
Posts: 59
Thanked: 0
no swap on bootup and system locking up


[Log in to get rid of this advertisement]
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
Baracuda is offline  
Tag This Post ,
Reply With Quote
Old 05-31-2008, 04:54 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: atop the Blue Ridge
Distribution: Debian Lenny, CentOS 5.2
Posts: 7,250
Thanked: 31
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
jailbait is offline     Reply With Quote
Old 05-31-2008, 07:06 PM   #3
syg00
Guru
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 6,908
Thanked: 165
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 07:08 PM..
syg00 is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
Fedora system stuck at system message bus service upon bootup guy_ripper Linux - Software 4 02-16-2009 02:54 PM
bootup halts after enabling swap space voa2mp3 Linux - General 1 12-26-2005 11:10 AM
system locking up ??? michael_util Linux - General 4 09-15-2004 11:28 AM
where does linux look for swap partition information @ bootup? timsch75 Linux - Newbie 13 08-23-2004 09:21 AM
FC2 Bootup locking up Alf829 Fedora 0 03-08-2004 08:41 AM


All times are GMT -5. The time now is 02:48 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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration