LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-16-2011, 02:36 PM   #1
ukernel
LQ Newbie
 
Registered: Dec 2011
Distribution: Arch Linux
Posts: 19

Rep: Reputation: Disabled
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.
 
Old 12-16-2011, 02:44 PM   #2
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 243Reputation: 243Reputation: 243
Did you make the initrd ? (Or if you don't need one, maybe there is a line about it in your bootloader conf)
 
Old 12-16-2011, 02:58 PM   #3
ukernel
LQ Newbie
 
Registered: Dec 2011
Distribution: Arch Linux
Posts: 19

Original Poster
Rep: Reputation: Disabled
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.

Last edited by ukernel; 12-16-2011 at 03:00 PM.
 
Old 12-16-2011, 04:34 PM   #4
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 243Reputation: 243Reputation: 243
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
 
Old 12-16-2011, 04:45 PM   #5
ukernel
LQ Newbie
 
Registered: Dec 2011
Distribution: Arch Linux
Posts: 19

Original Poster
Rep: Reputation: Disabled
Before I strip down the kernel, I would like it to boot on my machine (MacBook Air 4,2). What could be wrong?
 
Old 12-16-2011, 05:53 PM   #6
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 243Reputation: 243Reputation: 243
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
 
Old 12-17-2011, 08:40 AM   #7
ukernel
LQ Newbie
 
Registered: Dec 2011
Distribution: Arch Linux
Posts: 19

Original Poster
Rep: Reputation: Disabled
I have already created initrd, but it still freezes when, also when trying the fallback initrd.
 
Old 12-17-2011, 10:55 AM   #8
ukernel
LQ Newbie
 
Registered: Dec 2011
Distribution: Arch Linux
Posts: 19

Original Poster
Rep: Reputation: Disabled
I've tested the kernel packages on another laptop and they worked fine on that one
 
Old 01-08-2012, 04:58 AM   #9
ukernel
LQ Newbie
 
Registered: Dec 2011
Distribution: Arch Linux
Posts: 19

Original Poster
Rep: Reputation: Disabled
The cause was i915 issues with the MBA screen, mainline kernel works.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Loading initial ramdisk... igsen Debian 1 08-05-2011 06:33 PM
RHEL install Vostro 400 - sys "Loading SCSI drivers" "loading ata_piix driver..." sreekr_news Linux - Newbie 11 01-21-2010 02:25 PM
System stuck at "Loading drivers, configuring devices:" linuxlainen Linux - Newbie 2 11-22-2009 05:22 AM
[SOLVED] booting stuck at "Loading linux24......" pintooo15 DamnSmallLinux 2 08-08-2008 02:19 PM
SuSE"loading data into ramdisk" 41150 hello321_1999 Linux - Software 3 11-09-2004 12:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration