LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 04: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, 11:48 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,289

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
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



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

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

All times are GMT -5. The time now is 03:58 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
Open Source Consulting | Domain Registration