LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   How To: Remastering Debian Stretch/Buster using Linux-live-debian-050419 into a Live CD/DVD/USB/HDD (https://www.linuxquestions.org/questions/debian-26/how-to-remastering-debian-stretch-buster-using-linux-live-debian-050419-into-a-live-cd-dvd-usb-hdd-4175653318/)

linus72 05-04-2019 08:57 AM

How To: Remastering Debian Stretch/Buster using Linux-live-debian-050419 into a Live CD/DVD/USB/HDD
 
I'm gonna share with my fellow Slackers and Debianites how to remaster their hard drive installed Slackware/Debian into a remasterable, installable, live version which runs just like Slacker/Stretch/Buster I have at my site.
https://sourceforge.net/projects/lin...-slack-debian/

Please go here and first download my modified version of Tomas M's Live-Kit
https://sourceforge.net/projects/lin...-slack-debian/

The read me and other read me's at my site give info on how to do this and run the build script.
Quote:

Linux-live-slack-debian contains two folders, one for Slackware 142/current and one for Debian Stretch/Buster.

If you're wanting to remaster or build your own Slackware based distro you will need this kit plus a aufs-patched kernel, available in Slacker/Live Kernel folder. Additionally you can get aufs-patched kernel sources from https://xanmod.org/

If you're wanting to remaster or build your own Debian based distro you will need this kit plus a aufs-patched kernel. In Debian you can do this simply by adding aufs-dkms and aufs-utils from synaptic package manager or add the Xanmod.org repositories to your
apt list and install through synaptic.

YOU MUST EDIT!
Files that must be edited by you for name of your distro/kernel etc are

linux-live-slack/bootfiles/isolinux/isolinux.cfg
linux-live-slack/bootfiles/syslinux/syslinux.cfg
linux-live-slack/config
linux-live-slack/build
linux-live-slack/initramfs/init

Same goes for the Debian version!

After installing your kernel, rebooting, editing the configs you just run the build script with
./build

That's it!
All thanks to Slackware, Debian, Tomas M of Slax, the makers of aufs and maintainers of the Xanmod kernels!

If you have any questions or problems just ask!

NOTE: Slackware 14.2/current and debian have differing versions of syslinux so if using the Slackware build you must install 14.2 version of syslinux to make usb bootable! Same with Debian.
If you're using a Debian install to install syslinux to your usb for booting the Slackware version it will have errors.
Install syslinux from a slackware install for the slackware version, syslinux from a debian install for the debian version.

If you wanna see any in action just download a premade iso here
https://sourceforge.net/projects/lin...-slack-debian/


:)

DBSOM 10-14-2019 01:25 PM

Hi,

I'm super new to Linux and Debian but would like to create a live DVD. I've been searching for a good tutorial on how to do it for a little while, but haven't been able to find anything that goes in depth, step by step, from start to finish showing all the little changes that need to be made. Your posts and research are the best I've found so far, as most other tutorials are 3+ years old and using older Debian distros to remaster.

Quote:

YOU MUST EDIT!
Files that must be edited by you for name of your distro/kernel etc are

linux-live-slack/bootfiles/isolinux/isolinux.cfg
linux-live-slack/bootfiles/syslinux/syslinux.cfg
linux-live-slack/config
linux-live-slack/build
linux-live-slack/initramfs/init
I've seen where you can edit the name of your new distro in the config file, but can't seem to figure out what else to edit in the other files. Can you give some examples of what needs to be edited in these files when it comes to distro/kernal info that needs to be changed?

In my setup, I'm going to be using Debian 10 from debian-10.1.0-amd64-netinst.iso, with the aufs dependencies installed.

For making a bootable DVD, would I still need to recompile the isolinux.bin with the update script in the tools folder? If so, what are the steps for getting this to successfully be recompiled?

Also, which file needs to be edited to create a bootable DVD ISO larger than 4GB? Cause I get an error saying it's larger than 4GB when trying to run the gen_iso.sh script.

Thank you!


All times are GMT -5. The time now is 08:18 AM.