Puppy Linux UEFI boot EASY

How to do things, solutions, recipes, tutorials
Message
Author
s1wood
Posts: 43
Joined: Sat 16 Jan 2010, 22:31

#41 Post by s1wood »

I've put the command in but sdg1 can't be opened: I get 'permission denied' even when using sudo. Any suggestions?

foxpup
Posts: 1132
Joined: Fri 29 Jul 2016, 21:08

#42 Post by foxpup »

s1wood wrote:I've put the command in but sdg1 can't be opened: I get 'permission denied' even when using sudo. Any suggestions?
Do you mean that sdg1 is for your usb? Then you should use /dev/sdg in the dd command and not /dev/sdg1. Probably with sudo; I am not very familiar with the sudo-thing; there is no such thing in Puppy :)

Code: Select all

sudo dd if=/path_to_xenialpupiso/xenialpup-7.5-uefi.iso of=/dev/sdg bs=1M
You should not try to enter /dev/sdg nor /dev/sdg1 btw.

s1wood
Posts: 43
Joined: Sat 16 Jan 2010, 22:31

#43 Post by s1wood »

I've now loaded the ISO on the USB using the command line and it works on the Thinkpad but won't boot the Aspire at all - I have been through all the steps to authorise the .efi.

I was going to try again with the EFI/boot folder but the device is now coming up as read-only and won't let me put a new folder in.

Any advice, or should I try a different OS? I did want to use Puppy because this netbook has a tiny HDD.

Susan

foxpup
Posts: 1132
Joined: Fri 29 Jul 2016, 21:08

#44 Post by foxpup »

s1wood wrote:I've now loaded the ISO on the USB using the command line and it works on the Thinkpad but won't boot the Aspire at all - I have been through all the steps to authorise the .efi.
What steps do you mean?
And where in the boot proces on the Aspire does it stop?
Just another thought: did you make a savefile or -folder on the Thinkpad on first shutdown and is it on the usb? If you use the usb with the savefile from the Thinkpad on the Aspire it may not boot.

s1wood
Posts: 43
Joined: Sat 16 Jan 2010, 22:31

uefi boot using rEFInd

#45 Post by s1wood »

I have cracked the problem! I re-installed on the USB with Unetbootin and then (having done some more research) downloaded rEFInd and transferred the folders to the USB. After going through the loading procedure again it booted first time.
Sadly after all that, it won't be of any use since I can't get the wireless to work. I shall have to try another OS.

Thanks for your assistance,

Susan

foxpup
Posts: 1132
Joined: Fri 29 Jul 2016, 21:08

#46 Post by foxpup »

Well done solving your booting problem. :D It is a bit unusual to me to boot the usb with refind. 8)
For the wireless, use dmesg in console to find out what driver and version your kernel is looking for, for wifi. Then google the driver or go find it in the big repos of ubuntu and drop it in /lib/firmware and restart.

User avatar
mikeslr
Posts: 3890
Joined: Mon 16 Jun 2008, 21:20
Location: 500 seconds from Sol

#47 Post by mikeslr »

Hi s1wood,

Combined foxpup's suggestion to see what was available from the "Big Distros" with your indication that you were going to try another OS and did some research.

The only thing I could find which might be useful was that someone running Ubuntu Precise Pangolin was able to compile the necessary driver after switching to the 3.16.2 Kernel. At least, that was my take from this thread, https://ubuntuforums.org/showthread.php ... 936&page=3

You might want to try an early (Beta) FatDog64-700, which used that kernel and may have the necessary driver already present. Alternatively, you might want to try FatDog64-702, which used the 3.18.7 Kernel "This is a conscious decision to ensure that all existing 3rd party kernel modules for 700 will continue to work in 701." http://murga-linux.com/puppy/viewtopic. ... 107#883107.

Although firmware can be ported from one Puppy to another, drivers have to be compiled against the kernel of the operating system.

mikesLr

p.s. This thread may be of interest: https://gist.github.com/franga2000/2154d09f864894b8fe84
Last edited by mikeslr on Sat 14 Apr 2018, 14:04, edited 1 time in total.

foxpup
Posts: 1132
Joined: Fri 29 Jul 2016, 21:08

missing drivers

#48 Post by foxpup »

Although firmware can be ported from one Puppy to another, drivers have to be compiled against the kernel of the operating system.
If I may add, Mikeslr: this is not always true. The wifi drivers intel delivers are just executables/blobs(?) you have to put in /lib/firmware. No compiling in that case, but the version has to be right.
Problem in Puppy is often that the version of the blob is not right for the kernel of the Puppy. It is not easy to know what version(s) of the driver are right if you do not have the graphic card to try.
Also mind that some wifi cards do not work for older kernels. You can find that info on the site of the card maker (often intel).
On the intel sites I often cannot find the right version: intel often just gives one version of the driver, often an old one. But in the repos of debian and ubuntu all the versions are collected.


In fact, gyro on Puppy also keeps a great collection of firmware drivers: http://murga-linux.com/puppy/viewtopic.php?t=97276
If that does not work, you may have to compile! :roll:

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

Re: missing drivers

#49 Post by rcrsn51 »

foxpup wrote:If I may add, Mikeslr: this is not always true. The wifi drivers intel delivers are just executables/blobs(?) you have to put in /lib/firmware. No compiling in that case, but the version has to be right.
You are confusing drivers with firmware. Intel provides an open-source wifi driver that is part of the standard kernel. Run:

Code: Select all

modinfo iwlwifi
But the driver ALSO requires firmware which changes with each new model of Intel's wifi adapter. See the "firmware" list from the previous command.

If the required firmware is not included in the Puppy ISO, you need to install it separately.

foxpup
Posts: 1132
Joined: Fri 29 Jul 2016, 21:08

Re: missing drivers

#50 Post by foxpup »

rcrsn51 wrote:You are confusing drivers with firmware. Intel provides an open-source wifi driver that is part of the standard kernel. Run:

Code: Select all

modinfo iwlwifi
But the driver ALSO requires firmware which changes with each new model of Intel's wifi adapter. See the "firmware" list from the previous command.

If the required firmware is not included in the Puppy ISO, you need to install it separately.
Thanks for pointing this out, rcrsn51.

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

Re: Puppy Linux UEFI boot EASY

#51 Post by greengeek »

Limbomusic wrote: I made a webpage explaining this as clearly as possible:
http://helledussen.com/linux/files/UEFI ... e_usb.html
Hi Limbomusic - I just wanted to say many thanks for your webpage. Even though UEFI has been around a long time today is the first time I have tried to boot a UEFI laptop from usb and your webpage helped to prepare the usb stick in only ten minutes. Worked perfectly (Xenial 7.5)

I have some comments regarding your webpage:

1) The first comment re Format usb drive does not mention the "bootable" flag. I set this flag asssuming that it must be necessary, but a newbie would not know this.

2) Your note re ("actually, you only....) needs to be slightly bigger font so it is easy to see (i have old eyes :-) )

3) The note re "Make a folder called EFI" - left me confused for a minute - should I label the directory "EFI" in capital letters or "efi" in lowercase. ? Maybe you could add a note to say specifically "(use capitals)"
(Maybe it does not matter??...)

4) I think that the comments at the bottom of page advising what to do with hibernate errors etc need to be larger font. (old eyes again...)

Your Boot Keys link was awesome! Fantastic info!!!!

Thanks!

phredo
Posts: 65
Joined: Mon 21 Oct 2013, 23:15

#52 Post by phredo »

Your method worked like a charm for me! I had tried several other methods but they either didn't work or were to complicated for me. I have two questions:

1) Could I do the same to boot from the SD card in my Win 10 laptop?

2} How could I modify your method so that I could have the Puppy files in a directory of its own? By the way, I ended up using the grub.cfg file from the bionicpup iso rather than yours so I could have its bootup options displayed. By having bionic pup in its own directory I could add other files to the SD card (or USB stick) and not have them mixed up with the puppy files.

