How to install the puppy linux iso image on a bootable USB drive using the linux consoleStep 1 - ISO DownloadDownload the newest puppy linux iso image from here https://puppylinux.com/index.html Step 2 - Format USB driveInstall gparted and format your puppy linux usb boot stick with a ext4 partition. A step by step instruction how to create a new msdos partition table and create a ext4 partition for the whole usb stick can be found here! https://www.pragmaticlinux.com/2021/02/format-your-usb-drive-with-gparted/ Step 3 - Mount ISO imageMount the downloaded puppy linux image to get access to the files using this command here '''sudo mkdir /media/iso && sudo mount /path/to/image.iso /media/iso -o loop''' You should be able to list the files inside the iso image using this command here! '''sudo ls -la /media/iso''' Step 4 - Find new partitionFind the name of the new formated usb drive partition using this command here. '''sudo fdisk -l''' In most cases the usb partition will be listed either /dev/sdb1 or /dev/sdc1 In my case the partition is under /dev/sdb1, here a example output. '''Device Boot Start End Sectors Size Id Type''' '''/dev/sdb1 * 0 837631 837632 409M 0''' Step 5 - Mount USB DriveMount the new formated usb drive to copy the files from the iso image '''sudo mkdir /media/puppylinuxusb && sudo mount /dev/sdb1 /media/puppylinuxusb -rw''' Step 6 - Copy Puppy Linux FilesCopy all the puppy linux files from the iso image to the new formated ext4 usb drive partition '''sudo cp -R /media/iso/* /media/puppylinuxusb/''' Step 7 - Grub Bootloader installationInstall the Grub Bootloader on the new formated usb drive. In my case the usb drive is under /dev/sdb so this need to be used. if your drive is under /dev/sdc then you need use /dev/sdc '''sudo grub-install —boot-directory=/media/puppylinuxusb/boot /dev/sdb''' Step 8 - Clean upAfter all the files were copied to the new formated usb drive partition and the grub boot loader was installed on the usb drive unmout the iso und the usb drive for a save usb drive removal from your computer with the following command line. '''sudo umount /media/puppylinuxusb && sudo umount /media/iso''' Step 9 - Puppy Linux USB BootRestart the Computer and make sure that in your BIOS settings you have the legacy boot mode selected. After the new BIOS settings were saved your computer will boot puppy linux from the usb drive instant. |
|
| Powered by LionWiki. Know How Recent changes Last changed: 2022/03/22 23:39 | History |