Re: sata and esata: trouble



Hello List,

thanks for the replies

Douglas A. Tutty wrote:
On Fri, Feb 15, 2008 at 02:49:44AM +0800, Jerome BENOIT wrote:
I have an external SATA hard drive plugged via esata to my Debian box,
whereas my internal hard drive is also a SATA hard drive. when my box is rebooted, sometimes the external SATA hard drive is chosen
as internal hard drive, so I have to reboot again.

I have tried to fix this issue with udev, but without success.
I guess that I missed something: how can we fix the trouble ?

Here we go again. This is a recurring problem with the sd* drives
getting assigned in different orders with each boot.

I known that is a recurring problem: unfortunately I had not grab
rigth answer from Google, hance my email to the list.


The solution is to add a label to each of the filesystems on your
drives. You don't have to reformat as each filesystem's utilities
provides a way to do this. For ext2/3 its tune2fs and look for the
lable option in the man page. Once you label everything, you have to
change the references:

1. for boot, the kernel command line has to be root=LABEL=[label]

2. for /etc/fstab, change referennces to e.g. /dev/sda1 to
LABEL=[label].

Then reboot.

Doug.



--
Jerome BENOIT
jgmbenoit_at_mailsnare_dot_net


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: blue screen error message
    ... and unchecked all the check marks. ... startup box as now a box comes up that says that I am using selective for ... Put a check mark back into the check boxes one at a time and reboot. ... >> Everytime since windows put this update in, I have trouble starting. ...
    (microsoft.public.windowsupdate)
  • RE: How do I make my NIC pick the same ETH port every time?
    ... Technical Manager, Uptime Technical Solutions LLC. ... expects after a reboot). ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... Trouble? ...
    (Debian-User)
  • Re: file system on / grew over night?
    ... partition as per the installer suggestions. ... Does anyone have suggestions as to how to trouble ... Reboot with a rescue CD or knoppix to examine the ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: How to disable auto-shutdown screen?
    ... > Thanks, I changed these variables to 0, but how to let the kernel know ... Do I have to reboot? ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... Trouble? ...
    (Debian-User)
  • Re: Shadowed System disk questions
    ... Then why have you gone to the trouble to move SYSUAF etc off your system ... and running SYSHUTDWN.COM to ensure they aren't using the system disk. ... trouble to completely shut down the node and reboot. ... system, physically disconnect a member, and bring it back up with one ...
    (comp.os.vms)