captain747480
21-01-2009, 10:35
I have an intermittent problem which has been occurring for a while.
I use an Asus and have 2 drives attached to it. The first is a small flash drive which I mount to /opt the second is a 500GB drive that I use as a NAS.
My problem is that when the Asus reboots it occasionally sets the 500GB drive as Disk0 and the smaller flash drive as Disk1. When this happens my Post-Boot mounts the 500GB drive as /opt and so all my services (which are on the the flash drive) don't get started. I can stop this happening by unplugging the 500GB drive whilst the Asus boots but I'd like to have a way that allows the Post-Boot to detect which of my 2 drives has been set as Disk0 and then mount the appropriate one (i.e. the USB Flash Drive) to /opt.
Does anyone have any ideas.
I use an Asus and have 2 drives attached to it. The first is a small flash drive which I mount to /opt the second is a 500GB drive that I use as a NAS.
My problem is that when the Asus reboots it occasionally sets the 500GB drive as Disk0 and the smaller flash drive as Disk1. When this happens my Post-Boot mounts the 500GB drive as /opt and so all my services (which are on the the flash drive) don't get started. I can stop this happening by unplugging the 500GB drive whilst the Asus boots but I'd like to have a way that allows the Post-Boot to detect which of my 2 drives has been set as Disk0 and then mount the appropriate one (i.e. the USB Flash Drive) to /opt.
Does anyone have any ideas.