Unconventional Booting Possibilities [SOLVED]

Moderator: Forum moderators

Post Reply
User avatar
JASpup
Posts: 1653
Joined: Sun Oct 04, 2020 10:52 am
Location: U.S.A.
Has thanked: 70 times
Been thanked: 89 times

Unconventional Booting Possibilities [SOLVED]

Post by JASpup »

Before defaulting to what I know is possible, I'm exploring two potential new ways to boot Puppy.

One is booting an internal hd Puppy via a USB bootloader. The USB uses SYSLINUX which I've read from one source requires boot files to be on the same partition as configuration files. There are vague instructions for a way around it by installing the builtin extlinux utility on the internal hd partition.

Code: Select all

root# extlinux --help
Usage: extlinux [options] directory
  --install    -i  Install over the current bootsector
  --update     -U  Update a previous installation
  --zip        -z  Force zipdrive geometry (-H 64 -S 32)
  --sectors=#  -S  Force the number of sectors per track
  --heads=#    -H  Force number of heads
  --stupid     -s  Slow, safe and stupid mode
  --raid       -r  Fall back to the next device on boot failure
  --once=...   -o  Execute a command once upon boot
  --clear-once -O  Clear the boot-once command
  --reset-adv      Reset auxilliary data
  --menu-save= -M  Set the label to select as default on the next boot
root# 

I would use any open source utility on the USB, but the 1st goal is to avoid overwriting or significantly altering the internal hd bootloader.

For that, the other possibility is using the Windows boot loader: https://www.lifewire.com/windows-boot-m ... gr-2625813, but I have no idea if it can boot a Linux partition after searching on it. It looks like everyone dual-booting Windows, most often with Ubuntu, is using Ubuntu's GRUB 2 bootloader.

If none of this works I am probably going to make every Puppy a live boot kindred with the other recent discussions, and how I began using Puppy until I starting believing there was something wrong with it, starting with the idea the ample ramdisk we're presented with is using half our ram, when that's only the case if we've written that much data to it.

Last edited by JASpup on Wed May 19, 2021 7:17 am, edited 1 time in total.

On the Whiz-Neophyte Bridge
Linux Über Alles
Disclaimer: You may not be reading my words as posted.

TerryH
Posts: 578
Joined: Mon Jun 15, 2020 2:08 am
Has thanked: 114 times
Been thanked: 131 times

Re: Unconventional Booting Possibilities

Post by TerryH »

It's very simple to boot form a USB drive and boot to the USB drive, or the internal drive/s. I have attached a partial copy of the menu.lst from a USB drive. It is booting a variety of puppys, debiandogs and weedogs both on the USB and also the internal SSD. This is booting using legacy grub (not grub4dos) installed to the USB drive.

You may observe that the (hd0,0) and (hd1.3) may seem to be back to front, but this is correct syntax. GRUB identifies the drive it is on as hd0. After booting the drives display correctly within the system as sda and sdb.

Code: Select all

timeout 10
color black/cyan yellow/cyan
gfxmenu (hd0,0)/boot/gfxmenu
default 1

title  BionicPup64 (Frugal install on sdb1 Kingston USB)
kernel (hd0,0)/bionic64/vmlinuz psubdir=bionic64 root=/dev/sdb1 pmedia=usbflash
initrd (hd0,0)/bionic64/initrd.gz

title WeeDogArch (frugal install on /dev/sda4)
root (hd1,3)
kernel /weedogArch64/vmlinuz-linux w_bootfrom=/mnt/sda4/weedogArch64
initrd /weedogArch64/initrd.gz

title BusterDog64-Porteus (from directory BusterDog64 openbox/tint2 on sdb1) 
root (hd0,0)
kernel (hd0,0)/BusterDog64/live/vmlinuz1 noauto from=/BusterDog64 changes=EXIT:/BusterDog64/live/
initrd (hd0,0)/BusterDog64/live/initrd1.xz

title BusterDog64-Porteus (from directory busterdog64 openbox/lxpanel on sda4) 
root (hd0,0)
kernel (hd1,3)/busterdog64/live/vmlinuz1 noauto from=/busterdog64 changes=EXIT:/busterdog64/live/
initrd (hd1,3)/busterdog64/live/initrd1.xz

