Remove hard-coded HDD
This commit is contained in:
		
							parent
							
								
									8bcaf5dae4
								
							
						
					
					
						commit
						140aaa0145
					
				| @ -19,7 +19,7 @@ echo $hostname > /mnt/etc/hostname | |||||||
| 
 | 
 | ||||||
| echo "~> Configuring 'grub'" | echo "~> Configuring 'grub'" | ||||||
| arch-chroot /mnt grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=Arch_GRUB | arch-chroot /mnt grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=Arch_GRUB | ||||||
| echo "GRUB_CMDLINE_LINUX='cryptdevice=UUID=`blkid -o value /dev/sda2 | head -n 1`'" > /mnt/etc/default/grub | echo "GRUB_CMDLINE_LINUX='cryptdevice=UUID=`blkid -o value ${blockdevice}2 | head -n 1`'" > /mnt/etc/default/grub | ||||||
| arch-chroot /mnt grub-mkconfig -o /boot/grub/grub.cfg | arch-chroot /mnt grub-mkconfig -o /boot/grub/grub.cfg | ||||||
| 
 | 
 | ||||||
| echo "~> Patching mkinitcpio.conf for encryption magic" | echo "~> Patching mkinitcpio.conf for encryption magic" | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user