LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Debian Buster/Sid LXDE Linux-Live-Kit with Xanmod 5.0.2 Kernel RC1 for testing (https://www.linuxquestions.org/questions/debian-26/debian-buster-sid-lxde-linux-live-kit-with-xanmod-5-0-2-kernel-rc1-for-testing-4175650368/)

linus72 03-17-2019 06:04 PM

Debian Buster/Sid LXDE Linux-Live-Kit with Xanmod 5.0.2 Kernel RC1 for testing
 
3 Attachment(s)
Hey guys, if anyone would like to test this build of Debian Buster/Sid with Xanmod 5.0.2 kernel, nonfree stuff and using the Linux-Live-Kit-2.1 I'd appreciate any feedback.
Right now it only comes as a zip file for usb or frugal hdd booting.
Just download it, unzip it and copy the files boot,buster,cde,readme.txt,ldlinux.sys,ldlinux.c32 to your usb or hdd.
Now install syslinux from a linux desktop with # syslinux -sf /dev/sdxx
Where /dev/sdxx is your usb, likely /dev/sdc1, /dev/sdb1, etc.
If booting it from hdd just edit your grub.cfg and add entry for Buster.
Note- If using a ext2/3/4 formatted usb with extlinux installed it will boot and be faster than a fat32 usb.
To install extlinux use # extlinux -i /mount_point_of_usb such as /run/media/live/usb-2.0 or wherever your usb is mounted or try device name such as /dev/sdxx, etc.
It has full persistent features and toram mode plus check other cheatcodes as all cheatcodes are same as Slax.
You can remaster this using the included Linux-Live-2.1 in /root, just add/remove whatever you want, edit Linux-Live-2.1/config and run ./build and make your own!
Root password is root
User live password is live
It also comes with NetbootCD and TinyCore Linux. I installed Debian Buster via NetbootCD then used Linux-Live-2.1 and the Xanmod kernel 5.0.2 to make this live distro.
The Xanmod kernel is patched with aufs which is needed by Linux-Live-Kit.

Xanmod kernels here
https://xanmod.org/#main_features

You can download Buster-rc1 here and thanks for any testing help or improvements.
https://ufile.io/wfi0n

Pics are of boot screen, user live desktop and root desktop

linus72 03-18-2019 02:11 PM

Compiling the 4.19.29-Huge kernel now from Xanmod to make a Slackware Live edition using Linux-Live-Kit...

linus72 04-17-2019 06:55 PM

Here is a new updated iso with kernel 5.0.8-xanmod5 and packages updated to today.
https://www.filehosting.org/file/det...-x86_64.tar.gz
Note it is a 692mb CD iso with the md5sum.txt


Also writing a readme.txt for easy install to usb/usb-hdd/hdd whether frugal or full install like this one-
https://www.linuxquestions.org/quest...3/#post5984839

Full install is similar to above but you gotta reinstall the kernel thru synaptic then manually do update-initramfs for new partition you're installing too. It's easy really plus I'll write about upgrading kernel via live session.

linus72 04-18-2019 08:25 PM

OK I've started a sourceforge project for my respins of Slackware, Debian and multidistro usb's
I'll be adding readme's and instructions during the weekend
https://sourceforge.net/projects/lin...-slack-debian/

linus72 04-20-2019 07:26 PM

Just uploaded the newest iso 042019 updated to today
https://sourceforge.net/projects/lin.../files/Buster/

linus72 04-22-2019 09:03 PM

Ok this update is for those running Slacker/Stretch/Buster live and want to install/upgrade with a new kernel (aufs patched) in live persistent mode, in this example you install new kernel and make new initramfs/initrfs.img for either of those distros.

In this scenario you have booted from a persistent live session and need or want to upgrade your kernel or install a different one.
For the Live system to work it must be a aufs patched kernel or it will not boot!
You can get aufs patched kernel sources from xanmod.org if using a Slackware based system, choose one of my pre-made kernels or if using the Debian Stretch/Buster versions just search synaptic for "aufs" and install aufs-dkms and aufs-tools and whatever debian kernel you select will have aufs in it. Additionally you can get premade Xanmod kernels thru the Xanmod repositories for Debian.

Ok, so in either /root/Linux-live-2.1/initramfs or /root/Tomas-M-linux-live-d27460d/initramfs you'll find the script initramfs_create and in the tools folder 2 scripts- initramfs_repack and initramfs_unpack.

First you need to install your new kernel and kernel modules.

Then, you need to open your file manager and go into /root/Tomas-M-linux-live-d27460d/ or /root/Linux-live-2.1/ and edit the config for your new kernel as the script initramfs/initramfs_create will go off the config file for looking for new kernel modules, etc.

Example: we're gonna install my 5.0.8-xanmod5 kernel into one of my Slacker Live distros, install the kernel and modules packages.
Now, edit the config so it says this

VMLINUZ=/boot/vmlinuz-5.0.8-xanmod5

KERNEL=5.0.8-xanmod5

Now go into the initramfs folder, open a terminal there or cd there "cd /root//Tomas-M-linux-live-d27460d/initramfs and invoke the initramfs_create
like so
./initramfs_create and it will create a new initrfs.img in /tmp named for example Buster-initramfs-8257.img, whatever it's name for your distro, copy it to /run/initramfs/memory/data/Buster and either rename it initrfs.img or initrfs2.img if you want to keep your original initrfs.img.
cp -r /tmp/Buster-initramfs-8257.img /run/initramfs/memory/data/Buster

Now copy the kernel vmlinuz-5.0.8-xanmod5 from /boot to /run/initramfs/memory/data/Buster
cp -r /boot/vmlinuz-5.0.8-xanmod5 /run/initramfs/memory/data/Buster

Now edit your syslinux.cfg or grub.cfg if booting persistent off hard drive.
Now reboot into your new kernel/initrfs.img


All times are GMT -5. The time now is 02:59 PM.