I have install ISO file firmware-10.4.0-amd64-DVD-1.iso
, 4GB long. I would like to make my usb drive partition ("say sdb1
) to be bootable. I have followed the official debian documentation: https://www.debian.org/releases/wheezy/amd64/ch04s03.html.en. But they say I can have partition of length 1GB, but that is not sufficient for the ISO file. What I have done so far (assuming my usb is /dev/sdb
):
# dd if=/dev/zero of=/dev/sdb
#zeroed the whole device including the partition table MBR# fdidk /dev/sdb
#made new partition /dev/sdb1, 4GB long with bootable flag on# install-mbr /dev/sdb
#make new partition table on the device
Now, I should continue with the manual to make filesystem mkdosfs /dev/sdb1
, syslinux /dev/sdb1
, mount that partition and copy 2 files: vmlinuz
and initrd.gz
which I do not have (I have only ISO file downloaded from debian.org). So instead, I have made this to boot the partition:
# dd bs=4 if=firmware-10.4.0-amd64-DVD-1.iso of=/dev/sdb1 status=progress && sync
#copy the ISO file to that partition
If I try to boot from the usb, will I be able to make new partition in partition phase for root directory on the same usb?
dd
there the iso, will I be able to boot from that partition (and then make new partition for root dir in installation?) – Herdsman Jul 11 '20 at 11:32