New simple install & boot method - only 2 files needed.

Under development: PCMCIA, wireless, etc.
Message
Author
starhawk
Posts: 4906
Joined: Mon 22 Nov 2010, 06:04
Location: Everybody knows this is nowhere...

Re: New simple install & boot method - only 2 files needed.

#16 Post by starhawk »

ETP wrote:At an absolute minimum with a suitable reader you could also use an old 16MB Smartmedia card as used in the original digital cameras.
As tempted as this makes me to see if my local guru friend actually kept the 8mb SmartMedia card I gave him as useless to me (I assume he threw it out) -- this is actually a slightly dangerous idea. (I was forced to become familiar with SmartMedia, when I bought a Diamond Multimedia Rio500 MP3 player... it was the first suchh successful commercial player to use USB!)

The thing about SmartMedia is that, even though it looks like a large SD card (there's a reason for that! ;) ) -- it isn't. SmartMedia cards are controllerless -- bare Flash NVRAM chips only -- and any sort of filesystem corruption or screwup can and will brick the card. I want to say that there's a Windows utility that can sometimes fix that, but I don't actually remember for sure.

That said, I might have to do that just to see what happens. If I brick the card, there's nothing really lost there.

april

#17 Post by april »

ETP wrote:Hi april,
Sorry to say I only have experience with wired (dial up) modems.
I suggest that you also post your query in the Quirky Werewolf64 bug thread where it is likely to
get more attention and hopefully some answers.
Looking at your image attached , did you get that from that loaded system -The hybrid boot ISO or is that from somewhere else . I could not find it but if I can run that program it should connect

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

New simple install & boot method - only 2 files needed.

#18 Post by ETP »

Hi april,

The loaded system as shown below:

Press F11 to toggle into full screen then click on link:

https://drive.google.com/uc?export=view ... 2VwVzFHUHc
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]

april

#19 Post by april »

MM OK you are obviously running something else entirely not the hybrid iso . So I'll stop asking .Dont know what you are doing .

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

New simple install & boot method - only 2 files needed.

#20 Post by ETP »

Hi april,

I suspect that you may have gotten hold of the wrong end of the stick here and either:

a) Formed the impression that BARRYK,s original Quirky Werewolf64 ISO is needed in some way.
It is not. Everything required is contained within the hybrid boot ISO (Step1) and the sfx file (Step2).
All the elements from the original ISO plus some extras are contained within those 2 files.

or

b) Correctly completed both steps but at the time of booting from the 5MB hybrid ISO had a CD or DVD in the drive
containing Barry's original ISO which would have booted instead of the files extracted to the hard disc partition.
(Both A or B would explain why you are seeing the original all green & yellow desktop instead of the images in this thread.)


Assuming that you have completed both STEPS 1 & 2 correctly, make sure that you do not have Barry's original ISO in the drive
when you boot from the stick or card containing the 5MB hybrid boot ISO.

When you do boot to the correct desktop exit the "Puppy Network Wizard" which is for ethernet & wireless and use the
"Internet Connection Wizard" on the setup menu for your 3G.

Finally. no worries should the original unneeded ISO fall overboard. :lol:
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]

april

#21 Post by april »

OK Sorry I will go back and start again . I put the files on a CD not a stick so I have the wrong end of the stick I think.

gcmartin

Update to an earlier post on this thread

#22 Post by gcmartin »

I had reported earlier of the success in created Step 1 from the opening post. Then, 2GB stick was sacrificed as the Boot-manager (BM) and successfully tested.

My Step 2 follow-thru
Now, I am, 1st, reporting
  1. to have taken a USB stick,
  2. created a 10GB partition (ext4),
  3. expanded the SFX file on the partition,
  4. and in conjunction with the BM stick, I successfully booted the system as shown in the opening post of this thread.
Note: The /werewolf-7.4 folder is a mere 409MB on the 10GB partition.

Next, I am, 2nd, reporting
  1. Moving the /werewolf-7.4 folder from the 10GB USB partition to a partition on the system's permanent internal drive,
  2. and in conjunction with the BM stick, I successfully booted the system as shown in the opening post of this thread.
