"Install to PC" 0.9

Moderator: Forum moderators

Post Reply
l0wt3ch
Posts: 69
Joined: Thu Jul 16, 2020 1:51 pm
Has thanked: 19 times
Been thanked: 48 times

"Install to PC" 0.9

Post by l0wt3ch »

Barry's original puppyinstaller script, modified to install exclusively to internal drives, combined with the powerful EasyOS Limine Boot Manager. It makes both frugal and full installs super-easy!

The first window of the original script is skipped, as though you had clicked the button 'install to an internal drive'. So now the first window of the installer is this:

then:

The installer goes through all of the normal steps, giving you the option of a full install or frugal install to a hard drive. The code has been adjusted to handle the additional sfs'es used in modern pups. At the end, you are given the choice of running the EasyOS Limine Installer (for both EFI and MBR) or GRUB4DOS.

Custom entries are also automatically generated for GRUB2, rEFInd, and GRUB4DOS.

Changelog for version 0.9:

  • Updated the Limine EFI binaries to 8.7, for a graphical background
  • Added a check for /etc/DISTRO_SPECS in Linux full installs, so the correct Puppy kernel options are added
  • Install script copies ucode.cpio (if it exists) to the destination directory
  • The Limine Installer adds an extra MODULE_PATH line for ucode.cpio, if it exists. Also, the auto-generated rEFInd, GRUB2, and GRUB4DOS menu entries also include ucode.cpio (if it exists)
  • Broadened the Limine Installer's frugal install detection so sfs'es not containing the word 'puppy' are also added. (May result in false positives if you added extra sfs'es in your frugal folder; if so, review choices carefully before selecting.)

Known issues:

  • Sometimes, particularly if there are very large drives or a large number of installs, the Limine Installer doesn't detect all of the installations. If that happens, run it again
  • On legacy BIOS non-efi systems, frugal installs to fat32 partitions on secondary drives can't be booted. Fix is to label the partition in gparted
  • Legacy BIOS non-efi boot menu has no background graphic (as it is still Limine 7.12)

Download

Last edited by l0wt3ch on Sat Mar 15, 2025 8:24 pm, edited 18 times in total.

Canis intrat et circumspectat.

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

Re: Script to Install to PC

Post by bigpup »

No one is making sure Puppy versions are still setup to work as a normal full install.

The only type installs that are fully supported are frugal or live.

Some features of Puppy operation can not be used in a full install.

I strongly suggest not to do full install.

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

l0wt3ch
Posts: 69
Joined: Thu Jul 16, 2020 1:51 pm
Has thanked: 19 times
Been thanked: 48 times

Re: Script to Install to PC

Post by l0wt3ch »

bigpup wrote: Mon Feb 24, 2025 11:58 am

No one is making sure Puppy versions are still setup to work as a normal full install.

The only type installs that are fully supported are frugal or live.

Some features of Puppy operation can not be used in a full install.

I strongly suggest not to do full install.

Well, I prefer frugal installs myself, also. But I think it's really cool full hard drive installs are working again. Why limit people's choices?

Canis intrat et circumspectat.

l0wt3ch
Posts: 69
Joined: Thu Jul 16, 2020 1:51 pm
Has thanked: 19 times
Been thanked: 48 times

Re: Script to Install to PC

Post by l0wt3ch »

@bigpup Let's talk about frugal installs, since we both like 'em.

The "Install to PC" script does frugal installs the old-fashioned way, without needing to create a new boot partition at the beginning of your drive. Just like rEFInd and GRUB2 don't require this, neither does the revamped puppyinstaller script, it just uses the efi partition your PC came with, with minor changes. It comes with Barry's new Limine installer, so all of the warnings that have been placed in the current implementation are no longer true. It also creates custom entries for GRUB2 and rEFInd in case the user is already using them (or plans to use them) which you can just add to the configuration file, and you're done, without requiring any real technical knowledge.

The script is updated so that choosing 'frugal' install correctly copies all of the sfs'es, including the kbuild and bdrv files used by recent puppies like BWP64. Frugal installs have never been easier.

As for full installs, this is part of Barry's original script, and they have been updated as well. The ones I've done of BWP64 work perfectly. The puppy community didn't bother to maintain this functionality, but look, it's back. Now with EFI support.

You realize not having a normal hard drive installer helps those who would pigeonhole the Puppy OS as 'just for usb sticks', right? And day before yesterday, that was kind of true - even if you do a frugal install, you're basically just putting the 'usb stick' in a folder in your hard drive. It wasn't something that you could easily just install to a drive and run for years. But as of yesterday, that is no longer true - yes you can easily install Puppy to a hard drive as a typical Linux system. Doing a full install of BWP64 gives you a customized full Debian Bookworm installation with working APT.

I have more than one Linux OS, and when I use the other ones I never think to myself "Gee I wish this whole filesystem was archived in a zip file." Puppy uses frugal installs to do some cool things, like running purely in RAM. But there's nothing wrong with full installs, and it was part of Barry's original design for this script. I like being able to do it; I had a full install of Studio 13.37 for years on a computer that I wasn't using for audio production, and it was like Old Reliable on that machine. I never regretted it.

I would now, though, because my cool new animated boot image only works with frugal installs :cry: .

Canis intrat et circumspectat.

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

Re: Script to Install to PC

Post by bigpup »

There is this information window that pops up in the install process.
.

Screenshot-20250225T124406.jpg
Screenshot-20250225T124406.jpg (102.97 KiB) Viewed 791 times

,
The information about making multiple saves or backups of the save file applies the same to both type saves.
save file
save folder

Both type saves can be made with multiple ones to use.
Both can be easily backed up by making a backup copy.

Need to correct this information to say this.

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
bigpup
Moderator
Posts: 7512
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 1021 times
Been thanked: 1682 times

Re: Script to Install to PC

Post by bigpup »

Hate those testers!

Well if we never fully test, it will never be a very good program :thumbup:

I did a frugal install of BookwormPup64 10.0.10

The installer did not install the ucode.cpio file that is also needed in the install.

Most newer, newest versions of Puppy now have this ucode.cpio file in the ISO.

It is used in the boot process, to update the kernel, with latest changes in support for the CPU being used.

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

williwaw
Posts: 2151
Joined: Tue Jul 14, 2020 11:24 pm
Has thanked: 196 times
Been thanked: 414 times

Re: Script to Install to PC

Post by williwaw »

bigpup wrote: Tue Feb 25, 2025 6:16 pm

The installer did not install the ucode.cpio file that is also needed in the install.

Most newer, newest versions of Puppy now have this ucode.cpio file in the ISO.

It is used in the boot process, to update the kernel, with latest changes in support for the CPU being used.

some of the boot stanzas used with puppies that incorporate ucode.cpio have conditional if then statements. As an experiment I have been using a simpler initrd line when ucode.cpio is present.

initrd /install-folder-name/ucode.cpio /install-folder-name/initrd.gz.
however I have no way of knowing if ucode.cpio is actually loaded.

TerryH
Posts: 708
Joined: Mon Jun 15, 2020 2:08 am
Has thanked: 180 times
Been thanked: 180 times

Re: Script to Install to PC

Post by TerryH »

williwaw wrote: Wed Feb 26, 2025 5:40 pm
bigpup wrote: Tue Feb 25, 2025 6:16 pm

The installer did not install the ucode.cpio file that is also needed in the install.

Most newer, newest versions of Puppy now have this ucode.cpio file in the ISO.

It is used in the boot process, to update the kernel, with latest changes in support for the CPU being used.

some of the boot stanzas used with puppies that incorporate ucode.cpio have conditional if then statements. As an experiment I have been using a simpler initrd line when ucode.cpio is present.

initrd /install-folder-name/ucode.cpio /install-folder-name/initrd.gz.
however I have no way of knowing if ucode.cpio is actually loaded.

It will load, the downside is that the boot will fail if ucode.cpio is not found.

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

l0wt3ch
Posts: 69
Joined: Thu Jul 16, 2020 1:51 pm
Has thanked: 19 times
Been thanked: 48 times

Re: "Install to PC" script

Post by l0wt3ch »

@bigpup

this information window that pops up in the install process.

Fixed it.

The installer did not install the ucode.cpio file that is also needed in the install.

It does now!

Canis intrat et circumspectat.

l0wt3ch
Posts: 69
Joined: Thu Jul 16, 2020 1:51 pm
Has thanked: 19 times
Been thanked: 48 times

Re: "Install to PC" 0.9

Post by l0wt3ch »

Found a bug in the full install part of the script where it generates a GRUB2 entry.

Updated the package and download link in the first post.

Canis intrat et circumspectat.

Post Reply

Return to “System”