title  SCPup64 (SCPup64 19.09 +0 frugal on sdb1)
kernel (hd0,0)/SCpup64/vmlinuz psubdir=SCpup64 root=/dev/sdb1 pmedia=usbflash
initrd (hd0,0)/SCpup64/initrd.gz

title  BionicPup32 8.0 +24 (from /dev/sda4)
kernel (hd1,3)/bionic32/vmlinuz psubdir=bionic32 root=/dev/sda4 pmedia=usbflash i915.modeset=0
initrd (hd1,3)/bionic32/initrd.gz

New Laptop - ASUS ZenBook Ryzen 7 5800H Vega 7 iGPU / 16 GB RAM

User avatar
JASpup
Posts: 1653
Joined: Sun Oct 04, 2020 10:52 am
Location: U.S.A.
Has thanked: 70 times
Been thanked: 89 times

Re: Unconventional Booting Possibilities

Post by JASpup »

TerryH wrote: Sun May 16, 2021 7:20 pm

It's very simple to boot form a USB drive and boot to the USB drive, or the internal drive/s.

This is booting using legacy grub (not grub4dos) installed to the USB drive.

This can happen if I create a new Legacy GRUB USB? Good news. I was going to ask if it needs to be Linux partitioned, but the app claims to support FAT.

My web searching was reporting not possible (e.g., Win bootloader) or difficult (EXTLINUX).

Need to study. Will report results.

On the Whiz-Neophyte Bridge
Linux Über Alles
Disclaimer: You may not be reading my words as posted.

User avatar
bigpup
Moderator
Posts: 6431
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 767 times
Been thanked: 1331 times

Re: Unconventional Booting Possibilities

Post by bigpup »

If you are dealing with a legacy bios computer or a UEFI computer with secure boot disabled, legacy boot enabled, or CSM enabled.
Grub4dos boot loader can boot from a USB.

If you have latest version of Grub4dos v1.9.4
You can run Grub4dos Config
Tell it to install to the mounted USB drive.
Let it search all drives attached to computer.
It is limited to searching 2 layers deep.
Frugal installs, way down into a bunch of directory layers, probably will not be found.
It should boot from the USB you installed it on, with a boot menu listing all operating systems, it finds on the different drives.
Official Puppy versions it should find.
Best if they are frugal installs and the directory the frugal is in, is named for the Puppy version, in it.

It may still make a Windows 10 boot entry, as well as an entry for some of the mainstream Linux OS's.
Those keep changing their boot loader entry requirements.
some of the Puppy like OS's may also get entries.

The USB needs to be using the msdos partition table, so it has an mbr.
The first partition needs to be formatted fat32, flagged boot, if more than one partition on USB.
Install Grub4dos to this first partition.

Note:
The menu uses UUID to identify the drive partitions the installs are on.
So, drive info is only good for drives that were there when Grub4dos Config was run.
Good idea to have one Puppy frugal install on the USB, so that one Puppy install can always boot.

Forum Global Moderator
The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
JASpup
Posts: 1653
Joined: Sun Oct 04, 2020 10:52 am
Location: U.S.A.
Has thanked: 70 times
Been thanked: 89 times

Re: Unconventional Booting Possibilities

Post by JASpup »

GRUB4DOS would be safer. Legacy threatens to rewrite the boot partition of the internal drive if you don't know exactly what you are doing.

This was an oldforum topic:
https://oldforum.puppylinux.com/viewtop ... 54#p444954

It usually finds internal Windows, but G4D needs to find ALL os on an internal hd for a USB bootloader to work.

On the Whiz-Neophyte Bridge
Linux Über Alles
Disclaimer: You may not be reading my words as posted.

User avatar
JASpup
Posts: 1653
Joined: Sun Oct 04, 2020 10:52 am
Location: U.S.A.
Has thanked: 70 times
Been thanked: 89 times

Re: Unconventional Booting Possibilities

Post by JASpup »

@bigpup this menu was created by GRUB4DOS:

Code: Select all

# Frugal installed Puppy

title XenialPup 7.5 USB (sdb1)
  kernel /vmlinuz    pfix=fsck pmedia=usbflash
  initrd /initrd.gz

title XenialPup 7.5 SII (sda2/xenialpup-7.5-uefi)
  kernel /xenialpup-7.5-uefi/vmlinuz   psubdir=xenialpup-7.5-uefi pfix=fsck pmedia=ataflash
  initrd /xenialpup-7.5-uefi/initrd.gz

title X-Tahr 2.0 SII (sda2/X-tahr-2.0)
  kernel /X-tahr-2.0/vmlinuz   psubdir=X-tahr-2.0 pfix=fsck pmedia=ataflash
  initrd /X-tahr-2.0/initrd.gz

# Windows
# this entry searches Windows on the HDD and boot it up
title Windows\nBoot up Windows if installed
  map (hd1) (hd0)
  map (hd0) (hd1)
  map --hook
  errorcheck off
  find --set-root --ignore-floppies --ignore-cd  /bootmgr
  chainloader /bootmgr
  find --set-root --ignore-floppies --ignore-cd  /ntldr
  chainloader /ntldr
  find --set-root --ignore-floppies --ignore-cd   /io.sys
  chainloader /io.sys
  errorcheck on

SII is an internal HD. I first put the Puppy directories in a multiboot directory, but G4D ignored them.

One deep it found them to create the menu, but it can't find them to boot.

That would make sense to me, as there is nothing in this menu to specify the internal boot media (labeled "ataflash" for PUPMODE 13).

Would G4D generate a menu with options it cannot boot?

SYSLINUX does, maybe G4D too, have an APPEND command for directories presumably on the boot medium.

Maybe Windows "map" required?

@TerryH maybe your kernel (hd0,0) legacy entries?

On the Whiz-Neophyte Bridge
Linux Über Alles
Disclaimer: You may not be reading my words as posted.

User avatar
bigpup
Moderator
Posts: 6431
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 767 times
Been thanked: 1331 times

Re: Unconventional Booting Possibilities

Post by bigpup »

What version of Grub4dos Config are you using?

Those entries look totally different from what Grub4dos Config, installed in Fossapup64 9.5, produces.

The uuid is the specific id of the drive partition.

Example:

Code: Select all

# Frugal installed Puppy

title Puppy fossapup64 9.5 (sdb3/fossapup6495)
  find --set-root uuid () 24a14d90-6d75-4276-a6a0-ef026f8d07cf
  kernel /fossapup6495/vmlinuz  pdrv=24a14d90-6d75-4276-a6a0-ef026f8d07cf  psubdir=/fossapup6495 pmedia=atahd pfix=fsck
  initrd /fossapup6495/initrd.gz

title Puppy precise 5.7.1 (sdb1/precise571)
  find --set-root uuid () 5111EF974B5DB59D
  kernel /precise571/vmlinuz  pdrv=5111EF974B5DB59D  psubdir=/precise571 pmedia=atahd pfix=fsck
  initrd /precise571/initrd.gz

title Puppy slacko 6.3.2 (sdb2/slacko632uefi)
  find --set-root uuid () 1361-B01D
  kernel /slacko632uefi/vmlinuz  pdrv=1361-B01D  psubdir=/slacko632uefi pmedia=atahd pfix=fsck
  initrd /slacko632uefi/initrd.gz

title Puppy tahr 6.0.5 (sdb2/tahr605_PAE)
  find --set-root uuid () 1361-B01D
  kernel /tahr605_PAE/vmlinuz  pdrv=1361-B01D  psubdir=/tahr605_PAE pmedia=atahd pfix=fsck
  initrd /tahr605_PAE/initrd.gz

title Puppy tahr 6.0.6 (sdb2/tahr606k4130uefi)
  find --set-root uuid () 1361-B01D
  kernel /tahr606k4130uefi/vmlinuz  pdrv=1361-B01D  psubdir=/tahr606k4130uefi pmedia=atahd pfix=fsck
  initrd /tahr606k4130uefi/initrd.gz

title Puppy upupbb 19.03 (sdb3/bionicpup3280+2uefi)
  find --set-root uuid () 24a14d90-6d75-4276-a6a0-ef026f8d07cf
  kernel /bionicpup3280+2uefi/vmlinuz  pdrv=24a14d90-6d75-4276-a6a0-ef026f8d07cf  psubdir=/bionicpup3280+2uefi pmedia=atahd pfix=fsck
  initrd /bionicpup3280+2uefi/initrd.gz

title Puppy buster 8.0 (sdb3/buster80uefik41956)
  find --set-root uuid () 24a14d90-6d75-4276-a6a0-ef026f8d07cf
  kernel /buster80uefik41956/vmlinuz  pdrv=24a14d90-6d75-4276-a6a0-ef026f8d07cf  psubdir=/buster80uefik41956 pmedia=atahd pfix=fsck
  initrd /buster80uefik41956/initrd.gz

title Puppy LxPupSc 18.06 (sdb3/LxPupSc1806Mk64)
  find --set-root uuid () 24a14d90-6d75-4276-a6a0-ef026f8d07cf
  kernel /LxPupSc1806Mk64/vmlinuz  pdrv=24a14d90-6d75-4276-a6a0-ef026f8d07cf  psubdir=/LxPupSc1806Mk64 pmedia=atahd pfix=fsck
  initrd /LxPupSc1806Mk64/initrd.gz

title Puppy ScPup64 20.01 (sdb3/ScPup642001+2T)
  find --set-root uuid () 24a14d90-6d75-4276-a6a0-ef026f8d07cf
  kernel /ScPup642001+2T/vmlinuz  pdrv=24a14d90-6d75-4276-a6a0-ef026f8d07cf  psubdir=/ScPup642001+2T pmedia=atahd pfix=fsck
  initrd /ScPup642001+2T/initrd.gz

title Puppy xenialpup 7.5 (sdb3/xenialpup75uefi)
  find --set-root uuid () 24a14d90-6d75-4276-a6a0-ef026f8d07cf
  kernel /xenialpup75uefi/vmlinuz  pdrv=24a14d90-6d75-4276-a6a0-ef026f8d07cf  psubdir=/xenialpup75uefi pmedia=atahd pfix=fsck
  initrd /xenialpup75uefi/initrd.gz

title Puppy zestypup 17.10.01 (sdb3/zestypup171001)
  find --set-root uuid () 24a14d90-6d75-4276-a6a0-ef026f8d07cf
  kernel /zestypup171001/vmlinuz  pdrv=24a14d90-6d75-4276-a6a0-ef026f8d07cf  psubdir=/zestypup171001 pmedia=atahd pfix=fsck
  initrd /zestypup171001/initrd.gz

title Puppy slacko64 7.0 (sdb5/slacko6470)
  find --set-root uuid () 230cd0a9-8589-440c-8790-6aab10422ebf
  kernel /slacko6470/vmlinuz  pdrv=230cd0a9-8589-440c-8790-6aab10422ebf  psubdir=/slacko6470 pmedia=atahd pfix=fsck
  initrd /slacko6470/initrd.gz

title Puppy bionicpup64 8.0 (sdb6/bionicpup6480uefi)
  find --set-root uuid () 6b517a5d-03c6-4635-96c5-659b29518c84
  kernel /bionicpup6480uefi/vmlinuz  pdrv=6b517a5d-03c6-4635-96c5-659b29518c84  psubdir=/bionicpup6480uefi pmedia=atahd pfix=fsck
  initrd /bionicpup6480uefi/initrd.gz

title Puppy slacko64 6.9.9.9 (sdb6/slacko646999uefik49FFLO)
  find --set-root uuid () 6b517a5d-03c6-4635-96c5-659b29518c84
  kernel /slacko646999uefik49FFLO/vmlinuz  pdrv=6b517a5d-03c6-4635-96c5-659b29518c84  psubdir=/slacko646999uefik49FFLO pmedia=atahd pfix=fsck
  initrd /slacko646999uefik49FFLO/initrd.gz

title Puppy stretch 7.5 (sdb6/stretch75_k49101)
  find --set-root uuid () 6b517a5d-03c6-4635-96c5-659b29518c84
  kernel /stretch75_k49101/vmlinuz  pdrv=6b517a5d-03c6-4635-96c5-659b29518c84  psubdir=/stretch75_k49101 pmedia=atahd pfix=fsck
  initrd /stretch75_k49101/initrd.gz

title Puppy tahr 6.0.5 (sdb6/tahr605_PAE)
  find --set-root uuid () 6b517a5d-03c6-4635-96c5-659b29518c84
  kernel /tahr605_PAE/vmlinuz  pdrv=6b517a5d-03c6-4635-96c5-659b29518c84  psubdir=/tahr605_PAE pmedia=atahd pfix=fsck
  initrd /tahr605_PAE/initrd.gz

title Puppy tahr64 6.0.6 (sdb6/tahr64606uefi)
  find --set-root uuid () 6b517a5d-03c6-4635-96c5-659b29518c84
  kernel /tahr64606uefi/vmlinuz  pdrv=6b517a5d-03c6-4635-96c5-659b29518c84  psubdir=/tahr64606uefi pmedia=atahd pfix=fsck
  initrd /tahr64606uefi/initrd.gz

