On Thu, 12 Aug 2004 at 19:49 -0600, Michael Torrie scribbled:
>You initialize swap with the mkswap command.  Once swap is initialized,
>as long as it's in the /etc/fstab, it will mount automatically when the
>init scripts issue the swapon command.
>
>Michael
>
>-- 
>Michael Torrie <[EMAIL PROTECTED]>
Ok, so after much wading around, I feel really stupid. I tried mkswap but I kept
getting errors about /dev/hda5 not being valid. I finally open my eyes and run
fdisk -l /dev/hda
                  Disk /dev/hda: 40.0 GB, 40020664320 bytes
                  255 heads, 63 sectors/track, 4865 cylinders
                  Units = cylinders of 16065 * 512 = 8225280 bytes

                     Device Boot      Start         End      Blocks   Id  System
                     /dev/hda1   *           1        1958    15727603+   7
                     HPFS/NTFS
                     /dev/hda2            1959        3560    12868065   1c
                     Hidden W95 FAT32 (LBA)
                     /dev/hda3            3561        4604     8385930   83
                     Linux
                     /dev/hda4            4605        4865     2096482+   f  W95
                     Ext'd (LBA)
DOH! Where the heck is /dev/hda5?? Somehow it got nuked. Anyhow, gotta go create
the partition and then I'll run mkswap again. :-)
-- 
Glen Wagley <[EMAIL PROTECTED]>
-----------------------------------------------------------------------
"Simple things should be simple and complex things should be possible."
  -Alan Kay
-----------------------------------------------------------------------

____________________
BYU Unix Users Group 
http://uug.byu.edu/ 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to