LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Stuck at "loading initial ramdisk" (https://www.linuxquestions.org/questions/linux-newbie-8/stuck-at-loading-initial-ramdisk-919101/)

ukernel 12-16-2011 01:36 PM

Stuck at "loading initial ramdisk"
 
Hi,

I run Arch Linux and I've compiled the mainline kernel (rc kernel), but when I try to boot it, it freezes:
Code:

Loading Linux linux
Loading initial ramdisk

I have used the configuration from the current Arch kernel (3.1.5). What is wrong, or how can I find out?

Thanks.

Cedrik 12-16-2011 01:44 PM

Did you make the initrd ? (Or if you don't need one, maybe there is a line about it in your bootloader conf)

ukernel 12-16-2011 01:58 PM

It was compressed in a package, so pacman (Arch Linux package manager) seems to have made initramsfs-linux-mainline.img, initramsfs-linux-mainline-fallback.img and vmlinuz-linux-mainline.

Cedrik 12-16-2011 03:34 PM

Personally, I don't see the advantage of using initrd for custom kernel

I mean for a distro, ok because it has to provide the maximum options for many hardware...

Make every hard drive, cpu features for your hardware, vga, filesystem you use for /, as built-in
Make sound, evdev, network card, netfilter, anything you want as module

Why would you need initrd ? My striped down kernel file sizes 2.7MB and 25MB for modules directory

ukernel 12-16-2011 03:45 PM

Before I strip down the kernel, I would like it to boot on my machine (MacBook Air 4,2). What could be wrong?

Cedrik 12-16-2011 04:53 PM

Make initrd for your compiled kernel, arch seems to provide an utility to do that " mkinitcpio "

see:
https://wiki.archlinux.org/index.php..._Manual_Method

ukernel 12-17-2011 07:40 AM

I have already created initrd, but it still freezes when, also when trying the fallback initrd.

ukernel 12-17-2011 09:55 AM

I've tested the kernel packages on another laptop and they worked fine on that one :scratch:

ukernel 01-08-2012 03:58 AM

The cause was i915 issues with the MBA screen, mainline kernel works.


All times are GMT -5. The time now is 06:29 AM.