You are not logged in.
Pages: 1
Today I tried reinstalling the kernel but I got this:
==> Building image "default"
==> Running command: /sbin/mkinitcpio -k 2.6.23-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26.img
:: Begin build
:: Parsing hook [base]
find: /lib/modules/2.6.23-ARCH/kernel/arch: Not a directory
:: Parsing hook [udev]
:: Parsing hook [autodetect]
find: /lib/modules/2.6.23-ARCH/kernel/arch: Not a directory
:: Parsing hook [pata]
find: /lib/modules/2.6.23-ARCH/kernel/arch: Not a directory
find: /lib/modules/2.6.23-ARCH/kernel/arch: Not a directory
find: /lib/modules/2.6.23-ARCH/kernel/arch: Not a directory
find: /lib/modules/2.6.23-ARCH/kernel/arch: Not a directory
find: /lib/modules/2.6.23-ARCH/kernel/arch: Not a directory
find: /lib/modules/2.6.23-ARCH/kernel/arch: Not a directory
find: /lib/modules/2.6.23-ARCH/kernel/arch: Not a directory
:: Parsing hook [sata]
find: /lib/modules/2.6.23-ARCH/kernel/arch: Not a directory
find: /lib/modules/2.6.23-ARCH/kernel/arch: Not a directory
find: /lib/modules/2.6.23-ARCH/kernel/arch: Not a directory
find: /lib/modules/2.6.23-ARCH/kernel/arch: Not a directory
find: /lib/modules/2.6.23-ARCH/kernel/arch: Not a directory
:: Parsing hook [filesystems]
find: /lib/modules/2.6.23-ARCH/kernel/arch: Not a directory
find: /lib/modules/2.6.23-ARCH/kernel/arch: Not a directory
find: /lib/modules/2.6.23-ARCH/kernel/arch: Not a directory
find: /lib/modules/2.6.23-ARCH/kernel/arch: Not a directory
:: Generating module dependencies
:: Generating image '/boot/kernel26.img'...SUCCESS
==> SUCCESS
and the same errors for the fallback image... I don't dare to reboot now because my initramfs images probably wont work... Does anyone know what's happening here?
Offline
What can you see in /lib/modules/2.6.23-ARCH/kernel/arch ?
Offline
That file seems to be a binary...
$ file /lib/modules/2.6.23-ARCH/kernel/arch
/lib/modules/2.6.23-ARCH/kernel/arch: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped
Offline
Well, it should be a directory, as suggested by your original error message. Check for any associated errors in your pacman log.
You could also try reinstalling the kernel again, to see if the same thing happens. If you want, you can use the --noscriptlet flag to prevent the install script from running, and the --debug flag to get loads of output. Or if you want to avoid pacman altogether, simply untar the kernel package into your root dir (/).
Offline
I found that when I tried to copy the right folder from the extracted package to /lib/.../arch I got an error about not being able to overwrite a non-directory with a directory, so I figured out that the same error probably occurred when installing the kernel but the error message wasn't shown. So I manually rm'ed the file and reinstalled the kernel and everything seems to be running fine now (but I haven't rebooted yet, I need to get all my work done before I dare that ).
Thanks for the help, I hope everything is fixed now
Offline
Pages: 1