LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 09-10-2004, 07:59 PM   #1
GeirG
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?


Hi,

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.

Regards,
Geir
 
Old 09-10-2004, 10:17 PM   #2
irfanhab
Member
 
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
GeirG
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?

Regards,
Geir
 
  


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 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

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:04 PM.

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