title Puppy artfulpup 17.10.01 (sdb7/artfulpup171001++)
  find --set-root uuid () 1cd0f861-5576-42aa-af41-d09a6d260bc9
  kernel /artfulpup171001++/vmlinuz  pdrv=1cd0f861-5576-42aa-af41-d09a6d260bc9  psubdir=/artfulpup171001++ pmedia=atahd pfix=fsck
  initrd /artfulpup171001++/initrd.gz

title Puppy xenialpup64 7.5 (sdb7/xenialpup6475uefi)
  find --set-root uuid () 1cd0f861-5576-42aa-af41-d09a6d260bc9
  kernel /xenialpup6475uefi/vmlinuz  pdrv=1cd0f861-5576-42aa-af41-d09a6d260bc9  psubdir=/xenialpup6475uefi pmedia=atahd pfix=fsck
  initrd /xenialpup6475uefi/initrd.gz

title Fatdog64 (sdb6/Fatdog64800b)
  find --set-root uuid () 6b517a5d-03c6-4635-96c5-659b29518c84
  kernel /Fatdog64800b/vmlinuz  pdrv=6b517a5d-03c6-4635-96c5-659b29518c84  psubdir=/Fatdog64800b pmedia=atahd pfix=fsck
  initrd /Fatdog64800b/initrd

title Fatdog64 (sdb6/Fatdog64720b)
  find --set-root uuid () 6b517a5d-03c6-4635-96c5-659b29518c84
  kernel /Fatdog64720b/vmlinuz  pdrv=6b517a5d-03c6-4635-96c5-659b29518c84  psubdir=/Fatdog64720b pmedia=atahd pfix=fsck
  initrd /Fatdog64720b/initrd

# Full installed Linux

title Unknown (sdb6)
  find --set-root uuid () 6b517a5d-03c6-4635-96c5-659b29518c84
  kernel /vmlinuz-4.9.15-xenialpup64 root=UUID=6b517a5d-03c6-4635-96c5-659b29518c84 ro
#                      root=/dev/sdb6

title Find Grub2\nBoot up grub2 if installed
  errorcheck off
  find --set-root --ignore-floppies --ignore-cd /boot/grub/i386-pc/core.img
  kernel /boot/grub/i386-pc/core.img
  find --set-root --ignore-floppies --ignore-cd /boot/grub/core.img
  kernel /boot/grub/core.img
  errorcheck on

# Windows
# this entry searches Windows on the HDD and boot it up
title Windows\nBoot up Windows if installed
  errorcheck off
  find --set-root --ignore-floppies --ignore-cd  /bootmgr
  chainloader /bootmgr
  find --set-root --ignore-floppies --ignore-cd  /ntldr
  chainloader /ntldr
  find --set-root --ignore-floppies --ignore-cd   /io.sys
  chainloader /io.sys
  errorcheck on

# Advanced Menu
title Advanced menu
  configfile /menu-advanced.lst
  commandline

Forum Global Moderator
The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
JASpup
Posts: 1653
Joined: Sun Oct 04, 2020 10:52 am
Location: U.S.A.
Has thanked: 70 times
Been thanked: 89 times

Re: Unconventional Booting Possibilities

Post by JASpup »

Wow, big difference.

1.9.2, 32bit

Seek out Fossa version or try to boot Fossa? I'd do it for this, if this old clunker can handle her.

EDIT: I see there is no 32 Fossa. Updated ppm displays 1.9.4, but installing and running it it's 1.9.3. Either way, it didn't make a difference.

There has to be a way to do this, but it looks like the 64 tool makes an easier go of it.

bigpup wrote: Tue May 18, 2021 9:47 am

What version of Grub4dos Config are you using?

Those entries look totally different from what Grub4dos Config, installed in Fossapup64 9.5, produces.

The uuid is the specific id of the drive partition.

Example:

Code: Select all

# Frugal installed Puppy

title Puppy fossapup64 9.5 (sdb3/fossapup6495)
  find --set-root uuid () 24a14d90-6d75-4276-a6a0-ef026f8d07cf
  kernel /fossapup6495/vmlinuz  pdrv=24a14d90-6d75-4276-a6a0-ef026f8d07cf  psubdir=/fossapup6495 pmedia=atahd pfix=fsck
  initrd /fossapup6495/initrd.gz

title Puppy precise 5.7.1 (sdb1/precise571)
  find --set-root uuid () 5111EF974B5DB59D
  kernel /precise571/vmlinuz  pdrv=5111EF974B5DB59D  psubdir=/precise571 pmedia=atahd pfix=fsck
  initrd /precise571/initrd.gz

title Puppy slacko 6.3.2 (sdb2/slacko632uefi)
  find --set-root uuid () 1361-B01D
  kernel /slacko632uefi/vmlinuz  pdrv=1361-B01D  psubdir=/slacko632uefi pmedia=atahd pfix=fsck
  initrd /slacko632uefi/initrd.gz

title Puppy tahr 6.0.5 (sdb2/tahr605_PAE)
  find --set-root uuid () 1361-B01D
  kernel /tahr605_PAE/vmlinuz  pdrv=1361-B01D  psubdir=/tahr605_PAE pmedia=atahd pfix=fsck
  initrd /tahr605_PAE/initrd.gz

title Puppy tahr 6.0.6 (sdb2/tahr606k4130uefi)
  find --set-root uuid () 1361-B01D
  kernel /tahr606k4130uefi/vmlinuz  pdrv=1361-B01D  psubdir=/tahr606k4130uefi pmedia=atahd pfix=fsck
  initrd /tahr606k4130uefi/initrd.gz

title Puppy upupbb 19.03 (sdb3/bionicpup3280+2uefi)
  find --set-root uuid () 24a14d90-6d75-4276-a6a0-ef026f8d07cf
  kernel /bionicpup3280+2uefi/vmlinuz  pdrv=24a14d90-6d75-4276-a6a0-ef026f8d07cf  psubdir=/bionicpup3280+2uefi pmedia=atahd pfix=fsck
  initrd /bionicpup3280+2uefi/initrd.gz

title Puppy buster 8.0 (sdb3/buster80uefik41956)
  find --set-root uuid () 24a14d90-6d75-4276-a6a0-ef026f8d07cf
  kernel /buster80uefik41956/vmlinuz  pdrv=24a14d90-6d75-4276-a6a0-ef026f8d07cf  psubdir=/buster80uefik41956 pmedia=atahd pfix=fsck
  initrd /buster80uefik41956/initrd.gz

title Puppy LxPupSc 18.06 (sdb3/LxPupSc1806Mk64)
  find --set-root uuid () 24a14d90-6d75-4276-a6a0-ef026f8d07cf
  kernel /LxPupSc1806Mk64/vmlinuz  pdrv=24a14d90-6d75-4276-a6a0-ef026f8d07cf  psubdir=/LxPupSc1806Mk64 pmedia=atahd pfix=fsck
  initrd /LxPupSc1806Mk64/initrd.gz

title Puppy ScPup64 20.01 (sdb3/ScPup642001+2T)
  find --set-root uuid () 24a14d90-6d75-4276-a6a0-ef026f8d07cf
  kernel /ScPup642001+2T/vmlinuz  pdrv=24a14d90-6d75-4276-a6a0-ef026f8d07cf  psubdir=/ScPup642001+2T pmedia=atahd pfix=fsck
  initrd /ScPup642001+2T/initrd.gz

title Puppy xenialpup 7.5 (sdb3/xenialpup75uefi)
  find --set-root uuid () 24a14d90-6d75-4276-a6a0-ef026f8d07cf
  kernel /xenialpup75uefi/vmlinuz  pdrv=24a14d90-6d75-4276-a6a0-ef026f8d07cf  psubdir=/xenialpup75uefi pmedia=atahd pfix=fsck
  initrd /xenialpup75uefi/initrd.gz

title Puppy zestypup 17.10.01 (sdb3/zestypup171001)
  find --set-root uuid () 24a14d90-6d75-4276-a6a0-ef026f8d07cf
  kernel /zestypup171001/vmlinuz  pdrv=24a14d90-6d75-4276-a6a0-ef026f8d07cf  psubdir=/zestypup171001 pmedia=atahd pfix=fsck
  initrd /zestypup171001/initrd.gz

title Puppy slacko64 7.0 (sdb5/slacko6470)
  find --set-root uuid () 230cd0a9-8589-440c-8790-6aab10422ebf
  kernel /slacko6470/vmlinuz  pdrv=230cd0a9-8589-440c-8790-6aab10422ebf  psubdir=/slacko6470 pmedia=atahd pfix=fsck
  initrd /slacko6470/initrd.gz

title Puppy bionicpup64 8.0 (sdb6/bionicpup6480uefi)
  find --set-root uuid () 6b517a5d-03c6-4635-96c5-659b29518c84
  kernel /bionicpup6480uefi/vmlinuz  pdrv=6b517a5d-03c6-4635-96c5-659b29518c84  psubdir=/bionicpup6480uefi pmedia=atahd pfix=fsck
  initrd /bionicpup6480uefi/initrd.gz

title Puppy slacko64 6.9.9.9 (sdb6/slacko646999uefik49FFLO)
  find --set-root uuid () 6b517a5d-03c6-4635-96c5-659b29518c84
  kernel /slacko646999uefik49FFLO/vmlinuz  pdrv=6b517a5d-03c6-4635-96c5-659b29518c84  psubdir=/slacko646999uefik49FFLO pmedia=atahd pfix=fsck
  initrd /slacko646999uefik49FFLO/initrd.gz

title Puppy stretch 7.5 (sdb6/stretch75_k49101)
  find --set-root uuid () 6b517a5d-03c6-4635-96c5-659b29518c84
  kernel /stretch75_k49101/vmlinuz  pdrv=6b517a5d-03c6-4635-96c5-659b29518c84  psubdir=/stretch75_k49101 pmedia=atahd pfix=fsck
  initrd /stretch75_k49101/initrd.gz

title Puppy tahr 6.0.5 (sdb6/tahr605_PAE)
  find --set-root uuid () 6b517a5d-03c6-4635-96c5-659b29518c84
  kernel /tahr605_PAE/vmlinuz  pdrv=6b517a5d-03c6-4635-96c5-659b29518c84  psubdir=/tahr605_PAE pmedia=atahd pfix=fsck
  initrd /tahr605_PAE/initrd.gz

title Puppy tahr64 6.0.6 (sdb6/tahr64606uefi)
  find --set-root uuid () 6b517a5d-03c6-4635-96c5-659b29518c84
  kernel /tahr64606uefi/vmlinuz  pdrv=6b517a5d-03c6-4635-96c5-659b29518c84  psubdir=/tahr64606uefi pmedia=atahd pfix=fsck
  initrd /tahr64606uefi/initrd.gz

title Puppy artfulpup 17.10.01 (sdb7/artfulpup171001++)
  find --set-root uuid () 1cd0f861-5576-42aa-af41-d09a6d260bc9
  kernel /artfulpup171001++/vmlinuz  pdrv=1cd0f861-5576-42aa-af41-d09a6d260bc9  psubdir=/artfulpup171001++ pmedia=atahd pfix=fsck
  initrd /artfulpup171001++/initrd.gz

title Puppy xenialpup64 7.5 (sdb7/xenialpup6475uefi)
  find --set-root uuid () 1cd0f861-5576-42aa-af41-d09a6d260bc9
  kernel /xenialpup6475uefi/vmlinuz  pdrv=1cd0f861-5576-42aa-af41-d09a6d260bc9  psubdir=/xenialpup6475uefi pmedia=atahd pfix=fsck
  initrd /xenialpup6475uefi/initrd.gz

title Fatdog64 (sdb6/Fatdog64800b)
  find --set-root uuid () 6b517a5d-03c6-4635-96c5-659b29518c84
  kernel /Fatdog64800b/vmlinuz  pdrv=6b517a5d-03c6-4635-96c5-659b29518c84  psubdir=/Fatdog64800b pmedia=atahd pfix=fsck
  initrd /Fatdog64800b/initrd

title Fatdog64 (sdb6/Fatdog64720b)
  find --set-root uuid () 6b517a5d-03c6-4635-96c5-659b29518c84
  kernel /Fatdog64720b/vmlinuz  pdrv=6b517a5d-03c6-4635-96c5-659b29518c84  psubdir=/Fatdog64720b pmedia=atahd pfix=fsck
  initrd /Fatdog64720b/initrd

# Full installed Linux

title Unknown (sdb6)
  find --set-root uuid () 6b517a5d-03c6-4635-96c5-659b29518c84
  kernel /vmlinuz-4.9.15-xenialpup64 root=UUID=6b517a5d-03c6-4635-96c5-659b29518c84 ro
