The Transition from Knoppix live to
Debian Installed
Before anyone freaks out,
yes you can just use Debian and install it instead, but in my
case, I had used knoppix to install so I found this useful. To
see how to install knoppix to your hard drive, see
this page.
I recently decided that I wanted to modify
my install of knoppix to my hard drive. I wanted to do this for
several reasons:
* When I booted knoppix, it booted fine, but
I got tons of dependency errors and messages saying it was looking
for things it could not find. For example, it was looking for
isdn which I don't use. The reason for this is that knoppix comes
with as much compatibility as it can to ensure that it will work
with as many systems as possible. This is a good thing as a live
cd. This is not such
a good thing after it is installed to your hard drive. I found
that after the install, it was quite messy. There was tons of
data on my computer that I knew I would never use and like I said
earlier my boot screen was a mess when my kernel was loading.
I am happy to say that I trimmed it down from 2.4GB to 1.4GB.
Your results will vary depending on what you decide to keep on
yours. You can type df
-h into your terminal and it will show you how much
space you are currently using - you do this again at the end to
see the difference. Anyway, here are the steps I used to do it:
1 - Get
rid of the repositories that comes with knoppix
You will need to change the information in your /etc/apt/sources.list
file. You will need root permissions in order to save it. This
means that you either will actually have to log in as root or
you will need root permissions in the terminal (my preference).
I outline the method below.
(keep in mind
I am using newer packages, if you like older ones, change "unstable"
to "stable". Newer packages are quite stable in my opinion, Debian's
use of the terms stable and unstable is extemely misleading)
Method: Open the file and erase the current entries
and then copy and paste the following into the file and save it.
deb http://ftp.us.debian.org/debian/ unstable
main non-free contrib
deb-src http://ftp.us.debian.org/debian/ unstable main non-free
contrib
deb http://non-us.debian.org/debian-non-US unstable/non-US main
contrib non-free
deb-src http://non-us.debian.org/debian-non-US unstable/non-US
main contrib non-free
deb http://security.debian.org/ stable/updates main contrib non-free
Once this is done, save it and then open a terminal
and type: apt-get update. This will verify the new repositories
you have entered. If you get any errors, it likely means you have
just mistyped something, open the file and check everything to
make sure it is right.
2 - Use
synaptic to get rid of all the stuff you don't want.
The best way to do this is to be logged in as user and open a
terminal and type:
xhost
+ $HOST
This will allow you to open synaptic while logged in as user with
root permissions. So next, do this:
su
yourrootpassword
synaptic