How to boot Puppy from USB in UEFI computer with Win10
Posted: Sat 02 Dec 2017, 01:55
How boot Puppy on a UEFI Dell Inspiron 3552 Laptop with Windows 10,
booting into puppy xenialpup64 via a physically tiny Sandisk "Cruzer Fit" 8 GB USB flash drive
This was my first adventure with UEFI BIOS PC's and Windows 10, therefore I
wanted to try Puppy Linux from a USB flash drive without changing
the Windows 10's hard drive and making minimal changes to the BIOS settings.
Thanks to 666philb for xenialpup64
Thanks to 01micko for slacko64-6.3.2-uefi
Thanks to 666philb for tahr-6.0.6
====
I started by following Limbomusic's UEFI suggestions (with only a
few modifications) from here:
http://www.murga-linux.com/puppy/viewto ... 006#973006
My Sandisk "Cruzer Fit" 8 GB USB flash drive was already formated fat32
with the "boot flag" set "on".
On the USB drive, I made a folder called EFI with a single subfolder
inside EFI called boot. (EFI/boot)
I downloaded the file: bootx64.efi, from here:
http://helledussen.com/linux/files/UEFI ... ootx64.efi
to the USB drive's "EFI/boot" folder (this file is the grub2 boot logic program.)
You can download the data file: grub.cfg from here:
http://helledussen.com/linux/files/UEFI_boot/grub.cfg
to the root of the USB flash drive. (This file can be edited as a text file by Geany,
however I have included my own version of this file as an attachment.)
(Note: the "big" linux distros have a special script which builds their grub.cfg file,
perhaps if they have put grub.cfg and EFI/boot/bootx64.efi on your one and only
Windows 10 hard drive, you need to be more careful with the contents of grub.cfg.
Much of the "big" linux distros' grub2 and UEFI manuals refer to the parameters
fed to their special build script.)
I downloaded the xenialpup64 ISO puppy linux file and clicked on the ISO and then
copied these four files to a folder named: xenialpup64_7.0.8.6 on USB flash drive:
vmlinuz
initrd.gz
xenialpup64.sfs
zxenialpup64.sfs)
Likewise, the four files in a folder named: slacko64-6.3.2-uefi on USB flash drive:
vmlinuz
initrd.gz
puppy_slacko64_6.3.2.sfs
zdrv_slacko64_6.3.2.sfs
and finally the four files in a folder named: tahr-6.0.6 on USB flash drive:
vmlinuz
initrd.gz
puppy_tahr_6.0.6.sfs
zdrv_tahr_6.0.6.sfs
====
My grub.cfg file is shown below (I like a blank line to show between grub2 boot
choices and I wanted to be able to try booting Puppy xenialpup64_7.0.8.6 or
slacko64-6.3.2-uefi or the tahr-6.0.6):
insmod png
background_image /uefi_splash1.png
menuentry "xenialpup64_7.0.8.6" {
search --set -f /xenialpup64_7.0.8.6/vmlinuz
linux /xenialpup64_7.0.8.6/vmlinuz psubdir=xenialpup64_7.0.8.6 i915.modeset=0
initrd /xenialpup64_7.0.8.6/initrd.gz
}
menuentry ' '{
true
}
menuentry "slacko64-6.3.2-uefi" {
search --set -f /slacko64-6.3.2-uefi/vmlinuz
linux /slacko64-6.3.2-uefi/vmlinuz psubdir=/slacko64-6.3.2-uefi
initrd /slacko64-6.3.2-uefi/initrd.gz
}
menuentry ' '{
true
}
menuentry "tahr-6.0.6" {
search --set -f /tahr-6.0.6/vmlinuz
linux /tahr-6.0.6/vmlinuz psubdir=/tahr-6.0.6 modeset=0
initrd /tahr-6.0.6/initrd.gz
}
menuentry ' '{
true
}
}
menuentry "Shutdown" {
halt
}
menuentry ' '{
true
}
menuentry "Reboot" {
reboot
}
====
Copy the file: "grub.cfg" to the root of the USB flash drive.
Boot the Dell Inspiron 3552 laptop and immediately tap the F2 boot key to enter
the Dell BIOS Setup:
select the "Boot" parameter: "Secure Boot", press Enter, and choose: "Disabled"
- save the BIOS changes and exit. (This is a one time step.)
(Note: my Windows 10 seems to be still able to boot up with "Secure Boot" disabled)
Next, boot the Dell Inspiron 3552 PC with your USB flash drive plugged in
and immediately tap the F12 boot key to get into the DELL BIOS boot-menu.
choose the line with the name of the USB flash drive that you have just made.
Use the keyboard "arrow" keys to choose the ISO to be booted.
After the USB flash drive boots that Puppy, check a few options and
shutdown to create the Frugal save file on the USB flash drive in
the xenialpup64_7.0.8.6 or other directory.
(This Frugal save file creation is a one time step.)
A few additional tips from Limbomusic:
----- oh and ----
If you get the Puppy error message "Windows hibernated partition"
- press ctrl-alt-del to reboot into Windows 10.
Right click start button and choose: "Command prompt as administrator"
and type in: powercfg /h off
(This turns off hibernation in windows 10
- type "powercfg /h on" to turn it back on)
reboot
----- oh and ----
If you get an error message when trying to boot from USB flash drive
- go into BIOS and re-set "Secure boot" to "Disabled"
- save and exit the BIOS.
reboot
=====
Most of the above is thanks to Limbomusic's UEFI suggestions:
http://www.murga-linux.com/puppy/viewto ... 006#973006
http://www.murga-linux.com/puppy/viewtopic.php?t=112000
booting into puppy xenialpup64 via a physically tiny Sandisk "Cruzer Fit" 8 GB USB flash drive
This was my first adventure with UEFI BIOS PC's and Windows 10, therefore I
wanted to try Puppy Linux from a USB flash drive without changing
the Windows 10's hard drive and making minimal changes to the BIOS settings.
Thanks to 666philb for xenialpup64
Thanks to 01micko for slacko64-6.3.2-uefi
Thanks to 666philb for tahr-6.0.6
====
I started by following Limbomusic's UEFI suggestions (with only a
few modifications) from here:
http://www.murga-linux.com/puppy/viewto ... 006#973006
My Sandisk "Cruzer Fit" 8 GB USB flash drive was already formated fat32
with the "boot flag" set "on".
On the USB drive, I made a folder called EFI with a single subfolder
inside EFI called boot. (EFI/boot)
I downloaded the file: bootx64.efi, from here:
http://helledussen.com/linux/files/UEFI ... ootx64.efi
to the USB drive's "EFI/boot" folder (this file is the grub2 boot logic program.)
You can download the data file: grub.cfg from here:
http://helledussen.com/linux/files/UEFI_boot/grub.cfg
to the root of the USB flash drive. (This file can be edited as a text file by Geany,
however I have included my own version of this file as an attachment.)
(Note: the "big" linux distros have a special script which builds their grub.cfg file,
perhaps if they have put grub.cfg and EFI/boot/bootx64.efi on your one and only
Windows 10 hard drive, you need to be more careful with the contents of grub.cfg.
Much of the "big" linux distros' grub2 and UEFI manuals refer to the parameters
fed to their special build script.)
I downloaded the xenialpup64 ISO puppy linux file and clicked on the ISO and then
copied these four files to a folder named: xenialpup64_7.0.8.6 on USB flash drive:
vmlinuz
initrd.gz
xenialpup64.sfs
zxenialpup64.sfs)
Likewise, the four files in a folder named: slacko64-6.3.2-uefi on USB flash drive:
vmlinuz
initrd.gz
puppy_slacko64_6.3.2.sfs
zdrv_slacko64_6.3.2.sfs
and finally the four files in a folder named: tahr-6.0.6 on USB flash drive:
vmlinuz
initrd.gz
puppy_tahr_6.0.6.sfs
zdrv_tahr_6.0.6.sfs
====
My grub.cfg file is shown below (I like a blank line to show between grub2 boot
choices and I wanted to be able to try booting Puppy xenialpup64_7.0.8.6 or
slacko64-6.3.2-uefi or the tahr-6.0.6):
insmod png
background_image /uefi_splash1.png
menuentry "xenialpup64_7.0.8.6" {
search --set -f /xenialpup64_7.0.8.6/vmlinuz
linux /xenialpup64_7.0.8.6/vmlinuz psubdir=xenialpup64_7.0.8.6 i915.modeset=0
initrd /xenialpup64_7.0.8.6/initrd.gz
}
menuentry ' '{
true
}
menuentry "slacko64-6.3.2-uefi" {
search --set -f /slacko64-6.3.2-uefi/vmlinuz
linux /slacko64-6.3.2-uefi/vmlinuz psubdir=/slacko64-6.3.2-uefi
initrd /slacko64-6.3.2-uefi/initrd.gz
}
menuentry ' '{
true
}
menuentry "tahr-6.0.6" {
search --set -f /tahr-6.0.6/vmlinuz
linux /tahr-6.0.6/vmlinuz psubdir=/tahr-6.0.6 modeset=0
initrd /tahr-6.0.6/initrd.gz
}
menuentry ' '{
true
}
}
menuentry "Shutdown" {
halt
}
menuentry ' '{
true
}
menuentry "Reboot" {
reboot
}
====
Copy the file: "grub.cfg" to the root of the USB flash drive.
Boot the Dell Inspiron 3552 laptop and immediately tap the F2 boot key to enter
the Dell BIOS Setup:
select the "Boot" parameter: "Secure Boot", press Enter, and choose: "Disabled"
- save the BIOS changes and exit. (This is a one time step.)
(Note: my Windows 10 seems to be still able to boot up with "Secure Boot" disabled)
Next, boot the Dell Inspiron 3552 PC with your USB flash drive plugged in
and immediately tap the F12 boot key to get into the DELL BIOS boot-menu.
choose the line with the name of the USB flash drive that you have just made.
Use the keyboard "arrow" keys to choose the ISO to be booted.
After the USB flash drive boots that Puppy, check a few options and
shutdown to create the Frugal save file on the USB flash drive in
the xenialpup64_7.0.8.6 or other directory.
(This Frugal save file creation is a one time step.)
A few additional tips from Limbomusic:
----- oh and ----
If you get the Puppy error message "Windows hibernated partition"
- press ctrl-alt-del to reboot into Windows 10.
Right click start button and choose: "Command prompt as administrator"
and type in: powercfg /h off
(This turns off hibernation in windows 10
- type "powercfg /h on" to turn it back on)
reboot
----- oh and ----
If you get an error message when trying to boot from USB flash drive
- go into BIOS and re-set "Secure boot" to "Disabled"
- save and exit the BIOS.
reboot
=====
Most of the above is thanks to Limbomusic's UEFI suggestions:
http://www.murga-linux.com/puppy/viewto ... 006#973006
http://www.murga-linux.com/puppy/viewtopic.php?t=112000