-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 John Andersen schreef:
On Thu, Aug 7, 2008 at 4:27 AM, Amedee Van Gasse <amedee@amedee.be> wrote:
On Thu, August 7, 2008 12:55, Neil wrote:
On 8/7/08, Martin Mielke <m_mlk@yahoo.com> wrote:
Hi list,
some weeks ago I bought 2 external USB 2.0 hard disks to use them as mass-storage for assorted data.
I created the ext3 filesystem on both and mounted them just fine under /disk1 and /disk2.
This is how it looks like now (correct way):
/dev/sdb1 480719088 96188532 360111356 22% /disk1 /dev/sdc1 480719088 252211016 204088872 56% /disk2
Yesterday I had to reboot the system to apply some patches and found those external hard disks wrongly mounted when the system came back to life:
/dev/sdb1 480719088 96188532 360111356 22% /disk2 <-- this should be /disk1 /dev/sdc1 480719088 252211016 204088872 56% /disk1 <-- this should be /disk2
My /etc/fstab has the following entries for them:
/dev/sdb1 /disk1 ext3 acl,user_xattr 0 0 /dev/sdc1 /disk2 ext3 acl,user_xattr 0 0
I rebooted the system 2 times more just to check this behavior and it seems that /dev/sdb1 and /dev/sdc1 are "swapped" at boot time sometimes for some reason still unclear to me... and of course, I don't swap the USB cables :-P
Any idea why this happens??
TIA, Martin
Dunno for sure, but it might be solved by using disk-ID's instead of sd*'s. On my brother's system (Ubuntu) we noticed USB disks changing sd* names at boot depending on wether and where other USB devices were present and the phase of the moon (:P).
What I want to say is: if you mount USB devices automatically then you should use disk-ID's instead of sd* names.
just my 0,02€
Neil
In a related problem, when my external USB disk, or any random USB stick, is plugged in, then I cannot boot, no valid boot device found. Unplug all USB devices and it works like a charm. I alread plugged all USB disks/sticks into an USB hub so I only have to unplug one cable.
-- Amedee
Yours sounds like a totally different problem, probably a bios setting relating to boot order. Check your bios.
OK, checked, after doing what others told me to do in this tread. Boot order in bios is now: 1. cd/dvd drive 2. floppy 3. hard disk WDC WD2000JD-00H This is the output of lsscsi: amedee@saruman:~> lsscsi [1:0:0:0] cd/dvd SAMSUNG CDRW/DVD SM-352B T806 - [1:0:1:0] cd/dvd AOPEN DUW1608/ARR A05a - [2:0:0:0] disk ATA WDC WD2000JD-00H 08.0 /dev/sda [4:0:0:0] disk ATA ST3120026AS 3.05 /dev/sdb [5:0:0:0] disk ATA ST3120026AS 3.05 /dev/sdc [7:0:0:0] disk USB 2.0 Storage Device 0100 /dev/sdd If sdd is unplugged, the grub loads but fails with error 17. If sdd is plugged, grub loads and no error. What I would like, is that the pc boots no matter if the usb disk is plugged in or not. Someone told me to use labels in grub. But because I have been on vacation the last few days, I didn't read the man page on labels yet. - -- Amedee -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkijSAEACgkQxc/p9jmqUL5UWwCdHMeCnr6l0anxN12FupEMswfx QyUAoIJnYuS7yf2yM5vPjPgSgVqAA17d =M6bm -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org