LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices

View Poll Results: Would you use this if it worked for most distributions?
Hell yes! 4 30.77%
Naw it's dumb 9 69.23%
Voters: 13. You may not vote on this poll

Reply
 
Search this Thread
Old 01-12-2012, 05:58 PM   #1
origami-sheep
Member
 
Registered: Dec 2009
Distribution: Arch
Posts: 103

Rep: Reputation: 2
Lightbulb A new distro for installation of any other distro


Hi,

So I've had some thoughts floating around for a while now and it basically comes from the question of 'why is Linux not used more?'. I think one answer is the ridiculous number of distributions that are all fundamentally the same.

But personally I cherish this and love distro hopping

BUT

Setting up is always hard for me because of my wireless card so I got the idea of a mini, live distribution which comes with a partitioning program and a huge number of networking drivers and easy setup scripts for them, to give a base for installing other distro's

HOW?

Well at the moment I've been looking at Aufs and unionfs as the live distro could download an image of the installer file system (similar to puppy sfs files) and then just installing with that distro's installer and files but with the wireless all set up.
It could also provide an ideal platform for installing things like gentoo and Funtoo


I hope to be able to make a proof of concept as soon as possible, but ideas please?
 
Old 01-12-2012, 06:22 PM   #2
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
Much easier solution: get a wireless card that has good Linux support.
 
1 members found this post helpful.
Old 01-13-2012, 12:18 AM   #3
origami-sheep
Member
 
Registered: Dec 2009
Distribution: Arch
Posts: 103

Original Poster
Rep: Reputation: 2
that was not the point of this thread: i want to make a system to allow installation of any distro from just one live cd
 
Old 01-13-2012, 11:53 AM   #4
Ion Silverbolt
Member
 
Registered: Sep 2004
Distribution: Gentoo/Xfce, Manjaro/Xfce, SolydXK
Posts: 194

Rep: Reputation: 36
One of the problems of that is, a distros respective Live CD is also kind of a test environment. With your method, I might get everything working to install, but what do I do when I have issues once the install is done? I just wasted time installing an OS that doesn't support all of my hardware out of the box. Maybe it's fixable, maybe not.

I understand the purpose of wanting to do something like that, but it makes more sense to use it for some of the "start from the beginning" type Linux distros. I use a Calculate Linux Live CD to install Gentoo. Much more convenient than using a Gentoo minimal install CD. Arch can be installed in somewhat the same say with a little more effort. But if I want to install Xubuntu for example, I want to know it works ahead of time before I waste 30 minutes to install it.
 
Old 01-14-2012, 10:45 AM   #5
origami-sheep
Member
 
Registered: Dec 2009
Distribution: Arch
Posts: 103

Original Poster
Rep: Reputation: 2
Well that is true: which is why I believe that if done properly there could be a way of loading any other distro's live cd

The main point of this idea is essentially to help get hardware working right away
 
Old 01-14-2012, 01:04 PM   #6
celthunder
Member
 
Registered: Feb 2009
Location: Newton, WI
Distribution: Arch
Posts: 84

Rep: Reputation: 8
Does this not already exist? look at gentoo and LFS for example they both require you have a base (live or otherwise) system to install from. Debian and ubuntu have bootstrapping which is the same thing? You can install pretty much any distrobution using pretty much any other one as a starting point right? Could be wrong hopefully someone else can chip in
 
Old 01-14-2012, 01:11 PM   #7
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,083

Rep: Reputation: 334Reputation: 334Reputation: 334Reputation: 334
There is multicd.sh and netbootcd, which may contain some things like what you want, including net-installation and disk utilities, etc
http://multicd.tuxfamily.org/

http://netbootcd.tuxfamily.org/

there is also Instalinux

http://www.instalinux.com/

Last edited by linus72; 01-14-2012 at 01:12 PM.
 
1 members found this post helpful.
Old 01-15-2012, 06:34 AM   #8
origami-sheep
Member
 
Registered: Dec 2009
Distribution: Arch
Posts: 103

Original Poster
Rep: Reputation: 2
basically yes; it'll be something like netbootcd; but running in X (eventually with a gui for installing)

so far the way i see it working:

it boots as stand alone live distro
it downloads and mounts the netinstall iso of selected distro
it then switches over somehow (a filesystem union?) maybe chroot

input please: i am in a bit over my head with some of this xD
 
Old 01-15-2012, 06:42 AM   #9
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,083

Rep: Reputation: 334Reputation: 334Reputation: 334Reputation: 334
Check out how the netbootcd scripts work, when you choose whatever distro you want it downloads the appropriate kernel and initrd for said distro and I think runs it via kexec
Quote:
The current version of NetbootCD is version 4.7, available from TuxFamily. It is built on a microcore-4.1 base, with kexec support added to the kernel.
I would suggest you use Netbootcd on some empty partition and learn whats going on, and maybe get the source, take it apart and check it out
source, etc is at bottom of their webpage.

