Puppy Linux UEFI boot EASY

How to do things, solutions, recipes, tutorials
Message
Author
foxpup
Posts: 1132
Joined: Fri 29 Jul 2016, 21:08

Re: boot from sdcard

#61 Post by foxpup »

welcome to the kennels @giraldiego
giraldiego wrote: 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?
Working from grub console is not easy ;-)
Do you really end up in bash console? not in grub console?
Did you set root (grub parameter) properly? In grub console type "set" to get the grub parameters.

It may be easier to add a menuentry for your Puppy in the grub.cfg .
Something like this:

Code: Select all

menuentry 'Bionicpup' {
  insmod ext2
  insmod linux
  search --file --set root --no-floppy /initrd.gz
  linux /vmlinuz pfix=fsck 
  initrd /initrd.gz
}
I always put each frugal install in its own directory. Then the entry would be like this:

Code: Select all

menuentry 'Bionicpup' {
  insmod ext2
  insmod linux
  search --file --set root --no-floppy /upupBB/initrd.gz
  linux /upupBB/vmlinuz pfix=fsck psubdir=/upupBB/
  initrd /upupBB/initrd.gz
}
Maybe Puppy really needs the psubdir boot parameter?
For the first example:
linux /vmlinuz pfix=fsck psubdir=/

Of course, if you insist on working from grub console, you can type the lines from the menuentry in the grub console.

User avatar
gychang
Posts: 414
Joined: Sat 29 Nov 2008, 20:30
Location: San Diego, CA

2 pups on another HD (not USB)

#62 Post by gychang »

This indeed works when I formatted the USB stick and followed the instructions as described on the first thread. Now I have 2 Pups dual booting (BionicPup64, Slacko64) on a HD (on same partition sdb2 but in different folders in /BP64 and /SL64). Normally when I want to play with a pup, I have to change to CSM, from UEFI on bios. I like to be able to boot pups in UEFI. My bios has no option of secure boot...

1. I plan to format sdb2 with fat32 and create 2 folders BP64, SL64. Put in key files (usually 4) in each folders.
2. how do I edit grub.cfg so it finds each proper folders for dual booting?
3. do I need or modify menu.lst? (grub4dos)

thanks,
Last edited by gychang on Tue 19 May 2020, 02:02, edited 2 times in total.
---
trying to learn puppylinux... :D
---

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

#63 Post by bigpup »

I am not trying to say this is no longer good way to do it.
This is more of a manual way to do something that now can be handled all by a new Puppy installer program.

Recently Frugalpup Installer was released by gyro.
http://www.murga-linux.com/puppy/viewtopic.php?t=114340
It can install a UEFI boot loader that will work with UEFI secure boot enabled.
Has ability to provide a Puppy security key for UEFI.
It also can install the old style bios boot loader.
Or it can install both boot loaders.

Just make sure to use the latest version.
Gyro is still tweaking it.
It only does frugal installs, but can do them to any type drive.
I have done installs to internal emmc cards, hard drives, sd cards, and USB sticks.

The drive does need two partitions.
first one a small 500MB, fat32 formatted, flagged boot.
All the boot files go on it.
This is a UEFI requirement for a boot partition.
Rest of drive, a partition(s) formatted, how you want.
Puppy frugal installs go on the second partition.
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)

Post Reply