User Tools

Site Tools


create-custom-debian-live-usb-stick-uefi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
create-custom-debian-live-usb-stick-uefi [2019/02/03 10:29] – [Create GPT & MBR partition tables] baumicreate-custom-debian-live-usb-stick-uefi [2019/04/20 10:10] (current) – [Create GPT & MBR partition tables] baumi
Line 42: Line 42:
 blackbox xserver-xorg-core xserver-xorg xinit xterm \ blackbox xserver-xorg-core xserver-xorg xinit xterm \
 pciutils usbutils gparted ntfs-3g hfsprogs rsync less curl tcpdump dosfstools syslinux partclone vim pv \ pciutils usbutils gparted ntfs-3g hfsprogs rsync less curl tcpdump dosfstools syslinux partclone vim pv \
-firefox-esr chntpw lvm2 mdadm  keepassx gdisk gnupg duplicity s3cmd bzip2 lsof screen mc htop iproute2 inetutils-ping inetutils-traceroute  netcat-openbsd +firefox-esr chntpw lvm2 mdadm  keepassx gdisk gnupg duplicity s3cmd bzip2 lsof screen mc htop iproute2 inetutils-ping inetutils-traceroute  netcat-openbsd extundelete
    
 [ ... ] [ ... ]
Line 100: Line 100:
  mail (8)  mail (8)
 root@host:~/shtf-stick#  root@host:~/shtf-stick# 
-root@host:~/shtf-stick# cp chroot/boot/vmlinuz-* image/live/vmlinuz && \ +root@host:~/shtf-stick# cp chroot/boot/vmlinuz-* image/vmlinuz && \ 
-cp chroot/boot/initrd.img-* image/live/initrd+cp chroot/boot/initrd.img-* image/initrd
 root@host:~/shtf-stick# cat <<'EOF' > ./scratch/grub.cfg root@host:~/shtf-stick# cat <<'EOF' > ./scratch/grub.cfg
  
Line 111: Line 111:
 set timeout=30 set timeout=30
  
-menuentry "The Shit Has Hit The Fan" { +menuentry "SHTF Live Stick" { 
-    linux /vmlinuz boot=live quiet nomodeset+    linux /vmlinuz boot=live noquiet nomodeset
     initrd /initrd     initrd /initrd
 } }
Line 125: Line 125:
 root@host:~/shtf-stick# mkdir -p /mnt/{usb,efi} root@host:~/shtf-stick# mkdir -p /mnt/{usb,efi}
 </code> </code>
-==== Create GPT & MBR partition tables====+==== Create GPT & MBR partition tables (skip for updating) ====
 <code> <code>
 root@host:~/shtf-stick# dd if=/dev/zero of=${DEVICE} bs=1k count=100 root@host:~/shtf-stick# dd if=/dev/zero of=${DEVICE} bs=1k count=100
Line 160: Line 160:
 EOF EOF
 </code> </code>
-==== Create & mount filesystems ====+==== Create filesystems (skip for updating) ====
 <code> <code>
- 
 root@host:~/shtf-stick# mkfs.vfat -F32 ${DEVICE}2 && mkfs.vfat -F32 ${DEVICE}3 root@host:~/shtf-stick# mkfs.vfat -F32 ${DEVICE}2 && mkfs.vfat -F32 ${DEVICE}3
 +</code> 
 +==== Create & mount filesystems ==== 
 +<code>
 root@host:~/shtf-stick# mount ${DEVICE}2 /mnt/efi && mount ${DEVICE}3 /mnt/usb root@host:~/shtf-stick# mount ${DEVICE}2 /mnt/efi && mount ${DEVICE}3 /mnt/usb
 </code> </code>
create-custom-debian-live-usb-stick-uefi.1549186157.txt.gz · Last modified: 2019/02/03 10:29 by baumi

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki