My report on Quirky 6.0

For talk and support relating specifically to Puppy derivatives
Post Reply
Message
Author
User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

where to download syslinux-4.05-86.pet ?

#101 Post by charlie6 »

Hi,
thanks Barry for this quirky-6.0.1 !
...struggling to get it booting from a USB key ...
could someone give a link where to download syslinux-4.05-86.pet?
many thanks in advance and...
* * * Happy Xtmas and New Year ! * * * :D
Charli

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#102 Post by jamesbond »

jamesbond wrote:
smokey01 wrote:Is there a way Quirky 6.0.1 could be tested in VirtualBox?
Like this?
Ok after the teaser this is the instructions:
1. Create new VM, with new virtual disk - say (512MB minimal, 1GB comfortable).
2. Boot puppy ISO on that VM.
Note: the rest is to be done within your VM
3. gparted that new virtual disk, format it say to ext4 (or ext3 or ex2 ...), make sure to flag it as BOOTABLE.
4. install syslinux mbr: "dd if=/usr/share/syslinux/mbr.bin of=/dev/sda"
5. Mount that partition, says as /mnt/sda1
6. Copy quirky.usfs.xz to within the virtualbox
7. unxz it - turn it into quirky.usfs.
8. unsquashfs it to /mnt/sda1 - "unsquashfs -f -d /mnt/sda1 quirky.usfs"
9. install syslinux bootloader "extlinux -i /mnt/sda1/boot/syslinux"
10. edit /mnt/sda1/boot/syslinux/syslinux.cfg and
- change that "root=PARTUUID" stuff to "root=/dev/sda1"
- change "kernel vmlinuz" to "kernel /boot/vmlinuz"
11. umount /mnt/sda1, and remove puppy ISO
12. Boot - and presto ! Quirky 6.0.1 (and it works, boot straight to desktop on VB 4.3.6) :P
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

User avatar
Ted Dog
Posts: 3965
Joined: Wed 14 Sep 2005, 02:35
Location: Heart of Texas

boot to ram mode

#103 Post by Ted Dog »

Any chance we can boot to ram? Back in the 2.0 puppylinux days I was able to take a full install and compress that image into initrd.gz and do a standard boot with kernel and initrd using whatever frugal or my case testing multisession loader code.

User avatar
ETP
Posts: 1193
Joined: Tue 19 Oct 2010, 19:55
Location: UK

Re: where to download syslinux-4.05-86.pet ?

#104 Post by ETP »

charlie6 wrote:Hi,
thanks Barry for this quirky-6.0.1 !
...struggling to get it booting from a USB key ...
could someone give a link where to download syslinux-4.05-86.pet?
many thanks in advance and...
* * * Happy Xtmas and New Year ! * * * :D
Charli
Hi charlie6,

I am not sure why you are asking about the syslinux-4.05-86.pet. Barry describes everything you need to install to any size Flash drive in METHOD A:
See:
http://distro.ibiblio.org/quirky/quirky ... -6.0.1.htm

