LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   Specify existing swap partition at boot when reinstall? (http://www.linuxquestions.org/questions/linux-general-1/specify-existing-swap-partition-at-boot-when-reinstall-229123/)

GeirG 09-10-2004 07:59 PM

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

irfanhab 09-10-2004 10:17 PM

before starting the setup go
swapon /dev/hda2

GeirG 09-11-2004 07:42 AM

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


All times are GMT -5. The time now is 08:26 PM.