Modding the boot (using Ventoy) (SOLVED)

Moderator: Forum moderators

Post Reply
HarveyH
Posts: 96
Joined: Wed Oct 18, 2023 8:40 pm
Been thanked: 21 times

Modding the boot (using Ventoy) (SOLVED)

Post by HarveyH »

I'm currently running Bookwormpup64 under Ventoy on my Secure Boot system. It works great, but I do wish it would boot natively so I don't have to jump though hoops.

Here is the main hoop: Every time I want to start it, I have to press "e" on the first entry and add "psave=sdd6", then press F10. This is a PITA. I just know I could edit that line in the ISO using an ISO editor/rebuilder like AnyISO, but which file would I edit? As far as I can see, there are 2 grub.cfg files and a menu.lst in the ISO.

Last edited by HarveyH on Wed Jul 24, 2024 2:17 pm, edited 2 times in total.
User avatar
bigpup
Moderator
Posts: 7298
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 951 times
Been thanked: 1615 times

Re: Modding the boot (using Ventoy)

Post by bigpup »

It is important to give full name and version of BookwormPup64.
It could be version 10.0.1, 10.0.2, 10.0.3, etc..... or the latest 10.0.7.

Yes there are some differences in them.

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

Clarity
Posts: 4066
Joined: Fri Jul 24, 2020 10:59 pm
Has thanked: 1704 times
Been thanked: 553 times

Re: Modding the boot (using Ventoy)

Post by Clarity »

Hello @HarveyH

Yes, this is a PITA but the WoofCE developers refuse to fix.

Here's the circumvention I advise everyone over the past several years.
Preface: Its a simple one, but there is a one-time setup required. And it adds an extra step in getting to desktop without the need to enter a psave parm.

  1. First, ensure you have a folder on the Ventoy partition #1 that is named BOOTISOS. Keep ALL ISOs in this folder.

  2. Next ensure you have a SAVESPEC file (discussed here) in that folder with all your ISOs. This is a WoofCE feature directing ALL PUP boots to know where Sessions are saved or to be saved. this file eliminates the need for PMEDIA and PSAVE parms at WoofCE boot time. Thus you'll merely hit the enter on any of the PUP's menu line and session management is automatic. My example

    Code: Select all

    # This file, if present, will be used by WoofCE PUPs at boot time.
    # The file sets the SESSIONs directional for the booting distro.
    
    # Indicate the label or UUID containing Sessions
    SS_ID='Persistence'
    # Indicate the folder containing Sessions
    SS_DIR='/Sessions'
    # Indicate the media type device containing Sessions
    SS_MEDIA='atahd'
  3. Lastly, add SuperGRUB2disk (SG2D) to Ventoy's BOOTISOS folder with all the other ISOs and SAVESPEC file.

This being done, boot the Ventoy USB, select the SG2D ISO (or IMG), hit Enter on its Default line, and choose any WoofCE PUP you want from the list of ISOs it presents.

SG2D booting allows the PUPs to use the SAVESPEC feature of the WoofCE distros....no menu changes necessary at all.

HarveyH
Posts: 96
Joined: Wed Oct 18, 2023 8:40 pm
Been thanked: 21 times

Re: Modding the boot (using Ventoy) (SOLVED)

Post by HarveyH »

or ...

Use AnyBurn to edit the ISO
The file to edit/replace is boot/grub/grub.cfg
The changes to the first entry are:

menuentry "BookwormPup64 Save on SDD6" {
linux /vmlinuz pmedia=cd pfix=fsck,fsckp psave=sdd6

Works great and is far far simpler than what you suggested, but thank you. I didn't know about those files before.

lol I guessed the right one to change on the first try.

Clarity
Posts: 4066
Joined: Fri Jul 24, 2020 10:59 pm
Has thanked: 1704 times
Been thanked: 553 times

Re: Modding the boot (using Ventoy) (SOLVED)

Post by Clarity »

Hello @HarveyH I MUST apologize to you as in my post to you earlier, I provided an 'incorrect' link.

Here is the SAVESPEC link from its WoofCE author. I feel this understanding is important for booting WoofCE PUPs.

Use as you see fit.

FYI

Post Reply

Return to “BookwormPup”