Skip to content

Instantly share code, notes, and snippets.

@cinco
Last active February 10, 2020 01:22
Show Gist options
  • Save cinco/302b8a55752ce3c797d6236d0883fcf8 to your computer and use it in GitHub Desktop.
Save cinco/302b8a55752ce3c797d6236d0883fcf8 to your computer and use it in GitHub Desktop.
manjaro/archlinux recovery boot
#!/bin/bash
# can you boot with USB install manjro ( USB boot not the disk )
# open a terminal
manjaro-chroot -a ( select 1 if one line ) &&
pacman -Syy ( check ip on ) &&
cat /etc/fstab ( check UUID) &&
grub-mkconfig -o /boot/grub/grub.cfg ( generate grub config ) &&
mkinitcpio -P ( create all img kernel ) &&
update-grub &&
exit( always for quit chroot)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment