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

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

 



> 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?

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:

$ sudo find / -name '*initrd*' | tee f.i.txt | wc
    123     123    6178
$ ls /initrd
$ ls /boot/initrd-*.img | wc
     13      13     397
$ cat Documentation/initrd.txt | wc
    340    2128   13494
$ man -k initrd
initrd ... (4)  - boot loader initialized RAM disk
lvmcreate_initrd ... (8)  - create an initial ramdisk
mkinitrd ... (8)  - creates initial ramdisk images ...
pcinitrd ... (8)  - create a PCMCIA initrd ram ...
$ man initrd
$ man mkinitrd
$ man pcinitrd
$ sudo find / -name '*linuxrc*' | tee f.l.txt | wc
      0       0       0
$

> From: Seth Arnold [mailto:sarnold@wirex.com] 
> See this email:
> Subject: Re: What does kernel option `root=LABEL=/'
do?
> From: Arjan van de Ven <arjanv@redhat.com>
> Date: 26 Mar 2003 09:45:15 +0100

Ouch, I think I see we're repeating each other, I must
be missing something that is obvious to the
inculcated.

I think you mean to point me to a kernelnewbies post
containing that text.

But I began this thread by mentioning that we of
kernelnewbies have left this question unanswered at
least three times before:

2003-05-31  Re: VFS cannot open root device "LABEL=/"
or unknown_
2003-03-26  Re: What does kernel option `root=LABEL=/'
do?
2002-11-19  Re: Kernel panic: VFS unable to mount root
fs

The kernelnewbies email you mention seemingly appears
in the second of those threads.  I imagine I first
found that thread by searching for the text of the
panic.  The view I have here of that email is:
http://marc.theaimsgroup.com/?l=kernelnewbies&m=104866848024626

That view contains only a denial of another
purportedly false theory and the flat assertion:
"It's the initrd that takes care of mounting the
rootfs by label."

Ok fine, myself I am too ignorant to affirm or deny
this claim.  Newbie that I am, I'm stuck on a more
basic level: I do not know what we mean by "the
initrd".

I mean to be echoing any one of the family of
frequently asked questions we perhaps most recently
left unanswered as:

---

http://marc.theaimsgroup.com/?l=kernelnewbies&m=104872326527715

List:     kernelnewbies
Subject:  Re: What does kernel option `root=LABEL=/'
do?
From:     "Paul Claessen" <paul () claessen ! com>
Date:     2003-03-26 23:58:03
[Download message RAW]

But then I'm afraid I have to re-instate my original
question, since the 'make install' DOES put a 2.4.20
initrd in the boot directory and adds an initrd entry
to the 2.4.20 grub entry.

In fact, everything looks exactly like the set-up of
the original 2.4.18-14 kernel.

So, if this is NOT dependent on a special patch (in
either the kernel or initrd) that Red Hat uses and the
main code line doesn't, then why can't I boot with
these labels?

Any comment welcome! 

Btw, the fstab man page, although it does mention the
'labeled' boot, didn't really clear this label issue
up for me. If anyone can explain to details and
arguments for its (volume labels) use to me, then I
would be eternally grateful !  (I'm not only trying to
get this to work, I also would like to understand
it... ;-)  )

Kind Regards,

- Paul

---

Pat LaVarre


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
--
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