Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
> USB external drive and SCSI conflict
LoDeSp
post Jun 22 2008, 02:12 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 22-June 08
Member No.: 13,518



I'm having a problem with my USB external hard drive and my internal SCSI drive. Both work fine once I've got the system booted.

However, when I try to boot with the USB drive plugged in, Linux identifies my USB drive as sda and my SCSI drive as sdb. Then it mounts sda as root, which fails because the root is on the SCSI drive, which is now sdb. I really want the naming to be the reverse (SCSI always == sda), so that I can boot with the USB drive either plugged in or not. My workaround for the moment is to unplug the USB drive whenever I reboot and plug it in after the SCSI drive has been identified as sda and mounted. That works, but it's clunky. So how can I get the USB drive to be identifed as sdb? Can I modify the order that the kernel does hardware initialization so that SCSI goes first? It seems that USB is done before SCSI now...

Thanks for any help.
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies (1 - 2)
michaelk
post Jun 22 2008, 03:51 PM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,797
Joined: 23-January 03
Member No.: 360



What linux distribution/version are you running? There are several ways. You can use uuid, partition labels in fstab or udev rules to always mount a particular partition to a specifc mount point.
Go to the top of the page
 
+Quote Post
LoDeSp
post Jun 22 2008, 04:08 PM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 22-June 08
Member No.: 13,518



QUOTE (michaelk @ Jun 22 2008, 03:51 PM) *
What linux distribution/version are you running? There are several ways. You can use uuid, partition labels in fstab or udev rules to always mount a particular partition to a specifc mount point.


I'm using Debian unstable. I've tried using udev, and I've gotten the USB hard drive to mount as usbhd, but that still doesn't fix the problem. I created a new file called 10-local.rules to mount the USB drive as usbhd. Is there another rule before this that is identifying it as sda before 10-local.rules applies?
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 21st October 2017 - 07:19 AM