LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 01-16-2018, 08:16 PM   #1
BinaryDemon
LQ Newbie
 
Registered: Jan 2018
Posts: 8

Rep: Reputation: Disabled
Looking to create my own custom Linux distro


Hi,

Complete Linux newbie here, but I have an idea. I want to create a Linux Distro that loads directly into DOSBox.

The idea is basically FreeDOS but with all the hardware support built into a modern linux kernel for nearly universal SoundBlaster emulation. Ideally the Distro wouldn't even load a desktop manager (unless thats a requirement for DOSBox), just the typical dos console experience.

Since I know very little about Linux, after some quick googling it seems the quickest and easiest way I can accomplish this is using Slax. My luck there is even a DOSBox module already created.

So I have some Slax related questions for those with experience with that:

Can I remove some of the modules that are 'standard' like Chromium.sb, apps.sb, and Desktop.sb?

And how do I 'autostart' DosBox?

Because Slax seems like the simplest solution, I'm anticipating a lot of people replying with explanations on why this is the wrong approach. I'll gladly listen to your alternative, but keep in mind it's likely beyond my current knowledge / skill level.

Thanks for any replies!

-BinaryDemon
 
Old 01-17-2018, 02:33 PM   #2
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
I'd look at LFS instead. But maybe get some experience with Linux first.

Last edited by jsbjsb001; 01-17-2018 at 02:35 PM.
 
Old 01-17-2018, 02:55 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,993

Rep: Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628
Hello and welcome to LQ. Generally a distro has a few features that other users may wish to have.


Many distro's have an ability to be custom on install or have re-spins based on.
Gentoo like LFS is a sort of build it all deal.

To start a program you use the method that the distro uses. At some point in the boot process the OS looks to scripts to perform tasks. In that you eventually run dosbox. There are two many ways to run processes.

As you may know Slax is based on Debian and you could easily use the netinstaller to create a distro based on your minimal needs. No need to undo stuff.
 
Old 01-17-2018, 03:46 PM   #4
Mill J
Senior Member
 
Registered: Feb 2017
Location: @127.0.0.1
Distribution: Mint, Void, MX, Haiku, PMOS, Plasma Mobile, and many others
Posts: 1,258
Blog Entries: 2

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
Give Suse Studio a try, it's an online distro builder. But yes get some experience first.
 
Old 01-17-2018, 03:55 PM   #5
BinaryDemon
LQ Newbie
 
Registered: Jan 2018
Posts: 8

Original Poster
Rep: Reputation: Disabled
Suse Studio was actually my first destination when searching for a tool to make this as painless as possible, but it seems that it only supports the x64 version. I wanted to support the widest variety of hardware possible, so I continued looking for something simple with 32bit x86 support.
 
Old 01-18-2018, 02:20 AM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
i think any ol' distro with 32bit support will do, but this:
Quote:
Originally Posted by BinaryDemon View Post
And how do I 'autostart' DosBox?
seems to be the crucial bit.
i'd start with a command line (no gui) install of something like debian stable, then do a simple "apt install dosbox" - it should pull in all dependencies like Xorg etc. - and start the X session with that.
https://wiki.debian.org/Xsession
so where the lat line in .xsessionrc is "exec fvwm", yours would be "exec dosbox".
 
1 members found this post helpful.
Old 01-18-2018, 07:31 PM   #7
BinaryDemon
LQ Newbie
 
Registered: Jan 2018
Posts: 8

Original Poster
Rep: Reputation: Disabled
After some googling, I found the perfect solution:

https://github.com/superjamie/lazywe...Boot-to-DOSBox

Thanks for the advice everyone.
 
Old 01-18-2018, 08:35 PM   #8
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,993

Rep: Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628
Thanks for the update and solution.
 
  


Reply



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
DISCUSSION: Create your own custom Live Linux CD mchirico LinuxAnswers Discussion 3 05-16-2019 05:48 PM
LXer: 8 Tools to Easily Create Your Own Custom Linux Distro LXer Syndicated Linux News 0 09-27-2017 08:42 PM
Build a custom distro with custom boot and libraries adrian2009 Linux - Distributions 3 08-09-2012 03:16 AM
LXer: 6 Tools to Easily Create Your Own Custom Linux Distro LXer Syndicated Linux News 0 04-09-2010 12:50 AM
How to create a custom desktop in linux playtime Linux From Scratch 6 11-07-2005 01:44 PM

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

All times are GMT -5. The time now is 01:35 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
Open Source Consulting | Domain Registration