SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2009-08-01 10:24:40

slipshot
#! CrunchBanger
Registered: 2009-05-13
Posts: 171

How to make a Custom Debian setup

I have seen a lot of people recommend LFS and Arch well i choose Debian.

How to make a custom Debian setup By Slipshot

For this little project you WILL need a good Internet connection and a Debian CD, i used the net install CD but any will do. And if you are asking why would anyone want to do this than here is your answer. First LFS is a pain to get right and lets face it I'm no genius and i ain't trying to spend the next month trying to compile everything i want to use, Arch is OK to but still a pain nun the less. Second i just want a fast light weight system without all the bloat that most Distro's come with. You may have to do a little research to make sure about the packages/apps you want but Google is your friend always keep that in mind. OK so now lets get down to business.

You have to figure out first what Window Manager/ Desktop you want.
I'm going with Openbox because it is fast, light weight, and fairly easy to configure.
I will have a complete app list for my setup at the end of this tutorial.

You will need to put the Debian CD in the CD-ROM and have your computer boot from the CD-ROM. You may have to go into your computers BIOS to get it to do this but that ain't no trouble, just make sure it boots from the CD.

After i start my computer, i am met with the Debian Installer Menu.
I have the options,

Install
Graphical Install
Advanced Options   >
Help

I am going with 'Advanced Install'  so i use the down arrow on my keyboard to move over it and select it by hitting Enter

I am met by another Menu, Advanced Options i can select,

Back..     <
Expert install
Rescue mode
Automated install
Graphical Expert install
Graphical rescue mode
Graphical automated install
Alternative desktop environments  >

I go with Expert Install again, and a bunch of words i cant read come up on the screen, after this little process is over i am met with yet another menu, at the top it says, "[?] Debian installer main menu"
Seeing that we are going to be in this menu for the rest of the install i will call it the Main Menu. The options are,

Choose language
Select keyboard layout
Detect and mount CD-ROM
Load installer components from CD
Detect network hardware
Configure the network
Chang debconf priority
Check the CD-ROM(s) integrity
Save debug logs
Execute a shell
abort the installation

I choose, Choose language
I am met with a screen with a bunch of different languages on it, i choose English
I am next met with a screen that has a bunch of different country's on it, i choose United States
After that it gives me a few more options based on my language and country choices, i just hit enter.
Then it gives me options for additional locals to be installed, again i just hit enter.

Now it takes me back to the Main Menu, i choose 'Select a keyboard layout' by hitting enter.
It says please choose a type of keyboard, i take the first option 'PC-style"
it then asks me the keymap to use, i take American English, again it takes me back to the Main Menu

I next choose 'Detect and mount CD-ROM' by hitting enter
It then tells me i have kernel modules matching me hardware, i hit enter
It asks me to choose whether should be started, i select <Yes>
it asks me something about 'some hardware needs special resources' i just hit enter again.
Then it says CD-ROM detected, and i hit enter to continue. It takes me back to the Main Menu

Next i choose Load installer components from CD, by hitting enter
It gives me a screen to load optional components, and tells me the are probably not necessary, but may be interesting to some users, i just hit enter
It gives me a load screen and returns me to the Main Menu, except it now has more options.
I ain't going to write the all because well will be going over most of the anyway.

I next select Detect network hardware by hitting enter. It gives me a load screen and returns me to the Main Menu.

Next i select Configure the network, by hitting enter (on a side note you will be hitting enter a LOT!)
It next asks me to 'Auto-configure network with DHCP' i hit enter, it gives me a load screen and after that asks me for a host name for my system, the default is Debian but i want to change it (note it don't matter what you put here), i type Slip and hit enter.
It next asks me about the 'Domain name' i just hit enter.

It takes me back to the Main Menu, i select Configure the clock by hitting enter.
It then asks to 'Set the clock using NTP' i just hit enter,
It asks me about a server, i just hit enter again, it gives me a load screen, then asks me my time zone, i pick Eastern, by hitting enter, and it takes me back to the Main Menu.

I select Detect disks, by hitting enter. It gives me a load screen and takes me back to the Main Menu.

Next i select 'Partition disks' by hitting enter. It gives me a load screen followed by a option screen.
The options are,

Guided - use entire disk
Guided - use entire disk and set up LVM
Guided - use entire disk and set up encrypted LVM
Manual

I select 'Guided - use entire disk' (note if you have more than one operating system you will need to select 'Manual' to partition you hard drive accordingly)
Next it gives me a screen with my hard drive on it, i hit enter.
It next gives me a screen for my 'Partitioning scheme'. I choose ' All file in one partition' and hit enter.
It gives me another screen showing how my hard drive will be layed out, i choose 'Finish partitioning and write changes to disk, by hitting enter
It gives me another screen and asks to if i want to 'Write changes to disk?' i select <Yes> and hit enter.
I next see a load screen and it takes me Back to the Main Menu.

I select 'Install the base system' by hitting enter. It gives me another load screen as it installs.
It next asks me what Linux-image i want to install. (note Linux-image is the kernel)
i select 'Linux-image-2.6.26-486' and hit enter (note newer computers use a 2.6.26-686 but I'm going with the 486) it continues the install and then asks if i want the kernel 'generic' or 'targeted' i select 'generic' and hit enter. (note targeted is over all faster but i just need a generic kernel)
It takes me back to the load screen, and finishes installing.

Next i select 'Set up users and passwords' by hitting enter.
It asks me if i want to 'Enable shadow passwords' i select no.
Next it asks if i want to 'Allow lo gin as root' again i select no. (note i like to use sud is why i selected this)
Next it asks for my 'Name' i type it in and hit enter, and then for my 'User Name' i type it in and hit enter.
Then it asks for a 'Password' i type it in and hit enter, it asks for my 'Password' again i do the same and hit enter.

It takes me back to the Main Menu and i select 'Configure the package manager' by hitting enter.
It gives me a load screen followed by asking me if a want to 'Use a network mirror' i select <Yes>
It asks me for the 'Protocol' i choose 'HTTP' and hit enter.
It next asks what country mirror i want i select 'United States' and hit enter.
Next it asks what archive mirror i want. I select the first one and hit enter.
It asks me for a proxy, i just hit continue.
It then asks if i want to use 'non-free software' i select <Yes> and hit enter. It gives me a load screen and says Pleas wait...
It next asks if i want 'security' and 'volatile' updates. i hit enter
It takes my back to the loading screen. And then back to the Main Menu.

Next i select 'Select and install software' by hitting enter. (note this is the key part of the custom setup)
It takes me to the load screen. It than asks me if i want to 'Participate in a package usage survey'
I select <No> and hit enter.
It takes me back to the load screen, then it takes me to the 'Choose software to install' screen. It has options for different software but the most important thing to do here is to UN-check the 'Desktop environment' section. (note It IS selected if it has an * by it and ain't if it don't)
Unselected Desktop envirment by hitting space bar on the keyboard.
So i unselected it and hit enter.
It takes me back to the load screen.
After it is done installing, it takes me back to (of course) the Main Menu

Now i select 'Install the GRUB boot loader on a hard disk' by hitting enter.
It asks me if i want to install GRUB 2 instead of legacy i select <No>
It takes me to a load screen quickly followed by a window asking if i want to install the boot loader the the master boot record i select <Yes>
Next it asks for a GRUB password, i just hit enter.
It takes me back to the Main Menu.
Next i select 'Finish the installation' by hitting enter. It takes me to another loading screen.
Then it asks if i want to set the system clock, i hit <Yes>
It next ejects the CD and tells me the installation is complete i take out the CD and i hit <continue> it then reboots the computer.

After the computer Reboots

It shows me a little screen where i can select what to boot into, i take the first one
I then see a bunch of words going up the screen, followed by, Slip login: and a blinking cursor.
I type in my login name and password.
Now here comes the fun part. What to install!
All i have now is, slipshot@Slip:~$ and a blinking cursor
I use the 'sudo -s' command to become root.
It asks for my password and i put it in
Now i have root@Slip:~# and a blinking cursor
There are some software you are going to have to install no matter what Window Manager/Desktop you choose and xorg is one of them. Like i said this is the part where i little prier Googling can help a LOT.
Here is what i chose to install first, and the command to install them.
root@Slip:~# aptitude install xorg gdm openbox thunar synaptic file-roller gdebi iceweasel terminator obconf obmenu lxappearance nitrogen lxrandr gedit
Next it show all the stuff it has to install and asks if i want to continue? [y/n/?] i push y and hit enter
(note this part is going to take a while depending on your connection speed)
After i finish installing all of that i reboot my system by typing reboot and hitting enter.
I am then met by the Debian Graphical log in screen, after i put in my name and password, i enter into the openbox Window Manager.
right now it aint much just a grey background and a small right click menu.
Boy Do i Have a Lot more work ahead of me.
But that is another tutorial all together. will give you my app list and a lot of good openbox info on getting it configured, when i writ a tutorial on configuring openbox ill post it. Thank you i hope this Helps you.

Good Web sites for openbox help
http://crunchbanglinux.org/forums/
http://urukrama.wordpress.com/openbox-guide/
http://crunchbanglinux.org/wiki/theming
and above all Google!

Slipshots openbox App list

----------------
Internet Apps
----------------
iceweasel - web browser
icedove - email client
gftp - ftp client
deluge - torrent
pidgin - messenger
xchat - irc client
irssi - terminal irc client
----------------
Graphics Apps
----------------
gpicview - picture viewer
scrot - for screenshots
----------------
Office Apps
----------------
abiword - word processor
gnome-calculator
evince - PDF viewer
----------------
Sound and Video
----------------
mplayer - movie player
exaile - music player
audacity - sound editor
kino - video editor
cheese - Webcam App
soundconverter
gnome-sound-recorder
----------------
Other Tools
----------------
gedit - text editor
gdebi - .deb package installer
file-roller - Archive Manager
----------------
System Tools
----------------
gparted - partition editor
synaptic - package manager
htop - system monitor
conky - system-monitor
thunar - file manager
obconf - openbox configuration manager
obmenu - openbox menu editor
nitrogen - wallpaper chooser
lxappearance - GTK theme selector
lxrandr - resolution setter
terminator - terminal emulator
gdm - gnome display manager
xorg - x handler

Last edited by slipshot (2009-08-04 17:54:52)

Offline

Be excellent to each other!

#2 2009-08-01 14:23:25

anonymous
The Mystery Member
From: Arch Linux Forums
Registered: 2008-11-29
Posts: 9,360

Re: How to make a Custom Debian setup

Thanks for this tutorial. BTW two questions:

1. Can you use apt-get instead of aptitude?

2. Do you think a Debian net install is lighter/faster than an Ubuntu minimal install?


Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Offline

#3 2009-08-01 17:59:40

slipshot
#! CrunchBanger
Registered: 2009-05-13
Posts: 171

Re: How to make a Custom Debian setup

1. Can you use apt-get instead of aptitude?

Yes apt-get or aptitude work just fine under Debian

2. Do you think a Debian net install is lighter/faster than an Ubuntu minimal install?

Well i find one of the biggest advantages is you can net install with ANY Debian CD doing everything the same way as in this tutorial.
And i have only done a Ubuntu net install once, but yes i do believe it to be faster because it has to download fewer packages for some reason.

Offline

#4 2009-08-01 23:05:06

Awebb
The Singularity
Registered: 2009-07-23
Posts: 2,812

Re: How to make a Custom Debian setup

Some points about your guide:

  • - It's too step by step. Instead it should explain what happens and why.

  • - It's written like a guide for absolute linux noobs. But how much fun will a total noob have with that kind of custom system.

  • - Since it's so step-by-steppy, it's a pain in the rear to read.

  • + It's good to know that I can take whatever Debian CD I have.


I'm so meta, even this acronym

Offline

#5 2009-08-01 23:12:20

omns
#! wanderer
From: ~/
Registered: 2008-11-25
Posts: 5,131

Re: How to make a Custom Debian setup

Nice work smile Thank you for sharing

Offline

#6 2009-08-02 08:50:18

slipshot
#! CrunchBanger
Registered: 2009-05-13
Posts: 171

Re: How to make a Custom Debian setup

- It's too step by step. Instead it should explain what happens and why.


- It's written like a guide for absolute linux noobs. But how much fun will a total noob have with that kind of custom system.

Well first i was not aware that a howto guide could be too step by step. i have seen WAY to many guides out there with loop holes in them.

And it is written for a linux noobie, Seeing as how i would be considered a noobie by all rights, (i have been using linux for just under a year) and when i make the second part for customizing the openbox setup the guide will be complete.

I also seen a thread, http://crunchbanglinux.org/forums/topic … ueeze-sid/

This way if someone wants #! Debian style it aint no problem, and i happen to know for sure that 99% of the #! apps work under Debian. I have crossed a LOT of Crunchbang stuff in a custom Debian setup i still have and use all the time.

Offline

#7 2009-08-02 08:55:02

Bane
#! CrunchBanger
From: Carlisle, UK
Registered: 2008-12-28
Posts: 135

Re: How to make a Custom Debian setup

Good work slipshot

It IS a bit noobish, but, hey all of us were noobs sometime, and some of us still are. tongue

Keep it up.


Hail #!

Offline

#8 2009-08-02 09:04:25

omns
#! wanderer
From: ~/
Registered: 2008-11-25
Posts: 5,131

Re: How to make a Custom Debian setup

I like the noobish element of it. I must admit of the countless distros and installers I've looked at over the years, Debian is one I've given scant attention to. This guide is a bit of a spoon feed but none the less very useful. Thanks again for sharing smile

Offline

#9 2009-08-02 10:04:07

Awebb
The Singularity
Registered: 2009-07-23
Posts: 2,812

Re: How to make a Custom Debian setup

Hope you didn't get me wrong, I was trying to give some constructive critizism. You know... autoappreciate(free_work) lol


I'm so meta, even this acronym

Offline

#10 2009-08-04 06:37:35

TRF
#! Member
Registered: 2009-07-25
Posts: 86

Re: How to make a Custom Debian setup

what the hell, looks good ... knock on wood ... just as easy as one may get wink

Offline

#11 2009-08-04 18:53:28

fr33r1d3
Member
From: Nora, Sweden
Registered: 2009-06-11
Posts: 30
Website

Re: How to make a Custom Debian setup

I think it is a very good guide. I have made a Debian-Openbox-Customized-Dist my own, but its a good read for a few points I  have missed, and I guess very many will learn from it.

Keep on writing...

Offline

#12 2009-11-14 13:11:56

kirmonkey
Member
From: Aranda - Spain
Registered: 2009-10-11
Posts: 46

Re: How to make a Custom Debian setup

Good guide - written in a style that I find easy to understand. Good stuff!

Offline

#13 2009-11-14 15:25:55

JWJones
#! Member
From: Cascadia
Registered: 2009-02-23
Posts: 63

Re: How to make a Custom Debian setup

I have been working on the same thing on two different machines, a desktop and a laptop, just experimentally until I decide what I really want. At first I did an LXDE install, but I like what you've done even better. I moved from using Debian Lenny to testing -- enjoy getting the more current apps! Right now, however, I'm typing this post from Slitaz cooking (installed to HD), which is rather nice -- very fast and lightweight.


LinuxBBQ • Slackware • antiX
Thinkpad T61 – Intel Core2 Duo T7300 @ 2.00 GHz

Offline

#14 2009-11-14 16:01:09

Bruce
#! CrunchBanger
Registered: 2009-05-29
Posts: 242

Re: How to make a Custom Debian setup

slipshot wrote:

1. Can you use apt-get instead of aptitude?

Yes apt-get or aptitude work just fine under Debian

2. Do you think a Debian net install is lighter/faster than an Ubuntu minimal install?

Well i find one of the biggest advantages is you can net install with ANY Debian CD doing everything the same way as in this tutorial.
And i have only done a Ubuntu net install once, but yes i do believe it to be faster because it has to download fewer packages for some reason.

One other point for net installs, the downloaded packages are the latest versions.  So when you are done, you're done!  There is no "256 files to be updated" after a normal install.

Have a nice day.
Bruce

Offline

#15 2009-11-14 16:06:30

Bruce
#! CrunchBanger
Registered: 2009-05-29
Posts: 242

Re: How to make a Custom Debian setup

slipshot wrote:

- It's too step by step. Instead it should explain what happens and why.


- It's written like a guide for absolute linux noobs. But how much fun will a total noob have with that kind of custom system.

Well first i was not aware that a howto guide could be too step by step. i have seen WAY to many guides out there with loop holes in them.

+1 - Personally I though it a GREAT read!

And I'm more a "user" than an "under the hood" kinda guy, but have no problems getting under the hood when I have to/want to, so in many respects still a noob.  I think you did a great job.

Offline

#16 2010-12-03 04:15:24

Chewie
#! CrunchBanger
From: /dev/null
Registered: 2010-12-01
Posts: 103

Re: How to make a Custom Debian setup

It is kinda noobish but it is a great guide for someone like me, who was wondering how to do this exactly! And TBH I actually learned somethings from it!

And here comes the dreaded question would a base Debian install with OB be smaller and lighter or faster or whatever you want to call it then #!? yikes


#!CrunchBang Linux ~$ apt-get into it | #!(Statler:R20101205): OpenBox | Like To Program?
                          “The cure for boredom is curiosity. There is no cure for curiosity.”

Offline

#17 2010-12-03 05:55:46

anonymous
The Mystery Member
From: Arch Linux Forums
Registered: 2008-11-29
Posts: 9,360

Re: How to make a Custom Debian setup

Viaurl wrote:

And here comes the dreaded question would a base Debian install with OB be smaller and lighter or faster or whatever you want to call it then #!? yikes

If its just base Debian and Openbox, yes it will be smaller (less apps = less space). And the boot speed might be quicker if you have less daemons but otherwise performance should be similar.


Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Offline

#18 2010-12-03 07:27:54

Chewie
#! CrunchBanger
From: /dev/null
Registered: 2010-12-01
Posts: 103

Re: How to make a Custom Debian setup

Well I would have to mimic  Thunar, Nitrogen, and Gedit and all the base necessities of course. wink

EDIT: *doh* Can't forget Conky! (lulz)

Last edited by Chewie (2010-12-03 07:28:30)


#!CrunchBang Linux ~$ apt-get into it | #!(Statler:R20101205): OpenBox | Like To Program?
                          “The cure for boredom is curiosity. There is no cure for curiosity.”

Offline

#19 2010-12-03 12:14:36

Jdemnahouby
#! CrunchBanger
From: France, but living in Prague
Registered: 2009-04-13
Posts: 222

Re: How to make a Custom Debian setup

Awebb wrote:

Some points about your guide:

  • - It's too step by step. Instead it should explain what happens and why.

  • - It's written like a guide for absolute linux noobs. But how much fun will a total noob have with that kind of custom system.

  • - Since it's so step-by-steppy, it's a pain in the rear to read.

  • + It's good to know that I can take whatever Debian CD I have.

If this guide is too step by step, maybe will you prefer this one ;-)

http://auriza.site40.net/notes/debian/x … tallation/

Offline

#20 2010-12-04 20:23:37

Chewie
#! CrunchBanger
From: /dev/null
Registered: 2010-12-01
Posts: 103

Re: How to make a Custom Debian setup

So could I use this as a way to install Awesome Instead of OpenBox, would that work or is there many more dependencies I'd have to apt-get?


#!CrunchBang Linux ~$ apt-get into it | #!(Statler:R20101205): OpenBox | Like To Program?
                          “The cure for boredom is curiosity. There is no cure for curiosity.”

Offline

#21 2010-12-04 20:26:50

anonymous
The Mystery Member
From: Arch Linux Forums
Registered: 2008-11-29
Posts: 9,360

Re: How to make a Custom Debian setup

Yes of course. Apt-get handles dependencies automatically.


Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Offline

#22 2010-12-04 20:33:53

Chewie
#! CrunchBanger
From: /dev/null
Registered: 2010-12-01
Posts: 103

Re: How to make a Custom Debian setup

anonymous wrote:

Yes of course. Apt-get handles dependencies automatically.

yikes yikes yikes yikes yikes

Something I did not know, Anonymous, you're the absolute best!

Last edited by Chewie (2010-12-04 20:34:08)


#!CrunchBang Linux ~$ apt-get into it | #!(Statler:R20101205): OpenBox | Like To Program?
                          “The cure for boredom is curiosity. There is no cure for curiosity.”

Offline

#23 2010-12-04 22:01:10

omns
#! wanderer
From: ~/
Registered: 2008-11-25
Posts: 5,131

Re: How to make a Custom Debian setup

Viaurl wrote:

Something I did not know, Anonymous, you're the absolute best!

If you weren't aware of that I'd suggest installing Awesome on top of crunchbang and get used to setting it up before tackling a Debian netintsall and building up a system up from scratch.

Offline

#24 2010-12-05 11:25:55

Awebb
The Singularity
Registered: 2009-07-23
Posts: 2,812

Re: How to make a Custom Debian setup

Jdemnahouby wrote:

If this guide is too step by step, maybe will you prefer this one ;-)

http://auriza.site40.net/notes/debian/x … tallation/

A little bit :-D

No big deal, OP's guide is fine for the target audience ;-)


I'm so meta, even this acronym

Offline

Help fund CrunchBang, donate to the project!

#25 2010-12-06 02:32:09

Chewie
#! CrunchBanger
From: /dev/null
Registered: 2010-12-01
Posts: 103

Re: How to make a Custom Debian setup

omns wrote:
Viaurl wrote:

Something I did not know, Anonymous, you're the absolute best!

If you weren't aware of that I'd suggest installing Awesome on top of crunchbang and get used to setting it up before tackling a Debian netintsall and building up a system up from scratch.

Already ahead of you brosky, but good looking out! wink I tried the frsh net install with just awesome, and it had nothing but a dekstop even though I installed all the apps, I guess i have some research to do wink


#!CrunchBang Linux ~$ apt-get into it | #!(Statler:R20101205): OpenBox | Like To Program?
                          “The cure for boredom is curiosity. There is no cure for curiosity.”

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo