-
Swap partition on different drive
Hello to everybody,
I just wondered whether it is possible to have the swap partition on a different (physical) drive.
The entry point to this question is, that I have only a 2,2 GByte drive available for the installation of KNOPPIX; although the memory of the PC is 1 GByte, the KNOPPIX 3.4 installation without a swap drive does not perform without errors. Thus I intend to add a 1,6 GByte drive for the /home directory and the swap partition. However it is impossible to configure a swap partition on /dev/hdb, to be recognised during installation.
Any suggestions how to solve the problem?
Thanks a lot for all efforts in advance
PBock
-
Senior Member
registered user
It's not very well documented (Wiki entry, anyone?), but the knoppix-installer script saves its configuration file under the name /root/.knofig (given the right conditions!), and you can tell it where to look for your swap file by editing .knofig in a text editor.
Given that you run knoppix-installer as root from the live Knoppix CD, go through step 1 of the installer (configuration), then quit the installer, and it'll ask you if you want to save your configuration. Answer "yes".
Look in /root for the file .knofig (it's normally hidden since it starts with a dot). Open it in your favorite text editor.
Look for this section:
Code:
# The swap partitions to be used by the installed knoppix.
# This value will be checked by function module_swap_check
SWAP_CHOICES="/dev/hda3"
(As you might guess, /dev/hda3 is where my swap file is.) Change the value to yours (hdb1, hdb2, etc.). It must already be formatted as swap.
Save .knofig and restart the installer and it'll pick up your changes.
You can also tell it where to mount your home directory by editing .knofig -- look for the HD_MAP= entry.
Similar Threads
-
By hany_bee3000 in forum General Support
Replies: 1
Last Post: 06-29-2004, 07:00 AM
-
By ZeroKun in forum Hdd Install / Debian / Apt
Replies: 6
Last Post: 05-07-2004, 06:44 PM
-
By bob58 in forum Hdd Install / Debian / Apt
Replies: 6
Last Post: 03-19-2004, 11:31 PM
-
By metavoid in forum General Support
Replies: 7
Last Post: 02-20-2004, 04:40 PM
-
By Rico da halvarez in forum Hdd Install / Debian / Apt
Replies: 3
Last Post: 01-29-2003, 08:15 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

🔀 Juniper Networks EX2300-C-12P 12× Gigabit PoE+ • 2× 10G SFP+ Compact Switch ⚡
$119.00

Juniper EX2300 12-Port Gigabit PoE+ Managed Network Switch P/N: EX2300-C-12P
$149.99

JUNIPER NETWORKS MIST AI AP63-US HIGH PERFORMANCE OUTDOOR ACCESS POINT - WHITE
$59.99

Juniper QFX5100-48S-3AFI 48-Port SFP+ 6 QSFP+ 2x SFP/RJ-45 Management
$249.97

Juniper SRX320 8-Port Security Services Gateway Appliance w/ AC Adapter
$59.99

Juniper AP47 Mist Wi-Fi 7 802.11 6GHz 4x4 Wireless Access Point (NEW)
$999.99

New Juniper SRX345-SYS-JB-2AC Junos Router Firewall Services Gateway 16GbE SFP
$560.15

Juniper EX3400-48T-AFI Ethernet Network Switch 48x1GbE 4x10GbE SFP+ 2x40GbE QSFP
$139.00

Juniper Networks EX2300-48P 48-Port Gigabit PoE Managed Ethernet Switch
$79.99

Juniper EX3400-48T Ethernet Switch, 12-Port, Gigabit, Rack Mount
$184.99