How to set the RESUME variable to override these issues?
initramfs-tools configuration sets RESUME=UUID=506aea89-301f-435d-b442-8df1bcaa5347
W: but no matching swap device is available. I: The initramfs will attempt to resume from /dev/sda2 I: (UUID=d7bc88e6-49dc-4f8f-b748-2ebf514977c2) I: Set the RESUME variable to override this.
Solution 1: You can run the following to set that in the RESUME file: (Your UUID might be different.)
sudo gedit /etc/initramfs-tools/conf.d/resume or
sudo nano /etc/initramfs-tools/conf.d/resume
echo "RESUME=UUID=09e25397-4a2c-4fb0-a605-a7013eecb59c" | sudo tee /etc/initramfs-tools/conf.d/resume
Solution 2:
sudo nano /etc/initramfs-tools/conf.d/resume
RESUME=/dev/sdaX (X your partation)
And
sudo nano /boot/grub/grub.cfg
resume=UUİD=XXX
change all
resume=/dev/sdax
And command:
Then run the following to update the kernels on the system:
sudo su or
sudo update-initramfs -u -k all
****
ERROR: resume: no device specified for hibernation
I edited the file below as root like the instructions in the wiki: https://wiki.archlinux.org/index.php/Su … ibernation
/etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="resume=/dev/sda3"After I run
sudo grub-mkconfig -o /boot/grub/grub.cfg
The /dev/sda3 is my swap partition now I can hibernate!
****
Problem with the Boot.ini file is corrupted or the NTLDR.Com file is missing
To fix this problem, we install the recovery cd or usb and boot. Then select Repair Console.
We apply the following commands.
Code:
C: \ Windows> copy x: \ i386 \ ntldr c: \
Change the letter “x olarak to your CD driveC: \ Windows> copy x: \ i386 \ ntdetect.com c: \
Copy these files and perform the following commands
C: \ Windows> fixboot
C: \ Windows> fixmbr
C: \ Windows> bootcfg / rebuild
No comments