From: Andreas Dilger <adilger@clusterfs.com>
To: Dan Kegel <dank@kegel.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: FAQ: how to boot with root=LABEL=/
Date: Sat, 28 Dec 2002 14:49:49 -0700 [thread overview]
Message-ID: <20021228144949.E2389@schatzie.adilger.int> (raw)
In-Reply-To: <3E0DF78D.6060205@kegel.com>; from dank@kegel.com on Sat, Dec 28, 2002 at 11:12:13AM -0800
On Dec 28, 2002 11:12 -0800, Dan Kegel wrote:
> I'm trying to configure a minimal 2.4.17 to boot
> on my redhat 8 box. No modules, no sound, nothing fancy at all.
>
> One problem I'm having is it only works if I boot with root=/dev/hda9
> instead of red hat's usual root=LABEL=/
> I thought I had configured in the proper partition support.
>
> Can anyone point out what's missing from my .config (or from 2.4.17)
> to allow booting with root=LABEL=/ ?
You are missing a kernel patch. The LABEL is a function of the filesystem
and not the partition, and the kernel doesn't check the filesystems for
labels... One option is to just give the right device for root, another
is to add a patch (posted to l-k about 1.5 years ago) which added kernel
support for this, and a third is to add an initrd which figures out the
label in user space and uses that to mount the root fs.
Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/
next prev parent reply other threads:[~2002-12-28 21:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-28 19:12 Dan Kegel
2002-12-28 21:49 ` Andreas Dilger [this message]
2002-12-28 21:52 ` Andrew McGregor
2002-12-29 6:11 ` Dan Kegel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021228144949.E2389@schatzie.adilger.int \
--to=adilger@clusterfs.com \
--cc=dank@kegel.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®