LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 09-12-2004, 06:22 PM   #1
ArtsWorks
LQ Newbie
 
Registered: Sep 2004
Distribution: SuSe linux 9.1 professional
Posts: 4

Rep: Reputation: 0
not enough memory to run YaST,enable swap space, but can't


I'm so new at Linux, I'm quite lost and stuck!!!PLEASE HELP!!!...I am tryinng to install SuSE 9.1 pro onto a compaq armada 1520/133mhz/84MBram/3gigHD, and I keep getting stuck with this error msg:"your computer doesn't have enough memory to run YaST, to continue enable som swap sapce" (it offers this ie:/dev/sda2/), and I try it and the different variations that I've looked up on two different books and several google queries, and I still can't get past this hiccup. Not only am I looking for the way to find this answer, but to find a direction where I can get answers and learn to help myself by reading and learning. Your help will be greatly appreciated, Thanks, ArtsWorks.
 
Old 09-12-2004, 08:50 PM   #2
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,463

Rep: Reputation: 299Reputation: 299Reputation: 299
Get more ram or dumb the desktop (install the base system without X).

Last edited by jens; 09-12-2004 at 08:52 PM.
 
Old 09-12-2004, 09:44 PM   #3
Tuvok
Member
 
Registered: Mar 2003
Distribution: FreeBSD 6.1, NetBSD 3.0.1
Posts: 170

Rep: Reputation: 30
If you can't run Yast2 well, then you can run Yast which requires less memory. Yast is ncurse based. Just open a terminal (console, shell) and type as root:
yast
this is how it looks like, but it does everything Yast2 can do.
 
Old 09-12-2004, 10:36 PM   #4
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
run this as root...

Code:
dd if=/dev/zero of=/SWAP bs=1M count=128
losetup /dev/loop1 /SWAP
mkswap /dev/loop1
swapon /dev/loop1
replace count=128 with the number of megabytes swap you want.... (i think 128 should be okay)

this will add 128 megs of virtual memory (swap) to your system... but the effect is only temporery... if you want the swap to be added every time you boot, add these lines to your rc.local files (somwher in /etc/init.d

Code:
losetup /dev/loop1 /SWAP
swapon /dev/loop1
 
Old 09-12-2004, 10:52 PM   #5
ArtsWorks
LQ Newbie
 
Registered: Sep 2004
Distribution: SuSe linux 9.1 professional
Posts: 4

Original Poster
Rep: Reputation: 0
thank you for your answers, but they don't help me out as I'd like. I'd like to try to learn what commands I'm suppossed to use and or can try to make it happen/work...the RAM is maxed out, from what I've read, it should work! apparently "SHOULD" being the operative word in that statement!...so I'll keep looking for ways to make it work/ or different ways to load it, sooner or later, I'll be running linux instead of wingates! thanks again, and keep 'em coming, Art.
 
Old 09-12-2004, 10:56 PM   #6
ArtsWorks
LQ Newbie
 
Registered: Sep 2004
Distribution: SuSe linux 9.1 professional
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks "qwijibow" I'll try this out next and I'll let you know how it worked out, Art.
 
Old 09-13-2004, 12:27 AM   #7
ArtsWorks
LQ Newbie
 
Registered: Sep 2004
Distribution: SuSe linux 9.1 professional
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks "qwijibow" I'll try this out next and I'll let you know how it worked out, Art.
 
Old 09-13-2004, 07:37 AM   #8
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
ok.. here is a little explanation of what the code does...

Code:
dd if=/dev/zero of=/SWAP bs=1M count=128
This command is like a copy command, but can be used to copy devices..
if= (input file) /dev/zero is a pretend file, with an infinite number of xzero's in it.
of= (output file) save the zero's to this file
bs= (block size... 1M = 1 megabyte)
count= (number of blocks to copy)
size of output file will be block size multiply count.

Code:
losetup /dev/loop1 /SWAP
losetup is a program used to setup loop devices.
a loop device is a driver that allows a revular file to be accessed asif it was a /dev/ device, like a pretend hard disk.
this will point the pretend hard disk named "loop1" to the real file /SWAP which we created earlyer.

Code:
mkswap /dev/loop1
mkswap is used to format a hard disk partiton as virtual RAM.. (swap space)
it will format /dev/loop1 which is a loop pointer to /SWAP

Code:
swapon /dev/loop1
swapon turns ON swap space.

These commands will give linux an extra 128megs of memory, but take 128megs from your hard disk.
only the losetup command, and swapon command need to be run on each reboot.
its worth noting that although you now have all the memory you need to run things like yast,
swap memory is MUCH slower than real memory.... if your machine is unbareably slow, you may need to buy more
ram.... have a look at ebay.com for second hand memory, you only need a little extra memory... and the price of memory just keeps comming down.
 
Old 09-13-2004, 08:59 AM   #9
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
Quote:
compaq armada 1520/133mhz/84MBram/3gigHD
I tried running in text mode only on a Pentium 100 with 80 MB of RAM. YAST was terribly slow taking minutes for some functions.
Your processor is on the slow side even for
Vector Linux.
To create the swap YAST needed I used Debian Woody Rescue and Root floppies to create a swap partition and activate and initialize it. The SUSE install was happy to use the prepared partition.
 
  


Reply



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 reduce swap space and reclaim the space grantm Linux - Newbie 7 08-16-2012 07:05 AM
swap space used: 0; memory used: 90-95% abs Slackware 9 08-30-2004 12:33 PM
How to unmount actual swap and mount a new(bigger) swap space? isaac Linux - Newbie 1 06-06-2004 01:23 AM
Difference between Swap Virtrual memory and Swap Parition Nappa Slackware 4 11-27-2003 07:58 PM
boot stops at "enable swap space" heather_k Linux - General 5 06-07-2002 03:56 AM

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

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