On Saturday, June 21, 2014 12:31:03 PM Philippe Delavalade wrote:
> Hi all.
> 
> I want to build LFS on a new computer.
> 
> It seems to me I have a problem with my swap partition. I did a mistake
> when creating the LFS partition and so, I had to recreate the swap
> partition.
> 
> I used cgdisk on a ssd ; the host system is debian/testing.
> 
> gdisk with the 'p' command says :
> 
> Number  Start (sector)    End (sector)  Size       Code  Name
>    1            2048        58593279   27.9 GiB    8300  racine
>    2        58593280        62787583   2.0 GiB     8200
>    3        62787584        83759103   10.0 GiB    8300  lfs
> 
> but a "swapon -s" command just says "Filename".
> 
> A mount command does not say anything about the swap partition and blkid
> gives
> /dev/sda2: UUID="..." TYPE="ext4"
> 
> In my /etcfstab file I have the line
> /dev/sda2 none swap sw 0 0
> 
> I think it is not correct for my swap partition but maybe I'm wrong ? If
> I'm right, what should I do ?
> 
> Thanks for help


Don't use a swap partition

See: https://wiki.archlinux.org/index.php/swap to create a swap file instead
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to