Re: grub root=/dev/hd$v$n not root=LABEL=/ why

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 24, 2003 at 01:53:04PM -0700, Pat LaVarre wrote:
> > From: Jan Hudec [mailto:bulb@ucw.cz] 
> > I did a brief lookup on linux-kernel list ...
> 
> Please could you share with us the search you tried
> that worked?

http://www.googlegroups.com/?as_q=linux-kernel%20root%3DLABEL

The first thread (you need to read whole thread) it found, together with
your description what happens gave enough clues.

Oh, note, that the post is from *linux-kernel*
(linux-kernel@vger.kernel.org) and **NOT kernelnewbies**

Perhaps someone should state this in FAQ: root=LABEL=/ is implemented in
initrd and thus will only work when booting with initrd.

> I tried this search myself before launching this
> thread, and again I tried now for another educational
> but irrelevant fifteen minutes or so.  I had a log of
> what I tried just now, but then regrettably I lost my
> log in the context switch between answering this reply
> and the next.
> 
> > From: Jan Hudec [mailto:bulb@ucw.cz] 
> > what is in redhat initrd
> > - if it's a shell script, you might try to check it
> 
> Help?!?  Newbie that I am, I do not know what we mean
> by "initrd" in this context, so I don't know where to
> go to check my "initrd".
> 
> I gather we mean to be referring to some file that
> might be a shell script.  I do not know the name of
> that file.  Myself I only know of the seemingly
> irrelevant:
> 
> $ ls /boot/initrd-*.img | wc
>      13      13     397

These are the important file - initrd images.
They are cramfs images (cramfs is a special filesystem for this
purpose). It should be possible to mount them on loopback.

Inside there is a program called linuxrc. However when I think of it,
it's probably a binary and does the translation in the binary code.
Script might be involved, but probably not in the conversion.

> mkinitrd ... (8)  - creates initial ramdisk images ...

This is the important tool. I however don't know what in RedHat uses it.

-------------------------------------------------------------------------------
						 Jan 'Bulb' Hudec <bulb@ucw.cz>
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux