Welcome, Guest. Please login or register.

Author Topic: Linux Swap driving me nuts  (Read 1489 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline redrumloaTopic starter

  • Original Omega User
  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 10126
    • Show only replies by redrumloa
Linux Swap driving me nuts
« on: December 17, 2004, 12:40:24 AM »
I'm trying to install SUSE to an old laptop with only flopy drive, and 32MB RAM. The idea was/is to do an FTP install after booting from boot floppies.

The problem, 32MB is not enough for an install and needs a swap partition. I downloaded and made a boot floppy for BootE, which is a single disk Linux distro(emergency disk). I partitioned the HD and created 3 partitions. I made HDA2 a swap partition and activated it.

All good right? Well I get through most of the boot disk setup until it starts loading PCMIA drivers and runs out of memory, saying it needs a swap. It sees the swap partition but when selected throws back a generic failure message.

Huh?
Someone has to state the obvious and that someone is me!
 

Offline Hyperspeed

  • Hero Member
  • *****
  • Join Date: Jun 2004
  • Posts: 1749
    • Show only replies by Hyperspeed
Re: Linux Swap driving me nuts
« Reply #1 on: December 17, 2004, 01:43:34 AM »
Is SUSE the best distro for low requirement scenarios?

Does your laptop have USB ports or the more common PCMCIA slot? You
could buy a cheap PCMCIA memory S-RAM card or make a swap drive using
a PCMCIA compact-flash adaptor.

Have I missed something or are you on some sort of Buddhist punishment
lesson, where's your hard disk?

:-D :-D :-D
 

Offline redrumloaTopic starter

  • Original Omega User
  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 10126
    • Show only replies by redrumloa
Re: Linux Swap driving me nuts
« Reply #2 on: December 17, 2004, 02:00:58 AM »
Well SUSE has a FTP install possibilty. I have some low spec laptops on hand, I'd like to make use of one of them. It's bugging the hell out of my why the swap aint working. It works fine on BootE:-/

This laptop has PCMIA and USB, I am trying to configure the PCMIA with a network adapter.
Someone has to state the obvious and that someone is me!
 

  • Guest
Re: Linux Swap driving me nuts
« Reply #3 on: December 17, 2004, 02:24:01 AM »
Quote

redrumloa wrote:
I'm trying to install SUSE to an old laptop with only flopy drive, and 32MB RAM. The idea was/is to do an FTP install after booting from boot floppies.

The problem, 32MB is not enough for an install and needs a swap partition. I downloaded and made a boot floppy for BootE, which is a single disk Linux distro(emergency disk). I partitioned the HD and created 3 partitions. I made HDA2 a swap partition and activated it.

All good right? Well I get through most of the boot disk setup until it starts loading PCMIA drivers and runs out of memory, saying it needs a swap. It sees the swap partition but when selected throws back a generic failure message.

Huh?


before you even get to the PCMCIA driver load, Ctrl-Alt-F2 to get from the GUI installer to a command line, and type  swapon /dev/hda2 then Ctrl-Alt-F1 to get back to the installer.  If you are using text mode install, as I guess you probably will be with only 32MB RAM, just use Alt-F1 and Alt-F2. You might have to try F3,F4,F5 etc until you get a bash prompt, but there will be one so just keep trying each virtual terminal until you find it.
 

Offline Hyperspeed

  • Hero Member
  • *****
  • Join Date: Jun 2004
  • Posts: 1749
    • Show only replies by Hyperspeed
Re: Linux Swap driving me nuts
« Reply #4 on: December 17, 2004, 02:26:54 AM »
Does USB need to be software initialised?

I'm thinking a cheap 64Mb USB pen would make a simple plug-in swap
drive.

Maybe I'm missing the point. Over to the Linux experts.

:-D
 

Offline redrumloaTopic starter

  • Original Omega User
  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 10126
    • Show only replies by redrumloa
Re: Linux Swap driving me nuts
« Reply #5 on: December 17, 2004, 02:38:55 AM »
Quote

mdma wrote:
[before you even get to the PCMCIA driver load, Ctrl-Alt-F2 to get from the GUI installer to a command line, and type  swapon /dev/hda2 then Ctrl-Alt-F1 to get back to the installer.  If you are using text mode install, as I guess you probably will be with only 32MB RAM, just use Alt-F1 and Alt-F2. You might have to try F3,F4,F5 etc until you get a bash prompt, but there will be one so just keep trying each virtual terminal until you find it.


No luck... CTRL/ALT/F1 does nothing.. I can't seem to get a bash prompt to save my life:-(
Someone has to state the obvious and that someone is me!
 

  • Guest
Re: Linux Swap driving me nuts
« Reply #6 on: December 17, 2004, 02:42:01 AM »
Baring in mind that the machine only has 32MB RAM, then you could download the debian installer floppies you need from here, and just install a base system.

then apt-get update; apt-get install fluxbox sylpheed dillo

that would give you a fast light window manager with email and web browsing capabilities.

Or if the machine can boot from a USB stick and you have a spare one knocking about, then try http://www.damnsmalllinux.org it's a fully capable linux desktop than runs fine old old heaps of junk! ;-)
 

  • Guest
Re: Linux Swap driving me nuts
« Reply #7 on: December 17, 2004, 02:43:44 AM »
Quote

redrumloa wrote:
Quote

mdma wrote:
[before you even get to the PCMCIA driver load, Ctrl-Alt-F2 to get from the GUI installer to a command line, and type  swapon /dev/hda2 then Ctrl-Alt-F1 to get back to the installer.  If you are using text mode install, as I guess you probably will be with only 32MB RAM, just use Alt-F1 and Alt-F2. You might have to try F3,F4,F5 etc until you get a bash prompt, but there will be one so just keep trying each virtual terminal until you find it.


No luck... CTRL/ALT/F1 does nothing.. I can't seem to get a bash prompt to save my life:-(


Are you using GUI installer or text mode?

Ctrl-Alt-F2 for GUI
Alt-F2 for Textmode

Ctrl-Alt-F1 to get back to first terminal if GUI
Alt-F1 to get back to first terminal if TextMode
 

Offline Hyperspeed

  • Hero Member
  • *****
  • Join Date: Jun 2004
  • Posts: 1749
    • Show only replies by Hyperspeed
Re: Linux Swap driving me nuts
« Reply #8 on: December 17, 2004, 02:52:00 AM »
Wow, Damn Small Linux looks cool.

It's totally possible to burn AmigaOS to a card like that on an A1200
with MakeCD and run it on a standard CD32!

I couldn't view the screenshot well at 1600x1200 but I could just
about make out something that looked like DOpus on the desktop!

How do you get Linux onto Amiga then, what version suits it best?

:-)
 

Offline redrumloaTopic starter

  • Original Omega User
  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 10126
    • Show only replies by redrumloa
Re: Linux Swap driving me nuts
« Reply #9 on: December 17, 2004, 02:54:26 AM »
Quote

mdma wrote:
Are you using GUI installer or text mode?

Ctrl-Alt-F2 for GUI
Alt-F2 for Textmode

Ctrl-Alt-F1 to get back to first terminal if GUI
Alt-F1 to get back to first terminal if TextMode


GUI. When I try to exit to text mode but the installer just quits. I really would be happy with a bash prompt right now. BTW ALT/F1(2,3,4) and CTRL/ATL/F1(2,3,4) has the same effect as each other. I can toggle between screens and see system messages, but cannot get a prompt.

-EDIT-
Oh sh&& i just got one (F10). brb
Someone has to state the obvious and that someone is me!
 

  • Guest
Re: Linux Swap driving me nuts
« Reply #10 on: December 17, 2004, 02:56:44 AM »
Quote

Hyperspeed wrote:
Wow, Damn Small Linux looks cool.

It's totally possible to burn AmigaOS to a card like that on an A1200
with MakeCD and run it on a standard CD32!

I couldn't view the screenshot well at 1600x1200 but I could just
about make out something that looked like DOpus on the desktop!

How do you get Linux onto Amiga then, what version suits it best?

:-)


If you have a PPC PowerUP card, then look here.

If you just have 68k, then you need a real 030 with MMU or above, and probably it's best to use m68k debian
 

  • Guest
Re: Linux Swap driving me nuts
« Reply #11 on: December 17, 2004, 02:57:35 AM »
Quote

redrumloa wrote:
Quote

mdma wrote:
Are you using GUI installer or text mode?

Ctrl-Alt-F2 for GUI
Alt-F2 for Textmode

Ctrl-Alt-F1 to get back to first terminal if GUI
Alt-F1 to get back to first terminal if TextMode


GUI. When I try to exit to text mode but the installer just quits. I really would be happy with a bash prompt right now. BTW ALT/F1(2,3,4) and CTRL/ATL/F1(2,3,4) has the same effect as each other. I can toggle between screens and see system messages, but cannot get a prompt.

-EDIT-
Oh sh&& i just got one (F10). brb


I'm waiting on #amiga.org now, if you need "live" help.
 

Offline redrumloaTopic starter

  • Original Omega User
  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 10126
    • Show only replies by redrumloa
Re: Linux Swap driving me nuts
« Reply #12 on: December 17, 2004, 12:24:02 PM »
Well no good. I can get to a bash prompt now, but most commands are not available. Swapon throws back invalid argument errors (swapon /dev/hda2/). I've given up for now. I'm going to be in the shop today, and will bring home some extra laptop memory. I may also buy a USB memory stick since it seems to be loading OHCI mosules fine.

It's all good though, getting more familiar with Linux command line with every adventure.

Quote

mdma wrote:
Baring in mind that the machine only has 32MB RAM, then you could download the debian installer floppies you need from here, and just install a base system.
 


Looks like it's missing PCMIA drivers, so the network driver probably won't work.

Quote
Or if the machine can boot from a USB stick and you have a spare one knocking about, then try http://www.damnsmalllinux.org it's a fully capable linux desktop than runs fine old old heaps of junk


I'll check that out too.
Someone has to state the obvious and that someone is me!
 

  • Guest
Re: Linux Swap driving me nuts
« Reply #13 on: December 19, 2004, 12:35:49 AM »
@Red

How'd you get on with this, did you get the read error sorted from the floppy after you got swapon to function correctly?

Or did you try one of the other distros?
 

Offline redrumloaTopic starter

  • Original Omega User
  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 10126
    • Show only replies by redrumloa
Re: Linux Swap driving me nuts
« Reply #14 on: December 19, 2004, 02:57:51 PM »
Quote

mdma wrote:
@Red

How'd you get on with this, did you get the read error sorted from the floppy after you got swapon to function correctly?

Or did you try one of the other distros?


Well i brought home a different laptop from the shop. This one a 166Mhz w/80MB RAM, and a new 3GB HD. I manually configured 3 partitions(w BootE 1 disk distro) swith a HDAB as a 256MB swap. With this setup everything is kosher, more or less, and even accepts the swap, until setup gets further. Unfolrtunately I hit a bunch of new snags. First the setup gets dog ass slow. I litterally mean SLOW. Can take 3-4 hourse between steps. All HD activity, apparently beating that swap space as ram. I suspect DMA is not working at this point:-( Then I get to the review just before install, and it recomends a bunch of repartitioning but complains about a lack of available space for a minimal install. I tried to select to manually change it, but the speed (or rather lack thereof) put me off. I gave up after ~24 hours.

This laptop a bad candidate for SUSE as is. I'm gonna scrounge the shop and set one up with CD drive and slightly better system resources. I'll keep one or 2 old ones arround and make a search for a good minimalist distro. All i really need is a text console with basic networking services and some internet software such as FTP, IRC, Lynx etc. All text based. Ideas?
Someone has to state the obvious and that someone is me!