Results 1 to 6 of 6

Thread: swap partition

  1. #1
    Moderator theprez98's Avatar
    Join Date
    Jan 2010
    Location
    Maryland
    Posts
    2,533

    Default swap partition

    Could someone with a dedicated swap partition please post the contents of their /etc/fstab file. I'm reorganizing my drive, and I have the new swap partition properly formatted, but the /etc/fstab file still reflects the previous settings. Thanks!
    "\x74\x68\x65\x70\x72\x65\x7a\x39\x38";

  2. #2
    Moderator theprez98's Avatar
    Join Date
    Jan 2010
    Location
    Maryland
    Posts
    2,533

    Default

    FYI, I manually activated it by:
    Code:
    umount /mnt/hda3
    swapon /dev/hda3
    However, I want to make sure this is reflected in the /etc/fstab file.
    "\x74\x68\x65\x70\x72\x65\x7a\x39\x38";

  3. #3
    Member
    Join Date
    Jan 2007
    Posts
    242

    Default

    Could someone with a dedicated swap partition please post the contents of their /etc/fstab file.

    root@box:~# cat /etc/fstab
    /dev/sda3 swap swap defaults 0 0
    /dev/sda2 / ext3 defaults 1 1
    /dev/sda4 /home ext3 defaults 1 2
    /dev/sda1 /xp ntfs ro 1 0
    /dev/sr0 /mnt/cdrom auto user,noauto,ro 0 0
    /dev/sdb1 /mnt/usb auto user,noauto,ro 0 0
    devpts /dev/pts devpts gid=5,mode=620 0 0
    proc /proc proc defaults 0 0

  4. #4
    Moderator theprez98's Avatar
    Join Date
    Jan 2010
    Location
    Maryland
    Posts
    2,533

    Default

    Quote Originally Posted by ghaze View Post
    root@box:~# cat /etc/fstab
    /dev/sda3 swap swap defaults 0 0
    /dev/sda2 / ext3 defaults 1 1
    /dev/sda4 /home ext3 defaults 1 2
    /dev/sda1 /xp ntfs ro 1 0
    /dev/sr0 /mnt/cdrom auto user,noauto,ro 0 0
    /dev/sdb1 /mnt/usb auto user,noauto,ro 0 0
    devpts /dev/pts devpts gid=5,mode=620 0 0
    proc /proc proc defaults 0 0
    Thanks much I appreciate it; got it working now.
    "\x74\x68\x65\x70\x72\x65\x7a\x39\x38";

  5. #5
    Just burned his ISO
    Join Date
    Jul 2007
    Posts
    5

    Default swap

    you remembered to do the 82 thing on fdisk rigth?

    well here is my /etc/fstab >

    bt ~ # cat /etc/fstab
    /dev/hda4 / auto defaults 1 1
    tmpfs / tmpfs defaults 0 0 # AutoUpdate
    devpts /dev/pts devpts gid=5,mode=620 0 0 # AutoUpdate
    proc /proc proc defaults 0 0 # AutoUpdate
    /dev/hdc /mnt/hdc_cdrom iso9660 noauto,users,exec 0 0 # AutoUpdate
    /dev/hda1 /mnt/hda1 ntfs auto,noatime,users,suid,dev,exec,ro 0 0 # AutoUpdate
    /dev/hda2 /mnt/hda2 ext2 auto,noatime,users,suid,dev,exec 0 0 # AutoUpdate
    /dev/hda3 swap swap auto,defaults 0 0 # AutoUpdate
    /dev/hda4 /mnt/hda4 ext3 auto,noatime,users,suid,dev,exec 0 0 # AutoUpdate
    /dev/fd0 /mnt/floppy vfat,msdos noauto,noatime,users,suid,dev,exec 0 0 # AutoUpdate

  6. #6
    Just burned his ISO
    Join Date
    Jul 2007
    Posts
    5

    Default

    sry didnt c u got it working

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •