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
  •  


IBM 8203 E4A p520 Server 8203-E4A 4.2GHz 2-Core POWER6 32GB RAM / NO HDD USED picture

IBM 8203 E4A p520 Server 8203-E4A 4.2GHz 2-Core POWER6 32GB RAM / NO HDD USED

$99.99



ibm server z series picture

ibm server z series

$16000.00



IBM Power S822 12-Bay Server System Power8 Core 3.42Ghz DVD-Rom Drive 64GB No HD picture

IBM Power S822 12-Bay Server System Power8 Core 3.42Ghz DVD-Rom Drive 64GB No HD

$399.99



IBM System x3500 m3 Server picture

IBM System x3500 m3 Server

$100.00



Lenovo IBM x3500 M5 Tower Server E5-2670 V3 2.30GHz picture

Lenovo IBM x3500 M5 Tower Server E5-2670 V3 2.30GHz

$999.99



IBM 7944AC1 System x3550 M3 Server 1*Intel Xeon X5650 2.67GHz 4GB SEE NOTES picture

IBM 7944AC1 System x3550 M3 Server 1*Intel Xeon X5650 2.67GHz 4GB SEE NOTES

$27.25



IBM Power 740 8205-E6C Express 8-SFF Power7 3.55GHz CPU 64GB RAM *No HDD* Server picture

IBM Power 740 8205-E6C Express 8-SFF Power7 3.55GHz CPU 64GB RAM *No HDD* Server

$191.99



IBM Power 720 POWER7 00E6516 3.6GHz CPU 64GB RAM Server  picture

IBM Power 720 POWER7 00E6516 3.6GHz CPU 64GB RAM Server

$209.98



1U IBM x3550 M5 4 Bay SFF SAS3 Server 2x E5-2683 V3 28 Core 128GB DDR4 2x Tray picture

1U IBM x3550 M5 4 Bay SFF SAS3 Server 2x E5-2683 V3 28 Core 128GB DDR4 2x Tray

$318.00



IBM X3650 M5 8871-AC1, 2 X E5-2620V4 2.1 GHZ,20M, 32 GB, DUAL 750W, 2 X 1TB HDD picture

IBM X3650 M5 8871-AC1, 2 X E5-2620V4 2.1 GHZ,20M, 32 GB, DUAL 750W, 2 X 1TB HDD

$369.99