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 Fri 26 Aug 2016, 09:58
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 1 of 2 [23 Posts]   Goto page: 1, 2 Next
Author Message
ETP


Joined: 19 Oct 2010
Posts: 887
Location: UK

PostPosted: Fri 20 May 2016, 14:27    Post subject:  New simple install & boot method - only 2 files needed.
Subject description: (Requires testing)
 

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

The base files used in this proof of concept are from BarryK's Quirky Werewolf64-7.4.

In that Barry first introduced the idea of a new flag (Q_ID) who's location
on a non-removable partition when found at boot time, indicates the presence of both the main sfs (q.sfs) and the save file (s.sfs).

This type of frugal install allows for the Pup to load from a fast partition on a HD or SSD but then runs
entirely in RAM with the option to save at any point during the session and/or the option to save or not at the end of the session.

Combined with the above is the small (5MB) hybrid boot ISO technique that I used in Rapid Pup V1.
Using Barry's new code & flag means that isolinux.cfg can be greatly simplified, there being no need to specify in it
any kind of file/partition ID or label.

The 1st File: (5MB)

The hybrid boot ISO (The 1st file) may be written to any old SD card or USB stick using Window's Win32diskimager or Linux's dd command.
If using dd, the code if the ISO is in your "Downloads" folder would be:

Code:
dd if=/root/Downloads/bootqww64-7.4.iso of=/dev/sdx && sync


Things to keep in mind:

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.

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)

The card or stick should be placed at the top of your BIOS boot order. Once booted, you can if you wish remove it to free off the port.

The 2nd File: (Self_extract.sfx) 412MB

This compressed self extracting file (sfx) should be placed on an empty dedicated 10GB Linux HD/SSD partition before left clicking it to extract the contents.
If using an SSD, format the partition as f2fs. No flags need be set.

The 1st file and the 2nd file, together with their MD5 sums, can be found here:

https://drive.google.com/folderview?id=0B_iVVJCd9q09TktKaDc1ZGRVejA&usp=sharing

The following screenshot shows the desktop, the contents of in my case, the SSD partition (sdb14), the contents of the hybrid
boot ISO and the very simple one line isolinux.cfg

Press F11 to go full screen then click on link below.

https://drive.google.com/uc?export=view&id=0B_iVVJCd9q09b0sxV1d1WVVMUDg

Final Thoughts:

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

2. Nothing has been removed from Barry's base ISO files but Google Chrome Stable, HTOP & a faux firstrun procedure have been added.

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

_________________
Regards ETP



Kennels

Last edited by ETP on Sat 28 May 2016, 14:03; edited 4 times in total
Back to top
View user's profile Send private message 
ETP


Joined: 19 Oct 2010
Posts: 887
Location: UK

PostPosted: Fri 20 May 2016, 14:28    Post subject: New simple install & boot method - only 2 files needed.  

Reserved for boot code info if needed.

Q1. How do I update Chrome when a new release is issued?

A1. A preset bookmark in Chrome leads to details of the latest releases. To upgrade, first use QPM (PPM) to uninstall the existing version.
Having done that, select “Get Latest Chrome Version” from the Internet sub-menu and follow the prompts.

Q2. Is it possble to place and then extract the sfx file on another USB stick containing a single empty f2fs partition rather than on a HD or SSD partition?

A2. Yes. The sfx file may be extracted onto another stick. Running speed will be the same but bootup and shutdown will take approx 4/5 times longer
as would saving during a session. A USB3 stick would therefore be best. That approach may suit someone who does not wish to create a partition on
their HD/SSD or does not have the free space to do so.

_________________
Regards ETP



Kennels

Last edited by ETP on Fri 27 May 2016, 05:45; edited 5 times in total
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 8424
Location: Gatineau (Qc), Canada

PostPosted: Fri 20 May 2016, 15:07    Post subject:  

Hi ETP.

You wrote:
> The base ISO chosen for this proof of concept is BarryK's Quirky Werewolf64-7.4.

So your procedure doesn't really apply to any of the Puppies, does it?

BFN.

