Bypass hibernate on boot on Ubuntu

6

1

I have a problem where Ubuntu is shutting down immediately after restarting from Hibernate. I want to boot without Hibernating. Can I use grub options/commands to set it to ignore the Hibernate image for the next boot?

Stuart Woodward

Posted 2009-09-29T23:01:55.533

Reputation: 374

Answers

8

The kernel will ignore the resume partition used to restart from hibernate if you pass it the 'noresume' option at boot. Pass this as a kernel option at the grub bootloader. See here and here.

For a more permanent solution, you can append this option to your default boot image so it never looks to resume from a hibernate image.

user4358

Posted 2009-09-29T23:01:55.533

Reputation:

For anyone who doesn't use grub (like on my PowerBook G4), you can pass arguments without grub. On my PowerBook, you do it by typing Linux noresume on the yaboot command line. On devices with u-boot (like a Mips Creator CI20 and many other single board computers, maybe even a raspberry pi), you need to connect a TTL serial cable to the correct pins on the board and access the boot console over the serial link (either with an RS232 terminal and voltage shifter or a terminal emulator on another computer.) – Wyatt8740 – 2018-06-14T18:15:25.983

0

I tried the noresume option. I'm not sure if I actually used it correctly but the boot behaviour was different. This allowed me to do an CTRL-ALT-F2, get a terminal, login and shutdown.

A colourful menu appeared and I selected boot. I booted and then restarted again from login screen.

All seems OK now.

Stuart Woodward

Posted 2009-09-29T23:01:55.533

Reputation: 374