Advertisement
metalx1000

install grub to USB flash drive

Jul 22nd, 2020
2,199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.22 KB | None | 0 0
  1. #install grub boot loader to drive
  2. sudo grub-install --force --removable --boot-directory=/mnt /dev/sdd
  3.  
  4. #/grub/grub.cfg
  5. menuentry "My Linux" {
  6.     set root=(hd0,1)
  7.     linux /boot/kernel
  8.     initrd /boot/initrd
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement