LinuxQuestions.org
Help answer threads with 0 replies.
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 12-02-2006, 12:19 PM   #1
mam1
LQ Newbie
 
Registered: Nov 2006
Posts: 6

Rep: Reputation: 0
Unable to create swapfile


When booting knoppix I get the message that I have only 79508kb of ram available.... and it is not large enough to run kde.

It says I can create a swapfile on an existing dos-partition.

The next screen then asks if I want to create a swapfile knoppix.swp. If I try nothing happens. The only way to get past this screen is to hit cancel and then it boots but says there is note enough memory to start kde.

Can anyone tell me how to create this swapfile????

thanks
 
Old 12-02-2006, 12:28 PM   #2
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
Not sure of the minimum ram requirement, check knoppix docs for that, but what it is looking for is a fat32 type partition to tempory use as swap. Not sure if it can see a fat32 format USB drive or memory flash card. If you one of those give that a try. If still no luck then there are some switches that can be applied at boot. Not sure if that will help though.

Brian
 
Old 12-02-2006, 01:15 PM   #3
mam1
LQ Newbie
 
Registered: Nov 2006
Posts: 6

Original Poster
Rep: Reputation: 0
what types of switches are available? Also, can you explain where to do this (during the boot?)
 
Old 12-02-2006, 02:04 PM   #4
Renars
LQ Newbie
 
Registered: Aug 2006
Location: Bauska, Latvia
Distribution: Ubuntu, Fedora
Posts: 29

Rep: Reputation: 15
It is also possible that you just don't have any existing DOS partition.
As it says, it can "create a swapfile on an existing dos-partition".
If there are only ext (the ones, that *NIX uses) partitions, there is no way to avoid this error.
 
Old 12-02-2006, 03:10 PM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
How much total RAM do you have? Other system specs?

If--eg--your RAM is less than ~256MB, you are going to have lots of issues--not just with a live CD. I vividly remember the quantum improvement in a P-III/Windows 2000 box when upgrading from 128M to 192M----night and day.
 
Old 12-02-2006, 03:35 PM   #6
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
Checked into the info on knoppix requirements. It says it requires 32mb for text mode and 96 meg for KDE. 128mb better. The switch I was thinking of was for telling knoppix that you have a certain amount of memory when the bootloader did not detect all your ram.
Example: If system had 256meg and knoppix only seen 128meg you can use this boot option on the boot line. knoppix mem=256M

Brian
 
Old 12-02-2006, 06:09 PM   #7
mam1
LQ Newbie
 
Registered: Nov 2006
Posts: 6

Original Poster
Rep: Reputation: 0
This machine has a pentium II 350 processor w/ 96 mb ram. I did create a partition on the hard drive. I just can't create this swap file.

I also read about creating a swap partition instead of a file. I would try this if I knew how.
 
Old 12-02-2006, 09:40 PM   #8
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,132

Rep: Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987
If it were me, I'd get the Gentoo minimal liveCD (CLI only - no X), and setup (and format) a swap partition.
Then boot Knoppix - it'll find the swap once it's been formatted. No more problems.
 
  


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
unable to create files spider91112 Linux - Newbie 5 01-03-2006 09:22 PM
Unable to create directories satimis Linux From Scratch 8 07-02-2005 04:48 AM
swapfile doesn't work kozgun Slackware 7 10-20-2004 12:42 AM
SuSe swapfile Pond247 Linux - Newbie 0 09-19-2003 02:17 PM
Swapfile Shantesh Linux - Software 2 09-11-2003 08:11 AM


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