From: Stefan Richter <stefanr@s5r6.in-berlin.de>
To: Shawn Jin <shawnxjin@gmail.com>
Cc: Tomasz Chmielewski <mangoo@wpkg.org>,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: Force a usb drive to be /dev/sda?
Date: Fri, 13 Jun 2008 08:35:37 +0200 [thread overview]
Message-ID: <48521539.9020102@s5r6.in-berlin.de> (raw)
In-Reply-To: <c3d0340b0806122232s72d37509wd976217d336b83e7@mail.gmail.com>
Shawn Jin wrote:
>> 1. Mount filesystems by UUID or by label.
>> Doesn't work with some filesystems.
>
> The bootloader I'm using is LILO. So I have to specify the boot device
> and the root device in lilo.conf. For example, boot=/dev/sda,
> root=/dev/sda1. I'm not sure how mounting filesystem by UUID or by
> label can help. A little bit elaboration will be more helpful.
Ah I forgot that... Looks like this requires an initrd too, though
without special scripts of your own.
>> 2. Refer to devices by device ID or by device path.
...
> Every USB thumb drive has a unique ID. So will I have to have a
> different root filesystem image if it's install in a different usb
> drive if the by-id way is adopted?
That's right, hence a filesystem ID is preferable over a drive ID.
--
Stefan Richter
-=====-==--- -==- -==-=
http://arcgraph.de/sr/
next prev parent reply other threads:[~2008-06-13 6:35 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-12 8:35 Tomasz Chmielewski
2008-06-12 11:11 ` Stefan Richter
2008-06-13 5:32 ` Shawn Jin
2008-06-13 6:35 ` Stefan Richter [this message]
2008-06-13 20:29 ` Shawn Jin
2008-06-13 21:54 ` Stefan Richter
-- strict thread matches above, loose matches on Subject: below --
2008-06-12 6:05 Shawn Jin
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=48521539.9020102@s5r6.in-berlin.de \
--to=stefanr@s5r6.in-berlin.de \
--cc=linux-kernel@vger.kernel.org \
--cc=mangoo@wpkg.org \
--cc=shawnxjin@gmail.com \
/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®