12.2. Testing iso based on Linux Live Kit

Global announcements
simargl
Site Admin
Posts: 466
Joined: 16 May 2013, 10:54
Contact:

12.2. Testing iso based on Linux Live Kit

Postby simargl » 28 Oct 2013, 17:21

Linux Live Kit
Linux Live Kit is a set of shell scripts which allows you to create your own Live Linux from an already installed Linux distribution. The Live system you create will be bootable from CD-ROM or a disk device, for example USB Flash Drive, USB Pen Drive, Camera connected to USB port, and so on. People use Linux Live Kit to boot Linux from iPod as well.

How to install?
Make directory alphaos on one of your partitions, copy iso content to that directory. Run grub4dos config from the menu and after that manually add this to menu.lst (change sda6 to match your installation)

Code: Select all

title alphaos (sda6/alphaos)
  uuid f6cfd2a9-cfed-483c-85c9-6904637405dd
  kernel /alphaos/boot/vmlinuz from=/alphaos
  initrd /alphaos/boot/initrfs.img

or check out another working menu.lst setup

On first boot?
... is recommended to make savefile which will store your settings: click Control center icon on tint2 panel, then button Setup savefile. Changes made during first session will be saved, there is no need reboot first.

Problems?
Grub4dos-config does not recognize alphaOS frugal installation.
There is no GUI for bundles (modules) activating and deactivating.
Probably more minor bugs, but should be fixable.

Benefits?
- faster boot,
- load unlimited number of bundles,
- Linux Live scripts are less cluttered,
- easier to follow and maintain,
- 64-bit could be supported.

Note: save file option in this format does not exist in the original Linux Live Kit.

Download alphaOS_12.2-20131028-LL.Test.iso from
http://sourceforge.net/projects/alphaos/files

Scooby
Site Admin
Posts: 826
Joined: 09 Sep 2013, 16:52

Re: 12.2. Testing iso based on Linux Live Kit

Postby Scooby » 28 Oct 2013, 18:02

Will DL and try this


simargl wrote:Linux Live Kit
There is no GUI for bundles (modules) activating and deactivating.


you are talking about sfs_load here huh? sfs_load is very cluttered.

So this new alphaOS_12.2-20131028-LL.Test.iso also uses unionfs right?
Then mounting should not be so hard. There is some afterwork in sfs_load
In sfs_load there is following kinds of afterwork

HAS_MODULES
HAS_FONTS
HAS_PINS
HAS_DESKTOPS
HAS_SCRIPTS
HAS_STARTUPS
HAS_PROFILE
HAS_ICONS
HAS_GLIB_SCHEMA

should be doable right.


Now to a more generel question.
Is there a way to separate code and GUI programming. The way it is in sfs_load
is very messy.

simargl
Site Admin
Posts: 466
Joined: 16 May 2013, 10:54
Contact:

Re: 12.2. Testing iso based on Linux Live Kit

Postby simargl » 28 Oct 2013, 18:18

I saved commands for handling bundles

activate

Code: Select all

mkdir /mnt/live/memory/bundles/leafpad.sb
mount -o loop leafpad.sb /mnt/live/memory/bundles/leafpad.sb
mount -n -o remount,add:1:/mnt/live/memory/bundles/leafpad.sb=rr aufs /


deactivate

Code: Select all

mount -n -o remount,del:/mnt/live/memory/bundles/leafpad.sb aufs /
umount /mnt/live/memory/bundles/leafpad.sb
rmdir /mnt/live/memory/bundles/leafpad.sb


Then would go those post afterwork actions you mention. sfs_load is really too complicated, but it must handle so many pupmodes and other options.

Scooby
Site Admin
Posts: 826
Joined: 09 Sep 2013, 16:52

Re: 12.2. Testing iso based on Linux Live Kit

Postby Scooby » 28 Oct 2013, 19:22

simargl wrote: sfs_load is really too complicated, but it must handle so many pupmodes and other options.


agreed,

The same can be said for init in initrd.gz.

fredx
Apprentice
Posts: 7
Joined: 25 Sep 2013, 20:52

Re: 12.2. Testing iso based on Linux Live Kit

Postby fredx » 29 Oct 2013, 19:20

Nice!
Any chance for an option "save at shutdown" (equivalent of pupmode=13)?
I like to make it possible to choose to save or not to save session.
Recently I tried Porteus, what I liked very much were the very flexible "cheatcodes" boot options, it would be great if these could be implemented into alphaOS (probably easier said than done).

