
Tengo un archivo IMG que me gustaría copiar en un USB vacío y arrancar desde él, ¿cómo hago para hacerlo?
Respuesta1
Formatee el USB como vfat, o si desea una partición persistente, hágamelo saber y agregaré esas instrucciones también más adelante:
fdisk /dev/sdb #if the usb is listed as sdb
d
n
p
1
<enter>
<enter>
t
c
w
mkfs.vfat /dev/sdb1
mkdir /mnt/temp; mount /dev/sdb1 /mnt/temp
mkdir /mnt/temp2; mount -o loop /path/to/the/ISO.iso
Copia todo sobre:
rsync -avhP /mnt/temp2/* /mnt/temp
Instalar comida:
grub-install --no-floppy --root-directory=/mnt/temp /dev/sdb
Luego simplemente crea tu grub.cfg. No debería ser demasiado difícil. O simplemente déjelo en blanco y arranque con comandos grub si lo desea. Cada vez que intentes iniciarlo, se necesitará algo como:
linux /boot/vmlinuz
initrd /boot/initrd.img boot=casper cdrom-detect/try-usb=true