Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 09-10-2004, 07:59 PM   #1
LQ Newbie
Registered: Jan 2004
Location: Oslo, Norway
Distribution: Debian/GNU Linux, Fedora
Posts: 7

Rep: Reputation: 0
Specify existing swap partition at boot when reinstall?


I have an old IBM Thinkpad 760ED with only 32 MB RAM.
I'm trying to install Debian/GNU Linux from one of the Sarge Netinstall versions (beta3 or something) with the 2.6 kernel.

After the initial loading of boot image etc. the installer is about to start, and I get a low memory warning telling me to set up swap space as soon as possible.
Hitting enter, for continue, just brings me back to the low memory warning, and this gets a bit boring after getting the warning a couple of times.

As it happens, I have an old installation on this machine, and I know that the old swap partition is on /dev/hda2.

Now, is there any way to pass this information to the kerner or install process (like the acpi=off parameter at boot) ?

It seems it is not possible directly as a boot parameter, but mybe some other workaround?
Every suggestion appreciated.

Old 09-10-2004, 10:17 PM   #2
Registered: Jan 2004
Location: Pakistan
Distribution: OpenSuse 10.2, Slackware 11, Solaris 10
Posts: 415

Rep: Reputation: 34
before starting the setup go
swapon /dev/hda2
Old 09-11-2004, 07:42 AM   #3
LQ Newbie
Registered: Jan 2004
Location: Oslo, Norway
Distribution: Debian/GNU Linux, Fedora
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks for the tip, but as the system is not set up according to the old config, there seems to be no /dev/hda2 available.

swapon: cannot stat /dev/hda2: No such file or directory

The first chance to enter the swapon command seems to be when the installer starts and I get the low-mem warning. I hit Ctrl+Alt+F2 to get thenext consol, from where I try to enable the swap.

I suppose this is more or less what you suggested?



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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Knoppix 4, existing partition, dual boot beside XP pro? sina94 Linux - Newbie 1 09-28-2005 04:36 PM
changing the size of an existing swap partition toolmania1 Linux - Newbie 5 06-16-2005 07:20 PM
Can a swap or boot partition be too big? gadams33 Linux - Newbie 4 08-22-2004 05:48 PM
Setting active partition back to /boot after XP reinstall fordsm Linux - General 3 04-28-2004 10:45 AM
Swap Partition (Sharing -- Dual boot) podollb Linux - Software 2 10-27-2003 12:36 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:58 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration