** Changed in: Ubuntu
Sourcepackagename: None = util-linux
** Summary changed:
- swap not being mounted on boot
+ mkswap should re-use existing UUID or warn about changing it
** Description changed:
- Binary package hint: initscripts
-
Just upgraded to edgy.
The new UUID-based fstab
I had also this problem, the fix mentioned above did the job well.
--
swap not being mounted on boot
https://launchpad.net/bugs/66637
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
ben: did you edit your /etc/fstab (the swap line) and /etc/initramfs-
tools/conf.d/resume as mentioned above?
--
swap not being mounted on boot
https://launchpad.net/bugs/66637
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
amnesia: yes, i have done exactly this:
- determined my swap-partition device with fdisk -l
- got the right UUID of the swap-partition with vol_id
- wrote
iRESUME=UUID=the-swap-partition-uuid-from-vol_ID/i
in i/etc/initramfs-tools/conf.d/resume/i
- wrote the right UUID into the /etc/fstab
-
ben - uuid changes are not always reflected until after a reboot...
follow THESE instructions and report back
1, determine your swap with 'fdisk -l'
2, do mkswap on your swap partition - RECORD THE UUID WHICH THIS COMMAND
OUTPUTS
3, now use this UUID to put into fstab and resume
jens_acamedia wrote:
ben - uuid changes are not always reflected until after a reboot...
follow THESE instructions and report back
1, determine your swap with 'fdisk -l'
it is /dev/hda2
2, do mkswap on your swap partition - RECORD THE UUID WHICH THIS COMMAND
OUTPUTS
mkswap /dev/hda2
same problem herer aswell
jens' solution worked for me too (mkswap, change to new UUID in fstab, edit
resume file, update initramfs). Haven't tried hibernation yet but swap is
activated now on boot so it should work.
** Changed in: Ubuntu
Status: Unconfirmed = Confirmed
--
swap not
thx for all the help, but for me it does not work.
i did it as described and it updated the initramfs, but after every reboot the
swap-partition has a different UUID.
i switched back to the old-fashioned style and my swap partition will be used
as /dev/hda2, but if anyone has hint for me, i will
Upon upgrade from a clean dapper install to the released version of
edgy, this problem occurs. Suspend work ed the first time but I can't
resume, and now I have no swap.
I can fix it by doing mkswap, and I plan to (as outlined in the steps
above), but it would be nice if upgrading dapper users
works for me too !
--
swap not being mounted on boot
https://launchpad.net/bugs/66637
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Had the same issue. Solution from tonfa and jens_acamedia worked for me.
--
swap not being mounted on boot
https://launchpad.net/bugs/66637
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
In order to work for me I had to change the symlink in /dev/disk/by-uuid by
hand before the first hibernate.
Now swap (and hibernate) seems to work just fine
--
swap not being mounted on boot
https://launchpad.net/bugs/66637
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
EDIT: The change in the symlink i required for the swapon command to
work, which I performed before hibernate.
--
swap not being mounted on boot
https://launchpad.net/bugs/66637
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
I've got the same problem (after upgrading from dapper to edgy).
--
swap not being mounted on boot
https://launchpad.net/bugs/66637
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Why is the swap partition corrupted?
--
swap not being mounted on boot
https://launchpad.net/bugs/66637
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
On Wed, Oct 25, 2006 at 09:38:52AM -, Scott James Remnant wrote:
Why is the swap partition corrupted?
hibernating without a proper 'resume=' parameter (either on the grub
commandline, or in the initrd)
--
:wq
--
swap not being mounted on boot
https://launchpad.net/bugs/66637
--
right, you end up with a hibernate image in your swap partition; and
nothing restores that
that's not corrupted though,you could just boot with resume= to restore
it
running mkswap by hand is what actually buggers you :)
--
swap not being mounted on boot
https://launchpad.net/bugs/66637
--
The problem is running mkswap, this will generate a new UUID and thus
obsolete the information in both the /etc/fstab and /etc/initramfs-
tools/conf.d/resume files -- which is why you need to edit those
afterwards.
--
swap not being mounted on boot
https://launchpad.net/bugs/66637
--
But anyway if conf.d/resume doesn't exist (that can happen), the computer will
corrupt the swap when hibernating and the swap will not be used on reboot
because it doesn't have a valid signature.
To me that's a bug, a system with a swap partition should pass a 'resume='
parameter to the kernel
67437, 65798 might be duplicate, 48514 is probably related.
--
swap not being mounted on boot
https://launchpad.net/bugs/66637
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
There seem to be further reports here:
http://www.ubuntuforums.org/showthread.php?t=270052
Scott, please investigate. I don't think this is related to bug 48514,
though fixing that bug could cause other problems like this by creating
a new uuid if we aren't careful.
** Changed in: sysvinit
could the problem be that there are two UUIDs for swap...one refers to
the partition and the other refers to the swap-filesystem...
when i do mkswap it returns a new UUID for swap and no label...but when
i do 'ls -la /dev/disks/by-uuid afterwards the UUID which refers to
/dev/hda4 has not
@jens: I think the by-uuid symlink is only updated after a reboot, you
can try vol_id
I had to do the following to solve it:
- correct fstab with the UUID outputted by mkswap (vol_id might work, but
/dev/disk/by-uuid definitely don't)
- put RESUME=UUID=uuid in /etc/initramfs-tools/conf.d resume.
thank you tonfa...edited fstab and conf.d resume with value from mkswap
- regenerated initrd - and now it all works...
for anybody else reading this with the same issue regenerate your initrd
with update-initramfs -u after you have edited
/etc/initramfs-tools/conf.d/resume as tonfa described...
yay works for me now too.
--
swap not being mounted on boot
https://launchpad.net/bugs/66637
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
25 matches
Mail list logo