Results 1 to 2 of 2

Thread: Swap partition on different drive

  1. #1
    Junior Member
    Join Date
    Jun 2004
    Posts
    4

    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

  2. #2
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Portland, OR USA
    Posts
    568
    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

  1. can't activate swap partition in 3.4
    By hany_bee3000 in forum General Support
    Replies: 1
    Last Post: 06-29-2004, 07:00 AM
  2. swap partition
    By ZeroKun in forum Hdd Install / Debian / Apt
    Replies: 6
    Last Post: 05-07-2004, 06:44 PM
  3. Help with swap partition
    By bob58 in forum Hdd Install / Debian / Apt
    Replies: 6
    Last Post: 03-19-2004, 11:31 PM
  4. Must have swap partition?
    By metavoid in forum General Support
    Replies: 7
    Last Post: 02-20-2004, 04:40 PM
  5. position of the swap partition
    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
  •  


1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE picture

1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE

$273.00



1U Supermicro Server X10DRU-i+ 2x Xeon Total 36 Cores 64GB 4x 10GBE-T 2PS picture

1U Supermicro Server X10DRU-i+ 2x Xeon Total 36 Cores 64GB 4x 10GBE-T 2PS

$314.00



1U 20

1U 20" Short Depth Server Firewall PFSense X11SSH-F Xeon 3.5Ghz 32GB RAM NVME

$247.00



SUPERMICRO CSE-512 AMD Opteron Processor 6128, 32GB DDR3 RAM NO HDD picture

SUPERMICRO CSE-512 AMD Opteron Processor 6128, 32GB DDR3 RAM NO HDD

$90.00



HP ProLiant Xeon E3-1220L V2 MicroServer Gen8 2.30 GHz 16 GB RAM NO DRIVES picture

HP ProLiant Xeon E3-1220L V2 MicroServer Gen8 2.30 GHz 16 GB RAM NO DRIVES

$199.00



Genuine HP ProLiant MicroServer Gen8 Intel Pentium G2020T 2.5GHz 712318-001 picture

Genuine HP ProLiant MicroServer Gen8 Intel Pentium G2020T 2.5GHz 712318-001

$199.95



HP ProLiant Xeon E3-1220L V2 MicroServer Gen8 2.30 GHz 16 GB RAM NO DRIVESorCads picture

HP ProLiant Xeon E3-1220L V2 MicroServer Gen8 2.30 GHz 16 GB RAM NO DRIVESorCads

$200.00



Open Eye OE-MTX08 8TB Micro Server With Linux (Boots To Login) No Accessories  picture

Open Eye OE-MTX08 8TB Micro Server With Linux (Boots To Login) No Accessories

$294.95



1U Supermicro Server X10DRU-i+ 2x Xeon E5-2690 V4 28 Cores 64GB 4x 10GBE-T 2PS picture

1U Supermicro Server X10DRU-i+ 2x Xeon E5-2690 V4 28 Cores 64GB 4x 10GBE-T 2PS

$349.00



1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports picture

1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports

$149.00