as for the "live" distro part, you could use a Remastersys Ubuntu/Debian based one or a Slackware/SalixOS one using Linux-Live scripts that I have for -current/13.37
 
Old 01-15-2012, 06:53 AM   #10
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,601
Blog Entries: 2

Rep: Reputation: 4060Reputation: 4060Reputation: 4060Reputation: 4060Reputation: 4060Reputation: 4060Reputation: 4060Reputation: 4060Reputation: 4060Reputation: 4060Reputation: 4060
The problem with you approach is the amount of RAM needed. If you download an install CD for a distribution it has to fit completely in the RAM, since you are doing this on a Live system. That may be possible if you have enough RAM and only small installer CDs, but you will not be able to install a distribution on an PC with only 512MB of RAM, when the installer CD is sized (and many are) to fit perfectly on the CD (700MB).
 
Old 01-15-2012, 07:00 AM   #11
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,083

Rep: Reputation: 334Reputation: 334Reputation: 334Reputation: 334
you may also want to look at Billix, which is similar to Netbootcd
http://sourceforge.net/projects/billix/

the way both work is they have the kernel and initrd from many netinstall isos, so they dont use the iso or mount it, but use Kexec to boot the new kernel/initrd when you make your selection.
Netbootcd simply downloads the needed items while Billix I think has them onboard their iso.
Thus, they both use very little ram and both use CLI installers. I've used both and they work good, especially combined with multicd.sh

Last edited by linus72; 01-15-2012 at 07:01 AM.
 
Old 01-15-2012, 11:41 AM   #12
origami-sheep
Member
 
Registered: Dec 2009
Distribution: Arch
Posts: 103

Original Poster
Rep: Reputation: 2
well, i've actually gone and changed my mind here: its so close to building a custom distro i may as well do that! (no seriously, i plan to (-: )

anyone more experienced than me want to help?
 
Old 01-15-2012, 12:34 PM   #13
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,083

Rep: Reputation: 334Reputation: 334Reputation: 334Reputation: 334
It matters what distro you want it based on?
As far as I know I am the only person that has Linux-Live that will make live-media from a Slackware 13.1/13.37 install?
If Ubuntu/Debian based you can use Remastersys, If ARCH you can use Larch or they have others too for ARCH I think...
 
Old 01-16-2012, 02:21 PM   #14
origami-sheep
Member
 
Registered: Dec 2009
Distribution: Arch
Posts: 103

Original Poster
Rep: Reputation: 2
true;

but i thought maybe i'll first explore the world of LFS and distro design then come back to this
 
Old 01-16-2012, 10:07 PM   #15
hydraMax
Member
 
Registered: Jul 2010
Location: Skynet
Distribution: Debian + Emacs
Posts: 467
Blog Entries: 60

Rep: Reputation: 51
The Gentoo minimal install disk already provides an ideal platform for installing Gentoo. (Including the partitioning tool, et cetera.)

Frankly, if I were you I'd start with simply creating the "huge number of (wireless) networking drivers and easy setup scripts for them". If you can accomplish that you will have earned your place in the open source hall of fame. Wireless support is a complex issue; e.g., some wireless cards require certain kernel sub-systems to be enabled, while others require that they be blacklisted. (IIRC, enabling b43 stuff requires a few other kernel components to be disabled, which are used by other drivers.) Then there is the whole issue of proprietary Windows drivers that must be wrapped by NDISwrapper. Are you going to take the legal risk of distributing copy-righted Windows drivers on a CD, or are you going to force this "mini-distro" to download them off the Internet (which of course requires networking to be available in the first place).

The biggest contribution you could make would be to write more open source wireless drivers which could easily be used by all distros.
 
  


Reply

Tags
distribution, insalling, setup, wireless


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
Newbie Distro Question 1: Reasons for inter-distro pkg incompatibility. Wombat Pete Linux - Distributions 20 04-05-2010 01:59 PM
[rant] DIstro frustration and alienation/suggestions for stable distro Draciron Linux - Distributions 3 10-16-2009 10:27 AM
rebooting directly to another distro from current distro's logout window newbiesforever Linux - Distributions 1 09-28-2008 02:53 PM
math distro....? music distro...? small distro....? jasonparent Linux - Newbie 11 02-11-2008 09:57 AM
LXer: DistroWatch Weekly: Distro hopping, Linux Format's distro mega-test LXer Syndicated Linux News 0 06-11-2007 04:47 AM


All times are GMT -5. The time now is 06:53 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration