Showing posts with label windows 8. Show all posts
Showing posts with label windows 8. Show all posts

Monday, May 6, 2013

USB to Serial (Prolific 2303) Device Cannot Start (Code 10) in Windows 8/8.1/10

Is this a rare situation where a piece of legacy hardware works fine in Linux and is broken in Windows??

The Prolific 2303 works perfectly fine in Linux Mint.  Yet, for some reason, Prolific says that some of these chips have reached the end of life and won't be 'supported' under Windows 8.  Prolific suggests that you purchase their updated chipset (PL2303HX Rev D):


So, what is different about the newer chips that they *can* be supported in Windows 8, while the older ones can't?  What has changed in Windows 8 that makes this support different?

Here's the yellow triangle with exclamation point that you'll see:


And here is the "Code 10" error:


Fixing it:  Some clever people have figured out workarounds for this issue.

Get this file: Profilic_Win8_x64_x86.zip   (Google Drive link here.)

Extract the contents of this file somewhere and examine the contents:


Right click the .inf file, and select "Install".


I didn't notice that anything happened when I ran it.  Probably because I've tried so many different drivers and installations; maybe it was already installed, I don't know.

Got back to the device manager and right click the Prolific USB to Serial comm port, and click "Update Driver Software".


In the resulting dialog, click "Browse my computer for driver software":


Select "Let me pick from a list of device drivers on my computer":


Select the Prolific driver version 3.3.2 from 2008:


Win.


If all went well, you'll no longer see the yellow triangle:


h/t to the original post at Microsoft's Technet forum by user drtedrted.

Saturday, May 4, 2013

Windows 8 + Linux Mint UEFI Dual Boot Follow Up: When things go wrong.


Your BIOS setup may look different from this, but this is what mine looks like when it works the way I want (dual boot via Grub):

My BIOS "Boot" Configuration
Notice the first item called "mint".  This guy disappeared once after a Windows update.  In order to get it back, you may have to add it again.  Notice the option "File Browser Add Boot Option" in the screen above?  Select that option and you should get something that looks like this:

Dell file chooser
This is just a primitive file picker.  Above is a list of partitions on my machine.  You can select any one you want and see what is in there.  Then one you're looking should have contents like this:


Under <linuxmint> you should see this:


The grubx64.efi file is the one you want, this one will start Grub on boot.  Once you've selected this file, you will probably be asked to name the new boot configuration.  You can call it whatever you want.  Once you've given it a name (I called it "mint"), you will want to make it the first boot priority as in the first photo of this article.

Another problem I ran into once (again after a Windows 8 'update') was messed up partition flags.  Here is what my "working" partitions look like:


I've highlighted the partition flags at right.  You will of course need to know what you're doing if you start messing with these.  The important flags are "boot", which is on /dev/sda1 here, and the "msftres" flag which is on an 'unknown' chunk of the disk.  Make sure these are set properly.

Finally, when things really go wrong and you can't boot into Windows 8 anymore, you may need a Windows 8 rescue image.  This can be generated from a working copy of Windows -- even a working copy from a friend that has Windows 8.  If you can't find a friend that has it, maybe you can go to a local computer store and get one made...  You just need an 8GB USB memory stick.  I had to borrow one one from a friend of mine in order to use the utility called "bootrec".  The general procedure was something like:
  1. Boot Windows 8 recovery from USB drive. 
  2. Get to a command prompt and run the following:
  3. bootrec /fixmbr
  4. bootrec /fixboot
  5. bootrec /rebuildbcd
I am not sure which of the last three commands was most effective in fixing my problem, but I ran all of them.

So that's it.  For any problem you may have, I think you've got the information here to solve it.


Sunday, December 2, 2012

Dual Boot Linux Mint 13 with Windows 8 UEFI

I just bought a  new Dell Inspiron 3520 from Best Buy for $399.  I could not pass this machine up for the price:


By far, this is the newest computer I've ever owned. I have currently a 1.4 GHz P4 desktop that I got for free.  This replaced a slightly slower 1.2 GHz P3.  I've been watching Craigslist for a nice used laptop and I when this came along I could not pass it up.


The first thing I learned about this new machine is that it uses a booting spec called UEFI.  It appears that this whole scheme is devised to keep new Windows 8 approved PCs from running anything but Windows 8.

There are many articles on this already but here is my experience with installing Linux Mint 13 next to Windows 8.  I used information from several sources -- this page in particular was very helpful.

So, the first step in all of this is to shrink the existing Windows partition, freeing up space that will be used for the Linux installation.  My new hard drive is 500 GB so after defragging the drive I decided to make as much space available as possible, hopefully splitting the drive in half:  250 GB for Windows and 250 GB for Linux.

Control Panel --> System and Security --> Administrative Tools --> Computer Management --> Storage --> Disk Management

Here you can shrink the existing Windows partition.  It is pretty straightforward.  Right click the main Windows partition and select "Shrink Volume".


Now you've got free space to work with.  Ok, now boot to Linux Mint with the Live DVD.

Here I learned something new -- you can't just boot from whatever device you want anymore.  Remember when you had to specify the device boot order in the BIOS settings?  You could boot from the CD-ROM first, then the floppy drive, then the hard disk, or whatever order you want?  Well, this is now called the 'legacy' method of booting.  In order to boot from the Mint DVD, I needed to start the PC into the boot menu and switch back to the legacy boot method.  With this PC you need to press F12 during the boot to get to the boot options screen:



And then:


Now with the Mint LiveDVD in the drive (I got mine very quickly via Torrent), you should be able to boot the machine into Linux.  Note that some LiveDVDs out there can be booted in the UEFI mode, just that the one I have was not one of them.  So you may not need to change boot options depending on the distro you're installing.

Start the Mint installer (the Install Linux Mint icon on the desktop), and click "Something Else" when asked what you want to do:


Select the free space area that you just created in Windows, and click the Add button.


I just created a 200 MB /boot partition...

 
Now create a root partition.  Leave enough for a swap partition, which should be the same size as the amount of RAM your machine has, plus a little more.  I have 4 GB of RAM so I've left about 5 GB of space for the swap partition.  Some people like to create a separate /home partition but I've never done this on any other machine.  There may be some compelling reasons to create a /home partition but for most people it isn't necessary.


Here is the swap partition:


Now, select the location for the bootloader installation.  Make this the partition where you created /boot.  In my case it is /dev/sda7:


Now click "Install Now" and you will be greeted with the following message:


Click Continue and let the installation finish.

Now we need to mod the UEFI partition to allow booting to Linux Mint.  Fortunately Ubuntu has a tool to do this.  Ubuntu has information on UEFI and installing on a UEFI system here.  I'll be using the boot-repair tool in order to facilitate booting from UEFI.  Since Ubuntu and Mint are from the same mold, this tool should work fine for us. 

Follow the instructions to install boot-repair.  Basically in a terminal window:

   sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update

and then

   sudo apt-get install -y boot-repair && boot-repair


By typing the above commands, the boot-repair tool will immediately start up and start scanning partitions.  Eventually you should see a dialog that looks like this:


All I had to do was click "Recommended repair" and let it go.  There will be a couple of points where it asks you to cut/paste some lines into a terminal.  Do this exactly as directed and click the "Forward" button ONLY after completing those steps.  When it has finished, reboot the computer.  Go back to your boot options and return the the computer to UEFI boot mode.

If you were successful, you should see this grub boot menu on boot:


Optional:  If this helped you, click one of my ads!  If you don't see ads, disable your adblocker for this page!  :-)