LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-27-2010, 01:01 PM   #1
reasonman
LQ Newbie
 
Registered: Jul 2010
Distribution: Linux Mint
Posts: 9

Rep: Reputation: 0
Install Debian Lenny from CLI


Hi all,

I've been working with Debian and it's variants(Ubuntu, Mint) for about 2 years now. I'm bored at work and got to thinking that as much as I know about Linux now compared to when I started(enough --> none), I can always learn more. I notice I learn more by doing than by reading like many others and like a hands on approach, and if I screw something up, even better as I can learn from that mistake not just what happens but why it happens and how it can be avoided.

Anyways, I was installing Lenny on a VM and was going through the install options and was playing with an ssh install when I thought I might be able to install totally from the command line. I'd be surprised if I couldn't, and while I realize it's probably not the easiest thing to do, what have I got to lose? I managed to get as far as the shell but then i'm sort of at a loss. I think I have all the pieces(load components from media, configure packages, partition, install) but I can't really put them together. I guess my question is, how do I go about, if at all, installing from the shell? I figure if I can do this i'll learn quite a bit more about the install process and can help myself out down the road if I'm not reliant on the hand-holding gui install.
 
Old 07-27-2010, 01:14 PM   #2
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Rep: Reputation: Disabled
I'm a little unsure of what you are trying to achieve here.
Are you trying to avoid using the Debian installer? be it the ncurses interface or the gui?.
Or are you asking how to install X and some sort of window manager after you have installed the minimum system ie, a net-install?.
 
Old 07-27-2010, 01:46 PM   #3
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,111
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
Not sure if this may interest you. But I'll throw it out there anyways. Not Lenny. But Squeeze.
Cli Installer. No X. Used it on my Amrel RT 686 Laptop to build up what I wanted on it.

http://www.linuxquestions.org/questi...core-iso-2953/

The tools are already there for you to use. I posted because of

Quote:
I'm bored
and

Quote:
what have I got to lose?
Good Luck and Happy Trails, Rok
 
Old 07-27-2010, 01:48 PM   #4
reasonman
LQ Newbie
 
Registered: Jul 2010
Distribution: Linux Mint
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by the trooper View Post
I'm a little unsure of what you are trying to achieve here.
Are you trying to avoid using the Debian installer? be it the ncurses interface or the gui?.
Or are you asking how to install X and some sort of window manager after you have installed the minimum system ie, a net-install?.
Sorry if I wasn't clear enough. I'm trying to do a fresh install of Lenny without the help of the gui(ie, not the gui installer and not the 'non-gui' prompting installer). I want to install purely from the cli by just issuing commands, which I assume is all the gui does, acts as a front end to a series of commands. I googled a bit but turned up nothing on the subject.
 
Old 07-27-2010, 02:02 PM   #5
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Rep: Reputation: Disabled
It is possible to install Debian without using the installer if you have some kind of Linux installed on your machine already:

http://www.uk.debian.org/releases/st...apds03.html.en

Other than that,it's the more usual methods:

http://www.uk.debian.org/releases/st...h02s04.html.en
 
Old 07-27-2010, 07:12 PM   #6
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
Quote:
I want to install purely from the cli by just issuing commands, which I assume is all the gui does
I would think the Debian installer, (GUI), adheres to a script to install the base system, the packages installed and set up before tasksel appears offering predefined collections of software. Find and dissect the scripts within the installer to figure out what it does.
 
1 members found this post helpful.
Old 07-28-2010, 08:25 AM   #7
reasonman
LQ Newbie
 
Registered: Jul 2010
Distribution: Linux Mint
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Brains View Post
I would think the Debian installer, (GUI), adheres to a script to install the base system, the packages installed and set up before tasksel appears offering predefined collections of software. Find and dissect the scripts within the installer to figure out what it does.
I ran through an expert install and had the option to save a log. syslog has a(verbose) output of everything that was done through the install. Now I suppose it's just a matter of going through the scripts that are called. Just sifting through step one, the hw-detect script, is already quite a chore for me as I know next to nothing about how Linux detects and loads hardware. Looks like I've got all info I need to last me a while, and I've got a lot to learn yet.

@ rokytnji/the trooper, I was looking more for info on how a standard Debian system goes about getting installed, though I'll check out that link you posted again later rokytnji.

Thanks for the suggestions guys. If anyone has any other tips I'm all ears.
 
  


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
how to install VLC in debian-Lenny ? stu7 Debian 9 06-27-2010 03:58 AM
[SOLVED] Debian Lenny WPA using CLI Joe of Loath Linux - Networking 35 05-25-2010 03:51 AM
I cannot install debian lenny in my computer miros84 Linux - Laptop and Netbook 11 08-13-2009 01:53 PM
Debian Lenny: no GUI after install navy80 Linux - Newbie 15 04-13-2009 01:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:28 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