LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 04-14-2017, 07:13 AM   #1
saul_kent
LQ Newbie
 
Registered: Apr 2017
Posts: 5

Rep: Reputation: Disabled
New distro 200M linux, with iPXE boot and live boot enabled.


About 200M linux
I'm a Linux From Scratch user, this is the distro I used everyday. It has NO GUI.

The 200M linux is based on the latest Linux From Scratch document, with some extra packages installed.
I only installed the packages that I needed, so it's quite small, the compressed image's size is less than 200MB.
But it's enough for maintainance use, and for daily use whoes requirement is similar to mine.

It can be installed to Flash Drive, or use iPXE to load it without install.

Quick start with iPXE

In iPXE shell, run one of the follow commands.
chain https://sf.net/projects/lfsp200/files/netboot/boot.ipxe
chain https://l-lfsp200.rhcloud.com/files/netboot/boot.ipxe
chain http://l-lfsp200.rhcloud.com/files/netboot/boot.ipxe
(use the last one if your iPXE not support https)

Or download https://sf.net/projects/lfsp200/file...only_menu.kpxe and use it as a PXE bootloader,
with it you won't need to type the long commands above.

LIVE MODE Installation
Download file with suffix "-image.tar.xz" listed in bellow URLs, and extract it with tar or 7zip, then enter the directory.
https://l-lfsp200.rhcloud.com/files/ (only for latest version)
https://sf.net/projects/lfsp200/files/
The file "live.vmx" can be used by vmware.

The file "200M" is the main image. Under linux use "dd if=200M of=<flash drive> bs=4M oflag=direct status=progress"
to write it to Flash Drive. ALL DATA ON <flash drive> WITH BE DESTROYED.
For example, <flash drive> standfor "/dev/sdx", not "/dev/sdx1".

For windows user, download Rufus from https://rufus.akeo.ie, and write file "200M" to Flash Drive with "DD Image" type.
Then the bootable Flash Drive is ready.

The file "200M" is a LIVE MODE image, when it booted, nothing will write back unless run command "_liveuser live_sync".

There are two grub menu items, normally use the first one, it will try to load files saved by command "_liveuser live_sync",
and the second one will not do it.
lfs xxxx-xxxx [ Load Image to Ram (Combine Last Change) ]
lfs xxxx-xxxx [ Load Image to Ram ]

200M linux use OverlayFS as rootfs when it run in LIVE MODE, similar to Openwrt/LEDE.
And different PCs boot with same Flash Drive will use different files saved by "_liveuser live_sync",
have a look at /usr/share/mkinitramfs/init.sh for more details.

by jarellczc@gmail.com
Newer version of this document maybe found at https://l-lfsp200.rhcloud.com/
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using isc-dhcp-server for iPXE boot RootMason Linux - Networking 9 06-19-2013 05:36 AM
Monitor turns off at live boot, any linux distro Silverman50 Linux - Desktop 6 07-15-2012 09:23 AM
How to get IPXE boot working? etranman1 Linux - Software 6 07-22-2011 05:53 PM
Setting LCD monitor at boot for live distro of Featherweight Linux Lance Green Linux - Newbie 1 02-14-2006 08:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 06:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration