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
  •  


MegaRAID 9580-8i8e 16-port 12G SAS/SATA/NVMe 8GB PCIe RAID - 05-50076-00 picture

MegaRAID 9580-8i8e 16-port 12G SAS/SATA/NVMe 8GB PCIe RAID - 05-50076-00

$1619.19



G-Technology G-SPEED Studio XL 48TB Thunderbolt 2 Storage - Housing Only picture

G-Technology G-SPEED Studio XL 48TB Thunderbolt 2 Storage - Housing Only

$200.00



Broadcom MegaRAID 9480-8e Fujitsu PRAID EP540e SAS RAID Card (Replac 9380-8e) 8i picture

Broadcom MegaRAID 9480-8e Fujitsu PRAID EP540e SAS RAID Card (Replac 9380-8e) 8i

$228.00



Intel VROC Premium RAID Controller Card PCIe Add-On Module VROCPREMMOD picture

Intel VROC Premium RAID Controller Card PCIe Add-On Module VROCPREMMOD

$265.00



OWC Mercury Elite Pro 2 Bay RAID Enclosure with USB 3.2  for Dual 3.5 inch HDDs picture

OWC Mercury Elite Pro 2 Bay RAID Enclosure with USB 3.2 for Dual 3.5 inch HDDs

$87.99



Broadcom LSI 9305-16i 12Gbps SAS-3 PCIe x8 HBA 16-Ports Raid Controller picture

Broadcom LSI 9305-16i 12Gbps SAS-3 PCIe x8 HBA 16-Ports Raid Controller

$64.99



Dell PowerEdge HBA330 LP PCI-E 12GBs RAID SAS Controller Adapter J7TNV picture

Dell PowerEdge HBA330 LP PCI-E 12GBs RAID SAS Controller Adapter J7TNV

$18.95



NVME M.2 Adapter Card PCIE X16 Splitter Expansion Controller 4-Disk Soft RAID picture

NVME M.2 Adapter Card PCIE X16 Splitter Expansion Controller 4-Disk Soft RAID

$24.43



Areca ARC-1882IX-24 (16i4e)24-Port RAID Controller Card w/BBU /HDD Monitor Board picture

Areca ARC-1882IX-24 (16i4e)24-Port RAID Controller Card w/BBU /HDD Monitor Board

$300.00



Broadcom 9600-24i RAID Controller PCIe Gen 4.1 Tri-Mode NEW 05-50111-01004 picture

Broadcom 9600-24i RAID Controller PCIe Gen 4.1 Tri-Mode NEW 05-50111-01004

$649.99