#                      root=/dev/sdb6

title Find Grub2\nBoot up grub2 if installed
  errorcheck off
  find --set-root --ignore-floppies --ignore-cd /boot/grub/i386-pc/core.img
  kernel /boot/grub/i386-pc/core.img
  find --set-root --ignore-floppies --ignore-cd /boot/grub/core.img
  kernel /boot/grub/core.img
  errorcheck on

# Windows
# this entry searches Windows on the HDD and boot it up
title Windows\nBoot up Windows if installed
  errorcheck off
  find --set-root --ignore-floppies --ignore-cd  /bootmgr
  chainloader /bootmgr
  find --set-root --ignore-floppies --ignore-cd  /ntldr
  chainloader /ntldr
  find --set-root --ignore-floppies --ignore-cd   /io.sys
  chainloader /io.sys
  errorcheck on

# Advanced Menu
title Advanced menu
  configfile /menu-advanced.lst
  commandline

On the Whiz-Neophyte Bridge
Linux Über Alles
Disclaimer: You may not be reading my words as posted.

williwaw
Posts: 1676
Joined: Tue Jul 14, 2020 11:24 pm
Has thanked: 149 times
Been thanked: 302 times

Re: Unconventional Booting Possibilities

Post by williwaw »

bigpup wrote: Mon May 17, 2021 2:00 am

If you are dealing with a legacy bios computer or a UEFI computer with secure boot disabled, legacy boot enabled, or CSM enabled...................

The first partition needs to be formatted fat32, flagged boot, if more than one partition on USB.
Install Grub4dos to this first partition.

Has a fat32 partition recently been made a requirement? I have drives with frugals using grub4dos without.

User avatar
bigpup
Moderator
Posts: 6431
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 767 times
Been thanked: 1331 times

Re: Unconventional Booting Possibilities

Post by bigpup »

Fat32 formatted boot first partition, is a UEFI standard setup requirement and SOME legacy bios.
This depends a lot on how the computer manufacture setup the bios or UEFI in the computer.
also the version of the UEFI or bios firmware.

I have one UEFI computer that does not care about the boot loader being on a fat 32 formatted partition.
I have another UEFI computer, that will not see it as a bootable device, if there is no fat 32 first partition, flagged boot, with boot loader on it.

A UEFI computer with secure boot disabled, legacy boot enabled, or CSM enabled.
This does drop the UEFI back to working as the legacy bios would work.
So fat32 format may not matter.
Again, how the computer manufacture setup the UEFI firmware in the computer.

Seems the newest UEFI firmware, has gone to auto adjusting to what it sees the drive has, and self adjust, to let it work.

Forum Global Moderator
The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
JASpup
Posts: 1653
Joined: Sun Oct 04, 2020 10:52 am
Location: U.S.A.
Has thanked: 70 times
Been thanked: 89 times

Re: Unconventional Booting Possibilities

Post by JASpup »

I should not be persistent on this track, but since booting is a prime function:

If you have a Puppy system on the local HDD, and want to load it, you will need to know if it is on the first, second or other partition on the drive. Make a "Linux bootable partition config" section to designate

If you have other partitions with installed OS, Grub will have also added "Other bootable partition config" sections. In menu.lst that points to root as (hd1,0). Since the HDD is not the primary boot device, it won't be (hd0,0). If Puppy lives on the second partition, then set root as (hd1,1) and so on.

[the basic way to identify partitions]

If a USB boot partition is (hd0,0), the second partition on the lone internal hd is (hd1,1) because binary count 1 means the internal drive and 1 the second partition?

Hopefully this is explained clearly in the GRUB manual.

https://oldforum.puppylinux.com/viewtop ... d9#p444954

On the Whiz-Neophyte Bridge
Linux Über Alles
Disclaimer: You may not be reading my words as posted.

User avatar
JASpup
Posts: 1653
Joined: Sun Oct 04, 2020 10:52 am
Location: U.S.A.
Has thanked: 70 times
Been thanked: 89 times

Re: Unconventional Booting Possibilities

Post by JASpup »

The root entries alone in Terry's bootloader do the trick.

Intermediate user task accomplished.

On the Whiz-Neophyte Bridge
Linux Über Alles
Disclaimer: You may not be reading my words as posted.

Post Reply

Return to “Boot”