How to ensure USB HDD is detectable at boot time ?
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How to ensure USB HDD is detectable at boot time ?
Hello,
I have a Lenovo T61 with XP and Ubuntu as a WUBI install.
I just got a Seagate USB HDD, 500 GB, USB 3.0/2.0 and have installed Fedora on it, have made it bootable and I am able to boot from it at times. I have the USB Hdd as the first device to be checked for boot records in BIOS.
Problem is:
The USB hdd is not detected everytime I boot. ( if i keep my palm on the usb hdd, I can make out the disk isnt spinning.)
But say once in 10 times it does detect the USB hdd and then boots from it.
I want my laptop to detect the usb hdd whenever it is connected and boot from it.
How do I ensure this ?
I just got a Seagate USB HDD, 500 GB, USB 3.0/2.0 and have installed Fedora on it, have made it bootable and I am able to boot from it at times. I have the USB Hdd as the first device to be checked for boot records in BIOS.
Problem is:
The USB hdd is not detected everytime I boot. ( if i keep my palm on the usb hdd, I can make out the disk isnt spinning.)
But say once in 10 times it does detect the USB hdd and then boots from it.
I see your point, though it's a bit strange.
Sure, an external HDD needs some seconds to spin up. But usually, the controller inside the external enclosure is ready in less than a second after power-up, and should report to the host: "Wait, I'm with you in like no time!" - However, your BIOS doesn't seem to wait long enough to detect the external drive reliably.
Check your BIOS settings: Some BIOSes have an option to enable a few seconds' delay before checking HDDs. This is primarily aimed at SCSI disks that perform a thourough self-test and/or need a lot of time for spinning up. But of course, the effect works for other disks as well.
If you don't have that option, all you can do is probably switch on your HDD a few seconds before the notebook, so that it has time to initialize and spin up until being requested by the host.
Sometimes when you power down a system even with the usb attached and a cold power up it fails. I suspect it is not really doing a full cold boot. To test it each time you power off, remove ac plug, press power button a few times, be sure usb is powered up and attached then boot system.
@Doc CPU: I went through all my BIOS settings, could not find any mention of the 'boot delay' you mentioned.
And I did not understand how to try out your other suggestion.
You mention "switch on your HDD a few seconds before the notebook". -- How do I do this ? My USB Hdd is turned on when I turn on my laptop. How do I switch it on 'before' ?
@jefro: You say "press power button a few times, be sure usb is powered up and attached then boot system".
I did remove the power chord, let it idle for a 10-15 seconds and then when I press power button the first time, my laptop powers up. How do I ensure "usb is powered up and attached, then boot system" ?
Sometimes this cold reboot method seemed to work though.
Also found another method, involves pressing the PAUSE key at boot time. This effectively stalls the booting till I resume it by pressing SPACEBAR couple of times. But even this did not help since when the booting stalls, even the hdd is not started!
@Doc CPU: I went through all my BIOS settings, could not find any mention of the 'boot delay' you mentioned.
too bad - but it was worth looking anyway.
Quote:
Originally Posted by ranpkri55
And I did not understand how to try out your other suggestion.
You mention "switch on your HDD a few seconds before the notebook". -- How do I do this ? My USB Hdd is turned on when I turn on my laptop. How do I switch it on 'before' ?
Aargh, you've got one of these nasty bus-powered disks? Then I agree, you can't turn it on before the PC.
I'm running out of ideas then ...
I tried that, with not much success. Its as if my laptop has a mind of its own! It detects maybe once in 5 times, and ignores the usb hdd otherwise (though the usb drive is spinning)
Solved it with another method.
My BIOS has a option to exclude devices from Boot. Excluded my HDD0 from the boot list. Now it has only the USB to boot from.
Only thing is, i need to keep entering BIOS everytime I want to use this USB drive; which I can live by now.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.