Questions after installing Fossapup in USB flash drive

Moderators: 666philb, Forum moderators

Post Reply
Minaz
Posts: 7
Joined: Tue May 10, 2022 7:38 am

Questions after installing Fossapup in USB flash drive

Post by Minaz »

Hi,

I just installed Fossapup64 9.5 onto a USB flash drive.

I have rebooted once and created a 1GB pupsave file.

I have a few questions:

a - When I try to use sudo apt-get update to update the installation, I get an error message saying the command does not exist. Locate command does not find apt-get. Why is this, and how can I fix it?

b - Given that I am already able to save my workspace to pupsave using the "live" version of fossapup64, what is the advantage/reason to do a full installation to USB?

c - Similarly, is there any advantage to doing a full installation to HDD using frugal?

d - In the reverse question, is there any issues that maybe encountered if I just continue to use to the "live" USB and never bother to do a full install?

Thanks!

User avatar
p310don
Posts: 413
Joined: Tue Dec 03, 2019 7:17 am
Location: Brisbane, Australia
Has thanked: 80 times
Been thanked: 125 times

Re: Newbie questions

Post by p310don »

A - Puppy doesn't use sudo nor apt-get. Use the Puppy Package Manager to install things

B- Nope, stick with the install you have

C - The advantage to doing a frugal install to you hard drive is that it is generally faster, and you don't need your USB to boot every time. Personally I use frugal install to hard drive.

D - The only issues with using your USB are smaller storage space vs HDD and shorter life span of USB vs HDD. In terms of Puppy usability, no difference.

User avatar
user1234
Posts: 416
Joined: Sat Feb 26, 2022 5:48 am
Location: Somewhere on earth
Has thanked: 155 times
Been thanked: 90 times

Re: Newbie questions

Post by user1234 »

There is nothing like 'live' version in puppy, when talking about usability. Both will work similarly, unlike ubuntu or some distros of its kind.

But there still will be a difference in having puppy on HDD vs. having it on USB, as already mentioned by @p310don, which is speed. Generally reading and writing speed of USB is slower than an HDD.

Also when puppy would detect that you are using USB to boot from, it would save all your changes made in a session (i. e. until you shutdown) to RAM, just to save your USB from wearing faster.

This would also increase time taken to shutdown since puppy would also need to copy changes made in the session from RAM to your USB.

Though this 'save your USB from wearing' feature can be removed from puppy by configuring some settings a bit. But also remember that if you remove this feature then your USB will wear a lot faster.

Just a bit of details added to the previous post by p310don :thumbup2:.

PuppyLinux 🐾 gives new life to old computers ✨

User avatar
mikewalsh
Moderator
Posts: 6595
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 1045 times
Been thanked: 2220 times

Re: Newbie questions

Post by mikewalsh »

@Minaz :-

Hallo.....and :welcome: to the "kennels".

As user1234 has pointed out, a Puppy 'Live' session works exactly the same as a normal Puppy 'frugal' install. By design, Puppy always does the same as any mainstream distro will do when running a 'Live' session; loads the whole of itself into RAM, then runs from there for the duration of the session. This is mostly what accounts for Puppy's blazing speed, even on older hardware, since RAM is a degree of magnitude faster even than the fastest SSD.

Please bear in mind that the terms "full" and "frugal" mean quite different things in Puppyland. "Frugal" 'builds' a virtual file-system in RAM, loads the content of 3 or 4 highly-compressed, read-only files into that, then if you've created a 'save' (file OR folder), 'layers' the contents of that into the right places amongst everything else. The upshot is that to you, the user, everything appears perfectly normal. This can all be installed to a sub-directory within a partition, since Puppy's bootloader will search TWO layers deep to find a bootable kernel.

A "full" install requires a partition to itself, creates a standard file-system, and loads/runs everything from disk in the normal way. In the event that you 'bork' your "full" Puppy, a complete re-installation will be required, since full installs are not easily fixable. Unlike a frugal....

The advantages of the frugal are two-fold; it doesn't use much disk-space, and backups only require a simple copy/paste operation on the save-file/folder. Seriously! None of these complex backup programs are required for Puppy.....and in the event you need to restore, you only need to replace the 'save'. That is all that's needed, because all configuration changes are contained within this single item.

