The MP3car.com Store The MP3car.com Store    

Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development > Operating System Optimization

Reply
 
LinkBack Thread Tools Display Modes
Old 07-20-2007, 01:04 PM   #1
Newbie
 
Join Date: Jul 2007
Location: Sandnes, Norway
Posts: 30
Slow boot with USB pendrive plugged in

My project is almost complete, had my first live test run in the car last night, worked like a charm. Woohoo

One of the remaining issues:
The system boots XP Embedded from an USB pendrive in about 20 seconds. However, if i leave my second pendrive plugged in while booting, windows hangs for a couple of minutes right before the explorer shell starts. I get the desktop and a cursor, but the start menu/taskbar/icons doesn't show up for a couple of minutes.
I remove the secondary pendrive, reboot, and it's fast again.

Apparently this is a widespread problem, however I haven't found any solution to it by searching. Anyone here know a way? (I don't want to remove and plug the secondary drive back in every time i start the car..)
Spartan117 is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 07-20-2007, 01:20 PM   #2
Neither darque nor pervert
 
DarquePervert's Avatar
 
Join Date: Apr 2004
Location: In The Sticks near The 'Ham
Posts: 11,833
Go into the BIOS and disable USB booting if you don't need it.
__________________
SEARCH: It's how information gets found!
How To Ask Questions The Smart Way

[|||||||--] - 80% (I estimate completion in Spring '07)
My Worklog
DarquePervert is offline   Reply With Quote
Old 07-20-2007, 01:28 PM   #3
Newbie
 
Join Date: Jul 2007
Location: Sandnes, Norway
Posts: 30
Wish I could, but obviously I need it for booting from the main pendrive

The slow part is just before loading explorer, not in the bios POST phase..

Forgot to mention one thing btw; the secondary drive was once also bootable (though it doesn't have an OS any more). Maybe the problem is that it still has an MBR that says so? Is there any way to delete/clear the MBR?
Spartan117 is offline   Reply With Quote
Old 07-20-2007, 10:39 PM   #4
Constant Bitrate
 
Join Date: Jun 2006
Location: Chicago, IL
Posts: 143
you just need to clear bootable flag from partition, but I don't think it's going to help. Windows explorer or some services may scan/update some information on flash drive (secondary), and typically write operation takes some time, depending on number of filesystem updates. You may try to change the filesystem on your flash drive to ntfs, it may help, but I'm not quite sure.
__________________
EPIA TC 1G 256MB 60GB Linux,WindowMaker, Roadnav, Xine, XMMS, iGuidance3
Lilliput 8", Pharos i360, WUSB11v2.6 WiFi
dupa2 is offline   Reply With Quote
Old 07-21-2007, 06:57 AM   #5
Newbie
 
Join Date: Jul 2007
Location: Sandnes, Norway
Posts: 30
Just tried formatting as NTFS now, didn't help. I did try removing the partition completely though, and that worked, but won't do much good

Do you know what services would try to scan/update anything?

One weird observation; if the activity LEDs on the usb sticks are to be trusted, there's no reading or writing going on at all, on any of the sticks, for the few minutes it hangs...
Spartan117 is offline   Reply With Quote
Old 07-21-2007, 09:36 PM   #6
Constant Bitrate
 
Join Date: Jun 2006
Location: Chicago, IL
Posts: 143
shell hardware recognition service may slow it down, but should not block actual gui.

There's one more thing to do a test on, try to mark the drive as read only (like cdrom), I wonder what would happen.

Do you have any other pen drive (different manufacturer) to see how is it going to react on.
__________________
EPIA TC 1G 256MB 60GB Linux,WindowMaker, Roadnav, Xine, XMMS, iGuidance3
Lilliput 8", Pharos i360, WUSB11v2.6 WiFi
dupa2 is offline   Reply With Quote
Old 07-23-2007, 03:15 AM   #7
Newbie
 
Join Date: Jul 2007
Location: Sandnes, Norway
Posts: 30
Thanks, but I actually (kind of) figured it out last night Here's the story:

- The bios enumerates USB storage devices in order by which port they're physically plugged into. I figured out the order by trial and error.

- When windows starts up, it assigns drive letters to removable devices in the same order as enumerated by the bios.

- The problem was actually that the system drive got assigned D:, while the other drive got C: with both plugged in, because they happened to be in ports ordered that way through all the tests. (Can't believe i didn't notice this.) Apparently, explorer doesn't like living on a drive that changes letters.

Now it boots fine with the system drive in a "higher priority" usb port than the other one, so problem solved.

Still though: when a drive is assigned a letter, the unique drive signature is supposed to be tied to that letter through the registry in HKLM\System\MountedDevices. I never could figure out why the "real" C drive didn't keep its letter, even after deleting all keys and letting C be reassigned before plugging in anything else. Cloned keys also started showing up from time to time...
If anyone has some insight into how the MountedDevices keys are treated, do tell
Spartan117 is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Still Slow Boot Time vipervin Operating System Optimization 8 11-21-2006 08:41 AM
Problems with USB CD Boot bad-at-this WinNT Based 2 03-10-2006 05:41 AM
Slow Boot With USB DVD thenick100 General MP3Car Discussion 5 01-25-2006 11:25 AM
Boot from usb drive djXternal General MP3Car Discussion 2 01-12-2006 07:16 AM
FV24 slow boot problem Michael Szilagyi General Hardware Discussion 1 02-24-2002 09:09 AM


All times are GMT -5. The time now is 10:14 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics