You are not logged in.

#1 2017-05-25 11:59:43

veecue
Member
Registered: 2017-03-18
Posts: 2

Different Swap and Hibernation partition

Hello everybody,
I have an HDD and an SSD. I have a swap partition on both, the one on the HDD has a higher priority (for swapping) and the one on the SSD has a lower priority (for hibernation). Obviously I have to put `resume=/dev/ssd` as a kernel parameter. How can I tell the kernel to write the hibernation image to the swap partition on the SSD instead of the HDD?

Offline

#2 2017-05-25 12:04:09

tom.ty89
Member
Registered: 2012-11-15
Posts: 897

Re: Different Swap and Hibernation partition

Well, setting it to resume= should be enough, because the system will only know where to resume from that is where it has hibernated to. However, I am not entirely sure if it will also make use of the one on the HDD, if the one on the SSD is not big enough for a specific hibernation...

Offline

#3 2017-05-25 14:40:02

Ropid
Member
Registered: 2015-03-09
Posts: 1,069

Re: Different Swap and Hibernation partition

I found this here:

https://serverfault.com/questions/75609 … i-have-two

That person there writes that the "resume=..." from the kernel command line is used to decide this. I have no idea if this is correct and can't really find an answer with more details about this.

Offline

Board footer

Powered by FluxBB