Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 16 Oct 2018, 06:14
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
New simple install & boot method - only 2 files needed.
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 3 [44 Posts]   Goto page: Previous 1, 2, 3 Next
Author Message
starhawk

Joined: 22 Nov 2010
Posts: 5056
Location: Everybody knows this is nowhere...

PostPosted: Sun 22 May 2016, 13:26    Post subject: Re: New simple install & boot method - only 2 files needed.  

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! Wink ) -- 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.

_________________

Back to top
View user's profile Send private message 
april

Joined: 14 Sep 2013
Posts: 1241
Location: Green Island baby!

PostPosted: Sun 22 May 2016, 17:34    Post subject:  

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
Back to top
View user's profile Send private message Yahoo Messenger 
ETP


Joined: 19 Oct 2010
Posts: 1103
Location: UK

PostPosted: Mon 23 May 2016, 04:04    Post subject: New simple install & boot method - only 2 files needed.  

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&id=0B_iVVJCd9q09bXE3d2VwVzFHUHc

_________________
Regards ETP

Kennels
Back to top
View user's profile Send private message 
april

Joined: 14 Sep 2013
Posts: 1241
Location: Green Island baby!

PostPosted: Mon 23 May 2016, 05:14    Post subject:  

MM OK you are obviously running something else entirely not the hybrid iso . So I'll stop asking .Dont know what you are doing .
Back to top
View user's profile Send private message Yahoo Messenger 
ETP


Joined: 19 Oct 2010
Posts: 1103
Location: UK

PostPosted: Mon 23 May 2016, 07:58    Post subject: New simple install & boot method - only 2 files needed.  

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. Laughing

_________________
Regards ETP

Kennels
Back to top
View user's profile Send private message 
april

Joined: 14 Sep 2013
Posts: 1241
Location: Green Island baby!

PostPosted: Mon 23 May 2016, 17:21    Post subject:  

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.
Back to top
View user's profile Send private message Yahoo Messenger 
gcmartin

Joined: 14 Oct 2005
Posts: 6730
Location: Earth

PostPosted: Wed 01 Jun 2016, 04:10    Post subject: Update to an earlier post on this thread  

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.

_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engines or use DogPile
Back to top
View user's profile Send private message 
ETP


Joined: 19 Oct 2010
Posts: 1103
Location: UK

PostPosted: Thu 02 Jun 2016, 06:19    Post subject: New simple install & boot method - only 2 files needed.  

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.

www.murga-linux.com/puppy/viewtopic.php?p=832567#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

Kennels
Back to top
View user's profile Send private message 
ETP


Joined: 19 Oct 2010
Posts: 1103
Location: UK

PostPosted: Thu 10 May 2018, 14:51    Post subject: New simple install & boot method - only 2 files needed.
Subject description: (Updated May 2018)
 

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:
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=0B_iVVJCd9q09TktKaDc1ZGRVejA&usp=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.
Desktop.jpeg
 Description   
 Filesize   205.94 KB
 Viewed   380 Time(s)

Desktop.jpeg


_________________
Regards ETP

Kennels
Back to top
View user's profile Send private message 
quirkian2new

Joined: 06 Oct 2015
Posts: 112
Location: on the inter-planet train

PostPosted: Sat 12 May 2018, 21:14    Post subject:  

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
Back to top
View user's profile Send private message 
ETP


Joined: 19 Oct 2010
Posts: 1103
Location: UK

PostPosted: Sun 13 May 2018, 03:58    Post subject: New simple install & boot method - only 2 files needed.
Subject description: (Updated May 2018)
 

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

Kennels
Back to top
View user's profile Send private message 
quirkian2new

Joined: 06 Oct 2015
Posts: 112
Location: on the inter-planet train

PostPosted: Sun 13 May 2018, 10:45    Post subject:  

thanks, ETP,

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

I cannot use keyboard however .
Screenshot.jpg
 Description   
 Filesize   85.87 KB
 Viewed   242 Time(s)

Screenshot.jpg

Back to top
View user's profile Send private message 
ETP


Joined: 19 Oct 2010
Posts: 1103
Location: UK

PostPosted: Sun 13 May 2018, 12:32    Post subject:  

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

Kennels
Back to top
View user's profile Send private message 
quirkian2new

Joined: 06 Oct 2015
Posts: 112
Location: on the inter-planet train

PostPosted: Mon 14 May 2018, 08:40    Post subject:  

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
Back to top
View user's profile Send private message 
ETP


Joined: 19 Oct 2010
Posts: 1103
Location: UK

PostPosted: Mon 14 May 2018, 11:23    Post subject:  

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

Kennels
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 3 [44 Posts]   Goto page: Previous 1, 2, 3 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0883s ][ Queries: 12 (0.0132s) ][ GZIP on ]