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
  •  


A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$13.99



Samsung 16GB 2Rx4 PC4-2133P DDR4-17000 1.2V RDIMM ECC Registered Server Memory picture

Samsung 16GB 2Rx4 PC4-2133P DDR4-17000 1.2V RDIMM ECC Registered Server Memory

$16.29



Samsung 16GB (2x8GB) DDR4 2400MHz PC4-19200 Desktop RAM Memory M378A1K43CB2-CRC picture

Samsung 16GB (2x8GB) DDR4 2400MHz PC4-19200 Desktop RAM Memory M378A1K43CB2-CRC

$19.95



HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin picture

HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin

$12.90



A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G picture

A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G

$13.99



Corsair Vengeance LPX 32GB PC4-25600 (DDR4-3200) Memory NEVER USED LOOSE STICKS picture

Corsair Vengeance LPX 32GB PC4-25600 (DDR4-3200) Memory NEVER USED LOOSE STICKS

$40.00



Kingston HyperX FURY DDR3 8GB 16GB 32G 1600 1866 1333 Desktop Memory RAM DIMM picture

Kingston HyperX FURY DDR3 8GB 16GB 32G 1600 1866 1333 Desktop Memory RAM DIMM

$13.25



TeamGroup 16GB PC4 2666 PC4 21300 DDR4 2666MHz 1.2V CL19 Desktop RAM Memory picture

TeamGroup 16GB PC4 2666 PC4 21300 DDR4 2666MHz 1.2V CL19 Desktop RAM Memory

$27.95



A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM picture

A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM

$287.96



A-Tech 64GB 4x 16GB 2Rx4 PC4-17000R DDR4 2133MHz ECC REG RDIMM Server Memory RAM picture

A-Tech 64GB 4x 16GB 2Rx4 PC4-17000R DDR4 2133MHz ECC REG RDIMM Server Memory RAM

$87.96