>>>>> "rolf" == Rolf Pedersen <[EMAIL PROTECTED]> writes:
rolf> guran wrote: >> Hi >> [root@localhost Documents]# urpmi >> kernel-2.4.21.0.pre4.3mdk-1-1mdk.i586.rpm >> kernel-BOOT-2.4.21.0.pre4.3mdk-1-1mdk.i586.rpm >> kernel-doc-2.4.21-0.pre4.3mdk.i586.rpm >> kernel-doc-2.4.21-0.pre4.3mdk.i586.rpm >> kernel-secure-2.4.21.0.pre4.3mdk-1-1mdk.i586.rpm >> Some package requested cannot be installed: >> kernel-doc-2.4.21-0.pre4.3mdk.i586 >> do you agree ? (Y/n) >> installing kernel-2.4.21.0.pre4.3mdk-1-1mdk.i586.rpm >> kernel-doc-2.4.21-0.pre4.3mdk.i586.rpm >> kernel-secure-2.4.21.0.pre4.3mdk-1-1mdk.i586.rpm >> kernel-BOOT-2.4.21.0.pre4.3mdk-1-1mdk.i586.rpm >> Preparing... >> ################################################## >> >> 1:kernel-2.4.21.0.pre4.3mdk################################################## >> mke2fs 1.32 (09-Nov-2002) >> mount: could not find any device /dev/loop# >> mke2fs 1.32 (09-Nov-2002) >> mount: could not find any device /dev/loop# >> There was an error when generating initrd try to do a : >> /sbin/mkinitrd /boot/initrd-2.4.21pre4-3mdk.img 2.4.21pre4-3mdk >> and see the errors >> look like there was a problem, the default vmlinuz version is not the same >> of the initrd >> which mean you have a mdk kernel and not a mdk initrd you may go in trouble >> 2:kernel-doc ################################################## >> >> 3:kernel-secure-2.4.21.0.pre4.3mdk################################################## >> mke2fs 1.32 (09-Nov-2002) >> mount: could not find any device /dev/loop# >> mke2fs 1.32 (09-Nov-2002) >> mount: could not find any device /dev/loop# >> There was an error when generating initrd try to do a : >> /sbin/mkinitrd /boot/initrd-2.4.21pre4-3mdksecure.img 2.4.21pre4-3mdksecure >> and see the errors >> look like there was a problem, the default vmlinuz version is not the same >> of the initrd >> which mean you have a mdk kernel and not a mdk initrd you may go in trouble >> >> 4:kernel-BOOT-2.4.21.0.pre4.3mdk################################################## >> [root@localhost Documents]# /sbin/mkinitrd >> /boot/initrd-2.4.21pre4-3mdk.img 2.4.21pre4-3mdk >> mke2fs 1.32 (09-Nov-2002) >> mount: could not find any device /dev/loop# >> Can't get a loopback device >> regards >> guran >> rolf> I ran into this 'could not find any device /dev/loop#' and similar rolf> failure to mkinitrd on a kernel install once. Seems what I did was rolf> modprobe loop and mkinitrd to solve. Don't know why this was needed. Just that my aes.o module got in the middle and broke. It is working back in new 2.4.21-pre4q4. If you really don't want to reboot your machine in one old kernel for installing new one: - install new kernel (it will fail in the same way than this one) - insmod /lib/modules/2.4.21pre4-4mdk/kernel/drivers/misc/aes.o - insmod /lib/modules/2.4.21pre4-4mdk/kernel/drivers/block/loop.o urpme new kernel urpmi new kernel and everything should work again :p (this is from memory, you should have to fix the right patch for your type of kernel ....) Later, Juan. -- In theory, practice and theory are the same, but in practice they are different -- Larry McVoy
