FS#30808 - swap partition isn't added into the /etc/fstab
Attached to Project:
Arch Linux
Opened by Jonathan Vasquez (Cows) - Sunday, 22 July 2012, 23:41 GMT
Last edited by Dave Reisner (falconindy) - Monday, 23 July 2012, 00:16 GMT
Opened by Jonathan Vasquez (Cows) - Sunday, 22 July 2012, 23:41 GMT
Last edited by Dave Reisner (falconindy) - Monday, 23 July 2012, 00:16 GMT
|
Details
Description:
The swap partition isn't inserted in the /etc/fstab after you do a genfstab -p /mnt >> /mnt/etc/fstab Additional info: Arch Linux Media: 2012.07.15 Steps to reproduce: Make your partitions (let's assume the following: /dev/sda1 - /boot /dev/sda2 - swap /dev/sda3 - / /dev/sda4 - /home cd /mnt mkdir boot home mount /dev/sda1 boot && mount /dev/sda4 home pacstrap /mnt base{,-devel} swapon /dev/sda2 genfstab -p /mnt >> /mnt/etc/ftab If you check fstab, you will see that /boot, /, and /home are there, but swap isn't there. All you see is: noee swap defaults 0 0 but the partition isn't. It should be /dev/sda2 noee swap defaults 0 0 |
This task depends upon
http://www.youtube.com/watch?v=uJEiyt4-4k8&list=UUHawtdBuQxE88jnxq10Gl9A&index=1&feature=plcp
2:45 - I make the partitions
3:14-3:20 - I mkswap, and swapon
3:45 - I make sure swap is mounted (for a second time)
11:25 - You see that swap (Local mountpoints fail, even though swap says it activated fine)
11:40 - I tell people what was missing in /etc/fstab
EDIT:
You can also see I wrote "swapon /dev/sda2" before genfstab.