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 Sun 20 Aug 2017, 22:59
All times are UTC - 4
 Forum index » Taking the Puppy out for a walk » Misc
Minimal Linux Live
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [5 Posts]  
Author Message
labbe5

Joined: 13 Nov 2013
Posts: 858
Location: Canada

PostPosted: Tue 28 Mar 2017, 09:20    Post subject:  Minimal Linux Live
Subject description: a core platform to build upon
 

https://distrowatch.com/weekly.php?issue=20170327#minimal

Conclusions :

I was intrigued by Minimal Linux Live, particularly by the idea of using just one shell script command to build the entire operating system. I was pleased to find the distribution does indeed build and run exactly as the documentation says it will. I was also interested in running such a minimal environment in a web browser and was pleased to find MLL does run (admittedly slowly) in a browser. There is not a lot we can do with a command line only distribution in a web browser, but I can see how it would be a useful educational tool.

In a way I feel as though MLL is Linux From Scratch for people who want to automate the build process, skipping the manual work. And, in this regard, MLL is effective. We can run the build script and come back an hour later to a working, tiny distribution.

There is not a lot we can do with MLL on its own, apart from testing hardware, rescuing files or running simple scripts. However, the platform is there to build upon. Much like other minimal distributions, such as Tiny Core Linux, the power of MLL is not in what it does, but in providing a core platform on which we can expand. In this regard, MLL does very well.
Back to top
View user's profile Send private message 
Keef


Joined: 20 Dec 2007
Posts: 837
Location: Staffordshire

PostPosted: Tue 28 Mar 2017, 16:22    Post subject:  

Our friend s-kami posted a link to his build with MC and Links added:

http://murga-linux.com/puppy/viewtopic.php?t=34088&start=15
Back to top
View user's profile Send private message 
s-kami


Joined: 30 Apr 2009
Posts: 122
Location: Hungary

PostPosted: Fri 31 Mar 2017, 10:19    Post subject:  

Yeah!
I like this idea!

Create a new minimal system from ground up. Step by step.

Using the build scripts and skeleton.

In latest MLL script the img used for overlay.

The first step could be to change the img to sfs.

The second to place links and mc with alsa or pulseaudio and some useful util, like CLI-net or NmTUI.

One of my favourite puppy was the minimal-CLI by goingnuts... Very Happy

_________________
Hungarian Puppy Linux HQ
http://skamilinux.hu

Back to top
View user's profile Send private message Visit poster's website 
amigo

Joined: 02 Apr 2007
Posts: 2590

PostPosted: Fri 31 Mar 2017, 14:53    Post subject:  

If only it didn't use busybox, so that the unwashed could learn from the beginning exactly what is needed for a minimal, but widely expandable system. A liveCD system is a software appliance by definition, so it provides a good insight into the concept of limiting the ability and definition of minimal.

But, the concepts and features which make a liveCD possible at all, should be understood as deviations from 'normal' installed systems. By that I mean that one should understand how a normal system works as the basis for understanding how to construct a 'live' system which appears and functions just like an installed system.
Back to top
View user's profile Send private message 
s-kami


Joined: 30 Apr 2009
Posts: 122
Location: Hungary

PostPosted: Mon 03 Apr 2017, 01:19    Post subject:  

A real core system - if you have DEVX installed, simply run it:

Code:
wget http://kernel.org/pub/linux/kernel/v4.x/linux-4.7.6.tar.xz
wget http://busybox.net/downloads/busybox-1.24.2.tar.bz2
wget http://kernel.org/pub/linux/utils/boot/syslinux/syslinux-6.03.tar.xz
mkdir isoimage
tar -xvf linux-4.7.6.tar.xz
tar -xvf busybox-1.24.2.tar.bz2
tar -xvf syslinux-6.03.tar.xz
cd busybox-1.24.2
make distclean defconfig
sed -i "s/.*CONFIG_STATIC.*/CONFIG_STATIC=y/" .config
make busybox install
cd _install
rm -f linuxrc
mkdir dev proc sys
echo '#!/bin/sh' > init
echo 'dmesg -n 1' >> init
echo 'mount -t devtmpfs none /dev' >> init
echo 'mount -t proc none /proc' >> init
echo 'mount -t sysfs none /sys' >> init
echo 'setsid cttyhack /bin/sh' >> init
chmod +x init
find . | cpio -R root:root -H newc -o | gzip > ../../isoimage/rootfs.gz
cd ../../linux-4.7.6
make mrproper defconfig bzImage
cp arch/x86/boot/bzImage ../isoimage/kernel.gz
cd ../isoimage
cp ../syslinux-6.03/bios/core/isolinux.bin .
cp ../syslinux-6.03/bios/com32/elflink/ldlinux/ldlinux.c32 .
echo 'default kernel.gz initrd=rootfs.gz' > ./isolinux.cfg
genisoimage \
   -J \
   -r \
   -o ../minimal_linux_live.iso \
   -b isolinux.bin \
   -c boot.cat \
   -input-charset UTF-8 \
   -no-emul-boot \
   -boot-load-size 4 \
   -boot-info-table \
    -joliet-long \
   ./
cd ..


Original here:
https://github.com/ivandavidov/minimal-linux-script
[/quote]

_________________
Hungarian Puppy Linux HQ
http://skamilinux.hu

Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [5 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Taking the Puppy out for a walk » Misc
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.0345s ][ Queries: 14 (0.0040s) ][ GZIP on ]