Re: Force a usb drive to be /dev/sda?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Stefan Richter <stefanr@...>
Cc: Tomasz Chmielewski <mangoo@...>, LKML <linux-kernel@...>
Date: Friday, June 13, 2008 - 1:32 am

First, thanks a lot for the responses, especially to Stefan for the
various options. I have further questions on these options to fully
understand them.


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.


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?


I think I understand this option. Of course this requires an initrd or
initramfs, which I need to build.


As you said, this is the last resort, which I also try to avoid. ;-)

-Shawn.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Force a usb drive to be /dev/sda?, Tomasz Chmielewski, (Thu Jun 12, 4:35 am)
Re: Force a usb drive to be /dev/sda?, Stefan Richter, (Thu Jun 12, 7:11 am)
Re: Force a usb drive to be /dev/sda?, Shawn Jin, (Fri Jun 13, 1:32 am)
Re: Force a usb drive to be /dev/sda?, Stefan Richter, (Fri Jun 13, 2:35 am)
Re: Force a usb drive to be /dev/sda?, Shawn Jin, (Fri Jun 13, 4:29 pm)
Re: Force a usb drive to be /dev/sda?, Stefan Richter, (Fri Jun 13, 5:54 pm)