You are not logged in.
Pages: 1
I'm trying to boot without using an initramfs, but when I remove the line that loads the ramdisk from GRUB while booting the kernel panics and says it can't mount the root device. I've tried adding root=/dev/sda5 and rootfstype=ext4 to the kernel parameters, but they don't seem to work. How would I accomplish this?
Last edited by nagaseiori (2012-10-21 15:31:38)
Offline
It can't be done with the stock kernel. You would need the drivers for your filesystem, harddisk controleller++ compiled into the kernel, which we don't currently do.
Offline
How did you create the custom kernel? Do you have all the needed modules compiled in?
https://wiki.archlinux.org/index.php/Modprobed_db
Offline
I've compiled a custom kernel by using ABS and used '/usr/bin/modprobed_db recall ' and 'make localmodconfig' in the PKGBUILD as described in the wiki.
Offline
You need to compile all your drivers fixed into your kernel - not as modules. So "make localyesconfig" is a good starting point.
Greetings
matse
Offline
Yeah but at leas it's guaranteed that every module that he needs at boot is built into the kernel... and as I wrote it's just a good starting point.
Offline
Well, make localyesconfig did result in a kernel that could boot without an initramfs, but it didn't have much of an effect on boot time.
Offline
well now you have to thin out your kernel, so that it is as small as possible so that loading it gets faster. So just build the drivers that you don't need at boot as modules to your kernel.
Anyways I doubt that the time you might save at boot will pay for the effort you have
or how often a day do you boot your PC?
Offline
Pages: 1