smil99
Proficient
Posts: 73
Joined: 14 Sep 2013, 13:37

Re: 12.2. Testing iso based on Linux Live Kit

Postby smil99 » 30 Oct 2013, 13:43

Downloaded V12.2 Testing and installed as instructed. Had to use the uuid line generated by grub4dos in menu.lst for V12 before I was able to start it. Frisbee recognized my wifi without any problems. Changed all my .sfs files to .sb and they all loaded successfully after reboot when placed in the modules folder. All in all, a significant departure from good old puppy ;) Will report back after testing printing too.
Cheers.

simargl
Site Admin
Posts: 466
Joined: 16 May 2013, 10:54
Contact:

Re: 12.2. Testing iso based on Linux Live Kit

Postby simargl » 31 Oct 2013, 11:34

This menu.lst setup for grub4dos also works, without need for uuid...

Code: Select all

title alphaos (sda6/alphaos)
  find --set-root --ignore-floppies --ignore-cd /alphaos/boot/initrfs.img
  kernel /alphaos/boot/vmlinuz from=/alphaos
  initrd /alphaos/boot/initrfs.img

smil99
Proficient
Posts: 73
Joined: 14 Sep 2013, 13:37

Re: 12.2. Testing iso based on Linux Live Kit

Postby smil99 » 31 Oct 2013, 16:08

This menu.lst setup for grub4dos also works, without need for uuid...

Tried this and I had a smooth booting without any problem :) . Would be hassle free if grub4dos is tweaked to generate the correct menu.lst entry though.
Printing also works after renaming my cups.sfs file to cups.sb and then adding

Code: Select all

cupsd &
to .start.
Cheers.

Marv
Proficient
Posts: 81
Joined: 16 May 2013, 16:42

Re: 12.2. Testing iso based on Linux Live Kit

Postby Marv » 31 Oct 2013, 17:24

smil99 wrote:
This menu.lst setup for grub4dos also works, without need for uuid...

Tried this and I had a smooth booting without any problem :) . Would be hassle free if grub4dos is tweaked to generate the correct menu.lst entry though.
Printing also works after renaming my cups.sfs file to cups.sb and then adding

Code: Select all

cupsd &
to .start.
Cheers.

How is your boot partition formatted? Tried both entries with no sucess. The uuid one returns 'no partition found' immediately. The later menu.list setup finds the .img and the vmlinuz in /alphaos/boot and then hangs at 'Looking for alphaos data in /alphaos'. I have the current Grub4Dos installed. Am using a SATA SSD with a fat32 boot partition and a much larger ext2 data and work partition. alpha_12.sb and extra_12.sb both exist in /alphaos, all extracted directly from the test iso. This setup has booted everything I've put in the menu list til now.
Edit: Wait long enough and it does boot to a basically unpopulated command line system. No /usr subdirs, no /mnt, /etc/fstab empty. I redownloaded and replaced alpha_12 and extra_12. Same result.
Edit: Tested on Pentium M laptop. IDE-CF Card, Similar formatting. Completely reinstalled Grub4Dos from alphaOS 12.1 including MBR. Both uuid and non-uuid menu.list entries now find the .img and vmlinuz. Then it hangs exactly as above.
Edit: It's probably the fat32 boot partition. Put it on a ext2 formatted usb stick with syslinux. Booted correctly, recognized my adrive and posting from it now. Probably mounting for vmlinuz and .img handled by Grub4Dos, and mounting for the bundles by linux live kit. Not a show stopper but certainly an unpleasantness here.
Edit: Copying the alphaos directory to sda2, the ext2 data partition of the SDD, Grub4Dos using the menu.list on sda1 (fat32) with the non-uuid entry searches for, finds alphaos on sda2, completely ignores the one on sda1, mounts sda2 and boots and runs perfectly. So, for now, a caveat...no fat32! Pretty goofy :o

simargl
Site Admin
Posts: 466
Joined: 16 May 2013, 10:54
Contact:

Re: 12.2. Testing iso based on Linux Live Kit

Postby simargl » 01 Nov 2013, 08:20

List of supported linux-live cheatcodes http://www.slax.org/en/documentation.php#booting

from=Load Slax data from specified directory or even from an ISO file

Example
from=/slax7/
from=/Downloads/slax.iso

But how to define what partition to use, if alphaos is installed on two partitions or devices?


Return to “Announcements”

Who is online

Users browsing this forum: No registered users and 22 guests

cron