Note2: I suspect that it is possible, too, to merely expand the SFX to a any partition with space for the expanding files and the anticipated save-sessions.

Thanks @ETP for your demonstrating this effort to both developers and users in this community.

Wondering
Since the BM exist of a ISO9660 filesystem, the BM configuration is locked on that non-writable USB stick. As such, no additions or changes can be done to the system to allow additional distro boots by mods to the BM. I do understand the CSM requirement, though; still the inability to advance the system for addition tests and needs that would result from BM references, cannot be done.

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

New simple install & boot method - only 2 files needed.

#23 Post by ETP »

Hi gc,

Thanks for your report. You should have found that writing the 5MB hybrid boot ISO takes less than 5 seconds and that the extraction of
the sfx file (left click) takes less than 3 minutes.
In addition the same simple code in isolinux.cfg has been used to boot with the extracted files held on either a hard disk partition or a USB stick.

Barry's use in init of code to quickly search for a single flag (Q_ID) has therefore eliminated the previous need to specify items such as:

UUID or PARTUUID
pmedia=
pupsfs=
pdev1=
psavemark=

The above is however not a complete list of Puppy boot codes that may be required and there is also the matter of kernel boot codes
such as "libata.force=noncq" to enable the use of fstrim with SSDs.

A second empty flag could possibly be added into which any other less frequently used Puppy boot codes such as acpi=off or p/qfix=nox could
be added by the user and parsed by init.

The other possibility which I would favour, is the use of a 16MB syslinux utility boot image similar to the one used in Rapid Pup V1.
That gives the user complete freedom to use any kernel boot codes or other Puppy boot codes that they may sometimes need.

http://www.murga-linux.com/puppy/viewto ... 567#832567

What is certain is that the current mass of Puppy boot codes and their various combinations whilst once fit for purpose have become
less so as it has become more common to deploy various elements of Puppy on different media/partitions.
Both new and seasoned members can find them something of a minefield.

Forum member gyro currently has a cutting edge thread with proposals to "Enhance boot params, pupsfs, zdrv, fdrv, adrv, ydrv, psave and Support UUID and partition Label".
That looks like great progress and is well worth a read.

At the end of the day it is up to the WoofCE coding "A" team as to what approach they opt to take and implement in code.
Do they improve upon what we already have or attempt a new approach to simplify matters?
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
ETP
Posts: 1193
Joined: Tue 19 Oct 2010, 19:55
Location: UK

New simple install & boot method - only 2 files needed.

#24 Post by ETP »

New simple install & boot method - only 2 files needed. (Updated May 2018)

(Please read at least the first 2 posts in this thread for background information before proceeding)

It is hard to believe that almost 2 years have elapsed since my original post here.
IMHO Barry's Q_ID technique remains one of his best and most innovative creations that has the potential to greatly simplify the distribution
and initial boot method of Pups.

One thing that I omitted to point out in my previous posts is that the Q_ID flag contains a serial number that is unique to any given Pup.
The initrd.q held on the boot media contains that same number and searches all the available partitions on both fixed and removable drives until
it finds a Q_ID flag that contains that number. It then loads the main files from that partition.
Even with > 25 partitions that search only takes about 2 seconds.

The base files used in this (2018) proof of concept are from BarryK's Quirky Xerus64-8.5 k16.04.4 released 27th Feb 2018.
The 5MB hybrid boot ISO used in the original POC is replaced by a 16MB boot image that should be written to a SD card or USB stick.

The 1st File: ( 16MB boot image - boot_xerus64.img ) This task takes < 5 seconds.

This image file should be written to any old SD card or USB stick > 16MB using Window's Win32diskimager or Linux's dd command.
An old 2GB SD card is ideal and recommended.

If using dd the target must be unmounted. The code if the image is in your "Downloads" folder would be:

Code: Select all

dd if=/root/Downloads/boot_xerus64.img of=/dev/sdx && sync
Things to keep in mind:

If your card or stick is seen as sdc1 when plugged in, replace sdx in the above with sdc i.e. the device ID NOT the partition ID (sdc1)

dd will completely overwrite your card or USB stick: Any data on it will be lost so if you use this method you'll want to use it with a dedicated card or stick.

