From 917953b81958778c8c361c282c0b1320bb305014 Mon Sep 17 00:00:00 2001 From: Biswakalyan Bhuyan Date: Sun, 25 Dec 2022 00:43:01 +0530 Subject: changes --- arch_install.sh | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/arch_install.sh b/arch_install.sh index 579967a..0b24ab6 100755 --- a/arch_install.sh +++ b/arch_install.sh @@ -13,12 +13,12 @@ cfdisk $drive echo "Enter the linux partition: " read partition mkfs.ext4 $partition -read -p "Did you also create efi partition? [y/n]" answer -if [[ $answer = y ]] ; then - echo "Enter EFI partition: " - read efipartition - mkfs.vfat -F 32 $efipartition -fi +#read -p "Did you also create efi partition? [y/n]" answer +#if [[ $answer = y ]] ; then +# echo "Enter EFI partition: " +# read efipartition +# mkfs.vfat -F 32 $efipartition +#fi mount $partition /mnt pacstrap /mnt base base-devel linux linux-firmware genfstab -U /mnt >> /mnt/etc/fstab @@ -46,11 +46,12 @@ echo "127.0.1.1 $hostname.localdomain $hostname" >> /etc/hosts mkinitcpio -P passwd pacman --noconfirm -S grub efibootmgr os-prober -echo "Enter EFI partition: " -read efipartition -mkdir /boot/efi -mount $efipartition /boot/efi -grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB +#echo "Enter EFI partition: " +#read efipartition +#mkdir /boot/efi +#mount $efipartition /boot/efi +#grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB +grub-install --target=i386-pc /dev/sda sed -i 's/quiet/pci=noaer/g' /etc/default/grub sed -i 's/GRUB_TIMEOUT=5/GRUB_TIMEOUT=0/g' /etc/default/grub grub-mkconfig -o /boot/grub/grub.cfg -- cgit v1.2.3-59-g8ed1b