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
  •  


AMD EPYC 7282 CPU Processor 16 Cores 32 Threads 2.8GHZ up to 3.2GHZ 120W no lock picture

AMD EPYC 7282 CPU Processor 16 Cores 32 Threads 2.8GHZ up to 3.2GHZ 120W no lock

$75.00



Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1 picture

Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1

$39.99



Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc... picture

Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc...

$619.99



Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc... picture

Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc...

$419.99



Intel Quad Core i3-12100 3.3GHz 12MB LGA1700 12th Gen. CPU Processor SRL62 picture

Intel Quad Core i3-12100 3.3GHz 12MB LGA1700 12th Gen. CPU Processor SRL62

$45.96



AMD Ryzen 5 4500 6-Core 3.6GHz Socket AM4 65W CPU Desktop Processor picture

AMD Ryzen 5 4500 6-Core 3.6GHz Socket AM4 65W CPU Desktop Processor

$79.00



AMD Ryzen 9 5900X Desktop Processor (4.8GHz, 12 Cores, Socket AM4) picture

AMD Ryzen 9 5900X Desktop Processor (4.8GHz, 12 Cores, Socket AM4)

$200.00



Intel Core i5-4590 Quad-Core 3.30GHz LGA1150 Desktop Processor CPU SR1QJ picture

Intel Core i5-4590 Quad-Core 3.30GHz LGA1150 Desktop Processor CPU SR1QJ

$12.95



AMD Ryzen 7 5800X 8-core, 16-Thread Unlocked Desktop Processor picture

AMD Ryzen 7 5800X 8-core, 16-Thread Unlocked Desktop Processor

$169.48



Intel Core i7-3770 3.40GHz 8MB Quad Core Socket LGA1155 CPU Processor SR0PK picture

Intel Core i7-3770 3.40GHz 8MB Quad Core Socket LGA1155 CPU Processor SR0PK

$35.00