The card or stick should be placed at the top of your BIOS boot order.

The 2nd File: (Self_extract_xerus64-8.5.sfx) 528MB - (This task takes < 1 minute)

This compressed self extracting file (sfx) should be placed on an empty dedicated 8-10GB Linux HD/SSD/USB partition before left clicking it to extract the contents.
If using an SSD or USB stick, format the partition as f2fs. No flags need be set.
For this 2nd file, which contains the bulk of the files to be loaded into ZRAM the faster the device the better if a quick boot is required.
If available I would recommend a USB3 stick with a single f2fs partition.

The 1st file and the 2nd file, together with their MD5 sums plus 8 screenshots can be found in the 2018 folder here:

https://drive.google.com/folderview?id= ... sp=sharing

Final Thoughts:

1. At least 2GB of RAM is recommended with this method as everything is loaded into ZRAM.

2. Nothing has been removed from Barry's base Pup which is very well stocked and includes LibreOffice.

3. A few utilities have been added plus a highly tweaked version (settings & flags) of the latest Google Chrome - 66.0.3359.139 (Official Build) (64-bit)

4. If booted on a UEFI PC it must be in CSM mode with secure boot disabled.

5. The change to a boot image means that syslinux.cfg can easily be edited should any extra Quirky or kernel boot codes be needed.

6. Should you start by extracting the sfx onto a USB stick, the extracted files may be moved to a SSD or HD later if you so wish.
Attachments
Desktop.jpeg
(205.94 KiB) Downloaded 499 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]

quirkian2new
Posts: 152
Joined: Tue 06 Oct 2015, 14:10
Location: on the inter-planet train

#25 Post by quirkian2new »

hello ETP,

is it possible to extract the contents of the self-extracting-file onto NTFS partition or FAT32 partition ?

I have tried Quirky8.2 and put the "s.sfs" into initrd.q (However the resulting initrd.q is too large, i.e over 500 MB so it failed to boot)

thanks

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

New simple install & boot method - only 2 files needed.

#26 Post by ETP »

Hi quirkian2new,

It is possible to extract the contents of the sfx file into the root of any partition that Linux can recognise which includes NTFS and FAT32.
If you have already extracted it onto a USB stick the folder "xerus64-8.5" can, with it's contents, simply be moved or copied over to a different partition.

Whilst a dedicated f2fs partition is IMHO ideal that partition need not even be empty. In my own case I have moved a copy of that folder between
different partitions on my second HD (SSD) one of which (sdb2) is a general purpose NTFS partition and contains a few GB of other files.
Another was sdb3 which is ext4 and contains Manjaro. Currently it resides in sdb10 which is an f2fs partition that also contains another Pup.

Once you have copied or moved the "xerus64-8.5" folder from it's original stick that stick should be unplugged and put to one side.
The original boot image card or stick is still used to boot from and requires no modification.

I do not recommend FAT32 as it is too slow which will become apparent when saving. NTFS is however on a par with non-jounaled ext4.

CAVEAT:

If you are contemplating using a Windows NTFS partition precautions MUST first be taken which vary depending on the Windows version.
Come back to me for details if that is the case.
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]

quirkian2new
Posts: 152
Joined: Tue 06 Oct 2015, 14:10
Location: on the inter-planet train

#27 Post by quirkian2new »

thanks, ETP,

extracted it onto a NTFS partition the folder "xerus64-8.5". this can work.

I cannot use keyboard however .
Attachments
Screenshot.jpg
(85.87 KiB) Downloaded 356 times

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

#28 Post by ETP »

quirkian2new wrote:thanks, ETP,

extracted it onto a NTFS partition the folder "xerus64-8.5". this can work.

I cannot use keyboard however .
Hi quirkian2new,

Do you mean that the keyboard is not detected at all or that you get unexpected results when you press keys ?

If you are using a laptop did you turn off the numlock in QuickSetup so that the keyboard number overlay is not engaged ?

Do the log files accessible via PupSysinfo provide any clues ?

Have you tried the Mouse/keyboard wizard ?
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]

quirkian2new
Posts: 152
Joined: Tue 06 Oct 2015, 14:10
Location: on the inter-planet train

#29 Post by quirkian2new »

