Update install.sh
This commit is contained in:
parent
22349d9f2d
commit
4af369c225
14
install.sh
14
install.sh
|
@ -233,7 +233,6 @@ echo
|
|||
|
||||
mkfs.ext4 -L home /dev/mapper/main-home &&
|
||||
echo "Filesystem for home successfully created."
|
||||
echo "Done."
|
||||
echo
|
||||
|
||||
echo "Mounting.."
|
||||
|
@ -245,7 +244,8 @@ mount /dev/mapper/main-home /mnt/home &&
|
|||
echo "Mounting complete."
|
||||
echo
|
||||
|
||||
lsblk | grep "$dev"
|
||||
#lsblk | grep "$dev"
|
||||
lsblk
|
||||
echo
|
||||
|
||||
# Updating mirrors using reflector.
|
||||
|
@ -270,7 +270,7 @@ echo
|
|||
# Generating fstab.
|
||||
echo "Generating fstab."
|
||||
genfstab -Up /mnt > /mnt/etc/fstab &&
|
||||
echo "Installed fstab."
|
||||
echo "Done."
|
||||
echo
|
||||
|
||||
# Setting hostname.
|
||||
|
@ -315,7 +315,6 @@ echo
|
|||
|
||||
# Editing mkinitcpio.conf.
|
||||
echo "Editing /etc/mkinitcpio.conf."
|
||||
echo
|
||||
sed -i '7s/.*/MODULES=(ext4)/' /mnt/etc/mkinitcpio.conf &&
|
||||
sed -i '52s/.*/HOOKS=(base udev autodetect modconf block keyboard keymap encrypt lvm2 filesystems fsck shutdown)/' /mnt/etc/mkinitcpio.conf &&
|
||||
echo "Done."
|
||||
|
@ -404,5 +403,8 @@ umount /mnt/home &&
|
|||
echo "Done."
|
||||
echo
|
||||
|
||||
echo "Rebooting"
|
||||
reboot
|
||||
clear
|
||||
|
||||
echo "Installation finished!"
|
||||
echo "Press [Enter] to shut down, then remove the installation media and start your system."
|
||||
poweroff
|
||||
|
|
Loading…
Reference in New Issue