Any further Q's, ask away. That's what the forum's here for; just try and stick to one single rule, please; "one subject per thread". Multiple questions in a single thread get very confusing for anyone attempting to help you.

Mike. ;)

Minaz
Posts: 7
Joined: Tue May 10, 2022 7:38 am

Re: Newbie questions

Post by Minaz »

Wow thank you all for the explanations! This paradigm of puppy is so much different from what I expected, it would have taken me a long time to get it had it not been for the replies.

It seems that puppy is a very enlightened implementation of Ubuntu!

User avatar
wizard
Posts: 2195
Joined: Sun Aug 09, 2020 7:50 pm
Location: Oklahoma, USA
Has thanked: 3056 times
Been thanked: 824 times

Re: Newbie questions

Post by wizard »

@Minaz
Welcome to easier computing with Puppy. Try reading some of the topics in the Getting Started and System Requirements section on the main forum page to help with understanding how things work.

wizard

Big pile of OLD computers

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

Re: Newbie questions

Post by bigpup »

How Puppy works
viewtopic.php?t=5818

:welcome:

Get your head out of the idea that you constantly have to update.
There are programs in Puppy that have not changed for years, because there is no reason to change them.
They just work and do what they are designed to do.

About the only thing that is constantly needing updating is web browsers.
Most have some builtin ability to do that or you will find a newer version posted in the forum Additional Software section.

About frugal or full install.
Puppy is designed to work best as a live or frugal install.
There are some features that will only work in those types of installs.

This is something to consider when you are new to using Puppy Linux:
viewtopic.php?t=5722

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
user1234
Posts: 416
Joined: Sat Feb 26, 2022 5:48 am
Location: Somewhere on earth
Has thanked: 155 times
Been thanked: 90 times

Re: Newbie questions

Post by user1234 »

Few more tips-

Do not install browsers from PPM (PPM = Puppy Package Manager)!

Rather use the quickpet ones (quickpet is an application in puppy which contain few programs compiled especially to work on puppy. Search for it in the puppy's application menu).

Or a better option would be to search for 'portables' of that application. @mikewalsh has made a lot of 'portables' few of which can update themselves, and all are designed to work in a way that they keep themselves contained in a single directory.

For example his chrome portable can update itself, otherwise chrome installed from quickpet would not update. He has posted his portables on the forum itself.

I have listed links for few portables-
Zoom portable
Chrome Portable

(I would try to list a few more later on.)

PuppyLinux 🐾 gives new life to old computers ✨

User avatar
mikewalsh
Moderator
Posts: 6595
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 1045 times
Been thanked: 2220 times

Re: Questions after installing Fossapup in USB flash drive

Post by mikewalsh »

@Minaz :-

Following user1234's suggestion, you can find the thread which lists every one of my 'portable' applications, here:-

viewtopic.php?t=5104

Each item links to its respective thread, where you can read more about it, and find a download link.

Hope that's of some use to you, perhaps.

Mike. ;)

anon-26-05-22
Posts: 1
Joined: Thu May 26, 2022 5:55 pm

Re: Questions after installing Fossapup in USB flash drive

Post by anon-26-05-22 »

Is there a distribution like fatdog that still has apt/apt-get?
If there is no such assembly, then how can I do it myself if I'm a beginner?

Clarity
Posts: 4323
Joined: Fri Jul 24, 2020 10:59 pm
Has thanked: 1875 times
Been thanked: 581 times

Re: Questions after installing Fossapup in USB flash drive

Post by Clarity »

Hello @anon-26-05-22. PUPs of the traditioinal past use its proprietary Pacage Management (PPM) integrated within the distros

The DOGs (all of them) including FATDOG offer other PPM solutions.

KLV is one of the newest PUPPY Linux technologies that can satisfy your desire and may just be what you will find appealing as you have with FATDOG and its package management.

ALSO
There is @fredx181 DOGs and his 'BUILDER' distro(s) which will allow you to easily create a DOG of choice via his builder.
AND, VoidPUPU64 I would recommend a review, as well.

