Results 1 to 3 of 3

Thread: swap file is gone after reboot

  1. #1
    Member registered user
    Join Date
    Mar 2004
    Posts
    46

    swap file is gone after reboot

    My old PC has on 48 Mb RAM.
    I have done a HD install.

    Before KDE starts, it tells me that there is not
    enough memory and a swap file can be
    created on a DOS partition.

    I let it create a 300 Mb swap file in a 600 MB DOS partition.
    This works fine. I use the PC for a few hours and then I shut down the PC.

    Come back a few hours later and again - Before KDE starts,
    it tells me that there is not enough memory and a swap
    file can be created on a DOS partition. What happened
    to the 300 Mb swap file we just created?

    How can I make a swap file permament?

    Do I need to use the DOS partition?

    Can I create a swap file in the current ext3 partition?

  2. #2
    Senior Member registered user
    Join Date
    Mar 2004
    Location
    Berlin
    Posts
    436
    You may create a special swap-partition.
    In fdisk, you specify the partition-type 82 (Linux-swap) and call mkswap (man mkswap for correct parameters).

  3. #3
    Member registered user
    Join Date
    Mar 2004
    Posts
    46
    Thanks. That worked.

Similar Threads

  1. swap on a regular file
    By ddrex in forum Hardware & Booting
    Replies: 1
    Last Post: 04-07-2005, 04:35 PM
  2. swap file question
    By herbyweed in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 02-07-2005, 06:31 PM
  3. Problems creating swap file
    By MatthiasR in forum General Support
    Replies: 7
    Last Post: 01-09-2005, 09:33 PM
  4. no swap file/partition on hda...I need one but dont know how
    By helios17 in forum Hdd Install / Debian / Apt
    Replies: 7
    Last Post: 12-11-2004, 04:12 AM
  5. Hdd Install of swap file
    By fjon13 in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 04-29-2003, 06:13 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


(New) AMD Ryzen 7 5700X 8 Core 16 Thread AM4 Unlocked 3.4 GHz CPU OEM Tray picture

(New) AMD Ryzen 7 5700X 8 Core 16 Thread AM4 Unlocked 3.4 GHz CPU OEM Tray

$174.99



Intel Core i7-6900K SR2PB 8-Core 3.20GHz CPU LGA 2011 (Socket R) picture

Intel Core i7-6900K SR2PB 8-Core 3.20GHz CPU LGA 2011 (Socket R)

$60.00



AMD Ryzen 7 PRO 8700GE 8-Core/16-Thread Up to 5.1GHz AM5 (FL1) picture

AMD Ryzen 7 PRO 8700GE 8-Core/16-Thread Up to 5.1GHz AM5 (FL1)

$189.00



SGIN 17.3

SGIN 17.3" Laptop Intel Quad-Core Up to 2.4 GHZ 8GB RAM 256GB SSD HD

$229.99



Intel Xeon E5 - 2667V2  / SR19W   3.30GHz 25MB  8-Core CPU Socket LGA2011 picture

Intel Xeon E5 - 2667V2 / SR19W 3.30GHz 25MB 8-Core CPU Socket LGA2011

$30.00



Apple Macbook Pro 13

Apple Macbook Pro 13" M1 8-Core 16GB 512GB - Good

$464.99



AMD Ryzen 7 7800X3D 4.20GHz Quad Core 100-000000510 8 Thread AM4 picture

AMD Ryzen 7 7800X3D 4.20GHz Quad Core 100-000000510 8 Thread AM4

$279.99



AMD Ryzen 7 9700X 8-Core 16-Thread 40MB Cache Socket AM5 9000 Series Processor picture

AMD Ryzen 7 9700X 8-Core 16-Thread 40MB Cache Socket AM5 9000 Series Processor

$245.99



Dell OptiPlex 5070 SFF i7-9700 (8-Core) 3.0GHz 16GB 256 SSD Windows 11 picture

Dell OptiPlex 5070 SFF i7-9700 (8-Core) 3.0GHz 16GB 256 SSD Windows 11

$250.00



Dell OptiPlex 7060 Intel Core i7-8700 3.2GHz 8GB RAM 256GB Windows 11 Pro FAST picture

Dell OptiPlex 7060 Intel Core i7-8700 3.2GHz 8GB RAM 256GB Windows 11 Pro FAST

$159.99