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 09-27-2008, 12:49 PM   #1
msrpower
LQ Newbie
 
Registered: Mar 2006
Posts: 26

Rep: Reputation: 15
Doubt on boot process


Hi,
my lilo.conf doesn`t have a path to initrd, besides i don`t have the file initrd.gz in /boot.
That means the the RAM Disk is not loaded by the lilo ?

Code:
# Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/sdb1
  label = Linux
  read-only
# Linux bootable partition config ends
Thanks in advance.
 
Old 09-27-2008, 05:49 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,863

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
You don't need an initrd if the kernel was compiled specifically for your hardware configuration. What happens when you try to boot /dev/sdb1?

------------------
Steve Stites
 
Old 09-27-2008, 07:15 PM   #3
msrpower
LQ Newbie
 
Registered: Mar 2006
Posts: 26

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jailbait View Post
You don't need an initrd if the kernel was compiled specifically for your hardware configuration. What happens when you try to boot /dev/sdb1?

------------------
Steve Stites
Hi, i`ve succesfully installed Slackware 12.1 on a external USB hard drive. It is located at /dev/sdb1. But when I try to boot it cannot find the correct partition.

Code:
VFS : Cannot open root device "811" or unknown block(8,17)
Please append a correct "root=" boot otion : here are the available partitions:
0300	4194302	   hda driver : ide-cdrom
0800	117220824  sda driver : sd
0801    117218304  sda1
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown block(8,17)
 
Old 09-28-2008, 07:46 AM   #4
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.2
Posts: 7,659
Blog Entries: 56

Rep: Reputation: Disabled
Quote:
Originally Posted by msrpower View Post
Hi,
my lilo.conf doesn`t have a path to initrd, besides i don`t have the file initrd.gz in /boot.
That means the the RAM Disk is not loaded by the lilo ?

Code:
# Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/sdb1
  label = Linux
  read-only
# Linux bootable partition config ends
Thanks in advance.
You only need an initrd if you change from using the default huge kernel to the generic kernel.
 
Old 09-28-2008, 11:04 PM   #5
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 8,706
Blog Entries: 4

Rep: Reputation: 3030Reputation: 3030Reputation: 3030Reputation: 3030Reputation: 3030Reputation: 3030Reputation: 3030Reputation: 3030Reputation: 3030Reputation: 3030Reputation: 3030
"initrd" is rather a bit of a hack...
Quote:
"A hack" is rather like 'a particularly elegant archway over the front entrance to a supermarket.'
It perfectly-satisfies the particular need that it was designed for, but you might prefer not to admit to having been the person who actually designed it...
The problem that the designers of Linux (distributions...) had to face is, "how can we manage for our operating-system to successfully boot itself ... one way or the other ... on 'any old-or-new piece of computer-junk on this planet?'"

You see, every "piece of computer-junk" (yours and mine...) consists of a peculiar set of hardware-devices, each one of which requires its own peculiar set of software-drivers. Therefore, in order to "not only 'work,' but 'work gracefully'," Linux needs to have some way to identify the hardware and load the proper set of drivers "on the fly!"

Once Linux has accomplished that, it can proceed to "boot normally."

In short, "that's what initrd does." And, yeah, "it's magic." Serious voodoo....

(This is also what gives you that nice, reassuring, graphic logon-screen that presents a nice splash-image and a progress bar that all but screams to you, "pay no attention to the little man behind the curtain...")

So... "I'm sorry to have spoiled 'the trick.' But, this is how 'the magic' is actually done." Now you know. Windows does it, OS/X does it, and Linux does it...
 
  


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
doubt regarding GRUB and /boot vineet7kumar Solaris / OpenSolaris 2 11-02-2007 12:40 PM
Doubt about /boot partition irmorales SUSE / openSUSE 1 03-30-2007 05:30 PM
Linux boot up process Vs. Windows boot up process darkskull Linux - Software 7 12-30-2006 05:21 PM
Need to install process at end of boot process ch485de Linux - Newbie 5 12-07-2006 06:47 PM
doubt regarding boot loader while installing multi distros b0nd Linux - Newbie 2 09-07-2005 01:49 PM

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

All times are GMT -5. The time now is 02:15 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