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
  •  


ORICO Multi Bay RAID Hard Drive Enclosure USB 3.0/ Type-C For 2.5/3.5'' HDD SSDs picture

ORICO Multi Bay RAID Hard Drive Enclosure USB 3.0/ Type-C For 2.5/3.5'' HDD SSDs

$179.99



ACASIS 2.5/3.5 inch 2 Bay SATA USB 3.0 Hard Drive Disk HDD SSD Enclosure 4 RAID picture

ACASIS 2.5/3.5 inch 2 Bay SATA USB 3.0 Hard Drive Disk HDD SSD Enclosure 4 RAID

$55.45



Dell 7H4CN PERC H730P Raid Controller Mini Mono12GBPS 2GB NV Cache picture

Dell 7H4CN PERC H730P Raid Controller Mini Mono12GBPS 2GB NV Cache

$44.99



LSI MegaRAID 9361-8i 12Gbps PCIe 3 x8 SATA SAS 3 8 Port RAID + BBU & CacheVault picture

LSI MegaRAID 9361-8i 12Gbps PCIe 3 x8 SATA SAS 3 8 Port RAID + BBU & CacheVault

$39.00



Inspur LSI 9300-8i Raid Card 12Gbps HBA HDD Controller High Profile IT MODE picture

Inspur LSI 9300-8i Raid Card 12Gbps HBA HDD Controller High Profile IT MODE

$15.98



Inspur LSI YZCA-00424-101 Raid Card 12Gbps HBA Controller Low Profile 9300-8i IT picture

Inspur LSI YZCA-00424-101 Raid Card 12Gbps HBA Controller Low Profile 9300-8i IT

$15.98



DELL PERC H310 RAID Controller with Cables, OHV52W, 6Gb/s SAS SATA PCIe x8 picture

DELL PERC H310 RAID Controller with Cables, OHV52W, 6Gb/s SAS SATA PCIe x8

$19.95



Dell PERC H330 PCIe 3.0 x8 RAID Storage Controller 04Y5H1 High Profile picture

Dell PERC H330 PCIe 3.0 x8 RAID Storage Controller 04Y5H1 High Profile

$13.99



Yottamaster 2 Bay USB 3.1 RAID Hard Drive Enclosure For 2.5

Yottamaster 2 Bay USB 3.1 RAID Hard Drive Enclosure For 2.5" SATA HDD SSD UASP

$59.99



Dell PERC V10 Z0017A SAS-SATA RAID Controller Card No Bracket N4C2D 5R10N picture

Dell PERC V10 Z0017A SAS-SATA RAID Controller Card No Bracket N4C2D 5R10N

$52.97