At the moment I have a Debian installation on a disk that is going to be moved onto a new motherboard, which has an entirely new chipset. This chipset is supported in 2.4.20, but not in 2.4.18 which is what I am running currently.
The 2.4.20 sources are in /usr/src, but the need to be unpacked and recompiled. Sadly, the pc (for whatever reason) won't stay working for long enough for a compile and make-kpkg.
Would it be possible for me to use a rescue disk, chroot into the existing installation (by mounting the / , /usr and /home partitions, /swap is on a different hd which I am also moving to the new mobo), run the compile from there, use dpkg to install, reset LILO, then exit? I have a feeling it *should* be possible, but I have sneaky suspicions there will be odd problems...
I expect to do the following (partition names aren't exact, but you get the idea- & commans cribbed from gentoo install docs):
# Mounting swap swapon /dev/hdb5
# Make directories to mount existing partitions onto mkdir /mnt/debian mount /dev/hda1 /mnt/debian mkdir /mnt/debian/usr mount /dev/hda3 /mnt/debian/usr mkdir /mnt/debian/home mount /dev/hda5 /mnt/debian/home cd /mnt/debian
# Not sure why I should do this.... mount -o bind /proc /mnt/debian/proc
#Actually chroot into it.... chroot /mnt/debian /bin/bash
The problem I can see is whether I will be able to find the paths to gcc, dpkg, make-kpkg etc...
Can anyone suggest anything I may have missed?
TIA
Ricardo Santos Campos wrote:
At the moment I have a Debian installation on a disk that is going to be moved onto a new motherboard, which has an entirely new chipset. This chipset is supported in 2.4.20, but not in 2.4.18 which is what I am running currently.
Which chipsets exactly? what will not be supported? Unless there is some major problem that will prevent the old kernel from running or you need some specific support then the kernel should boot and just use generic drivers etc. You should at least be able to get to a prompt and recompile your kernel from there.
Adam
Which chipsets exactly? what will not be supported? Unless there is some major problem that will prevent the old kernel from running or you need some specific support then the kernel should boot and just use generic drivers etc. You should at least be able to get to a prompt and recompile your kernel from there.
nforce2.
Actually, I just didn't think the kernel would be so forgiving, and apparently I only need updated kernel drivers for the net cards(!) and audio. I had anticipated there to be a kernel panic, generic mobo drivers will apparently be ok.
Also, the current nvidia graphics driver supports 8x AGP (Version: 1.0-4191, 11 dec). I guess the proof will be in the pudding if all the kit arrives tomorrow! *bounces around* ;)
N3tw0rkAng31B0y wrote:
Also, the current nvidia graphics driver supports 8x AGP (Version: 1.0-4191, 11 dec). I guess the proof will be in the pudding if all the kit arrives tomorrow! *bounces around* ;)
It claims to, but the Nvidia agp driver doesn't work on Via chipsets, you may have better luck with the nforce chipset. If the display just locks etc. you may have to disable agp altogether, or update to one of the ac or pre kernels which have more chipsets supported in their agp drivers.
Adam
On Mon, 2003-02-03 at 10:29, Adam Bower wrote:
N3tw0rkAng31B0y wrote:
Also, the current nvidia graphics driver supports 8x AGP (Version: 1.0-4191, 11 dec). I guess the proof will be in the pudding if all the kit arrives tomorrow! *bounces around* ;)
It claims to, but the Nvidia agp driver doesn't work on Via chipsets, you may have better luck with the nforce chipset. If the display just locks etc. you may have to disable agp altogether, or update to one of the ac or pre kernels which have more chipsets supported in their agp drivers.
Well, I can confirm that it *does* work for the nforce chipset. Of course, that's no consolation to you :( hopefully they'll sort it out!
Ricardo Santos Campos wrote:
At the moment I have a Debian installation on a disk that is going to be moved onto a new motherboard, which has an entirely new chipset. This chipset is supported in 2.4.20, but not in 2.4.18 which is what I am running currently.
Which chipsets exactly? what will not be supported? Unless there is some major problem that will prevent the old kernel from running or you need some specific support then the kernel should boot and just use generic drivers etc. You should at least be able to get to a prompt and recompile your kernel from there.
Adam