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
  •  


1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE picture

1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE

$297.00



SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount picture

SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount

$202.49



HP ProLiant Xeon E3-1220L V2 MicroServer Gen8 2.30 GHz 16 GB RAM NO DRIVES picture

HP ProLiant Xeon E3-1220L V2 MicroServer Gen8 2.30 GHz 16 GB RAM NO DRIVES

$199.99



HPE ProLiant MicroServer Gen8 Intel Xeon E3-1265L 16GB ECC PCIe x16 4x1TB HDD picture

HPE ProLiant MicroServer Gen8 Intel Xeon E3-1265L 16GB ECC PCIe x16 4x1TB HDD

$249.99



HPE ProLiant MicroServer Gen10 Plus v2 Ultra Micro Tower Server - 1 x Intel Xeon picture

HPE ProLiant MicroServer Gen10 Plus v2 Ultra Micro Tower Server - 1 x Intel Xeon

$846.19



Supermicro 505-2 Mini-1U Server 5018A-FTN4 16GB 2.4ghz Atom + Rack Ears picture

Supermicro 505-2 Mini-1U Server 5018A-FTN4 16GB 2.4ghz Atom + Rack Ears

$199.00



Microsel Server Tower Supermicro X10SAE E3-1275 V3 @3.5GHz 16GB 509849-001 picture

Microsel Server Tower Supermicro X10SAE E3-1275 V3 @3.5GHz 16GB 509849-001

$149.99



Supermicro 5018A-FTN4 Rack Server - Black picture

Supermicro 5018A-FTN4 Rack Server - Black

$125.00



1U Supermicro Server X10DRU-i+ 2x Xeon Total 36 Cores 64GB 4x 10GBE-T 2PS picture

1U Supermicro Server X10DRU-i+ 2x Xeon Total 36 Cores 64GB 4x 10GBE-T 2PS

$299.00



SUPERMICRO CSE-512 AMD Opteron Processor 6128, 32GB DDR3 RAM NO HDD picture

SUPERMICRO CSE-512 AMD Opteron Processor 6128, 32GB DDR3 RAM NO HDD

$90.00