His script “install-quirky-to-drive.sh
Regards ETP
[url=http://tinyurl.com/pxzq8o9][img]https://s17.postimg.cc/tl19y14y7/You_Tube_signature80px.png[/img][/url]
[url=http://tinyurl.com/kennels2/]Kennels[/url]

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

Re: where to download syslinux-4.05-86.pet ?

#105 Post by charlie6 »

Hi ETP !
ETP wrote:I am not sure why you are asking about the syslinux-4.05-86.pet. Barry describes everything you need to install to any size Flash drive in METHOD A:
Yep, i got my flash USB drive formated (sdb1 vfat'ed; and sdb4 not (*) f2fs'ed, but well ext4'ed), and GParted reported to have a boot flag; but it won't boot .... so i guess syslinux-3.73 to be the culprit ... :?
syslinux-4.05-86.pet is reported in this thread to give better results ...
charlie
(*) got an error message when selecting f2fs : «sdb: not such file or directory»

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

#106 Post by charlie6 »

Hi,
making a new trial, here are all the command line comments:
# sh ./install-quirky-to-drive.sh

This script will install Quirky to an entire drive, and make it bootable
with the Syslinux boot manager, for any x86 PC.
The intention is to install to pluggable memory drives such as USB Flash
sticks and SD-cards. The entire drive is erased, so take off any files that
you want to keep.
The script will ask questions at each step, and will offer a choice of
drives to install to, but of course it comes down to you to make an intelligent
choice and not erase your PCs internal hard drive!
This script should work when running any Linux distribution, however, it
works best when running a Puppy Linux or Puppy Linux-derivative, as Puppy has,
in my opinion, many superior utilities. However, this script will check for
existence or otherwise of those utilities and downgrade appropriately, or
abort if a missing utility is essential.

Press ENTER key to continue (CTRL-C to abort):

1 quirky-6.0.1.usfs.xz

Type number of image file: 1
...ok, have chosen quirky-6.0.1.usfs.xz

Testing integrity of compressed file, please wait...

Plug in a USB Flash drive, 2GB size, or greater, right now.
Also, please be sure that it is unmounted.
Note, 2GB is sufficient, however for a satisfactory ongoing experience
using Quirky, it is recommended to use a 4GB or greater drive. If you intend
to keep using this installation on a daily basis, to allow for plenty of
package installations, upgrades, downloads, etc., a much bigger drive is
recommended, at least 8GB.

WARNING: Many Linux distros will auto-mount a drive when it is plugged
in. You will have to unmount it BEFORE CONTINUING!!!
(if you are unsure about this, don't worry, the script will
check again later, after you have chosen the drive)

Have you plugged in the drive? Then press ENTER key:

These are all of the drives found in your PC:
sda|drive|ATA SAMSUNG SP20A1H
sdb|usbdrv| USB Flash Memory
sdc|usbdrv| USB Flash Memory
sdd|usbdrv|ST3300822A
sr0|optical|TOSHIBA DVD-ROM SD-M1712
sr1|optical|PIONEER DVD-RW DVR-116D

Choose the drive to install to...
1 sda
2 sdb
3 sdc
4 sdd
5 sr0
6 sr1

Type a number from left column: 3
...ok, have chosen sdc


Uncompressing quirky-6.0.1.usfs.xz to quirky-6.0.1.usfs...

Final sanity check: 'sdc' is correct? (ENTER if OK, CTRL-C abort):

Some preliminaries on the sdc...
Size of drive=7628MB
Zeroizing first 20MB and last 20MB of drive...
5+0 records in
5+0 records out
20971520 bytes (21 MB) copied, 2,30354 s, 9,1 MB/s

Creating 16MB FAT-16 first partition...
0+1 records in
0+1 records out
410 bytes (410 B) copied, 0,0165357 s, 24,8 kB/s
mkdosfs 3.0.13 (30 Jun 2012)
/dev/sdc1: No such file or directory
Installing syslinux in 1st partition, sdc1...
Usage: syslinux [-sfr][-d directory][-o offset] device
Creating 2nd partition, size 7304MB...

Please choose whether to create a ext2, ext4, of f2fs filesystem in the
second partition. For Flash media, f2fs is very highly recommended.

1 f2fs
2 ext2
3 ext4

Type a number from left column: 3
...ok, have chosen ext4

Creating ext4 in 2nd partition...
mke2fs 1.42.5 (29-Jul-2012)
Filesystem label=quirky2
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
467712 inodes, 1869824 blocks
0 blocks (0.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=1916796928
58 block groups
32768 blocks per group, 32768 fragments per group
8064 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632

Allocating group tables: done
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done

...done
mount: warning: mntpt seems to be mounted read-only.

Populating 1st partition, sdc1...
mount: wrong fs type, bad option, bad superblock on /dev/sdc1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so


Error, failed to mount first partition, sdc1. Aborting
#
and when selecting f2fs format:
# sh ./install-quirky-to-drive.sh

This script will install Quirky to an entire drive, and make it bootable
with the Syslinux boot manager, for any x86 PC.
The intention is to install to pluggable memory drives such as USB Flash
sticks and SD-cards. The entire drive is erased, so take off any files that
you want to keep.
The script will ask questions at each step, and will offer a choice of
drives to install to, but of course it comes down to you to make an intelligent
choice and not erase your PCs internal hard drive!
This script should work when running any Linux distribution, however, it
works best when running a Puppy Linux or Puppy Linux-derivative, as Puppy has,
in my opinion, many superior utilities. However, this script will check for
existence or otherwise of those utilities and downgrade appropriately, or
abort if a missing utility is essential.

Press ENTER key to continue (CTRL-C to abort):

1 quirky-6.0.1.usfs.xz

Type number of image file: 1
...ok, have chosen quirky-6.0.1.usfs.xz

Testing integrity of compressed file, please wait...

Plug in a USB Flash drive, 2GB size, or greater, right now.
Also, please be sure that it is unmounted.
Note, 2GB is sufficient, however for a satisfactory ongoing experience
using Quirky, it is recommended to use a 4GB or greater drive. If you intend
to keep using this installation on a daily basis, to allow for plenty of
package installations, upgrades, downloads, etc., a much bigger drive is
recommended, at least 8GB.

WARNING: Many Linux distros will auto-mount a drive when it is plugged
in. You will have to unmount it BEFORE CONTINUING!!!
(if you are unsure about this, don't worry, the script will
check again later, after you have chosen the drive)

Have you plugged in the drive? Then press ENTER key:

These are all of the drives found in your PC:
sda|drive|ATA SAMSUNG SP20A1H
sdb|usbdrv| USB Flash Memory
sdc|usbdrv| USB Flash Memory
sdd|usbdrv|ST3300822A
sr0|optical|TOSHIBA DVD-ROM SD-M1712
sr1|optical|PIONEER DVD-RW DVR-116D

Choose the drive to install to...
1 sda
2 sdb
3 sdc
4 sdd
5 sr0
6 sr1

Type a number from left column: 3
...ok, have chosen sdc


Uncompressing quirky-6.0.1.usfs.xz to quirky-6.0.1.usfs...

Final sanity check: 'sdc' is correct? (ENTER if OK, CTRL-C abort):

Some preliminaries on the sdc...
Size of drive=7628MB
Zeroizing first 20MB and last 20MB of drive...
5+0 records in
5+0 records out
20971520 bytes (21 MB) copied, 2,1867 s, 9,6 MB/s

Creating 16MB FAT-16 first partition...
0+1 records in
0+1 records out
410 bytes (410 B) copied, 0,00448787 s, 91,4 kB/s
mkdosfs 3.0.13 (30 Jun 2012)
Installing syslinux in 1st partition, sdc1...
Usage: syslinux [-sfr][-d directory][-o offset] device
Creating 2nd partition, size 7304MB...

Please choose whether to create a ext2, ext4, of f2fs filesystem in the
second partition. For Flash media, f2fs is very highly recommended.

1 f2fs
2 ext2
3 ext4

Type a number from left column: 1
...ok, have chosen f2fs

Creating f2fs in 2nd partition...

F2FS-tools: mkfs.f2fs Ver: 1.2.0 (2013-10-25)

Info: Label = quirky2
Info: sector size = 512
Info: total sectors = 14958592 (in 512bytes)
Info: zone aligned segment0 blkaddr: 512
Info: Discarding device
Info: This device doesn't support TRIM
Info: format successful
...done
mount: warning: mntpt seems to be mounted read-only.

Populating 1st partition, sdc1...
PARTUUID of 2nd partition written to syslinux.cfg in 1st partition.
...done

Populating 2nd partition, sdc2...
mount: unknown filesystem type 'f2fs'

Error, failed to mount second partition, sdc2. Aborting
#

User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#107 Post by smokey01 »

Thanks jamesbond. I'm sure a few others will find this useful too.

User avatar
ETP
Posts: 1193
Joined: Tue 19 Oct 2010, 19:55
Location: UK

#108 Post by ETP »

Hi charlie6,
Ah! You have produced a nice Christmas tree decoration there! :) :lol:
Things start to fall apart at this point:

Code: Select all

mkdosfs 3.0.13 (30 Jun 2012) 
/dev/sdc1: No such file or directory 
Installing syslinux in 1st partition, sdc1... 
Usage: syslinux [-sfr][-d directory][-o offset] device 
Creating 2nd partition, size 7304MB... 
So no file system is created on the 16 Meg Fat partition. Before suspecting a bug in the install script you may wish to try the following:

1. Use Gparted in a working Pup to create a new partition table then a single FAT32 partition spanning all of the target stick. Then run chkdsk or its equivalent on the stick to check that you have a clean target to work with.

2. Try running the script again but first unplug those other sticks (sdb & sdd) so that the only stick in the system is the clean target stick.

3. If that fails try with another stick or card.

If things go well this is what you should see on the first partition. (Plus one hidden file)
Attachments
screenshot.7.jpg
(79.11 KiB) Downloaded 1783 times
Regards ETP
[url=http://tinyurl.com/pxzq8o9][img]https://s17.postimg.cc/tl19y14y7/You_Tube_signature80px.png[/img][/url]
[url=http://tinyurl.com/kennels2/]Kennels[/url]

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

#109 Post by charlie6 »

Hi EDP,
thanks for bringing lights to my Xtmas tree ... ;)

Good news:

here are some more stuffs:
- after perfoming your recommandations:
and even changed may USB key to a 4GB one, no success
so i have guessed the problem could be present in wheezy-3.5.2.11 which does'nt have f2fs stuffs present (i had to bring mkfs.f2fs and libf2fs ewtracted from quirky-6.0.1.sfs ... :oops: as i assumed they could be distro-independent)

- now installing from raring-3.9.9.2 which has f2fs stuffs, the USB memory is reported to be pouplated.
sh ./install-quirky-to-drive.sh
...
This script will install Quirky Creating 16MB FAT-16 first partition...
0+1 records in
0+1 records out
410 bytes (410 B) copied, 0,0141407 s, 29,0 kB/s
mkdosfs 3.0.14 (23 Jan 2023)
Installing syslinux in 1st partition, sdc1...
Usage: syslinux [-sfr][-d directory][-o offset] device
Creating 2nd partition, size 3704MB...

Please choose whether to create a ext2, ext4, of f2fs filesystem in the
second partition. For Flash media, f2fs is very highly recommended.

1 f2fs
2 ext2
3 ext4

Type a number from left column: 1
...ok, have chosen f2fs

Creating f2fs in 2nd partition...

F2FS-tools: mkfs.f2fs Ver: 1.1.0 (2013-07-04)

Info: Label = quirky2
Info: sector size = 512
Info: total sectors = 7585792 (in 512bytes)
Info: zone aligned segment0 blkaddr: 512
Info: format successful
...done
mount: warning: mntpt seems to be mounted read-only.

Populating 1st partition, sdc1...
PARTUUID of 2nd partition written to syslinux.cfg in 1st partition.
...done

Populating 2nd partition, sdc2...
Copying quirky-6.0.1.usfs to /mnt/sdc2/audit/, for audit-trail...

That's it, sdc is now ready to boot from!

If you want to create a copy of the drive, as an image file, for deployment
to other users, the total size is 1M + 16M + 7M + 3704
which is: 3728MB
An image can be created like this:
# dd if=/dev/sdc bs=4M count=932 | xz --compress --stdout -9 - > quirky-6.0.1-4gb.img.xz

If you do not want to do this, just press ENTER to end script,
otherwise, (leaving drive plugged in) press any char then ENTER:
now i must leave ...more results in a next post
Cheers, charlie

User avatar
ETP
Posts: 1193
Joined: Tue 19 Oct 2010, 19:55
Location: UK

#110 Post by ETP »

Hi charlie6,
That’s great news. Barry did in his release notes state “must be running a reasonably recent Linux distribution
Regards ETP
[url=http://tinyurl.com/pxzq8o9][img]https://s17.postimg.cc/tl19y14y7/You_Tube_signature80px.png[/img][/url]
[url=http://tinyurl.com/kennels2/]Kennels[/url]

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

#111 Post by charlie6 »

Hi EDP,
charlie6 wrote: ...more results in a next post
back again ... no success
booting on a Dell620 with BIOS set for USB boot:
(it boots from other USB configured using «BootFlash Install Puppy to USB»)
This is not a bootable disk. Please insert a bootable floppy ... balblibla...
GParted reports sdb1 to have the boot flag. I then used GParted to remove, and afterwards again add the boot flag.
Rebooted without success: again the same above message upon boot.
???
Here is the sysconfig in sdb1:
default quirky
display boot.msg
prompt 1
timeout 50

F1 boot.msg
F2 help.msg

label quirky
kernel vmlinuz
append root=PARTUUID=525506fb-02 rootwait rw
Thanks for any help.
Charlie

User avatar
ETP
Posts: 1193
Joined: Tue 19 Oct 2010, 19:55
Location: UK

#112 Post by ETP »

Hi charlie6,
This Pup will just not come to heel! :) I am guessing that the hidden syslinux bootloader file (ldlinux.sys) has not made it onto the FAT16 partition. If so, there is definitely something amiss with the install script. All is not lost however if on the second partition all of the directories and their contents as shown in the attached screenshot are present and you are willing to try the install method that I described in my first post in this thread.
As a quick check, without making any changes or copying any files, just flash the image onto a stick and see if your bios can get to the boot menu. If it does, select shutdown and think about what you want to do.
Attachments
capture1595.png
(25.54 KiB) Downloaded 1468 times
Regards ETP
[url=http://tinyurl.com/pxzq8o9][img]https://s17.postimg.cc/tl19y14y7/You_Tube_signature80px.png[/img][/url]
[url=http://tinyurl.com/kennels2/]Kennels[/url]

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

#113 Post by charlie6 »

Hi ETP,
many thanks for your time !
There is no .ldlinux.sys file present on the flash key.
ETP wrote:Hi charlie6,...
As a quick check, without making any changes or copying any files, just flash the image onto a stick ...
How to «flash the image»; and which image ..?
Regards, Charlie

User avatar
ETP
Posts: 1193
Joined: Tue 19 Oct 2010, 19:55
Location: UK

#114 Post by ETP »

charlie6 wrote:Hi ETP,
many thanks for your time !
There is no .ldlinux.sys file present on the flash key.
ETP wrote:Hi charlie6,...
As a quick check, without making any changes or copying any files, just flash the image onto a stick ...
How to «flash the image»; and which image ..?
Regards, Charlie
Please see this post including the EDIT at the end.
http://www.murga-linux.com/puppy/viewto ... 369#745369
Regards ETP
[url=http://tinyurl.com/pxzq8o9][img]https://s17.postimg.cc/tl19y14y7/You_Tube_signature80px.png[/img][/url]
[url=http://tinyurl.com/kennels2/]Kennels[/url]

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#115 Post by BarryK »

gcmartin wrote:Hi @BarryK

Thanks for this project. New refinements as this evolution depicts.

Questions
Understanding the work which has been done for the distro's installation to Flash/HDD units, will there be a DVD/Blu-ray (ISO) for distro's RAM-only operations produced?

Any insights on this versus the past would be helpful if the direction in this area is changing. For example, is it true that session files have no play in this current incarnation of Quirky?

Thanks and have a Happy Holiday Season...Everyone
Edit: 2nd question.
No, there will never be an iso.

That's right, no session files.
[url]https://bkhome.org/news/[/url]

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

Re: where to download syslinux-4.05-86.pet ?

#116 Post by BarryK »

charlie6 wrote:Hi,
thanks Barry for this quirky-6.0.1 !
...struggling to get it booting from a USB key ...
could someone give a link where to download syslinux-4.05-86.pet?
many thanks in advance and...
* * * Happy Xtmas and New Year ! * * * :D
Charli
The same place you download Quirky 6.0.1 from:

http://distro.ibiblio.org/quirky/quirky ... rky-6.0.1/
[url]https://bkhome.org/news/[/url]

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

Re: boot to ram mode

#117 Post by BarryK »

Ted Dog wrote:Any chance we can boot to ram? Back in the 2.0 puppylinux days I was able to take a full install and compress that image into initrd.gz and do a standard boot with kernel and initrd using whatever frugal or my case testing multisession loader code.
No, Quirky6 is only designed as a full install. No initrd.gz either.
[url]https://bkhome.org/news/[/url]

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#118 Post by BarryK »

charlie6 wrote:Hi,
making a new trial, here are all the command line comments:
# sh ./install-quirky-to-drive.sh

This script will install Quirky to an entire drive, and make it bootable
with the Syslinux boot manager, for any x86 PC.
The intention is to install to pluggable memory drives such as USB Flash
sticks and SD-cards. The entire drive is erased, so take off any files that
you want to keep.
The script will ask questions at each step, and will offer a choice of
drives to install to, but of course it comes down to you to make an intelligent
choice and not erase your PCs internal hard drive!
This script should work when running any Linux distribution, however, it
works best when running a Puppy Linux or Puppy Linux-derivative, as Puppy has,
in my opinion, many superior utilities. However, this script will check for
existence or otherwise of those utilities and downgrade appropriately, or
abort if a missing utility is essential.

Press ENTER key to continue (CTRL-C to abort):

1 quirky-6.0.1.usfs.xz

Type number of image file: 1
...ok, have chosen quirky-6.0.1.usfs.xz

Testing integrity of compressed file, please wait...

Plug in a USB Flash drive, 2GB size, or greater, right now.
Also, please be sure that it is unmounted.
Note, 2GB is sufficient, however for a satisfactory ongoing experience
using Quirky, it is recommended to use a 4GB or greater drive. If you intend
to keep using this installation on a daily basis, to allow for plenty of
package installations, upgrades, downloads, etc., a much bigger drive is
recommended, at least 8GB.

WARNING: Many Linux distros will auto-mount a drive when it is plugged
in. You will have to unmount it BEFORE CONTINUING!!!
(if you are unsure about this, don't worry, the script will
check again later, after you have chosen the drive)

Have you plugged in the drive? Then press ENTER key:

These are all of the drives found in your PC:
sda|drive|ATA SAMSUNG SP20A1H
sdb|usbdrv| USB Flash Memory
sdc|usbdrv| USB Flash Memory
sdd|usbdrv|ST3300822A
sr0|optical|TOSHIBA DVD-ROM SD-M1712
sr1|optical|PIONEER DVD-RW DVR-116D

Choose the drive to install to...
1 sda
2 sdb
3 sdc
4 sdd
5 sr0
6 sr1

Type a number from left column: 3
...ok, have chosen sdc


Uncompressing quirky-6.0.1.usfs.xz to quirky-6.0.1.usfs...

Final sanity check: 'sdc' is correct? (ENTER if OK, CTRL-C abort):

Some preliminaries on the sdc...
Size of drive=7628MB
Zeroizing first 20MB and last 20MB of drive...
5+0 records in
5+0 records out
20971520 bytes (21 MB) copied, 2,30354 s, 9,1 MB/s

Creating 16MB FAT-16 first partition...
0+1 records in
0+1 records out
410 bytes (410 B) copied, 0,0165357 s, 24,8 kB/s
mkdosfs 3.0.13 (30 Jun 2012)
/dev/sdc1: No such file or directory
Installing syslinux in 1st partition, sdc1...
Usage: syslinux [-sfr][-d directory][-o offset] device
Creating 2nd partition, size 7304MB...

Please choose whether to create a ext2, ext4, of f2fs filesystem in the
second partition. For Flash media, f2fs is very highly recommended.

1 f2fs
2 ext2
3 ext4

Type a number from left column: 3
...ok, have chosen ext4

Creating ext4 in 2nd partition...
mke2fs 1.42.5 (29-Jul-2012)
Filesystem label=quirky2
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
467712 inodes, 1869824 blocks
0 blocks (0.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=1916796928
58 block groups
32768 blocks per group, 32768 fragments per group
8064 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632

Allocating group tables: done
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done

...done
mount: warning: mntpt seems to be mounted read-only.

Populating 1st partition, sdc1...
mount: wrong fs type, bad option, bad superblock on /dev/sdc1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so


Error, failed to mount first partition, sdc1. Aborting
#
and when selecting f2fs format:
# sh ./install-quirky-to-drive.sh

This script will install Quirky to an entire drive, and make it bootable
with the Syslinux boot manager, for any x86 PC.
The intention is to install to pluggable memory drives such as USB Flash
sticks and SD-cards. The entire drive is erased, so take off any files that
you want to keep.
The script will ask questions at each step, and will offer a choice of
drives to install to, but of course it comes down to you to make an intelligent
choice and not erase your PCs internal hard drive!
This script should work when running any Linux distribution, however, it
works best when running a Puppy Linux or Puppy Linux-derivative, as Puppy has,
in my opinion, many superior utilities. However, this script will check for
existence or otherwise of those utilities and downgrade appropriately, or
abort if a missing utility is essential.

Press ENTER key to continue (CTRL-C to abort):

1 quirky-6.0.1.usfs.xz

Type number of image file: 1
...ok, have chosen quirky-6.0.1.usfs.xz

Testing integrity of compressed file, please wait...

Plug in a USB Flash drive, 2GB size, or greater, right now.
Also, please be sure that it is unmounted.
Note, 2GB is sufficient, however for a satisfactory ongoing experience
using Quirky, it is recommended to use a 4GB or greater drive. If you intend
to keep using this installation on a daily basis, to allow for plenty of
package installations, upgrades, downloads, etc., a much bigger drive is
recommended, at least 8GB.

WARNING: Many Linux distros will auto-mount a drive when it is plugged
in. You will have to unmount it BEFORE CONTINUING!!!
(if you are unsure about this, don't worry, the script will
check again later, after you have chosen the drive)

Have you plugged in the drive? Then press ENTER key:

These are all of the drives found in your PC:
sda|drive|ATA SAMSUNG SP20A1H
sdb|usbdrv| USB Flash Memory
sdc|usbdrv| USB Flash Memory
sdd|usbdrv|ST3300822A
sr0|optical|TOSHIBA DVD-ROM SD-M1712
sr1|optical|PIONEER DVD-RW DVR-116D

Choose the drive to install to...
1 sda
2 sdb
3 sdc
4 sdd
5 sr0
6 sr1

Type a number from left column: 3
...ok, have chosen sdc


Uncompressing quirky-6.0.1.usfs.xz to quirky-6.0.1.usfs...

Final sanity check: 'sdc' is correct? (ENTER if OK, CTRL-C abort):

Some preliminaries on the sdc...
Size of drive=7628MB
Zeroizing first 20MB and last 20MB of drive...
5+0 records in
5+0 records out
20971520 bytes (21 MB) copied, 2,1867 s, 9,6 MB/s

Creating 16MB FAT-16 first partition...
0+1 records in
0+1 records out
410 bytes (410 B) copied, 0,00448787 s, 91,4 kB/s
mkdosfs 3.0.13 (30 Jun 2012)
Installing syslinux in 1st partition, sdc1...
Usage: syslinux [-sfr][-d directory][-o offset] device
Creating 2nd partition, size 7304MB...

Please choose whether to create a ext2, ext4, of f2fs filesystem in the
second partition. For Flash media, f2fs is very highly recommended.

1 f2fs
2 ext2
3 ext4

Type a number from left column: 1
...ok, have chosen f2fs

Creating f2fs in 2nd partition...

F2FS-tools: mkfs.f2fs Ver: 1.2.0 (2013-10-25)

Info: Label = quirky2
Info: sector size = 512
Info: total sectors = 14958592 (in 512bytes)
Info: zone aligned segment0 blkaddr: 512
Info: Discarding device
Info: This device doesn't support TRIM
Info: format successful
...done
mount: warning: mntpt seems to be mounted read-only.

Populating 1st partition, sdc1...
PARTUUID of 2nd partition written to syslinux.cfg in 1st partition.
...done

Populating 2nd partition, sdc2...
mount: unknown filesystem type 'f2fs'

Error, failed to mount second partition, sdc2. Aborting
#
It looks like you need the syslinux 4.05 PET.
[url]https://bkhome.org/news/[/url]

User avatar
ETP
Posts: 1193
Joined: Tue 19 Oct 2010, 19:55
Location: UK

Problems producing bootable sticks/cards.

#119 Post by ETP »

A number of people have reported this issue having failed to produce a bootable stick.

The problem surrounds the following block of code in the install script in conjunction with the unknown and variable version of syslinux included in the Pup that they happen to be using to run the script.

Code: Select all

echo "Installing syslinux in 1st partition, ${TARGETDRIVE}${PARTNUM1}..."
if [ "$(syslinux -v 2>&1 | grep -i 'syslinux [23]')" = "" ];then
 syslinux --install /dev/${TARGETDRIVE}${PARTNUM1} #need --install for 4.05.
else
 #syslinux 3.x does not recognise --install option
 syslinux /dev/${TARGETDRIVE}${PARTNUM1}
fi
sync
This uncertainty IMHO, needs to be eliminated. Given that syslinux 4.05 is included in the latest Quirky one possible solution might be to change the order of the script such that the second partition on the stick is populated first. Syslinux 4.05 that then would be present on it could be targeted and used to install the ldlinux.sys on the first partition.
Merry Xmas to all.
Regards ETP
[url=http://tinyurl.com/pxzq8o9][img]https://s17.postimg.cc/tl19y14y7/You_Tube_signature80px.png[/img][/url]
[url=http://tinyurl.com/kennels2/]Kennels[/url]

Sage
Posts: 5536
Joined: Tue 04 Oct 2005, 08:34
Location: GB

#120 Post by Sage »

.iso
By chance, stumbled upon:
http://bleedux.wordpress.com/2010/11/11 ... img-image/
which describes ccd2iso utility and some of its idio(t!)synchrocies.
Haven't tried it though and there do appear to be some caveats so feedback would bring enormous benefits for the silent majority struggling with the present presentation.

Post Reply