Results 1 to 6 of 6

Thread: Swap partition won't mount after kernel upgrade

  1. #1
    Join Date
    Sep 2010
    Beans
    34

    Swap partition won't mount after kernel upgrade

    I just installed kernel 2.6.37-rc3-natty in an effort to clear up the audio stuttering problems prevalent in Maverick. It worked, but now my swap partition won't mount on startup and because of this the computer won't hibernate. I'm using a Toshiba NB305-400 netbook w/1GB of ram, 250GB HDD and 1.6 GHz processor.

    Here's what's in my fstab file:

    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc nodev,noexec,nosuid 0 0
    # / was on /dev/sda1 during installation
    UUID=ac2b60b6-f83a-4804-be6b-dd6127819181 / ext4 errors=remount-ro 0 1
    /dev/sda5 none swap sw 0 0
    and the results of blkid:

    /dev/sda1: UUID="ac2b60b6-f83a-4804-be6b-dd6127819181" TYPE="ext4"
    Any ideas?
    Odysseus2k7

  2. #2
    Join Date
    Oct 2010
    Beans
    94

    Re: Swap partition won't mount after kernel upgrade

    This happened to me a while ago. I'm not sure if it's the same problem...

    Under gnome disk utility the swap partition was showing up as an unknown partition. The solution was to simply select the partition in disk utility and format the partition as Swap Space.

  3. #3
    Join Date
    Sep 2010
    Beans
    34

    Re: Swap partition won't mount after kernel upgrade

    Quote Originally Posted by Decatf View Post
    This happened to me a while ago. I'm not sure if it's the same problem...

    Under gnome disk utility the swap partition was showing up as an unknown partition. The solution was to simply select the partition in disk utility and format the partition as Swap Space.
    That worked. Thanks!
    Odysseus2k7

  4. #4
    Join Date
    Sep 2010
    Beans
    34

    Re: Swap partition won't mount after kernel upgrade

    Quote Originally Posted by odysseus2k7 View Post
    That worked. Thanks!
    Spoke too soon. The system keeps losing track of the swap partition and the unit won't hibernate. Not only that, but when I reformat /sda5/ instead of hibernating properly, it basically reboots on resume. In other words, it hibernates but kills all running processes and logs me off. Anyone else seen this?
    Odysseus2k7

  5. #5
    Join Date
    Jul 2008
    Location
    Maryland
    Beans
    1,536
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Swap partition won't mount after kernel upgrade

    Your swap partition also need to be mounted by uuid in /etc/fstab.
    12.10 Quantal w/grub2/Mint13 installed on raid0, Gigabyte AMD MB, AMD 64x4 CPUs at 3.2GHz, 16 GB ram, HD7770 ATI video, dual boot win7 on 64gb ssd and win8 on 1Tb SATA raid. 13.04 installed on raid0 and ssd

  6. #6
    Join Date
    Sep 2010
    Beans
    34

    Re: Swap partition won't mount after kernel upgrade

    Quote Originally Posted by ronparent View Post
    Your swap partition also need to be mounted by uuid in /etc/fstab.
    Tried that, now nothing mounts. Also, I can't edit the fstab file from the console because there's no swap partition mounted to hold virtual memory while I save it. I don't want to do a clean install, but I need to restore functionality. I didn't completely brick it; Kubuntu boots fine from the flash drive. Anyone have a solution?

    odysseus2k7

    Toshiba NB305-410, Ubuntu 10.10 Maverick w/2.6.37-rc3-natty kernel
    Odysseus2k7

Tags for this Thread

Bookmarks

Posting Permissions

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