You are not logged in.
Pages: 1
Hi,
I have suspended my machine instead of turning it off to boot temporarily into Windows. Now I want to go back to archlinux, but I don't want to resume the session, but restart normally. How can I cancel the resume process in arch? Everytime I reboot, it keeps dropping back into the password prompt to give the password to decrypt the swap file and resume, but I don't want to resume!
Removing resume=/dev/swap from grub does not solve my problem.
Any advice appreciated!
Last edited by awayand (2011-09-18 04:25:06)
Offline
PS: What happens if I forget the password for resume? How would I be able to boot then?
Offline
awayand, please do not post twice in such short succession. Use the Edit button to provide additional info and/or questions.
To know or not to know ...
... the questions remain forever.
Offline
I think what you wanna do is hibernate instead of suspend
Offline
I think that is what I am doing I thought suspend was the same as hibernate. I am using s2disk and then when I want to wake up, I just don't want resume, but reboot and abandon the RAM image...
Offline
No, suspend is s2ram and hibernate s2disk. So when you turn your computer back on after hibernating, does it start up as normal. What I mean is: does grub come up after turning on your computer after hibernating?
Offline
yes it shows grub
Offline
bump
Offline
Try "noresume" in the kernel line in GRUB.
Offline
that didn't work, unfortunately:
First, I hibernated. Then, I turned the computer back on, and edited the kernel line in grub:
But I still get a password prompt:
Last edited by awayand (2011-09-18 03:37:44)
Offline
Try "disablehooks=uresume" then.
Note that skipping resuming means no proper unmounting of filesystems, hence a risk of filesystem corruption and data loss.
Last edited by lucke (2011-09-18 04:25:12)
Offline
that worked perfectly. thanks!
Offline
Note the note added to my previous post ;-)
Offline
yes, I realize that, thanks, lucke, since you mention it, here's why I need it:
I auto-mount my windows partition on my dual-boot machine when running in archlinux, and most of the time, I just hibernate linux by closing the lid of my laptop. Very rarely I boot into windows when turning the laptop back on. However, I am using qbittorrent to download to my windows partition, since it has a lot more space and I don't want to repartition, but I am downloading through archlinux. So when I hibernate, the files on the windows partition are still "open", and the filesystem is still mounted. Now if I boot into windows when I turn the computer back on, I will run into trouble if after that, I resume back into archlinux, because the files on windows will have changed and arch will be confused. In that case, I have to just throw away the resume-image in arch to start from scratch. Hope that made sense.
Offline
Yeah, I know the problem. I lost some files because of dual-booting that way myself. Alternatively, you could use pm-utils hooks to kill qbittorrent and unmount Windows' partition before hibernating, but it comes with its own problems and if you do it rarely enough, I suppose skipping resuming is better indeed.
Offline
Pages: 1