0

I have a machine duel-booting Ubuntu and Arch. After running update-grub on Ubuntu, Arch has been added to Ubuntu's GRUB bootloader, allowing me to choose which distro I want to boot into.

That said, I want to be able to hibernate Arch. Normally, this would require adding a RESUME=[BlaBlaBla] argument to the boot loader. However, since the boot loader is managed by Ubuntu, adding extra arguments to the Arch entries is particularly difficult. (Everytime Ubuntu get a kernel update, it automatically re-writes the config file, meaning I'd have to re-add the RESUME= parameter.)

So, here's my question: is there a way to make Arch add a RESUME variable into the kernel image itself? On Ubuntu, simply adding a RESUME= variable to /etc/initramfs-tools/conf.d/resume, and rebuilding the kernel image will cause Ubuntu to assume that the specified device is the resume device, without extra kernel parameters. Is there a way to do something similar in Arch with mkinitcpio?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.