Update install-grub.sh
This commit is contained in:
parent
97c501cc95
commit
66e6c8e569
|
@ -208,9 +208,6 @@ echo
|
||||||
lsblk | grep "$dev"
|
lsblk | grep "$dev"
|
||||||
echo
|
echo
|
||||||
|
|
||||||
exit
|
|
||||||
#######################################################################################
|
|
||||||
|
|
||||||
# Creating physical volume.
|
# Creating physical volume.
|
||||||
echo "Creating physical volume."
|
echo "Creating physical volume."
|
||||||
pvcreate /dev/mapper/lvm &&
|
pvcreate /dev/mapper/lvm &&
|
||||||
|
@ -352,9 +349,6 @@ arch-chroot /mnt grub-mkconfig -o /boot/grub/grub.cfg &&
|
||||||
echo "Done."
|
echo "Done."
|
||||||
echo
|
echo
|
||||||
|
|
||||||
#########################################################################################################################
|
|
||||||
exit
|
|
||||||
|
|
||||||
# Set bootloader entry.
|
# Set bootloader entry.
|
||||||
echo "Setting up bootloader."
|
echo "Setting up bootloader."
|
||||||
cat << EOF > /mnt/boot/loader/entries/arch.conf &&
|
cat << EOF > /mnt/boot/loader/entries/arch.conf &&
|
||||||
|
|
Loading…
Reference in New Issue