Svante Signell wrote: > In an attempt to upgrade from slink to potato the installation got > broken. The following I need help with. > > 1. Networking using eth0 and another computer as gateway is no longer > functional. How do I reconfigure networking??
I'm not sure, that should be working. Check /etc/init.d/network, /etc/hosts, and /etc/hostname, if they're all correct then `/etc/init.d/network restart', if that doesn't work try `/etc/init.d/network stop; ifconfig eth0 down; rmmod <your NIC module>; insmod <your NIC module>; ifconfig eth0 up; /etc/init.d/network restart'. Also, the new netbase is a subset of the old without libwrap0 and tcpd; likewise, netstd is an empty package which depends on its old components. Package dependencies should get everything you need automatically, but something might have slipped. Make sure you have all of these in your new potato install. > 2. The apt-get update and dist-upgrade did not update the kernel. How > come? I need a 2.2.x kernel to get SMP support. The kernel is not packaged as "kernel", but as "kernel-2.0.36" or whatever. Do: apt-get install kernel-image-2.2.13 and it will do what you need it to (including updating your /vmlinuz link and pointing /vmlinuz.old to the old kernel, prompting you and running lilo to install a new boot block if you like, prompting you to create a boot floppy, etc.). Or use dselect, go to Select, and search for kernel-image using the / key, hit + to indicate you want to install, and it will prompt you for dependencies and recommendations. For SMP, you will need to build your own kernel. Use apt or dselect as above to get kernel-source-2.2.13 (and dependencies/recommended packages). You will probably want to get kernel-package, as it builds a coherent .deb package with all of your modules, system.map, etc. which installs nicely and is easy to remove. Here's how I do it: 1. cd /usr/src; tar xIf kernel-source-2.2.13.tar.bz2 2. ln -s kernel-source-2.2.13 linux 3. cd linux; make [x/menu]config [note: kernel-patch for i386 has the standard debian .config, it might help to start with this; be sure to save .config for future use] 4. make-kpkg kernel-image >& ../log-2.2.13 & You can tail -f ../log-2.2.13 to watch its progress. When it's done, there's a new kernel package in /usr/src, use `dpkg --install kernel-image-whatever.deb' to install it (and update the boot block, make a boot floppy, etc.). WARNING: You really should not get kernel-image and kernel-source of the same version. You'll end up trying to install, e.g., 2.2.13 on top of 2.2.13, with inevitable conflicts. Maybe the 2.2.12 image and 2.2.13 kernel. Also note: uninstalling a kernel-image seems to be slightly broken, it might leave dangling symlinks in /vmlinuz or /vmlinuz.old. Make sure you check and clean these up if necessary before rebooting! Finally: it's a good idea to make an alternate lilo startup possibility, in case your new kernel doesn't boot. To do this, edit /etc/lilo.conf, adding a new entry triplet which boots from /vmlinuz.old. Mine is attached. > 3. Which is the preferred tool dselect, apt and/or dpkg? I can easily > do all upgrades in an .rpm system, but I'm new to .deb. Apt is a front-end to dpkg, which uses your preferred URL (file, ftp, http, etc.) to get packages and dpkg to install them. Dselect is a front-end which can use apt or other install methods to get packages and dpkg to install them. As a newcomer, it's probably better to start with dselect, and when you get tired of going through the menus for simple operations, then use the simple apt command line interface. For example, getting the latest version info on every package there is is as simple as apt-get update Having done that, you can upgrade everything in your system with apt-get dist-upgrade Powerful, isn't it? I don't think there's a counterpart in the RedHat world... This is probably more than you asked for, but hope some of it helped! -Adam P.
boot=/dev/hda1 root=/dev/hda1 install=/boot/boot.b map=/boot/map vga=normal delay=20 image=/vmlinuz label=Linux read-only image=/vmlinuz.old label=OldLinux read-only