🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.os.linux
Article #907242

Re: Inspiron 14 5430 i suspend

#907242
From: Marcin Debowski
Date: Sun, 08 Oct 2023 06:36
31 lines
2200 bytes
On 2023-10-08, Marcin Debowski <agatek@INVALID.zoho.com> wrote:
> On 2023-10-07, Konto58@no.no <Konto58@no.no> wrote:
>> Musisz zatem skonfigurować hibernate,
>> - wymaga wyłączenia Secure Boot czyli EFI
>> - trzeba wykonać i załączyć partycję swap (mkswap swapon)i wpisać ją do fstab
>> - dopisać do /etc/dracut.conf.d/resume.conf dodanie mudułu resume
>> 	add_dracutmodules+=" resume "
>> - zbudować  initramfs z modułem resume
>> 	dracut --regenerate-all --force
>> - dopisać do  /etc/default/grub do parametru RUB_CMDLINE_LINUX
>> 	resume=UUID=<swap-partition-uuid>"
>
> Tak spróbuję zrobić. Wielkie dzięki.

Odrobinę inna procedura bez instalowania dracut (w xubuntu nie było 
domyślnie):
1) w /etc/default/grub do GRUB_CMDLINE_LINUX_DEFAULT dodajemy
resume=UUID=<swap-filesystem-UUID> resume_offset=<swapfile_physical_offset>
(to drugie można odczytać z filefrag -v /swapfile, jeśli swap był jak u 
mnie w pliku)
# update-grub

2) utworzyć /etc/initramfs-tools/conf.d/resume z dokładnie tym co się 
dopisało do powyższego czyli resume=UUID=<swap-filesystem-UUID> 
resume_offset=<swapfile_physical_offset>
# update-initramfs -c -k all

Wuala. Secure boot należało faktycznie wyłączyć.

-- 
Marcin
Technical Details
Message-ID: <_5sUM.23321$U4F3.7765@fx09.ams1>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!fu-berlin.de!weretis.net!feeder8.news.weretis.net!feeder1.feed.usenet.farm!feed.usenet.farm!peer02.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!feeder.cambriumusenet.nl!feed.tweaknews.nl!posting.tweaknews.nl!fx09.ams1.POSTED!not-for-mail
References: <r1UTM.13$pZKa.3@fx04.ams1> <20231007150530.70e3a770@lapek> <usmUM.10954$6j55.8901@fx13.ams1>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!fu-berlin.de!weretis.net!feeder8.news.weretis.net!feeder1.feed.usenet.farm!feed.usenet.farm!peer02.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!feeder.cambriumusenet.nl!feed.tweaknews.nl!posting.tweaknews.nl!fx09.ams1.POSTED!not-for-mail
Newsgroups: pl.comp.os.linux
From: Marcin Debowski <agatek@INVALID.zoho.com>
Subject: Re: Inspiron 14 5430 i suspend
References: <r1UTM.13$pZKa.3@fx04.ams1> <20231007150530.70e3a770@lapek> <usmUM.10954$6j55.8901@fx13.ams1>
User-Agent: slrn/1.0.3 (Linux)
Mime-Version: 1.0
Lines: 31
Message-ID: <_5sUM.23321$U4F3.7765@fx09.ams1>
X-Complaints-To: abuse@tweaknews.nl
NNTP-Posting-Date: Sun, 08 Oct 2023 06:36:42 UTC
Organization: Tweaknews
Date: Sun, 08 Oct 2023 06:36:42 GMT
X-Received-Bytes: 2020
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit