Results 1 to 7 of 7

Thread: Help with swap partition

  1. #1
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    237

    Help with swap partition

    Hello....I am wondering about my swap partition. It doesn't seem like its being used. My HD is a 40G. I partitioned it first with a 1G partition, type 'swap'. Then made a 2nd partition, the remainder of space left, type 'linux' set bootable....saved & exited CFDISK....then went about with rest of installation. Everything is mostly running perfect. I ran QPARTED just to take a look at the partitions. I noticed my 1G partition for swap was still NTFS! The drive was formerly a WINXP drive. When I started out i deleted the NTFS partition so I think! But anyway, I used the utility in qparted to turn it into a ext3 or linus stsyem and the little penguin showed up to the left of partition data just like below on the line for my other partiton that i set for linus thats bootable. I ranINFO CENTER and noticed under swap space it said "not available". It shows both partitions as ext3...../dev/hdb1 is: swap size is 949.12MB status is ? theres nothing in the space for 'status' ... used space is 63.50 start is 0.03 MB and end is 949.15MB ..../dev/hdb2 is: ext3....status is active.....size is 36.34GB used space is 3.96GB...start is 949.15MB end is 37.27GB......this seems to not be right somehow......should the 'status' of the swap partition be ACTIVE? I would guess so....how do i fix this so Linux uses the correct swap partition???? Thanks...bob

  2. #2
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    It's a while since I've made a swap partition, but a quick search here gives this:
    mkswap /dev/hd?? (to make the filesys once you have the partition).
    Substitute ?? for your actual device for swap.
    swapon -a (to turn it on).

  3. #3
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    237

    re-installed

    Hi Marcus! I tried that then all hell broke loose!!!! Hhahahaha! I re-Installed Knoppix this time using "knx-hdinstall" and the whole thing turned out much much better than using the other "knoppix-installer" program. Now everything is cool, except i cant seem to get my clock to show the right hour....its 6 hours slow! I tried to adjust the time zone and i set it for America/New York but it wont take on the lower right clock next to the date. I wonder why? bob

  4. #4
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    Hmm, Sorry!
    Best I don't try to give advice on the time thing.

  5. #5
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    Markus, you just forgot to mention that there should be an empty partition that will get turned into swap. or a "swapfile" a'la DOS, not a great solution but... it is slow and prone to other trouble, not to mention somewhat hard to get working.

  6. #6
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    Merde!

    And thanks for setting me straight.

  7. #7
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Check in the file /etc/default/rcS and see if the UTC setting is set to yes if so change it to no, either that or change the time in the BIOS to be set to the proper GMT(UTC) time.

    Code:
    HappyTux:/home/stephen# grep -r UTC /etc/*
    /etc/default/rcS:# Set UTC=yes if your system clock is set to UTC (GMT), and UTC=no if not.
    /etc/default/rcS:UTC=yes
    [snip ...]

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. Must have swap partition?
    By metavoid in forum General Support
    Replies: 7
    Last Post: 02-20-2004, 04:40 PM
  4. 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
  5. Linux swap partition
    By Sucker in forum General Support
    Replies: 3
    Last Post: 01-29-2003, 11:32 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
  •  


Intel Core i7-4790K SR219 4.00GHZ 4Th Gen Used Desktop Processor CPU FCLGA1150 picture

Intel Core i7-4790K SR219 4.00GHZ 4Th Gen Used Desktop Processor CPU FCLGA1150

$64.99



Intel Core i7-8700 3.20 GHz CPU Processor SR3QS picture

Intel Core i7-8700 3.20 GHz CPU Processor SR3QS

$92.00



Intel - Core i9-14900K 14th Gen 24-Core 32-Thread - 4.4GHz (6.0GHz Turbo) Soc... picture

Intel - Core i9-14900K 14th Gen 24-Core 32-Thread - 4.4GHz (6.0GHz Turbo) Soc...

$619.99



AMD Ryzen 9 7900X3D Gaming Processor - 12 Core And 24 Threads picture

AMD Ryzen 9 7900X3D Gaming Processor - 12 Core And 24 Threads

$449.00



Intel - Core i5-14600K 14th Gen 14-Core 20-Thread - 4.0GHz (5.3GHz Turbo) Soc... picture

Intel - Core i5-14600K 14th Gen 14-Core 20-Thread - 4.0GHz (5.3GHz Turbo) Soc...

$339.99



Intel - Core i7-14700K 14th Gen 20-Core 28-Thread - 4.3GHz (5.6GHz Turbo) Soc... picture

Intel - Core i7-14700K 14th Gen 20-Core 28-Thread - 4.3GHz (5.6GHz Turbo) Soc...

$444.99



Intel Core i7 CPU Processors, I7 2600, i7 3770, i7 4770,  i7 4790 picture

Intel Core i7 CPU Processors, I7 2600, i7 3770, i7 4770, i7 4790

$28.99



AMD Ryzen 7 5800X3D Processor (3.4GHz, 8 Cores, AM4) - 100-100000651WOF picture

AMD Ryzen 7 5800X3D Processor (3.4GHz, 8 Cores, AM4) - 100-100000651WOF

$273.00



Intel Core i7-13700KF - 13th Gen Raptor Lake 16-Core (8P+8E) Desktop CPU Proc... picture

Intel Core i7-13700KF - 13th Gen Raptor Lake 16-Core (8P+8E) Desktop CPU Proc...

$269.99



13th Gen Intel 14-Core i5-13500T Turbo Boost up to 4.6 GHz Processor  8K Support picture

13th Gen Intel 14-Core i5-13500T Turbo Boost up to 4.6 GHz Processor 8K Support

$169.00