making a new trial, here are all the command line comments:
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,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
#
# 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
#