[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Installer trases UUID of swap - was [Re: Change of UUID?]



I'd do exactly as Darac suggests, with one adjustment:

On Fri, Jan 06, 2017 at 04:26:55PM +0000, Darac Marjal wrote:
> My thoughts would be to mark the partition you wish to use as swap as "Do
> not use" in the installer. Then, on the first boot, add the partition
> manually to /etc/fstab:
> 
> UUID=...	none	swap	sw	0	0

I'd add a "mkswap /dev/disk/by-uuid/<whatever>" here, with one extra suggestion...

> If you then wish to use that swap without rebooting, run "swapon --all".

I would suggest exactly the above; except, I'd label the swap partition "swap"
(by adding "-L" in the mkswap invocation), use LABEL=swap in the fstab and set
that in *all* of the fstabs for each installed OS.


-- 
Jonathan Dowland
Please do not CC me, I am subscribed to the list.

Attachment: signature.asc
Description: Digital signature


Reply to: