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
  •  


Dell Poweredge R720 8SFF 2.5

Dell Poweredge R720 8SFF 2.5" x Xeon E5-2680 v2 2.8GHz 20-Cores 128gb 4x Trays

$349.99



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



Microsoft Windows Server 2022 Standard 64-bit License & DVD 16 Core US Shipping picture

Microsoft Windows Server 2022 Standard 64-bit License & DVD 16 Core US Shipping

$34.99



Dell PowerEdge FC430 Blade Server 2x Xeon E5-2630v4 20 Cores FX2 FX2s No RAM/HDD picture

Dell PowerEdge FC430 Blade Server 2x Xeon E5-2630v4 20 Cores FX2 FX2s No RAM/HDD

$119.99



Dell PowerEdge R620 2x Xeon E5-2630 v2 3.1GHz 2.5

Dell PowerEdge R620 2x Xeon E5-2630 v2 3.1GHz 2.5" 4-BAY 32GB RAM No OS 2x 495w

$168.95



Dell Poweredge R720 8SFF 2.5

Dell Poweredge R720 8SFF 2.5" 2x Xeon E5-2680 v2 2.8GHz 20-Cores 64gb 4x Trays

$259.99



Micron MTC40F2046S1RC48BA1 DDR5 64GB (1x64GB) 4800MHz RDIMM ECC Server Memory picture

Micron MTC40F2046S1RC48BA1 DDR5 64GB (1x64GB) 4800MHz RDIMM ECC Server Memory

$2599.99



SuperMicro 4U CSE 847 36 Bay LFF Barebone 2x 1280W w/ 2x Bays 2.5 Rear w/Trays picture

SuperMicro 4U CSE 847 36 Bay LFF Barebone 2x 1280W w/ 2x Bays 2.5 Rear w/Trays

$499.99



WINDOWS SERVER 2025 [REMOTE DESKTOP SERVICES] 50 USER  RDS CAL SEALED picture

WINDOWS SERVER 2025 [REMOTE DESKTOP SERVICES] 50 USER RDS CAL SEALED

$119.18



Broadcom 9600-24i Tri-Mode RAID Controller 4.0 NVMe SAS SATA NEW 05-50111-01003 picture

Broadcom 9600-24i Tri-Mode RAID Controller 4.0 NVMe SAS SATA NEW 05-50111-01003

$639.69