PDA

View Full Version : Question: Upgrading knoppix with apt-get



Del
01-31-2004, 01:51 PM
I am new to both linux and knoppix. I did a knoppix-style harddrive install of knoppix a couple of weeks ago and everything works fine! However I would like to upgrade to a newer version (I am running the 2.4.22-xfs kernel). I have the sources.list as set up from knoppix-installer with the addition of marillat's page for mplayer and codecs, as well as nvidia site for graphics driver. I have tried running
apt-get update and apt-get dist-upgrade, but I still have the 2.4.22-xfs kernel (The 2.4.23-xfs is in the current knoppix version i believe). Moreover, the sources list seems to include the unstable version of Debian, which currently has the 2.6.0 kernel (which would be brilliant, if it works without cinfiguring my hardware manually). Could anyone tell me how to upgrade to Sid (without doing a fresh install), and if so is the hardware configuring plug-and-play like in knoppix? Also, I am wondering why the kernel has the -xfs extension?

I am very greatful for all the help I get!

RockMumbles
01-31-2004, 07:06 PM
xfs is a filesystem developed by SGI that the knoppix kernel supports, most stock kernels do not support it. Do a google for "linux xfs filesystem" for more info.

I have not run a current version of knoppix as an hd install, I only run knoppix and other live systems as live systems I don't install them to hd, so don't take this as an absolute but, in the past I when I had a knoppix hd install, I was not able to install a stock debian kernel (stable, testing, or unstable) onto my knoppix system, as the knoppix kernel is made to run in a live environment not as a "normal" installed system.

What I think you will have to do is get all of the necessary kernel source packages and patches and build your new kernel from source. Do some searching here on this forum and there should be a bunch of posts about building new kernels for knoppix.

Note: you can upgrade all of your packages except the kernel to sid (unstable) easily, by just commenting out the references in /etc/apt/sources.list to woody (or stable) and testing, just put a # (hash) in front of the lines that refer to the debian stable and testing repositories, then run apt-get update, and then apt-get dist-upgrade. NOTE: there may be problems when you do this upgrade, especially with packages such as KDE and you may need to manually fixing some dependency problems using:
dpkg --force-overwrite -i *fullpath-and-packagename-with-version.deb

ALSO NOTE: there is a chance that you may break your system doing this!

~rock