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

Under development: PCMCIA, wireless, etc.
Message
Author
quirkian2new
Posts: 152
Joined: Tue 06 Oct 2015, 14:10
Location: on the inter-planet train

#41 Post by quirkian2new »

Hello, ETP,

For the past few days, running from a desktop PC with 8GB physical ram and find it very smooth and stable. System showed that there is 11G personal storage and 10G available.

The 'theatre style' of Youtube is very impressive.

Thanks for your excellent work. Thank you.
Attachments
Screenshot.jpg
(108.45 KiB) Downloaded 373 times

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#42 Post by BarryK »

@etp,
There is something that might interest you, to make running-in-zram ultra secure.

Linux Capabilities enables root-user to be divested of its powers, as much as wanted.

There is one individual capability, known as cap_sys_mount, that is not official, requires a kernel patch. However, I think that it is particularly useful.

It would need to be worked out exactly how to implement it, but basically something like

/sbin/capsh --drop=cap_sys_mount -- -c "/bin/sh"

would run a shell without the ability to mount or umount. This could be implemented at the time of switch_root.

So, if booting from a usb stick, if the stick partition is already mounted before running capsh, then only that partition can be accessed. Everything else is unreachable.

I wrote about the patch here:

http://bkhome.org/news/201805/improving ... ities.html

I have got it working, and will probably upload EasyOS 0.9.3 with the patched kernel tomorrow. Also the kernel pet and the kernel sources.

In my case, I am using Linux Capabilities to restrict the root-user in containers.

Oh, one more thing. I haven't posted to my blog about it yet, but I had to patch 'libcap' the package that has capsh, to get it to recognise cap_sys_mount.
[url]https://bkhome.org/news/[/url]

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

#43 Post by ETP »

Hi Barry,

Thanks for your post which will I think, interest a number of forum members such as greengeek.
I will take a look at it when you release 0.9.3
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.

#44 Post by ETP »

Update:

Please note that forum member @Gyro has a similar thread running to this one, the common objective being to
simplify matters for Windows users wishing to try out and possibly move over to Puppy Linux.
His approach offers a different method and can be found here:
http://murga-linux.com/puppy/viewtopic.php?t=113724
I think we also both acknowledge that the lack of built-in optical drives in recent kit has been a factor in Puppy's decline together
with the need sometimes to wrap one's head around the use of quite complex boot/cheat codes depending on the target hardware.

Quite frankly it must be made as simple as possible both to try out and to subsequently install if the rot is to be halted.

The majority of forum members were once themselves pure Windows users and some of us still give various versions some limited kennel room.
Windows 10 however was a game changer for most people as rather than being a true OS it's primary function is as a tracking, targeted advertising,
revenue generating tool that equals or exceeds Google's best efforts in those areas.

In effect Windows 10 has given Linux its best opportunity in years to boost its popularity but we must all rise to the challenge.
(Rant ends)
To return to topic there was the following exchange of posts relating to this thread:
  • 3rd July 2018
    Burn_IT
    Joined: 12 Aug 2006
    Posts: 3121
    Location: Tamworth UK

    PostPosted: Today, at 07:34 Post subject:
    Quote:
    A Windows user would need 7-Zip to extract the contents


    Not if a self extracting file is created.
    ---------------------------------------------------------------------------------------------------
    3rd July 2018
    Hi Burn_IT,

    Yes, it is perfectly possible to offer two self extracting files (.sfx and .exe )
    A self-extracting windows archive would not require the user to be running 7-Zip or the Portable Apps version of 7-Zip.
    In fact they could download it directly to the root of their data drive [D:] and right click it to scan it before
    left clicking it to extract it. It would only add about 4MB to the file size.

    Please let me know if you wish to test such a file and I will upload one.
    Straight to NTFS partition is a good option as it is performance wise, on a par with non-journaled EXT4.

    Regards ETP
    -------------------------------------------------------------------------------------------------------------------------------------
A self-extracting Windows version of the 2nd file (532MB xerus64-8.5.exe) has now been uploaded purely for Windows users who do not have
access to Linux and do not wish to install 7-Zip which would be required if they used the .sfx
In order to write the 1st (16MB Boot Image) file to a card or stick they would need to install Win32diskimager (provided) or Etcher.
As with any downloaded executable in Windows they should first virus scan it before clicking it to extract it once placed
in the root of the stick or [D:] drive.
If targeting a stick it should first be fully re-formatted as NTFS using Windows if you do not possess Linux.
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]

Post Reply