Page 3 of 3

Posted: Sun 12 May 2019, 02:43
by musher0
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.

Posted: Sun 12 May 2019, 03:08
by musher0
Hi, gyro.

I got this message:
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:
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.

Posted: Sun 12 May 2019, 05:06
by gyro
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: Select all

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

Posted: Sun 12 May 2019, 05:37
by gyro
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

Posted: Sun 12 May 2019, 05:44
by musher0
yes to both questions.

Posted: Sun 12 May 2019, 06:07
by gyro
@musher0,
And it's a fat32 partition?
gyro

Posted: Sun 12 May 2019, 06:18
by gyro
musher0,
Where can I download the latest 'puduan_7.0.0a2-2'?

Also taking another tack, what does your '.zp' look like?
This is the output I get for 'bionicpup32' using the latest 'iso2zip' script:

Code: Select all

root# unzip -Z -1 bionicpup32-8.0+3-uefi.zip 
bionicpup32/
bionicpup32/vmlinuz
bionicpup32/initrd.gz
bionicpup32/adrv_upupbb_19.03.sfs
bionicpup32/fdrv_upupbb_19.03.sfs
bionicpup32/puppy_upupbb_19.03.sfs
bionicpup32/README-extra_sfs
bionicpup32/zdrv_upupbb_19.03.sfs
boot/
boot/grub/
boot/grub/grub.cfg
EFI/
EFI/boot/
EFI/boot/puppy.png
EFI/boot/grubx64.efi
EFI/boot/grub.cfg
EFI/boot/bootx64.efi
EFI/boot/unicode.pf2
grldr
grub.cfg
menu.lst
utils/
utils/lin/
utils/lin/grubinst_gui.sh
utils/lin/readme.txt
utils/lin/bootlace.com
utils/win/
utils/win/Turn_Off_Fast_Startup.bat
utils/win/grubinst.exe
utils/win/readme.txt
utils/win/grubinst_gui.exe
root# 
gyro

Posted: Sun 12 May 2019, 16:57
by musher0
gyro wrote:@musher0,
And it's a fat32 partition?
gyro
Yes

Posted: Sun 12 May 2019, 17:05
by musher0
gyro wrote:musher0,
Where can I download the latest 'puduan_7.0.0a2-2'?

Also taking another tack, what does your '.zp' look like?
This is the output I get for 'bionicpup32' using the latest 'iso2zip' script:

Code: Select all

root# unzip -Z -1 bionicpup32-8.0+3-uefi.zip 
bionicpup32/
bionicpup32/vmlinuz
bionicpup32/initrd.gz
bionicpup32/adrv_upupbb_19.03.sfs
bionicpup32/fdrv_upupbb_19.03.sfs
bionicpup32/puppy_upupbb_19.03.sfs
bionicpup32/README-extra_sfs
bionicpup32/zdrv_upupbb_19.03.sfs
boot/
boot/grub/
boot/grub/grub.cfg
EFI/
EFI/boot/
EFI/boot/puppy.png
EFI/boot/grubx64.efi
EFI/boot/grub.cfg
EFI/boot/bootx64.efi
EFI/boot/unicode.pf2
grldr
grub.cfg
menu.lst
utils/
utils/lin/
utils/lin/grubinst_gui.sh
utils/lin/readme.txt
utils/lin/bootlace.com
utils/win/
utils/win/Turn_Off_Fast_Startup.bat
utils/win/grubinst.exe
utils/win/readme.txt
utils/win/grubinst_gui.exe
root# 
gyro
Nowhere. Not ready for publication yet.
But I've attached the tree.

BFN.

Posted: Mon 13 May 2019, 06:25
by gyro
@musher0,

It's a very "interesting" '.zip', I guess you didn't produce it using 'iso2zip'.
But it looks like '/puppy' does contain the "necessary" files to boot, ('vmlinuz', 'initrd.gz' and the relevant '.sfs' files).

Which brings us back to the usb stick.
What is the output from the following command?

Code: Select all

fatlabel /dev/sdi1
gyro

Posted: Mon 13 May 2019, 06:32
by gyro
musher0 wrote:because my GParted can't do it.
The menu entry for labelig is greyed out.
Very strange.
When I use GParted to create a new fat32 partition, the "Partition Name" field is grayed, but the "Label" field is not.
I can even type "usbpboot" (without the quotes) into the "Label" field and GParted automaticly converts it to upper case, since it's a fat32 partition.

gyro

Posted: Wed 15 May 2019, 22:14
by gyro
I've uploaded the followinng files to http://www.mediafire.com/folder/7y3c7eafptzao/zipboot:
'bionicpup32-8.0+5-uefi.zip'
'bionicpup32-8.0+3-uefi.zip___bionicpup32-8.0+5-uefi.zip.delta'

gyro

Posted: Sat 28 Mar 2020, 06:57
by gyro
I've uploaded the following files to http://www.mediafire.com/folder/7y3c7eafptzao/zipboot:
'mio20_bionicpup32_8.0.zip' (276.8 MiB)
'iso2zip.zip' (4.6 MiB)
'puppy_usb_stick.zip' (4.7 MiB)

These updates are mainly to reflect 'FrugalPup v20', see http://www.murga-linux.com/puppy/viewto ... 66#1052566.
So both "uefi" and "non-uefi" boots are supported.
"uefi" "Secure Boot" is supported with a Puppy MOK.

Booting nolonger depends on the volume label of the fat32 boot partiton, it can be anything, or non-existent.

The 'iso2zip.zip' file now includes 'puppy_usb_stick.zip'.
So, just download 'iso2zip.zip' and unzip it into some directory.
Then in a console with that directory as the current directory, simply run "./iso2zip".

gyro