Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 06 Dec 2019, 00:29
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
Another way of distributing Puppy?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 3 of 4 [52 Posts]   Goto page: Previous 1, 2, 3, 4 Next
Author Message
gyro

Joined: 28 Oct 2008
Posts: 1680
Location: Brisbane, Australia

PostPosted: Mon 24 Sep 2018, 12:00    Post subject:  

I've uploaded a new zip file, http://www.fishprogs.software/puppy/zipboot/upupbb-18.05+13.zip.
It contains all that is needed to setup a bootable usb stick.

Windows process for uefi boot:

1. Download http://www.fishprogs.software/puppy/zipboot/upupbb-18.05+13.zip (259 MiB).

2. Format usb stick, with "Volume label" of "USBPBOOT".

3. Unpack the zip file, in this case "upupbb-18.05+13.zip", into the empty usb stick.
Windows: Right click on the zip file, and select "Extract All...", and in the ensuing dialog select the empty root folder of the usb stick.
Puppy: Right click on the zip file, and select "XArchive archiver, "Select All", "Extract", then "choose" the empty root folder of the usb stick.

4. Boot the usb stick.

To enable a mbr/legacy boot, there is an extra step:

Windows: Execute "utils\win\grubinst_gui.exe" within the usb stick.
Puppy: Execute "utils/lin/grubinst_gui.sh" within the usb stick.

Note: I intend to delete all previous files uploaded in this project, soon.

gyro
Back to top
View user's profile Send private message 
gyro

Joined: 28 Oct 2008
Posts: 1680
Location: Brisbane, Australia

PostPosted: Wed 26 Sep 2018, 07:55    Post subject:  

In case there is someone interested in how this latest zip file works, but is daunted by a 259MiB download,
I have uploaded "puppy_usb_stick.zip" (1 MiB) to http://www.mediafire.com/folder/7y3c7eafptzao/zipboot.
This zip file contains everything execpt the actual Puppy files. i.e. the "puppy/" directory is empty.
So the process will work as per the instructions of the previous post, execpt that when you come to boot the usb stick, the bootloader will not be able to find the kernel because the "vmlinuz" file does not exist.

You could make it work, by copying "vmlinuz", "initrd.gz" and all the ".sfs" files from some existing woof-ce based frugal install into the "puppy/" directory on the usb stick.

gyro

Last edited by gyro on Wed 24 Apr 2019, 10:05; edited 1 time in total
Back to top
View user's profile Send private message 
gyro

Joined: 28 Oct 2008
Posts: 1680
Location: Brisbane, Australia

PostPosted: Wed 24 Apr 2019, 10:03    Post subject:  

A new version of "puppy_usb_stick.zip" has been uploaded to http://www.mediafire.com/folder/7y3c7eafptzao/zipboot.
Please see previous post for details about this file.

gyro
Back to top
View user's profile Send private message 
gyro

Joined: 28 Oct 2008
Posts: 1680
Location: Brisbane, Australia

PostPosted: Fri 03 May 2019, 20:55    Post subject:  

All remaining files for this project are now available at http://www.mediafire.com/folder/7y3c7eafptzao/zipboot.

The script 'iso2zip' is stored as 'iso2zip.zip' so that it's execute attribute is maintained. After downloading, you will need to 'unzip' it to reproduce the script.

gyro
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 14520
Location: Gatineau (Qc), Canada

PostPosted: Fri 03 May 2019, 21:14    Post subject:  

Many thanks, gyro.

I'll try your script for bundling a thumbdrive-ready package when my Puduan-7 is ready.

Best.

_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
gyro

Joined: 28 Oct 2008
Posts: 1680
Location: Brisbane, Australia

PostPosted: Sat 04 May 2019, 08:43    Post subject:  

musher0 wrote:
I'll try your script for bundling a thumbdrive-ready package when my Puduan-7 is ready.
Great.
Just remember that if unzipping directly to a usb stick, the usb stick must have a volume label of "USBPBOOT" (without the quotes).

And when you do, I'll try installing your Puduan-7 '.zip' file.

gyro
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 14520
Location: Gatineau (Qc), Canada

PostPosted: Sat 04 May 2019, 14:43    Post subject:  

gyro wrote:
musher0 wrote:
I'll try your script for bundling a thumbdrive-ready package when my Puduan-7 is ready.
Great.
Just remember that if unzipping directly to a usb stick, the usb stick must have a volume label of "USBPBOOT" (without the quotes).

And when you do, I'll try installing your Puduan-7 '.zip' file.

gyro
Smile
_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
gyro

Joined: 28 Oct 2008
Posts: 1680
Location: Brisbane, Australia

PostPosted: Sat 04 May 2019, 18:42    Post subject:  

musher0 wrote:
Smile
I appreciate you trying the script, but I just thought of a couple of issues.

1. For the script to work, you also need to download 'puppy_usb_stick.zip' from http://www.mediafire.com/folder/7y3c7eafptzao/zipboot and store it in the same directory as the script, (no need to unzip this file, the 'iso2zip' script uses it as a '.zip').

2. The boot entry in the generated 'menu.lst'/'grub.cfg' is generic, and not customised for the particular Puppy stored in the output '.zip'. (I am working on this.)

Yes, the script should work, but I think I should include a "complete package" in the 'iso2zip.zip', not just the script.

