[Bug 839118] Re: swap not mounted with mountall unless listed last in /etc/fstab

Steve Langasek steve.langasek at canonical.com
Tue Oct 11 03:19:47 UTC 2011


*** This bug is a duplicate of bug 730023 ***
    https://bugs.launchpad.net/bugs/730023

ok.  I don't see anything obvious in the difference between these two
files that accounts for the problem.  FWIW, I have swap listed right
after the rootfs in my fstab and it's enabled without problems.

Are you sure it has to be the *very* last entry to work?  Have you tried
moving it up line-by-line, to see if there's a point at which it stops
working?

# Do not allow regular users to mount Windows partitions. --Brian
UUID=1C86E55286E52D48   none    ntfs    noauto,nouser,ro        0       0
UUID=DA0AE5E20AE5BC1F   /mnt/SYSTEM_RESERVED    ntfs    noauto,nouser,ro        0       0
UUID=C25CE7335CE72141   /etc/Gateway    ntfs    noauto,nouser,ro        0       0
# Windows Music partition.
UUID=534A80BF40E99C01   /mnt/Music      ntfs    noauto,nouser   0       0

These entries are very interesting; none of these are valid UUIDs, but
apparently this *is* what udev returns as the UUID format for NTFS
partitions.  Does the behavior change if you comment these entries out?

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to mountall in Ubuntu.
https://bugs.launchpad.net/bugs/839118

Title:
  swap not mounted with mountall unless listed last in /etc/fstab

Status in “mountall” package in Ubuntu:
  New

Bug description:
  A swap partition is not mounted on boot, and is not mounted with
  mountall, despite being listed in /etc/fstab, unless the line
  describing the swap partition is the last line in /etc/fstab. This can
  be seen by executing 'mountall -v' with the line describing the swap
  partition at any other point in /etc/fstab: the last line of output
  will appear similar to 'local 4/4 remote 0/0 virtual 12/12 swap 0/0'.

  There is a description of the bug, and the workaround:
  http://askubuntu.com/questions/38533/system-not-mounting-swap-partition

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/839118/+subscriptions




More information about the foundations-bugs mailing list