Page 1 of 1

Booting EasyOS with grub4dos & running Chromium

Posted: Sun Nov 20, 2022 11:19 am
by peebee

Hi @BarryK
Just an FYI..........

I boot EasyOS on a hard disk partition as follows (I avoid the messages that say the partition will be encrypted if I enter a password):

Code: Select all

open easy*.img with XArchiver
extract 1.img
click/mount 1.img
copy easyos folder to root of partition
unmount 1.img
boot with grub4dos:

title EasyOS (sda4/easyos)
  uuid 9bb32631-xxxx-9f816347e8fc
  kernel /easyos/vmlinuz rw wkg_uuid=9bb32631-xxxx-9f816347e8fc wkg_dir=easyos/
  initrd /easyos/initrd

I can't install my Chromium SFS built for Puppy, but it does run if I mount the sfs and manually copy the /opt and /usr/bin contents:

Screenshot.png
Screenshot.png (279.8 KiB) Viewed 358 times

Re: Booting EasyOS with grub4dos & running Chromium

Posted: Sun Nov 20, 2022 2:26 pm
by BarryK

I wonder what Easy didn't like about the chromium sfs?

You could try creating the sfs in Easy, using Easy's 'dir2sfs'
Start off with a folder named like chromium_<version>_amd64
Some docs on dir2sfs here:

https://easyos.org/dev/coding-for-easyos.html

Another handy hint so as not to confuse dir2sfs, make sure the executable is /usr/bin/chromium, the same as the name in the directory.
Also make sure there is a /usr/share/pixmaps/chromium.png

The dir2sfs will give you the option of running chromium as root or as a user named "chromium" -- which will have its home folder at /home/chromium. The latter is probably the best choice, as then you don't need to start chromium with the "--without-sandbox"