Page 3 of 3 FirstFirst 123
Results 21 to 28 of 28

Thread: Use Linux Swap Partition at Boot?

  1. #21
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    900
    Quote Originally Posted by A. Jorge Garcia
    OK, I'm not at home to test this. But xset -dpms and killall apmd sound promising! How about apmd stop?
    /etc/init.d/apmd stop

    BTW, do these commands have to have to be issued from a roor shell or will a regular shell do?
    Well yes you'd need to issue those commands as root.

    Also, that's all well and good for me, but is there something "gui," say a kde utility that will work too. My users are not too linux savvy....

    TIA,
    AJG
    kde? gui?? I haven't the foggiest idea what you're talking about.

  2. #22
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY, USA
    Posts
    1,256
    1st try: I tried xset -dpms in a regular shell. The command was recognized with no errors but it didn't help the problem.

    2nd try: I tried killall apmd in a regular shell. The command was not permitted.

    3rd try: I tried sudo killall apmd in a regular shell. The command was recognized with no errors but it didn't help the problem.

    4th try: I tried apmd stop in a regular shell. The command was not permitted.

    5th try: I tried sudo apmd stop in a regular shell. The command was not permitted.

    6th try: I tried /etc/init.d/apmd stop in a root shell. The command was recognized with no errors but it didn't help the problem.

    7th try: I tried xset -dpms in a root shell. The command was recognized with no errors but it didn't help the problem.

    8th try: I tried killall apmd in a root shell. The command was recognized with no errors but it didn't help the problem.

    No joy so far, nothing seems to work!!!

    Regards,
    AJG

  3. #23
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Portland, OR USA
    Posts
    568
    Quote Originally Posted by A. Jorge Garcia
    "What's a virtual partition," I here you ask? Damned good question, I never heard of that either! I get active vs. passive partitions. I get primary vs. logical partitions. I don't get virtual partitions....
    I'm not close to a Knoppix box right now, but in my experience you have to use the "commit" menu command in QTParted to write your changes to your hard disk. Otherwise you get error messages about "virtual partitions." Also, your changes do not automatically take effect until you use the "commit" command.

  4. #24
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    900
    Quote Originally Posted by A. Jorge Garcia

    No joy so far, nothing seems to work!!!

    Regards,
    AJG
    You might check to see if apmd or acpid is even running first:

    ps aux|grep apm
    ps aux|grep acpi

    I should *think* that one of those daemons should be responsible. I suggest apm only because I imagine that your box is too old to use acpi but I'm wrong at least twice a day.

    Since you're effectively 'keyboardless' at boot perhaps it's possible to create a persistent home that passes noapm or noapic or acpi=off on boot? (Sorry not too familiar w/ the persistent home feature). It now dawns on me that perhaps you need a kb to use the persistent home as well......I dunno.

  5. #25
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY, USA
    Posts
    1,256
    Quote Originally Posted by eco2geek
    I'm not close to a Knoppix box right now, but in my experience you have to use the "commit" menu command in QTParted to write your changes to your hard disk. Otherwise you get error messages about "virtual partitions." Also, your changes do not automatically take effect until you use the "commit" command.
    Actually that sounds like the "write the partition table (y/n)" option in cfdisk. I may be wrong, but I've used qtparted a lot and don't recall this "commit" option. Thanx anyway, eco!

    EDIT: Hey, eco, you may be on to something, after all! I just ran qtparted and found this "commit" option. Is this a new version or something? I don't recall ever needing to do this.... I'm going to have to dig that PC out of the garage again and try this out! Thanx again, eco!!

    Regards,
    AJG

  6. #26
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY, USA
    Posts
    1,256
    Quote Originally Posted by mzilikazi
    It now dawns on me that perhaps you need a kb to use the persistent home as well......I dunno.
    I think you're right. There's some cheatcode like myscan or somesuch....

    I've never used persistent home as the default KNOPPIX config is usually fine for my users. If they need something special, they can use an hd install or ssh over to one.

    Thanx for all your help though! I like all this brainstorming, that's what usually gets the job done! Thanx, mzilikazi!

    Regards,
    AJG

  7. #27
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY, USA
    Posts
    1,256
    Quote Originally Posted by mzilikazi
    ps aux|grep apm
    ps aux|grep acpi
    I tried these commands in the root shell. The first returned something like

    Code:
    /usr/sbin/apmd -P ...
    the second returned nothing. So its apm that I'm running after all.

    Regards,
    AJG

  8. #28
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY, USA
    Posts
    1,256
    eco,

    I dragged that thing out of the garage (my friend dumped it here) and tried everything all over again with the "commit" option. Unfortunately, commit returns an error about the free space reported being wrong. Forget it, there must be something really wrong with this hdd! Maybe I could find one with which to swap it out....

    Good try, though!

    Thanx anyway,
    AKG

Page 3 of 3 FirstFirst 123

Similar Threads

  1. Using Linux Swap Partition and Saving /home Data
    By Kenji Miyamoto in forum General Support
    Replies: 2
    Last Post: 08-20-2005, 11:47 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. Replies: 2
    Last Post: 10-20-2003, 08:54 AM
  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
  •  


N85XX DELL 3.84TB SAS 12GB/S ENTERPRISE SOLID STATE DRIVE (W/ 14TH GEN CADDY) picture

N85XX DELL 3.84TB SAS 12GB/S ENTERPRISE SOLID STATE DRIVE (W/ 14TH GEN CADDY)

$389.95



Western Digital 1TB WD Blue SA510 SATA SSD Internal 2.5”/7mm Cased - WDS100T3B0A picture

Western Digital 1TB WD Blue SA510 SATA SSD Internal 2.5”/7mm Cased - WDS100T3B0A

$89.99



Western Digital 250GB WD Blue SA510 SATA SSD, Internal M.2 2280 - WDS250G3B0B picture

Western Digital 250GB WD Blue SA510 SATA SSD, Internal M.2 2280 - WDS250G3B0B

$39.99



WD 500GB My Passport SSD, Portable External Solid State Drive WDBAGF5000ARD-WESN picture

WD 500GB My Passport SSD, Portable External Solid State Drive WDBAGF5000ARD-WESN

$59.99



Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5

Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot

$14.99



Micron 5100 MAX 120GB SATA 6Gb/s 2.5

Micron 5100 MAX 120GB SATA 6Gb/s 2.5" Internal SSD MTFDDAK120TCC Solid State

$9.89



Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot picture

Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot

$13.99



Fanxiang SSD 512GB 1TB 2TB 4TB 2.5'' SSD SATA III Internal Solid State Drive lot picture

Fanxiang SSD 512GB 1TB 2TB 4TB 2.5'' SSD SATA III Internal Solid State Drive lot

$13.99



M.2 NVMe SSD 128GB 256GB 512GB Single Notch with Windows Installed 10 / 11 picture

M.2 NVMe SSD 128GB 256GB 512GB Single Notch with Windows Installed 10 / 11

$85.25



Fanxiang M.2 SATA SSD 2TB 1TB 512GB 256GB SSD Internal M2 Solid State Drive Lot picture

Fanxiang M.2 SATA SSD 2TB 1TB 512GB 256GB SSD Internal M2 Solid State Drive Lot

$109.99