LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-27-2016, 04:38 PM   #1
PeppermintUser
LQ Newbie
 
Registered: Aug 2016
Posts: 4

Rep: Reputation: Disabled
Talking Creating a custom distro.


Hey everyone,

So I am a newbie to Linux, tried all the popular distros and currently loving Peppermint OS. I am having so much fun with Linux that I am trying to create my own distro. I looked into SUSE studio but I can't fully customize that. Looked into Linux From Scratch, but that seems way too complex for a Linux noobie. Looked into a few other options, and all the ones I saw seem to assume you already know things about the Linux Kernel and command line. Now I do know programming, and I'm sure that may help, but can anyone steer me into a good way to create a distro, that can fully customize, and I don't need to be a kernal expert?

Thanks so much guys !
 
Old 08-27-2016, 04:50 PM   #2
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 6,155

Rep: Reputation: Disabled
Maybe this is good for a start?
 
Old 08-28-2016, 03:54 AM   #3
Jjanel
Member
 
Registered: Jun 2016
Distribution: any&all, in VBox; Ol'UnixCLI; NO GUI resources
Posts: 997
Blog Entries: 12

Rep: Reputation: 359Reputation: 359Reputation: 359Reputation: 359
Hi! My NON/anti-GUI learning, from boot to init (only)

Hi! *WELCOME*! I 'empathize' with your goal/interests. (I'm a semi-Newbie & Unix OldTimer)
I had some great success with NuTyX (in VirtualBox [on my poor ol' XP netbook & slow inet])
I stripped /boot way down to just a few files so that I fully understood...
And then put /boot on a separate drive [.vdi] that isn't even mounted, lol.
(my grub.cfg is just a few simple/trivial lines & i386pc has only a dozen files!)
All this helped a lot in learning the depths of grub. I have only about 70 'pkgs', so I can keep re-installing [experimenting] ultra fast, esp. cuz it doesn't rebuild initrd. (&no GUI)
initrd is the next thing I might study/play-with in-depth. Then maybe build a custom kernel.
http://downloads.nutyx.org has a recent 4.4 kernel (/proc/config.gz has the kernel options)

I'd suggest a bit of skim-reading LFS, and lots&LOTS of crafty web searches ;-)

Best wishes! Enjoy! (p.s. notice "Similar Threads" at bottom of this page! Cool LQ feature!)

Last edited by Jjanel; 08-28-2016 at 05:33 AM.
 
Old 08-28-2016, 08:45 AM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,378

Rep: Reputation: 1414Reputation: 1414Reputation: 1414Reputation: 1414Reputation: 1414Reputation: 1414Reputation: 1414Reputation: 1414Reputation: 1414Reputation: 1414
I'm not sure you can "fully" customize without modifying the kernel but you should probably give more details on what exactly you want to customize. It might be that you simply want to remaster an installed system that has specific software you want. There was remastersys for Ubuntu or Debian which would do that. It has since been dis-continued but Systemback does pretty much the same thing and should be in the repositories for the various Ubuntu derivatives.
 
Old 10-10-2017, 06:03 PM   #5
PeppermintUser
LQ Newbie
 
Registered: Aug 2016
Posts: 4

Original Poster
Rep: Reputation: Disabled
reply

@yancek Either creating a distro from an already installed system would be fine, or if there would be a way do use the terminal to install a desktop environment and packages onto an iso would be good too.

I have seen some tools that just make an iso based on your current machine, but those seem to be just to make a backup of your system. I want to create my own custom distro that I can distribute online to other users and maybe even have a community based around, something like Peppermint OS Linux for example,someone to be able to use a flash drive to mount the iso and then it would go to the option for the user to install the distro, not just boot into a desktop.

Can anyone suggest a lesser-known option that can help me achieve a good way to create and distribute my own Linux distro?
 
Old 10-10-2017, 07:01 PM   #6
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,378

Rep: Reputation: 1414Reputation: 1414Reputation: 1414Reputation: 1414Reputation: 1414Reputation: 1414Reputation: 1414Reputation: 1414Reputation: 1414Reputation: 1414
Both Systemback and Pinguy Builder create an iso of an installed system with any changes you want/make. I think Systemback has the installer included but if it doesn't, you can easily install the Ubiquity installer used by the Ubuntu derivatives like Peppermint before running Systemback or Pinguy.

Systemback has a backup option as well as an option to create an iso to use to install, not sure about Both create the iso file which you can then burn to a DVD/CD, put on a flash drive or boot the iso from Grub2.
 
Old 10-13-2017, 08:14 PM   #7
PELinux64
LQ Newbie
 
Registered: Aug 2017
Distribution: Ubuntu
Posts: 9

Rep: Reputation: Disabled
For Debian/Ubuntu-based you'll need to learn debootstrap and chroot. Basically you need a kernel and init system first to get to a text console then you can install a display manager, Xorg and finally your desktop environment of choice.

https://wiki.debian.org/Debootstrap
https://wiki.debian.org/chroot

If the target is a different architecture (like ARM64) you'll also need qemu... not the full virtual machine, just the user-mode emulation.

https://www.qemu.org/

mk-sbuild automates a lot of the process, i.e. mk-sbuild --arch arm64 zesty

https://wiki.debian.org/mk-sbuild
 
Old 10-14-2017, 04:10 AM   #8
AwesomeMachine
Senior Member
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 3,273

Rep: Reputation: 587Reputation: 587Reputation: 587Reputation: 587Reputation: 587Reputation: 587
You can put whatever you want on an install DVD by using the debian-cd package. After you have the install DVD complete with everything you want, dump it to a hard drive, replace all the debian artwork with your own, and make the iso again.
 
  


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
Creating a custom personal linux distro Rinndalir Linux - General 36 02-01-2016 04:46 PM
[SOLVED] creating custom distro from my own installation linuxPCplus Linux - General 8 12-21-2012 09:44 AM
Help creating a tiny custom distro matt_heys Linux - General 5 01-14-2009 06:55 AM
Creating custom distro from RH9 ? DJ Shaji Red Hat 2 03-08-2005 02:19 PM
Creating a custom bootable distro Boffy Linux - General 2 08-28-2004 07:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:15 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration