Puppy on usb error while installing

Booting, installing, newbie
Post Reply
Message
Author
fw190
Posts: 4
Joined: Tue 03 Feb 2015, 20:22

Puppy on usb error while installing

#1 Post by fw190 »

Hello,

I have posted my question yesterday but probably in a wrong topis (http://murga-linux.com/puppy/viewtopic. ... &start=945)

So maybe I'll repost it here:

I have tried to install but ended up wit an epick fail. My system is latest linux Mint. I have tried to format, and do it again but no luck. I can see the lines where something went wrong but have no clue how to fix this:

Code: Select all

fw190@wurger ~ $ cd /home/fw190/Pobrane 
fw190@wurger ~/Pobrane $ sudo sh ./install-quirky-to-drive.sh 
[sudo] password for fw190: 

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 unicorn-6.2.usfs.xz 

Type a number from the left column: 1 
...ok, have chosen unicorn-6.2.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: 

As you are not using a Puppy-derivative, you do not have the excellent 
'probedisk' utility, which reports all drives. So, falling back to giving you 
a simple list: 

These are all of the drives found in your PC: 
sda sdb 

Choose the drive to install to... 
1 sda 
2 sdb 

Type a number from left column: 2 
...ok, have chosen sdb 


Uncompressing unicorn-6.2.usfs.xz to unicorn-6.2.usfs... 

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

Some preliminaries on the sdb... 
Size of drive=7681MB 

Would you like to zeroize the entire drive before installation? 
You should answer 'yes' to this if you choose to make a image-file 
of the drive immediately after installation (this script will later offer 
to do that) -- an image-file is useful for writing to other drives, or 
to give to others. Zeroizing beforehand will make the image-file smaller. 
NOTE: zeroizing may take over 30 minutes, depending on size of drive. 
NOTE: Do not do this with a USB1 interface or via a USB-hub (too slow). 
NOTE: Unless you really need to do this, recommend press ENTER to decline. 
ENTER only to decline, (any other char to zeroize drive): 

It is necessary to zeroize a small part of the drive, the beginning 
and the end. The end, because if the drive previously had a GPT secondary 
partition on it, this has to be wiped. 
Zeroizing only first 20MB and last 20MB of drive... 
5+0 records in 
5+0 records out 
20971520 bytes (21 MB) copied, 3.87186 s, 5.4 MB/s 
...done 

Creating 16MB FAT-16 first partition... 
1+0 records in 
1+0 records out 
440 bytes (440 B) copied, 0.014434 s, 30.5 kB/s 
mkfs.fat 3.0.26 (2014-03-07) 
mkfs.fat: warning - lowercase labels might not work properly with DOS or Windows 
/dev/sdb1: No such file or directory 
Installing syslinux in 1st partition, sdb1... 
syslinux: /dev/sdb1: No such file or directory 
Creating 2nd partition, size 7360MB... 

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 (best choice for Flash) 
2 ext4-without-journal (2nd best choice for Flash) 
3 ext2 
4 ext4 with journal (recommended for hard drives) 

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 
   Error: Failed to open the device! 
...done 

Creating unicorn-6.2.sfs 
This will be copied to /audit/reference in the target drive, and 
may be used in future for recovery purposes. Creating now... 
./install-quirky-to-drive.sh: 417: ./install-quirky-to-drive.sh: mksquashfs: not found 

Populating 1st partition, sdb1... 
mount: special device /dev/sdb1 does not exist 

Error, failed to mount first partition, sdb1. Aborting 
fw190@wurger ~/Pobrane $

Jasper

#2 Post by Jasper »

Hi fw190,

You appear to have an 8GB flash stick and I found that using the Quirky 6.2 installation Method D which uses the 8GB image download worked for me.

Please post again to record success, or if you would like any help finding or following Method D (or other) instructions or persevering with a fix for Method A (if that was your first choice).

My regards

PS I have never tried Mint, but I think there a good chance you'll like Quirky unicorn - so good luck.

ADDENDUM:

ETP (who has considerable expertise) has subsequently responded to your original post.

fw190
Posts: 4
Joined: Tue 03 Feb 2015, 20:22

#3 Post by fw190 »

:D

It worked - the image is on my USB stick and I begin tinkering it :)

Post Reply