Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 21 Aug 2018, 08:48
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
How to boot Puppy from USB in UEFI computer with Win10
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [13 Posts]  
Author Message
oldaolgeezer

Joined: 03 Dec 2006
Posts: 41

PostPosted: Fri 01 Dec 2017, 21:55    Post subject:  How to boot Puppy from USB in UEFI computer with Win10
Subject description: Dell Inspiron 3552 booting xenialpup64 or slacko64-6.3.2 or tahr-6.0.6
 

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/viewtopic.php?p=973006#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_boot/bootx64.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/viewtopic.php?p=973006#973006
http://www.murga-linux.com/puppy/viewtopic.php?t=112000
Dell_Inspiron_3552_grub.cfg_splashscreen_mountsda3.tar
Description 
tar

 Download 
Filename  Dell_Inspiron_3552_grub.cfg_splashscreen_mountsda3.tar 
Filesize  50 KB 
Downloaded  72 Time(s) 
Back to top
View user's profile Send private message 
Limbomusic


Joined: 15 Apr 2016
Posts: 268
Location: Norway

PostPosted: Tue 05 Dec 2017, 12:45    Post subject: hugs
Subject description: and kisses
 

This is awesome Smile
Good explanation of how to boot different puppies. (and very happy to see that my posts helped Smile )

I just wanted to chime in with info about noryb009 s fabulous LICK (dual-boot win10 and puppy)
Original link: https://github.com/noryb009/lick
Which I mirrored at http://helledussen.com/linux/files/LICK/LICK-1.2.0-win32.exe

After downloading and installing lick - just start it. Drag an ISO from puppy of choice over - and wait (can sometimes take a while
for the bootloader to install) - reboot and then u can choose to start win10 or puppy.
Additional info:
http://www.trishtech.com/2016/09/install-puppy-linux-in-dual-boot-mode-windows-10/

Oh and if u wanna have a cool lick boot-screen:
http://helledussen.com/linux/files/LICK/bacground_image_in_lick.html

Hugs and kisses oldaolgeezer Smile
Back to top
View user's profile Send private message Visit poster's website 
bigpup


Joined: 11 Oct 2009
Posts: 10883
Location: Charleston S.C. USA

PostPosted: Tue 05 Dec 2017, 13:17    Post subject:  

You can also just install Grub4dos boot loader to the USB drive and use it to boot the drive.

Do have to run Grub4dos Bootloader Config, from a running Puppy, to initially get Grub4dos installed.
select to install to the USB drive and search only within this device.

(Yes, it can be run while you are running Puppy from that same USB drive you are trying to install Grub4dos on.)


Makes a boot menu with everything on the USB drive.
The menu is setup automatically for Puppy specific boot features.

If you install a new Puppy to the USB drive.
Rerun Grub4dos Config and select to install to the USB drive and search only within this device.
The new Puppy will be added to the menu.

How to get the computer to boot from a USB is the same process.
I too have to turn of secure boot, to even get the computer to let me choose a USB drive to boot from.

_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 10883
Location: Charleston S.C. USA

PostPosted: Tue 05 Dec 2017, 13:29    Post subject:  

Trick!

Quote:
immediately tap the F2 boot key to enter bios setup.
immediately tap the F12 boot key to get into the DELL BIOS boot-menu.

Just hold the key down until whatever screen pops up.
Release key.
Holding the key down is the same as repeating the input.

_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
Back to top
View user's profile Send private message 
oldaolgeezer

Joined: 03 Dec 2006
Posts: 41

PostPosted: Sat 09 Dec 2017, 17:09    Post subject: Boot Puppy from USB in UEFI computer with Win10  

Thanks bigpup for your: "Just hold the key down until whatever screen pops up" trick

(Because I wanted to make the fewest changes to my UEFI Dell Inspiron 3552
Laptop's Windows 10 hard drive, I only use a USB flash drive
to boot Puppy Linux on it.
The UEFI Dell Inspiron 3552 seems to only allow a few seconds on powering up for a user to press F2 or F12 key to enter its BIOS,
sometimes I have inadvertently delayed too long and booted into Windows 10.
When I saw my mistake, I tried holding down the power
button to do a quick power off and then rebooted with F12 to retry booting Puppy.
I was greeted with a Linux error message from ntfs-3g saying the
Windows ntfs hard drive could only be mounted read only because it was hibernated.
I had to cntl+alt+delete and let Windows 10 boot again and then click on the shutdown/reboot button
in the lower right cornor of the Windows 10 logon screen.)

So your tip of holding down the F12 key is great for me !

====