_________________
musher0
~~~~~~~~~~
"The greatest of minds are the ones that never close." | "Les plus grands esprits sont ceux qui ne se ferment jamais."
(starhawk, Resident Philosopher | philosophe en résidence) Wink
Back to top
View user's profile Send private message Visit poster's website 
ETP


Joined: 19 Oct 2010
Posts: 887
Location: UK

PostPosted: Fri 20 May 2016, 15:27    Post subject:  

musher0 wrote:
Hi ETP.

You wrote:
> The base ISO chosen for this proof of concept is BarryK's Quirky Werewolf64-7.4.

So your procedure doesn't really apply to any of the Puppies, does it?

BFN.


Hi musher0.

That is perfectly correct and why it is POC. If it finds favour however there is
nothing to prevent Barry's code being incorporated into WoofCE so that it would become an option open to devs to use in future Pups if they so choose.

_________________
Regards ETP



Kennels
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 12053
Location: Arizona USA

PostPosted: Fri 20 May 2016, 16:12    Post subject:  

Could it be made to work from a multisession DVD?
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 8424
Location: Gatineau (Qc), Canada

PostPosted: Fri 20 May 2016, 21:14    Post subject:  

POC? Ah, ok, Proof Of Concept.
_________________
musher0
~~~~~~~~~~
"The greatest of minds are the ones that never close." | "Les plus grands esprits sont ceux qui ne se ferment jamais."
(starhawk, Resident Philosopher | philosophe en résidence) Wink
Back to top
View user's profile Send private message Visit poster's website 
april


Joined: 14 Sep 2013
Posts: 691
Location: Running Home with a tail wind

PostPosted: Fri 20 May 2016, 23:50    Post subject:  

I'm just havig a look but wondered why the "Press F11" your page seemed to load for me without it.Oh I see it just loses the window frame.
_________________
My Family and my Property are not Government Issues.
Three types of people use Puppy
Those who make things happen
Those who watch things happen and
Those who wonder what happened.
Back to top
View user's profile Send private message 
gcmartin


Joined: 14 Oct 2005
Posts: 6607
Location: Earth

PostPosted: Sat 21 May 2016, 13:18    Post subject:  

Firstly, THANKS @ETP for presenting this simplified look at a Puppy boot structure.

I understand:
  1. that I am to create a bootable USB/SD stick that is the boot-manager for booting the PC and
  2. that I need a single 10GB (or larger) partition, anywhere, to boot the distro and save its session.
    Note: The ISO serves to create the boot-manager while the SFX creates the partition contents.
Excellent simplification and excellent packaging with much needed flexibility for developers!

_________________
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

Last edited by gcmartin on Sat 21 May 2016, 13:51; edited 3 times in total
Back to top
View user's profile Send private message 
gcmartin


Joined: 14 Oct 2005
Posts: 6607
Location: Earth

PostPosted: Sat 21 May 2016, 13:42    Post subject:  

If I understand @Flash's post, he asks:
Quote:
if the ISO can burn to a DVD and whether the system will boot if it finds partition with the Q_ID in the present state of the isolinux.cfg?
Seems that it should work.
_________________
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: 887
Location: UK

PostPosted: Sat 21 May 2016, 14:54    Post subject: New simple install & boot method - only 2 files needed.  

Hi @Flash & @gcmartin,

The hybrid boot ISO can indeed be burnt/written to optical media but it makes for a noisy boot.
Once booted the CD/DVD may be ejected as any save must be to the partition holding the save file sfs
on the non-removable drive.

My own preference is a SD card which gives a silent boot.
At an absolute minimum with a suitable reader you could also use an old 16MB Smartmedia card as used in the original digital cameras.

@ gcmartin

Like you I am not certain about Flash's "multisession DVD" query. The main sfs & save file/sfs must be on
a partition on non-removable media i.e. HD/SSD. Saving to a DVD is not an option but this method does operate in
a similar fashion there being no compulsion to save during the session and the option to CANCEL the save at the
end of the session.

_________________
Regards ETP



Kennels
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 12053
Location: Arizona USA