Hello ETP,

Yes, I got unexpected results when I pressed keys, for example when I pressed "m" , it came up with "0".

I remember that I have had similar issue when I tried another pupplet some time ago.

My laptop was a SONY VAIO and I think it was produced in year 2006....or so.

BTW, the same laptop keyboard works perfectly OK when I am using Quirky Xerus 8.2 of BarryK.

Thanks

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

#30 Post by ETP »

Hi quirkian2new,

Barry normally issues Pups with the keyboard lock (In QuickSetup) turned off whilst I issue stuff with it turned on.
Just visit the menu item Setup/QuickSetup turn it off then reboot ensuring that you click on save.

With it on when using a netbook or laptop, the keyboard number overlay will result in the following:
U becomes 4
I becomes 5
O becomes 6
J becomes 1
K becomes 2
L becomes 3
M becomes 0

You can also toggle it off and on with the NumLock toggle button in the status tray but it should really be off when you boot up.
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]

april

Re: New simple install & boot method - only 2 files needed.

#31 Post by april »

On google drive I could not get your files to download at all .
Couldn't you find a place that didn't rely on Microsoft?
Like Mega?

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#32 Post by technosaurus »

ETP wrote:Hi quirkian2new,

Barry normally issues Pups with the keyboard lock (In QuickSetup) turned off whilst I issue stuff with it turned on.
Just visit the menu item Setup/QuickSetup turn it off then reboot ensuring that you click on save.

With it on when using a netbook or laptop, the keyboard number overlay will result in the following:
U becomes 4
I becomes 5
O becomes 6
J becomes 1
K becomes 2
L becomes 3
M becomes 0

You can also toggle it off and on with the NumLock toggle button in the status tray but it should really be off when you boot up.
Seriously? How is that a sane default?
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

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

New simple install & boot method - only 2 files needed.

#33 Post by ETP »

@april,

I have double checked that my upload to Google Drive was good and suggest that you try again. Perhaps the Google
data centres in Taiwan & Singapore were having issues.
Failing that perhaps some kind forum member with a NZ mega account could mirror the files.
AU currently seems to sadly lack a Google data centre.

@technosaurus,

I concede that for the 50% of people who prefer it in the opposite state it makes no sense but the other 50% are probably sick of having to tick it.
The presence of the keyboard numlock tick box in Quick Setup allows for end users to exercise their hardware dependent choice.

The only sane thing here is the inclusion in the system tray of the indicator the shows the status of the numlock/overlay and a left mouse click on that toggles
the state. A laptop user could for example switch over to the embedded keypad if they were inputting loads of figures into a database or spreadsheet.
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
ally
Posts: 1957
Joined: Sat 19 May 2012, 19:29
Location: lincoln, uk
Contact:

#34 Post by ally »


User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

Re: New simple install & boot method - only 2 files needed.

#35 Post by technosaurus »

ETP wrote: @technosaurus,

I concede that for the 50% of people who prefer it in the opposite state it makes no sense but the other 50% are probably sick of having to tick it.
The presence of the keyboard numlock tick box in Quick Setup allows for end users to exercise their hardware dependent choice.

The only sane thing here is the inclusion in the system tray of the indicator the shows the status of the numlock/overlay and a left mouse click on that toggles
the state. A laptop user could for example switch over to the embedded keypad if they were inputting loads of figures into a database or spreadsheet.
People who want to override the BIOS default should set this in their BIOS. The ability for a user to easily override is fine, though pretty damn pointless since there is a key specific to that purpose and they are obviously planning to use the keyboard if they used it. I wish people would stop overriding user's preferred settings and requiring a workaround via a Rube Goldberg software implementation. Users have already exercised their choice in the BIOS (either by overriding or accepting the default) ... you are overriding that like an annoying Facebook policy update. ... Don't be like Facebook. The only sane thing is to respect the user's choice, not to override it and then make it necessary for them to jump through your hoops. Lots of people dual boot puppy/puplets and I'm confident that this would annoy most of them, especially if they specifically set it in their BIOS. If constantly checking the box is annoying, change the default in your BIOS (BIOS default should be the default BTW, not on or off... In other words do nothing)
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

Post Reply