However, I seem to need more detail about your other tip on using the Grub4dos boot loader to boot the
USB drive on my UEFI Dell Inspiron 3552 Laptop.
(I like Grub4dos and have used it for years on my older PC's.
I only used grub2 because I thought it was necessary on UEFI BIOS PC's.)

I tried pluging in one of my older USB flash drives (that boot fine on my older computers) to my UEFI Dell Inspiron 3552 Laptop
and holding down F12 key but my Grub4dos USB flash drive doesn't even get offered as a boot choice on my Dell Inspiron 3552 BIOS boot menu.

Thanks for any additional help.
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 10883
Location: Charleston S.C. USA

PostPosted: Sun 10 Dec 2017, 13:30    Post subject:  

In the bios I have secure boot disabled.
On my computer, that seems to be all that is needed for Grub4dos to work on the USB drive.

Some computers have a bios option for enable legacy boot.
Yours may have that.

You could have a UEFI bios that wants to see something specific as a boot device.
In the past the format was an issue in some bioses.
Wanted to see fat32 format and the boot flag option on the drive.

I installed Grub4dos boot loader to the USB drive
Selected the USB drive as the place to install Grub4dos.
Selected to search only on this device.

used the default settings in Grub4dos config for every other selection.

Grub4dos is installed to the USB drive.
Installed to the MBR of the drive.
Lists only stuff on the USB drive.

_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
Back to top
View user's profile Send private message 
purple379

Joined: 04 Oct 2014
Posts: 91

PostPosted: Wed 13 Dec 2017, 10:08    Post subject: Hibernate should be shut off in Windows 10  

Microsoft came up with a way to make a computer boot faster by not shutting down the hard drive, but by putting it into Hibernate mode, rather than shutting it down. Some versions of Linux just say the drive is in hibernate mode, and then start up anyway.

Might be easier to change the Windows 10 mode at Power Down from Hibernate to Shutdown in the Windows 10 Settings -Power area.

Wonder what kind of hard drive you have as well? Is it an SSD, some SSD's have problem with Linux. or perhaps you have a computer that has a SSD with the hard drive to speed things up that might be an issue.
Back to top
View user's profile Send private message 
oldaolgeezer

Joined: 03 Dec 2006
Posts: 41

PostPosted: Sat 16 Dec 2017, 13:06    Post subject: Boot Puppy from USB in UEFI computer with Win10
Subject description: booting with grub4dos flash drive or UEFI flash drive
 

Bigpup:

Firstly, I want to thank you for clues about booting the old familar grub4dos Puppy iso's on USB flash drives.

I might explain that I have used only old WIN XP PC's while dabbling with Puppy Linux.
My new Dell, with Windows 10, is the first new computer I have had.
Until now, I had only slightly followed the issues of others on this forum with their UEFI Bios questions.
When my new Dell arrived, I used google to look at UEFI issues in linux in general, and
the Ubuntu and Debian forum users seemed to be only booting with UEFI grub2.

(I reported in an above post that a grub4dos flash drive was not offered as a boot option.
That was incorrect.
It was detected but it didn't catch my eye because the flash drive brand name was not displayed
like it is for bootable UEFI flash drives.)

After reading Bigpup's suggestions above, I began experimenting on my Dell UEFI laptop with flash drives made in the old familar way with grub4dos.

I am showing below what my Dell's Inspiron 3552 Bios screen displays so that other recent Dell owners can see how to use either UEFI grub2
and/or the tried and true grub4dos method of booting Puppy linux.
(I didn't need to make any additional changes to my laptop's BIOS settings other than those described in the first post of this thread.)

My Dell's Inspiron 3552 Laptop has American Megatrends BIOS version: 4.0.13

F12 pressed during power up shows the following screen when the UEFI flash drive I described in the first post in this thread is inserted:

Legacy Options:
Hard Drive
USB Storage Device
CD/DVD/CD-RW Device
UEFI Options:
Windows Boot Manager
USB1 - UEFI OS(SanDisk Cruzer Fit 1.27) <==== this is the flash drive I described above
Other Options:
Diagnostics
Enter Setup
......

and rebooting for a second test:

F12 pressed during power up shows the following screen when a grub4dos flash drive is inserted:

Legacy Options:
Hard Drive
USB Storage Device <==== this is the grub4dos Flash Drive (notice there is no USB brand name displayed)
CD/DVD/CD-RW Device
UEFI Options:
Windows Boot Manager <==== no USB drive shows here
Other Options:
Diagnostics
Enter Setup
......

I successfully booted tahr-6.0.6 via my grub4dos flash drive as Bigpup described.
(I was able, in a similar way, to boot via grub4dos, Slacko 5.7.0
but it didn't have a Qualcomm Atheros QCA9565 AR9565 wireless driver my laptop needed so, for now, I will stick to
grub4dos tahr-6.0.6.)
Back to top
View user's profile Send private message 
TheTKS

Joined: 11 Nov 2017
Posts: 1

PostPosted: Thu 21 Dec 2017, 15:04    Post subject:  

To be able, in any Linux, to mount NTFS partitions and access their files , or access files without buggering them up, you can prevent Win 10 from effectively hibernating them when it shuts down by doing one or both of:

In Win 10, turn off fast startup:
- In Cortana, type in Power Options
- Click on Power Options Control Panel (will probably show up as best match)
- Control Panel pops up. Near top left click on "Control what the power buttons do"
- Near the top middle, click on "Change settings that are currently unavailable"
- Near the bottom middle, click off "Turn on fast startup (recommended)"

In BIOS, you might also have to disable something like FastBoot. You'll have to check for yourself if you have it, and if you do, if you need to do anything with it.

After turning off fast startup, Win 10 might boot up more slowly. I didn't notice any difference, some people do (but I almost never use Win 10 at home anymore.)
Back to top
View user's profile Send private message 
Terry H

Joined: 29 Mar 2009
Posts: 406
Location: The Heart of Muskoka, ON Canada

PostPosted: Thu 21 Dec 2017, 15:50    Post subject: Re: Boot Puppy from USB in UEFI computer with Win10
Subject description: booting with grub4dos flash drive or UEFI flash drive
 

oldaolgeezer wrote:

I successfully booted tahr-6.0.6 via my grub4dos flash drive as Bigpup described.
(I was able, in a similar way, to boot via grub4dos, Slacko 5.7.0
but it didn't have a Qualcomm Atheros QCA9565 AR9565 wireless driver my laptop needed so, for now, I will stick to
grub4dos tahr-6.0.6.)


To get missing wireless firmware , you can just copy the firmware for the ar9565 from a working puppy. When you boot the puppy that doesn't have the required firmware, you copy it to the directory /lib/firmware. After saving it will be included in your save file/folder. You should then have working wifi.
Back to top
View user's profile Send private message 
oldaolgeezer

Joined: 03 Dec 2006
Posts: 41

PostPosted: Sat 30 Dec 2017, 15:40    Post subject: How to boot Puppy from USB in UEFI computer with Win10
Subject description: trying to get slacko 5.7.0 Qualcomm Atheros AR9565 wireless driver
 

purple379 and TheTKS:

Thank you for the suggestion about disabling WIN10 hibernation.
I have only used WIN10 on this laptop a few times and, in a post above,
I was reminded by Puppy's ntfs-3g driver that WIN10 had left the
hard drive hibernated. (Limbomusic had warned about that issue also.)

====

Terry H :

Since many Puppy users have a favorite derivative, I tried to follow up
on your suggestion for my own old favorite slacko 5.7.0 to copy missing
Qualcomm Atheros ar9565 firmware from a newer Puppy.

But I could not find any *9565* firmware on the newer tahr-6.0.6
(which detects my ar9565 wireless on booting.)

After more research, it appears that the ar9565 firmware in tahr-6.0.6
is provided via the "ath-9k" named driver modules.
(at least in my tahr-6.0.6 "ath-9k stuff" is "sprayed" in a number of
operating system directories.
Such as:

/lib/modules/3.14.79/kernel/drivers/net/wireless/ath
/sys/bus/pci/drivers/ath9k
/sys/bus/platform/drivers/ath9k
/sys/module/ath
)

After that research left my head spinning, I feel that I need to quote the Puppy Master's words on an unrelated driver issue:
"There's too much that I don't know here."

So I think at this time, I will stick with the grub4dos or UEFI Puppy versions
that work for me on my Dell Inspiron 3552 Laptop "out of the box".

Hopefully this thread will be helpful to other Puppy UEFI Dell
Inspiron 3000 series Laptop owners.

I thank those who commented and Merry Christmas and Happy New Year to all.
Back to top
View user's profile Send private message 
Terry H

Joined: 29 Mar 2009
Posts: 406
Location: The Heart of Muskoka, ON Canada

PostPosted: Sat 30 Dec 2017, 16:06    Post subject:  

In a terminal:
Code:

dmesg | grep wifi


This will identify the firmware which is missing that is being attempted to be loaded.
Back to top
View user's profile Send private message 
oldaolgeezer

Joined: 03 Dec 2006
Posts: 41

PostPosted: Tue 02 Jan 2018, 23:12    Post subject: How to boot Puppy from USB in UEFI computer with Win10
Subject description: trying to get slacko 5.7.0 Qualcomm Atheros AR9565 wireless to work
 

Terry H:

Thank you for your help with trying to get a Qualcomm Atheros AR9565 wireless
to work in the old slacko 5.7.0 puppy.

I am now away from my Dell Inspiron 3552 Laptop and will not be using
it for a few weeks while away visiting family members.

However before I left home, I did try your suggested command
in a terminal on my Dell Inspiron 3552 Laptop:

dmesg | grep wifi

it gave no output. (neither did my visual inspection of just a dmesg
command show any "wifi" string.)

Thank you for your support.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [13 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0702s ][ Queries: 13 (0.0069s) ][ GZIP on ]