-
Notifications
You must be signed in to change notification settings - Fork 0
Distro making using live build
srikantharika edited this page Oct 28, 2017
·
2 revisions
Requirements:
The tools that are required for making an iso are
- apt install live-build
- apt install debootstrap
- apt install dh-make devscripts
- apt install git
- apt install po4a
- apt install dh-systemd
Process:
- git clone http://anonscm.debian.org/git/debian-live/live-build.git
- git clone http://anonscm.debian.org/git/debian-live/live-boot.git
- git clone http://anonscm.debian.org/git/debian-live/live-config.git
- cd live-build
- dpkg-buildpackage -b -uc -us
- cd ..
- cd live-boot
- dpkg-buildpackage -b -uc -us
- cd ..
- cd live-config
- dpkg-buildpackage -b -uc -us
- cd ..
- mkdir -p config/packages.chroot
- cp ../live-boot{_,-initramfs-tools,-doc}*.deb config/packages.chroot/
- cp ../live-config{_,-sysvinit,-doc}*.deb config/packages.chroot/
Creating the Iso using live-build:
- mkdir myiso ; cd myiso
- lb config
- lb config --debian-installer live
- echo "debian-installer-launcher" >> config/package-lists/my.list.chroot
- echo "d-i debian-installer/locale string en_US" \ >> config/includes.installer/preseed.cfg
- echo "task-gnome-desktop" > config/package-lists/desktop.list.chroot
- lb build
- cd live-build/myiso
- chroot chroot
- apt install package-name
- apt install plymouth
- /usr/sbin/plymouth-set-default-theme --list -->Then select the theme shown in the list .
- /usr/sbin/plymouth-set-default-theme Themename
- apt install virtualbox virtualbox-qt
- virtualbox
Debian Installer Installation:
Now installing desktop environment:
This will install gnome desktop environment, if you want another desktop environment instead of gnome then
replace "task-gnome-environment" with other environment name like task-cinnamon-desktop.
Finally building the iso file
Installing required tools or pre installed tools:
Now continue installing required tools by using.
Plymouth Installation:
Testing the Iso
Testing the created Iso either by booting into a usb or in a Virtualbox.
Virtualbox installation: