LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-04-2019, 09:57 AM   #1
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 471Reputation: 471Reputation: 471Reputation: 471Reputation: 471
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/



Last edited by linus72; 05-04-2019 at 09:58 AM.
 
Old 10-14-2019, 02:25 PM   #2
DBSOM
LQ Newbie
 
Registered: Oct 2019
Posts: 1

Rep: Reputation: Disabled
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!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How To: Remastering Slackware14.2/current using Linux-live-slack-050419 into a Live CD/DVD/USB/HDD linus72 Slackware 0 05-05-2019 06:44 PM
Announcing Linux-Live-Kit x86_64 Debian Stretch Live XFCE MultiDistro Remasterable/Persistent HDD/USB linus72 Debian 6 04-22-2019 10:05 PM
Debian Buster/Sid LXDE Linux-Live-Kit with Xanmod 5.0.2 Kernel RC1 for testing linus72 Debian 5 04-22-2019 10:03 PM
[SOLVED] Upgraded Stretch->Buster, lost network. How to set up simple DHCP connection? pepperslq Debian 7 02-26-2018 03:38 AM
remastering Knoppix 4.0 DVD into a CD distro Cinematography Linux - Distributions 3 09-03-2005 06:00 PM

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

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

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