PostPosted: Sat 21 May 2016, 15:41    Post subject:  

No, I wondered if the multisession format could be still be used to save sessions on the DVD where the iso is. A multisession DVD allows Puppy to skip loading certain saved sessions at boot, which saving to a Save file cannot do. Saving to a Save file overwrites the files that have been changed, so the original file is difficult or impossible to recover.
Back to top
View user's profile Send private message 
gcmartin


Joined: 14 Oct 2005
Posts: 6607
Location: Earth

PostPosted: Sat 21 May 2016, 16:33    Post subject:  

@Flash, I may be wrong, but in reading thru this thread, I get the impression that there is boot media on a removable while the system contents (which includes the session saves) are on permanent media. Thus a 5MB boot media on either a DVD or USB should go rapidly.

@ETP, I am on step 1. This is what's occurred
Code:
# dd if=/mnt/Laptop/Downloads/LInux/Puppy/ETP/New/bootqww64-7.4.iso of=/dev/sdh && sync
10240+0 records in
10240+0 records out
5242880 bytes (5.2 MB) copied, 1.89278 s, 2.8 MB/s
# sync
# fdisk /dev/sdh  -l
Disk /dev/sdh: 1.9 GiB, 2004877312 bytes, 3915776 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x1d25b5dc

Device     Boot Start   End Sectors Size Id Type
/dev/sdh1  *        0 10239   10240   5M 17 Hidden HPFS/NTFS
#
When I try to mount this USB media, the system (my DLNAPUP) will not it. Further I get an error when gParted accesses it. gParted does NOT show the partition, nor, can I manage the remainder of this 2GB stick as it shows unallocated.

I think, judging from the UEFI support that this should be a GPT stick. But, instead, it appears as MSDOS after dd command completes.

I will try to boot it just to see if one of my other PCs will get to&thru the BM on the stick.

Update using the stick on a 2nd 64bit PC
Just tried to boot the stick without a Q_ID partition. Works, so I can only assume that the stick is OK.

Now for data partition setup and reboot.

_________________
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: 887
Location: UK

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

@Flash,

Sorry, but there is no way that this method can be adapted to emulate a multisession DVD with its ability to
skip loading certain saved sessions at boot.

@gcmartin,

Thanks for starting to test. The code output you quoted above looks normal for a hybrid ISO.
gParted cannot make sense of a hybrid ISO which is a type of image, and the error it shows is to be expected.

If having written the ISO to a card or stick you simply hover your cursor over the drive icon for the stick
it will show "Filesystem:iso9660 size 5MB" which is sufficient proof of success.
If you wish to mount it, simply left click it to view the contents as shown in the screenshot in the original post.
Quote:
Press F11 then click on link.
https://drive.google.com/uc?export=view&id=0B_iVVJCd9q09b0sxV1d1WVVMUDg

UEFI support is limited to CSM mode as stated in item (3) at the end of the original post above.
A hybrid iso is a type of DOS image and GPT does not come into the equation; neither does making use of any remaining
space on the card or stick.

_________________
Regards ETP



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


Joined: 14 Sep 2013
Posts: 691
Location: Running Home with a tail wind

PostPosted: Sun 22 May 2016, 04:29    Post subject:  

Having gotten this booting from a CD and the desktop up ,I am looking to find out how to connect a 3G USB modem ? Eth0 is available and a Wifi modem adaptor also but no GPRS . I could find no help on this either . Do you know how I would get my phone modem connected then?

If you are not familiar with them, the phone modem has a sim card in it which attaches itself to the tower almost immediately when powered up . Then gprs negotiates a connection of computer to modem usually as ppp0.
Back to top
View user's profile Send private message 
ETP


Joined: 19 Oct 2010
Posts: 887
Location: UK

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

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.
Internet_Connection_Wizard.png
 Description   
 Filesize   49.45 KB
 Viewed   317 Time(s)

Internet_Connection_Wizard.png


_________________
Regards ETP



Kennels
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [23 Posts]   Goto page: 1, 2 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.0533s ][ Queries: 12 (0.0037s) ][ GZIP on ]