mmdebstrap: Install mbr.bin in /boot and keep after installation
This commit is contained in:
parent
97e6981ddc
commit
8e6f183b3f
1 changed files with 2 additions and 2 deletions
|
@ -6823,8 +6823,8 @@ Create a bootable USB Stick that boots into a full Debian desktop:
|
|||
set-label /dev/sda1 rootfs : \
|
||||
mkfs ext4 /dev/sda1 : mount /dev/sda1 / : \
|
||||
tar-in debian-unstable.tar / xattrs:true : \
|
||||
upload /usr/lib/EXTLINUX/mbr.bin /mbr.bin : \
|
||||
copy-file-to-device /mbr.bin /dev/sda size:440 : rm /mbr.bin : \
|
||||
upload /usr/lib/EXTLINUX/mbr.bin /boot/mbr.bin : \
|
||||
copy-file-to-device /boot/mbr.bin /dev/sda size:440 : \
|
||||
extlinux / : copy-in extlinux.conf / : sync : umount / : shutdown
|
||||
$ qemu-system-x86_64 -m 1G -enable-kvm debian-unstable.img
|
||||
$ sudo dd if=debian-unstable.img of=/dev/sdXXX status=progress
|
||||
|
|
Loading…
Reference in a new issue