Hope these pointers are helpful in your quest.

Feek
Posts: 409
Joined: Sun Oct 18, 2020 8:48 am
Location: cze
Has thanked: 57 times
Been thanked: 91 times

Re: Questions after installing Fossapup in USB flash drive

Post by Feek »

sorry
removed

User avatar
xenial
Posts: 504
Joined: Mon Jul 13, 2020 7:41 am
Location: Lincolnshire.UK.
Has thanked: 92 times
Been thanked: 41 times

Re: Questions after installing Fossapup in USB flash drive

Post by xenial »

Just to add in regard to installing browsers,it would be prudent to use the portable browsers available as everything is kept out of the savefile/folder and keeps it's usage to a minimum.

User avatar
mikeslr
Posts: 3147
Joined: Mon Jul 13, 2020 11:08 pm
Has thanked: 187 times
Been thanked: 1018 times

Re: Questions after installing Fossapup in USB flash drive

Post by mikeslr »

anon-26-05-22 wrote: Thu May 26, 2022 6:10 pm

Is there a distribution like fatdog that still has apt/apt-get?
If there is no such assembly, then how can I do it myself if I'm a beginner?

Edit2: Actually answering your question, skip down to the 2nd reply below.

Edit: You know, I missed rockedge's post before writing what follows below the -=-=-=-=-=-
rockedge and wiak may be prophetic and knew in advance that you would want it :lol: . So they created an apt_sfs_load_fossa_amd64.sfs .
You'll find it and a 'replacement adrv' here, viewtopic.php?p=49341#p49341. But see my query here, viewtopic.php?p=58171#p58171 about the proper 'spelling' of the adrv.sfs; and any response by rockedge.

I think the post providing the replacement adrv and apt_sfs explains how to use it. This is my understanding:

On your frugal install of Fossapup64 you'll find a file named adrv_fossapup64_9.5.sfs. Right-Click it; select rename, and rename it ydrv_fossapup64_9.5.sfs. [Explanation: If present, Puppys will use either an adrv.sfs, a ydrv.sfs or both in creating its operating system in RAM. But the files in the adrv.sfs will have priority if there's a conflict].
Download both the adrv and the apt_sfs. Place them both next to the file-system named fossapup64_9.5.sfs. The adrv should be used automatically. rockedge says that after boot-up 'SFS_Load-on-the-fly' the apt_sfs. You can do that two ways: Menu>Setup>SFS-Load on the fly, then file-brows to the apt_sfs to load it; or file-browse to the apt_sfs, Right-Click it and select SFS-Load from the pop-up menu.
-=-=-=-=-=--=
Actually, there's an application you can install into Fossapup64 which is very much like apt/get. I think it's better, but it's creator quipped 'worse'. It's called pkg-cli, https://oldforum.puppylinux.com/viewtop ... cf#p985531. As sc0ttman, it's creator, hasn't made an appearance on this Forum, mistfire has recently published a 'fork' named pkg2, viewtopic.php?p=51728#p51728. [I'm not sure if pkg-cli is builtin to Fossapup64; or I added it. At any rate, see the first thread for details on the 'old forum' and don't hesitate to post any questions on this thread about pkg-cli, viewtopic.php?t=4802 or mistfire's thread about pkg2.

Just couple other things for now. The previous replies have provided a good synopsis of Puppys and how they differ from 'Major' distros. Do read the "How Puppy Works" thread bigpup linked to.

