Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#33205 - genfstab swap added to fstab incorrectly w/ LVM
Attached to Project:
Arch Linux
Opened by alex (anarcholinux) - Wednesday, 26 December 2012, 13:09 GMT
Last edited by Dave Reisner (falconindy) - Wednesday, 26 December 2012, 13:17 GMT
Opened by alex (anarcholinux) - Wednesday, 26 December 2012, 13:09 GMT
Last edited by Dave Reisner (falconindy) - Wednesday, 26 December 2012, 13:17 GMT
|
DetailsDescription:
During installation swap lv is added to /etc/fstab incorrectly. The swap entry shows: /dev/dm-1 as the swap lv, it is actually /dev/mapper/XXXXVG-XXXXLV Including my full steps since they may be relevant. Steps to reproduce: fdisk /dev/sda 1 100MB boot sda1 1 100%FREE sda2 # mkfs.ext4 /dev/sda1 # pvcreate /dev/sda2 # vgcreate rootvg /dev/sda2 # lvcreate -C y -L 1G rootvg -n swaplv00 # mkswap /dev/mapper/rootvg-swaplv00 # swapon /dev/mapper/rootvg-swaplv00 # lvcreate -l +100%FREE rootvg -n rootlv00 # mkfs.ext4 /dev/mapper/rootvg-rootlv00 # mount /dev/mapper/rootvg-rootlv00 /mnt # mkdir /mnt/boot # mount /dev/sda1 /mnt/boot # pacstrap /mnt base base-devel # arch-chroot /mnt pacman -S grub-bios # genfstab -p /mnt >> /mnt/etc/fstab |
This task depends upon
Closed by Dave Reisner (falconindy)
Wednesday, 26 December 2012, 13:17 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#32609
Wednesday, 26 December 2012, 13:17 GMT
Reason for closing: Duplicate
Additional comments about closing:
Comment by Dave Reisner (falconindy) -
Wednesday, 26 December 2012, 13:16 GMT
This was fixed in https://github.com/falconindy/arch-install-scripts/commit/3a7eb157d11cd822 and released with v9 on the 2012.12 ISO...