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
  •  


Samsung Galaxy Tab A8 10.5

Samsung Galaxy Tab A8 10.5" SM-X200 128GB Wifi Only Tablet Open Box

$149.99



Case for Samsung Galaxy Tab A9+ 5G/A9 Plus 11

Case for Samsung Galaxy Tab A9+ 5G/A9 Plus 11"/A9 8.7"Shockproof Stand Full Body

$17.99



EXCELLENT SAMSUNG GALAXY TAB 4 10.1in SM-T537V 16GB WIFI VERIZON ANDROID TABLET picture

EXCELLENT SAMSUNG GALAXY TAB 4 10.1in SM-T537V 16GB WIFI VERIZON ANDROID TABLET

$44.99



Samsung PM9B1 512GB PCle 4.0 NVMe SSD, MZVL45120 picture

Samsung PM9B1 512GB PCle 4.0 NVMe SSD, MZVL45120

$29.99



Samsung Galaxy Tab A9 (X110) 64GB 4GB RAM International Version (New) picture

Samsung Galaxy Tab A9 (X110) 64GB 4GB RAM International Version (New)

$129.99



Genuine Samsung Book Cover Keyboard for 14.6

Genuine Samsung Book Cover Keyboard for 14.6" Galaxy Tab S8 Ultra | S8 Ultra 5G

$89.99



Samsung USB 3.1 Flash Drive Bar Plus 256gb TITAN Gray picture

Samsung USB 3.1 Flash Drive Bar Plus 256gb TITAN Gray

$24.10



Samsung Galaxy Tab E 8

Samsung Galaxy Tab E 8" 16GB Black SM-T377V (Verizon) Android Tablet IG1000

$30.35



Samsung 22 In LED-backlit LCD monitor, S22E450D picture

Samsung 22 In LED-backlit LCD monitor, S22E450D

$45.00



Samsung Galaxy Tab A9+ 11.0

Samsung Galaxy Tab A9+ 11.0" 64GB Gray Wi-Fi Android Tablet

$160.00