lkml.org 
[lkml]   [2008]   [Jun]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Force a usb drive to be /dev/sda?
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/


\
 
 \ /
  Last update: 2008-06-13 08:37    [W:0.091 / U:0.412 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site