LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-01-2011, 05:39 AM   #1
Cant get it to work
LQ Newbie
 
Registered: Mar 2011
Posts: 5

Rep: Reputation: 0
Error 19 linux kernel must be loaded before initrd


I'm new to linux so please have some patience.

I'm trying to get tinycore linux to boot off of my hardrive. The way I understand this is that it's not seeing the kernal but it does see initrd. This is my menu.lst

default 0
timeout 10
title tinycore
kernel /boot/bzImage quiet
initrd /boot/tinycore.gz
 
Old 04-01-2011, 12:48 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 7,780

Rep: Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741
Nearly there.

Grub thinks of boot as / to confuse newbies So when you have a leading '/' in grub, that directs it to where the grub files are, and your pathname has to be relative to /boot/grub.
Check this as follows: Run the following line in /boot/
ln -s ./ boot

That makes a symlink or pointer to boot/, and points it at the /boot directory. So if your box is looking for /boot/boot, it will find it :-D.

Then you get all proper if that works, and remove the /boot from your kernel and initrd
title tinycore
kernel /bzImage You also need ro root=/your/root/drive, e.g. /dev/sda5
initrd /tinycore.gz

Leave out the quiet, because you want it to give you debugging stuff.
 
  


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
Getting error 19: linux kernel must be loaded before initrd mdnchauhan Linux - Newbie 1 05-07-2010 08:33 AM
Error 19 linux kernel must be loaded before initrd mdnchauhan Linux - General 4 05-06-2010 08:23 AM
[SOLVED] Machine hangs on boot. kernel or Initrd not loaded. acalderon Linux - Kernel 5 08-17-2009 01:21 AM
grub error - "Linux kernal must be loaded before initrd" MarkMark Linux - General 10 12-27-2006 05:58 PM


All times are GMT -5. The time now is 09:46 PM.

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