Personally, I run Puppys in the following manner: Although my Puppys are 'frugal' installs on a hard-drive (with it's speed advantage) I use a dedicated USB-Key as boot-loader. That way I don't have to mess with the boot-loader on the hard-drive which boots Windows and/or (currently) Linux Mint. Set the 'bios' to give boot priority to USB-Ports over the hard-drive. Plug in the Key: boot Puppys. Unplug the Key: boot windows/Linux Mint.

When Puppy boots, it copies some file-systems into RAM. See the Link bigpup suggested for details. However, that doesn't use as much RAM as you might think. The files it copies are cached (compressed) with a ratio of about 5:1. It only mounts your SaveFile/SaveFolder. An index system is used to point to the cached files and those in your mounted SaveFile/Folder. The latter has priority: will be used if other versions are in other file-systems; i.e., the index points to it.

There is one significant difference between running a frugal install from a USB-Key to running it from a hard-drive. Puppys recognize the medium they boot from. As far as I know, you can't do a 'Full Install' to a USB-Key. Booting from a USB-Key, changes you make are only written to a folder in memory until you execute a Save which then copies them from the folder in memory to your SaveFile/Folder. A 'Save' icon will be on the desktop so that you can Save at any time and you'll be asked at shutdown/reboot*.
When you install something into Frugal install on a hard-drive by default it is immediately written to your SaveFile/Folder. I think how USB-Puppys work has an advantage for newbies and those experimenting. You can 'install' applications, test them without preserving anything. To test, just Menu>Exit>Restart-X (AKA graphical server) and Puppy re-indexes what makes up its system to include the files in the aforementioned RAM folder (which now has priority). If you're not happy with the results, you can reboot without Saving. RAM is cleared; and your experiment forgotten. Much easier than trying to 'uninstall' just a mistake (or some malware you didn't know you picked up while 'surfing').
You're not stuck with the default system when booting from a hard-drive. You can trick your Puppy into 'thinking' it's been booted from a USB-Key. It's a two step process: a simple change of one boot-argument; followed by an adjustment to the Menu>System>Puppy Event Manager>Save Session Interval. After making those changes Puppy from a Hard-drive will act as if it were on a USB-Key. There are lots of posts about how to set up that system. But don't hesitate to ask if your interested.

-=-=-=-=-
* You may not be aware of this. On shutdown/reboot a GUI appears with two buttons, "Save" and "No Save". Save is highlighted. All you have to do is press return. But the default routine is "No Save". If you do nothing Puppy will shutdown/reboot in 60 seconds without Saving.

Last edited by mikeslr on Fri May 27, 2022 2:19 pm, edited 2 times in total.
User avatar
mikeslr
Posts: 3147
Joined: Mon Jul 13, 2020 11:08 pm
Has thanked: 187 times
Been thanked: 1018 times

Re: Creating Puppy on a Hard-drive using your USB-Puppy

Post by mikeslr »

The recipe is provided on this thread, viewtopic.php?t=375, but start here so that you'll know what changes to make from the 'base-recipe' -creating one USB-Puppy with another, viewtopic.php?p=57141#p57141.

This is one of the posts that provides the recipe for 'tricking' Puppy on your hard-drive into working as if it were on a USB-Key. viewtopic.php?p=43310#p43310. You can skip down to the paragraph which says "You'll see a listing something like this:"

Sam Hobbs had lickgrub.cfg as his boot-loader. Lick uses a version of grub2. If you employed grub4dos as yours, the sample boot-stanza would be pretty much the same except its configuration files is a text file named menu.lst and the line which begins with the word 'linux' under grub4dos would begin with the word 'kernel'.

After editing to change pmedia=atahd to pmedia=ataflash (or adding that argument to the linux/kernel line) boot into Puppy, open Menu>System>Puppy Event Manager, click the Save Sessions Tab; then change the interval to '0' and put a check in the 'Ask at Shutdown' box; otherwise it doesn't ask and Saves Automatically. :x See post above about 'No Save' being the default once Puppy thinks it's running from a USB-Key. :D

User avatar
mikeslr
Posts: 3147
Joined: Mon Jul 13, 2020 11:08 pm
Has thanked: 187 times
Been thanked: 1018 times

Re: Puppys which have apt or similar

Post by mikeslr »

devuanpup64_JWM-B5-synaptic.iso from here, viewtopic.php?t=3083

Vanilla Upup 22.04, from here, viewtopic.php?p=51002#p51002

QuickPup64 22.01 BETA 12, from here, viewtopic.php?p=27469#p27469 has builtin flatpak support.

Voidpup from here, viewtopic.php?t=5270 uses Void's package manager. AFAICT, it is very similar to apt.

Post Reply

Return to “Fossapup64”