firedance wrote:I do feel as you are treating me like i would treat an idiot :?
Perhaps somebody else should help you, in that case.
I answered you original post with the understanding that you had chosen to use mkinitcpio, and were therefore familiar with the way it worked. Your follow-up suggested that this might not be the case, so I clarified my original answer.firedance wrote:I'm not sure if that's so smart tho if i load a module thats also in the kernel
Given your previous reaction, I won't comment on whether it's smart or not - I will simply say that it won't work.
firedance wrote:when i used the right parameter it started complaining about missing modules.
Which missing modules did it complain about?
As topic states this is solved, it complained about usb-storage (wich i had compiled into the kernel) It didn't complain about ext2 since i had allready been messing around with the kernel and recompiled it with ext2 as a module. It did work to just do make modules and make modules_install for the usb-storage. But then again, maybe i was very lucky and accedently made it a module on the same time as making ext2 a module
I will recompile the kernel tonight so i am sure it is with ext2 and usb-storage only as modules.
I do feel as you are treating me like i would treat an idiot :?
Perhaps somebody else should help you, in that case.
I answered you original post with the understanding that you had chosen to use mkinitcpio, and were therefore familiar with the way it worked. Your follow-up suggested that this might not be the case, so I clarified my original answer.
I'm not sure if that's so smart tho if i load a module thats also in the kernel
Given your previous reaction, I won't comment on whether it's smart or not - I will simply say that it won't work.
when i used the right parameter it started complaining about missing modules.
Which missing modules did it complain about?
]]>firedance wrote:tomk wrote:In the mkinitcpio context, "required" means "required to boot your system". If you need ext2 at boot time, you need to rebuild with ext2 as a module.
I do feel as you are treating me like i would treat an idiot :?
I didn't get that impression - I took it as him clarifying his own statement... he said "all required modules" and then clarified what he meant by "required modules" - I've never known tomk to be mean-spirited
Okay, then no offence taken
Now i just have to figure how to compile the small hello-world program found at
http://www.faqs.org/docs/kernel/x145.html
tomk wrote:In the mkinitcpio context, "required" means "required to boot your system". If you need ext2 at boot time, you need to rebuild with ext2 as a module.
I do feel as you are treating me like i would treat an idiot :?
I didn't get that impression - I took it as him clarifying his own statement... he said "all required modules" and then clarified what he meant by "required modules" - I've never known tomk to be mean-spirited
]]>In the mkinitcpio context, "required" means "required to boot your system". If you need ext2 at boot time, you need to rebuild with ext2 as a module.
I do feel as you are treating me like i would treat an idiot :?
I managed to compile only the ext2 (and usb-storage) as a module by doing make menuconfig and then make modules and make modules_install (I'm not sure if that's so smart tho if i load a module thats also in the kernel)
The problem was that i was using mkinitcpio -k 2.6.18.1-mykernel instead of -k 2.6.18.1-mykernel-ARCH, when i used the right parameter it started complaining about missing modules.
]]>To use mkinitcpio, your custom kernel should have all the required filesystem and disk controller support compiled as modules, not built in to the kernel. Did you do that?
I did compile ext2 into the kernel. Is there a way to compile it as a module also?
]]>This is the boot part of menu.lst for the kernel
title [Arch mykernel]
root (hd0,0)
kernel /vmlinuz-2.6.18.1-mykernel root=/dev/sda6 rootfstype=ext3 ro
initrd /mykernel.img
and this is the hook line from mkinitcpio.conf (all other lines where either comments or ="" so i decided to exclude them).
HOOKS="base udev autodetect usb ide scsi sata filesystems"
also, i have some trouble with ata2.01 "qc timeout (cmd 0xa1)" something, is there a way to save the output of a boot?
--SOLVED--
I forgot -ARCH in the mkinitcpio -k argument.