Two steps forward, one back.
I downloaded and put a kernel 2.6.20 rpm in /dev/sda4/tmp.
When I run urpmi on it and bypass check warnings the 'build' stops because it cannot find a valid boot file/directory.
My /grub directory is in its own /boot partition: /dev/sda7
So I did this
Code:
sh-3.1# mkdir /mnt/mdv2007
sh-3.1# mount /dev/sda4 /mnt/mdv2007
sh-3.1# mount -t proc none /mnt/mdv2007/proc
sh-3.1# mount -o bind /dev /mnt/mdv2007/dev
sh-3.1# mkdir /mnt/mdv2007boot
sh-3.1# mount /dev/sda7 /mnt/mdv2007boot
sh-3.1# mount -o bind /boot /mnt/mdv2007boot
mount: Mounting /boot on /mnt/mdv2007boot failed: No such file or directory
sh-3.1#
Well, of course it failed finding /mnt/mdv2007boot, the only directories in partition /boot are grub, etc.
So I have misunderstood mount -o bind
So how do I tell urpmi that my /boot directory is actually /mnt/mdv2007boot?