[Bug 66637] Re: swap not being mounted on boot

2006-11-01 Thread Scott James Remnant
** 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

[Bug 66637] Re: swap not being mounted on boot

2006-10-31 Thread karaluh
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

[Bug 66637] Re: swap not being mounted on boot

2006-10-31 Thread amnesia
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

[Bug 66637] Re: swap not being mounted on boot

2006-10-31 Thread ben
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 -

Re: [Bug 66637] Re: swap not being mounted on boot

2006-10-31 Thread jens_acamedia
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

[Bug 66637] Re: swap not being mounted on boot

2006-10-31 Thread ben
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

[Bug 66637] Re: swap not being mounted on boot

2006-10-30 Thread amnesia
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

[Bug 66637] Re: swap not being mounted on boot

2006-10-30 Thread ben
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

[Bug 66637] Re: swap not being mounted on boot

2006-10-30 Thread peridot
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

[Bug 66637] Re: swap not being mounted on boot

2006-10-29 Thread Infinity
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

[Bug 66637] Re: swap not being mounted on boot

2006-10-28 Thread Moritz Reiter
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

[Bug 66637] Re: swap not being mounted on boot

2006-10-28 Thread andrikos
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

[Bug 66637] Re: swap not being mounted on boot

2006-10-28 Thread andrikos
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

[Bug 66637] Re: swap not being mounted on boot

2006-10-26 Thread dc
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

[Bug 66637] Re: swap not being mounted on boot

2006-10-25 Thread Scott James Remnant
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

Re: [Bug 66637] Re: swap not being mounted on boot

2006-10-25 Thread tonfa
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 --

[Bug 66637] Re: swap not being mounted on boot

2006-10-25 Thread Scott James Remnant
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 --

[Bug 66637] Re: swap not being mounted on boot

2006-10-24 Thread Scott James Remnant
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 --

[Bug 66637] Re: swap not being mounted on boot

2006-10-24 Thread tonfa
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

[Bug 66637] Re: swap not being mounted on boot

2006-10-23 Thread tonfa
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

[Bug 66637] Re: swap not being mounted on boot

2006-10-23 Thread Matt Zimmerman
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

[Bug 66637] Re: swap not being mounted on boot

2006-10-23 Thread jens_acamedia
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

[Bug 66637] Re: swap not being mounted on boot

2006-10-23 Thread tonfa
@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.

Re: [Bug 66637] Re: swap not being mounted on boot

2006-10-23 Thread jens_acamedia
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...

[Bug 66637] Re: swap not being mounted on boot

2006-10-23 Thread Andy Grover
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