Thank you!

User avatar
Limbomusic
Posts: 267
Joined: Fri 15 Apr 2016, 14:07
Location: Norway
Contact:

hey greengeek and phredo

#53 Post by Limbomusic »

Greengeek:
1. I think you only set the "bootable" option if you use some sort of tool to format the usb stick. With the method I describe you don't need to do that - at least not from a windows computer. (you just right click and choose format using standard values)
2. Gotcha - fixed.
3. I don't think it matters. But we KNOW it works with capital letters and thats what it says so I think thats okay.
4. Fixed.
Youre welcome! And thanks so much ! Really nice to hear that it helped you.

phredo:
1. I think so yes, but I,ve never tried it - I guess as long as the BIOS supports it, you can.
2. I do not know. Maybe you should start a new thread? I'm not really using puppy much these days, so I'm a bit out of touch. Sorry :-)

You're welcome !

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#54 Post by bigpup »

I am being lazy.
I have not looked at all posts.

My computer with UEFI bios will not see a USB drive, to boot from, if using normal settings.
To see USB devices as possible boot-able device.
MUST disable secure boot in the UEFI bios settings.
If secure boot is ENABLED. No possible way to boot from USB device.

With secure boot DISABLED.
I can put multiple Puppy versions on a USB flash drive or USB hard drive.
Each one a separate frugal install.
Run Grub4dos bootloader conig.
Install Grub4dos boot loader on the USB device to boot it.
When It boots, a Grub4dos menu pops up, listing all the Puppy versions to select which one to boot.

Yes, Windows 10 still boots with no problem keeping secure boot disabled.
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 :shock:
YaPI(any iso installer)

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#55 Post by rcrsn51 »

bigpup wrote:With secure boot DISABLED.
I can put multiple Puppy versions on a USB flash drive or USB hard drive.
Each one a separate frugal install.
Run Grub4dos bootloader conig.
Install Grub4dos boot loader on the USB device to boot it.
When It boots, a Grub4dos menu pops up, listing all the Puppy versions to select which one to boot.
This depends on how UEFI is implemented on your particular system.

In some cases, the flash drive must ALSO have a UEFI boot structure or the main UEFI firmware will ignore it.

This will also depend on whether you have enabled Legacy Mode.

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#56 Post by bigpup »

Never a simple answer that works for every possible computer :roll:
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 :shock:
YaPI(any iso installer)

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#57 Post by rcrsn51 »

bigpup wrote:Never a simple answer that works for every possible computer :roll:
Exactly. I have seen a machine where the main UEFI firmware required that a flash drive also had UEFI structure, but required Legacy Mode in order to detect it.

In that case, it wasn't so much legacy mode as a Compatibility Support Module that allowed for alternate boot devices.

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#58 Post by bigpup »

The UEFI bios could also now have CSM option.
The Compatibility Support Module (CSM) is a component of the UEFI firmware that provides legacy BIOS compatibility by emulating a BIOS environment, allowing legacy operating systems and some option ROMs that do not support UEFI to still be used.
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 :shock:
YaPI(any iso installer)

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#59 Post by rcrsn51 »

I suspect that each UEFI supplier can put whatever they want in their CSM modules and it doesn't have to be legacy BIOS support.

giraldiego
Posts: 1
Joined: Wed 04 Dec 2019, 21:23

boot from sdcard

#60 Post by giraldiego »

Hello, thank you for this guide, I was able to make a bootable USB with these steps.

But I am having trouble making my PC to boot from an internal SD card. I am trying to install it in a partition formatted as ext2 in the SD card, and from grub console I am able to load the vmlinux and the intrd, but I get an error saying it can't find the bionic_puppy8.0.sfs file. The files are located in the root of the partition, but they aren't found.

I end with a bash prompt and access to the console. Any clue how to solve this?

Post Reply