gyro
Back to top
View user's profile Send private message 
gyro

Joined: 28 Oct 2008
Posts: 1680
Location: Brisbane, Australia

PostPosted: Sat 04 May 2019, 22:16    Post subject:  

For now, I've uploaded a new version of 'iso2zip.zip' to http://www.mediafire.com/folder/7y3c7eafptzao/zipboot.
It still contains only the script, so you still need 'puppy_usb_stick.zip' as well.

This version customises the sub-directory and title of the boot entry to reflect the Puppy that the '.zip' contains.
This makes it a better template for adding more Puppies to the usb stick.

gyro
Back to top
View user's profile Send private message 
gyro

Joined: 28 Oct 2008
Posts: 1680
Location: Brisbane, Australia

PostPosted: Sat 04 May 2019, 23:21    Post subject:  

i've uploaded a new version of 'bionicpup32-8.0+3-uefi.zip' to http://www.mediafire.com/folder/7y3c7eafptzao/zipboot, generated with the new 'iso2zip' script.

Since it's only a matter of a nicer boot entry, there's not much value in downloading it again if you have already done so.

gyro
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 14520
Location: Gatineau (Qc), Canada

PostPosted: Sat 11 May 2019, 22:43    Post subject:  

HI gyro.

I need this:
ftp://ftp.gnu.org/gnu/mtools/mtools_4.0.23_i386.deb
i.e. the mlabel utility in the mtools package, from the GNU site,
to relabel my thumbdrive,
because my GParted can't do it.
The menu entry for labelig is greyed out.

IHTH potential users of your script.

BFN.

_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 14520
Location: Gatineau (Qc), Canada

PostPosted: Sat 11 May 2019, 23:08    Post subject:  

Hi, gyro.

I got this message:
Quote:
0: PMEDIA=usbflash PDRV=USBPBOOT PSUBDIR=/puppy pfix=fsck,fsckp
1: PDRV= P_BP_ID=USBPBOOT P_BP_FN=
[WAIT4USB] TIMEOUT=4

fdisk: can't open '/dev/sdd': No medium found
fdisk: can't open '/dev/sde': No medium found
fdisk: can't open '/dev/sdf': No medium found
fdisk: can't open '/dev/sdg': No medium found
cat: can't open '/sys/block/pdr/queue/rotational': No such file or directory
mount: can't read '/etc/fstab': No such file or directory
cat: can't open '/sys/block/pdr/queue/rotational': No such file or directory
mount: can't read '/etc/fstab': No such file or directory
sdi1 on /mnt/pdrv as mount failed.
2: ONE_PART=sdi1 ONE_FN= ONE_MP=
6: ONE_PART=sdi1 ONE_TRY_FN= PDRV=
Two files appear to be missing.
I have no idea what this "rotational" file is about.

As to the fstab, the puppy_puduan_7.0.0a2-2.sfs contains the usual Puppy fstab file,
very basic, almost empty:
Quote:
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
none /dev/pts devpts gid=2,mode=620 0 0
/dev/fd0 /mnt/floppy auto noauto,rw 0 0
I have also included a pupsave file in the puppy directory, and that psave has a fully
populated fstab. ( Please see attached. ) However it does not have the entry for
the thumbdrive yet in it.

Please advise as to what I should do next.

TIA.
fstab.zip
Description 
zip

 Download 
Filename  fstab.zip 
Filesize  459 Bytes 
Downloaded  96 Time(s) 

_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
gyro

Joined: 28 Oct 2008
Posts: 1680
Location: Brisbane, Australia

PostPosted: Sun 12 May 2019, 01:06    Post subject:  

musher0 wrote:
I need this:
ftp://ftp.gnu.org/gnu/mtools/mtools_4.0.23_i386.deb
i.e. the mlabel utility in the mtools package, from the GNU site,
to relabel my thumbdrive,
because my GParted can't do it.
The menu entry for labelig is greyed out.
Should not need that.
Should be a utility called 'fatlabel' which will write a label to a fat32 partition.
Code:
fatlabel /dev/sdc1 USBPBOOT
Otherwise in 'gparted' delete the partition, and make a new fat32 one, this should provide an option to specify the label.
gyro
Back to top
View user's profile Send private message 
gyro

Joined: 28 Oct 2008
Posts: 1680
Location: Brisbane, Australia

PostPosted: Sun 12 May 2019, 01:37    Post subject:  

musher0 wrote:
I got this message:
You can ignore most of these messages, something is going wrong right at the start, 'init' did not find your install directory.
The "0:" and "1:" lines look reasonable, but the "2:" and "6:" lines have a lot of missing data that should not be missing.

My guess is that 'init' could not decode the label "USBPBOOT" into a valid partition name.

Is the volume label of the partition that contains your Puppy files "USBPBOOT", (all upper case and without the quotes)?

Are the Puppy files stored on that partition in a sub-directory called "/puppy" (all lower case, without the quotes)?

gyro
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 14520
Location: Gatineau (Qc), Canada

PostPosted: Sun 12 May 2019, 01:44    Post subject:  

yes to both questions.
_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 3 of 4 [52 Posts]   Goto page: Previous 1, 2, 3, 4 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0589s ][ Queries: 13 (0.0116s) ][ GZIP on ]