LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-27-2004, 12:23 PM   #1
cirelj
LQ Newbie
 
Registered: Feb 2004
Posts: 2

Rep: Reputation: 0
How to enter swap partition when installing suse8.2 with only 40mb ram


Hi,

I'm trying to install linux for the first time.

I selected SuSE 8.2 and I downloaded the diskettes and while I have had some problems since I'm installing on an older Dell Latitude LM laptop, I've gotten to the point where I've starting the network installation, I've connected to the site I'm going to use, but since I only have 40MB of RAM, I need to access swap space.

For some reason, the hard drive was previously partitioned into 5 2GB drives. As this didn't use to be my laptop, I don't know why this was the case.

I looked under the harddrive installing and it finds the 5 partitions. I then went back to network and tried typing in the first one using the below:

hda1
/dev/hda1
/hda1

Each time there is an error in setting up the swap though and I can't continue.

Is there something I'm missing in doing this?

I saw a post about using fdisk and creating a new partition so I'm going to go back into Windows 95 and try and do that and then redo the installation but I'm thinking I may even not be typing it correctly.

How do I go find out what the right swap space to type in is?

Thanks,
Eric

PS. I'm going to make some more notes this time so I can give more details on the questions I'm getting and the error code.
 
Old 02-27-2004, 12:49 PM   #2
t3___
Member
 
Registered: Sep 2003
Posts: 240

Rep: Reputation: 30
if you are trying to use the existing partitions on the disk for your suse install, you may be getting that error (quite simply) because there is no free space on the drive to create the swap file. Win9x creates the swap file as a regualr system file INSIDE the same partition that is used for the operationg system - Linux on the other hand, makes a DEDICATED PARTITION for the swap file (the swap partition).

here is what I would suggest. Istead of trying to partition beforehand, manually partition the drive DURING THE INSTALL - this is what most people do anyway!

start the install. during the install you will get to a point where you are asked to confirm all the installation options, broken down into categories (bootloader, packages, partitions, etc). Click on the PARTITIONS section to open up a partitioning wizard.
Choose advances/manual partition setup.

you will now have an applet up that has buttons like CREATE RESIZE DELETE, etc.

delete all 5 of the 2GB fat partitions... you should now just have one entry for hda that represents the whole disk, all in free space.

now create your (single) linux partitions - make the mount point / choose reiser file system,and as far as size, use the entire disk MINUS 100 mb - in other words you will have 100mb free space after creating this partition.

now create another partition that is 100MB.... VERY IMPORTANT - choose SWAP as the file system type instead of reiser this time.

you are all set now. save the change and prceed with the install.

unfortunately both kde and gnome are going to run VERY VERY slow with only 40mb of ram... I would say it will be unusable. you might have to try one of the "lighter" window managers, or just run in in terminal mode.

good luck
 
Old 02-27-2004, 01:43 PM   #3
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
You need Linux swap partitions (partition type 82), formatted for swap. You might need more, like 200mb. The ram times two size rule for swap is outdated, the amount you pick depends on how much virtual (real+swap) memory you need (alot since you only have 40mb of real).
You create partitions with the installer like t3___ said, or using the Linux fdisk from a boot floppy. Don't use the DOS fdisk, it can't make Linux partitions.
KDE works fine (relative to Windows) with my 64mb of ram.

This might help:
http://www.usalug.org/phpBB2/viewtopic.php?t=524

And about the use of reiserfs that t3___ recommended, you might not want to use it:
http://www.snowblink.co.uk/archives/..._and_reiserfs/
 
Old 02-27-2004, 03:12 PM   #4
t3___
Member
 
Registered: Sep 2003
Posts: 240

Rep: Reputation: 30
thanks for the correction on the filesystem... oddly Ive done a half dozen network based reiser fs installs with both 8.2 and 9.0 without incident.... good advice nonetheless... always best to go with the tried and true rather than the newer more experimental.

(genuinely no sarcasm here...) so you really feel that KDE will run ok 64MB of ram? I am comparatively new to linux, but the handful of installs that I have done on older machines of that caliber were, as I stated before, unusable... or they basically "felt like" a 486 with windows 9x on it... (look at me... using windows in an analogy.... what a loser

perhaps I had to many unnessary services running.... hmmmm....


AAA.... could you (or anyone else for that matter) make suggestions as far as modules that can be unloaded/not loaded at boot to save resources? I'd appreciate that information myself... (edit - dont answer here - see new thread in newbie forum)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
EDIT - I'm actually going to start a new thread on this topic
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Last edited by t3___; 02-27-2004 at 03:16 PM.
 
Old 02-27-2004, 04:41 PM   #5
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
Well, the cpu is 750mhz, it didn't have much ram to begin with. I'm guessing that the low caliber machines you referred to also have slower cpu's. Also, I'm comparing to Windows ME (I'm sure 98 is significantly faster).

As for speeding things up, I use Slack, and that doesn't have much loaded by default to begin with. What it did have was mostly server (like httpd) & network stuff I didn't need. I went through my init scripts in /etc/rc.d (it's different in SuSE) and disabled what I didn't need. It was months ago, and I don't remember how much it sped up in general, but the removal of extra stuff+kernel recompilation really sped up bootup. For your SuSE, I think the (links to the) scripts are spread out over various /etc/rc*.d directories. The '*' indicates the runlevel, stuff in rc3.d would be for runlevel 3. SuSE probably has a utility for editing this stuff this automatically.

Last edited by aaa; 02-27-2004 at 04:42 PM.
 
Old 02-27-2004, 05:25 PM   #6
cirelj
LQ Newbie
 
Registered: Feb 2004
Posts: 2

Original Poster
Rep: Reputation: 0
linux bootdisk with fdisk available


Where can I get a linux bootdisk with linux fdisk available that will let me do the partition and then go back to trying to install SuSE 8.2?

Or should I scrap SuSE 8.2 and try another installation?

Thanks.

Last edited by cirelj; 02-27-2004 at 05:30 PM.
 
Old 02-27-2004, 05:40 PM   #7
sirpimpsalot
Member
 
Registered: Feb 2004
Posts: 141

Rep: Reputation: 15
ok bro. try to follow me here. I dont mean to sound harsh, and Im genuinely trying to help you out.

first off, this isnt windows/dos, so you are not going to find a linux equivelent to a dos boot disk with fdisk. you are trying to do linux stuff the windows way, and if you continue with that approach your going to get nowhere, get frustrated and quit. It is very important that you understand that point!

did you try any of the steps I outlined for you (I also have the username t3___)? if so, what did you do and what were the results (GIVE DETAILS).

Ill say it again. do not try to set up linux partitions before the install. as AAA pointed out, you cant create linux partitions with fdisk. THAT APPROACH WILL FAIL.

very simple - pay attention to this instruction - JUST GO AHEAD AND RUN THE SUSE INSTALL. during the install you will have the option of deleting the old partitions and creating the necessary linux partitions for you system. I outlined the process above.

try that and report back with details.

Last edited by sirpimpsalot; 02-27-2004 at 05:44 PM.
 
Old 02-27-2004, 05:43 PM   #8
sirpimpsalot
Member
 
Registered: Feb 2004
Posts: 141

Rep: Reputation: 15
oh, and regarding trying another distribution....

virtually all of the other linux distros work the exact same way (partitioning happens DURING THE INSTALL), and in fact many of them use the same partitioning tool.

I dont know of any distros that offer a basic boot disk with an fdisk-like tool.
 
Old 02-27-2004, 06:06 PM   #9
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
Quote:
Originally posted by sirpimpsalot
first off, this isnt windows/dos, so you are not going to find a linux equivelent to a dos boot disk with fdisk. you are trying to do linux stuff the windows way, and if you continue with that approach your going to get nowhere, get frustrated and quit. It is very important that you understand that point!
One would think all distros include fdisk (the linux version is far more powerful than the dos one) somewhere, esp. on rescue disks (I think when you put the suse cd in rescue mode you'll find it). Useful rescue floppies include tomsrtbt.

Anyways, you should probably stick with the yast2's (the suse installer) partitioner to partition, it'll be easier. Follow t3___'s instructions. Remember that the Linux partitions have to be of Linux (83) or Linux Swap (82) for it to install, not Win95 (0c).
 
  


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
Dell Latitude LM P166 40Mb Ram-will any distros with a GUI work? newtwolinux Linux - Laptop and Netbook 3 09-29-2005 10:25 AM
2 GB of ram, do I need a swap partition? davesbedroom Linux - General 2 03-31-2005 11:43 AM
What do I enter in the Swap Partition prompt? milesonwheels Linux - Laptop and Netbook 38 09-10-2004 09:14 PM
16 GB of RAM and Linux still uses over 1 GB of a 2 GB swap partition!? lumberjack77 Linux - Software 8 09-25-2003 01:07 PM
Swap Partition - RAM?? jt1020 Linux - General 7 04-30-2003 08:02 AM

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

All times are GMT -5. The time now is 02:13 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