LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-08-2004, 11:53 PM   #1
dongmin
Member
 
Registered: May 2004
Posts: 37

Rep: Reputation: 15
swap not detected!!


ok i finally was able to figure out making the swap partition.. i created a 64 meg swap partition at the end of the drive.. i configured it as "Linux Swap" (82). then i typed "mkswap /dev/hda2".. it spat out a 1 liner with some numbers.. then i typed "swapon -a" and rebooted.

btw this was all done with tomsrtbt and fdisk.

i put in the dsl floppy and it still says "memory found 5480kb" then doesn't seem to use the swap space at all and runs out of memory!!

what's the problem!!
 
Old 05-09-2004, 12:38 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
You'll need a valid fstab entry to turn swap on
during boot automagically :)

Code:
/dev/hda2        swap             swap        defaults         0   0


Cheers,
Tink
 
Old 05-09-2004, 12:53 AM   #3
dongmin
Member
 
Registered: May 2004
Posts: 37

Original Poster
Rep: Reputation: 15
how exactly do i do this?
 
Old 05-09-2004, 01:24 AM   #4
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
$EDITOR /etc/fstab
 
Old 05-09-2004, 07:26 AM   #5
dongmin
Member
 
Registered: May 2004
Posts: 37

Original Poster
Rep: Reputation: 15
the only way i can do linux commands is with tomsrtbt.. i'm not even able to load DSL right now.. i think it's actually picking up the swap partition but still gives me out of memory errors, altho it doesn't say "putting you in a very limited shell" anymore. i tried making the swap partition bigger by doubling it to 128mb, but still no avail.. any suggestions?
 
Old 05-09-2004, 11:02 AM   #6
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
How can you not issue commands in DSL? Are you trying to install or run?

toms has vi. If DSL is already installed, mount the root partition and 'vi /mnt/whatever/etc/fstab' - arrow down or hit 'j' a few times, hit '$' if you don't have a blank line and 'a' or just 'i' if you have a blank line - type Tink's line (modify for your partition), hit 'escape', and ':wq'.

If you're trying to install, there's a way to initialize the swap at the boot prompt, I believe, but I forget how. Maybe somebody can say or you can find that info. Don't the DSL install docs say?
 
  


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
Linux swap / solaris not appearing as swap in Ubuntu? Erik_the_Red Linux - Newbie 1 07-30-2005 01:57 PM
No Mixer Detected, Sound Card IS detected, No Sound? one.sick.tzim Linux - Software 3 03-12-2005 12:54 AM
Ethernet Card detected in one kernel is not detected in the other?? ashishuttarwar Linux - Hardware 14 06-15-2004 11:06 PM
How to unmount actual swap and mount a new(bigger) swap space? isaac Linux - Newbie 1 06-06-2004 02:23 AM
Difference between Swap Virtrual memory and Swap Parition Nappa Slackware 4 11-27-2003 08:58 PM

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

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