LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-02-2011, 03:15 PM   #1
Corsari
Member
 
Registered: Oct 2004
Posts: 54

Rep: Reputation: 15
Windows 7 x64 doesn't boot if a linux drive is plugged


I know this is off topic, but thank you for any tip.

Do any of you experienced this issue? Please note that this setup is needed in case of data recovery.

I have connected (sata cable I mean) the drive where I have got my Ubuntu installation to another pc with windows 7 64 bits (but I think that 32 and 64 doesn't make difference).

Windows 7 doesn't boot.

So I thought it may be some kind of issue with the hard drive itself (but the drive is healthy), anyway I have plugged one drive from one NAS (you know, NAS drives are linux partitioned and formatted).

Same result: windows 7 doesn't boot.

Windows 7 boot sequence hangs and at the next boot prompts
"Repair windows installation"
"Boot windows normally"
(and obviously none of the options works)

Looks really like that Windows 7 doesn't boot if any linux partitioned and formatted drive is present.

Any of you experienced the same? Or better would be, can any of you kindly do the same test? Thank you

Cor

Last edited by Corsari; 06-02-2011 at 03:36 PM.
 
Old 06-02-2011, 04:29 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,225

Rep: Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350
I'm not really clear on what you are trying to do. You say you have Ubuntu installed on a hard drive. That you detached this hard drive from the computer and attached it to a second computer. Is that correct?

Did you modify the windows 7 bootloader to boot Ubuntu on the second computer?
Did you set the BIOS on the second computer to boot from the second (external USB??) drive with Ubuntu?
Are you trying to boot on the second computer from the Ubuntu drive or the drive with windows 7?

You don't provide any drive/partition information so all we can do is guess.
There's no reason you should not be able to boot both windows 7 and Linux on the same computer/drive.
 
Old 06-02-2011, 09:06 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 16,366

Rep: Reputation: 2378Reputation: 2378Reputation: 2378Reputation: 2378Reputation: 2378Reputation: 2378Reputation: 2378Reputation: 2378Reputation: 2378Reputation: 2378Reputation: 2378
I am assuming that bios order of hard drives has altered the way the loader for ms views drives.
 
Old 06-03-2011, 01:43 AM   #4
Corsari
Member
 
Registered: Oct 2004
Posts: 54

Original Poster
Rep: Reputation: 15
Thank you yancek and jefro for answering.

The Ubuntu disk has been plugged (directly to main board with sata cable) as test.

My main goal is to plug disks from NASes, but since any of the NASes disk was allowing windows 7 to boot, I did a quick counter proof plugging my ubuntu pc's hard drive.

The BIOS drives boot order is correct, as matter of facts is windows 7 booting and because it hangs, when I reboot it it goes to prompt for
"Repair windows installation"
"Boot windows normally"

Definitely it is the windows 7 disk that boots the pc. So I un-plug the "linux" drive and I run a clean boot.
As soon I re-plug ANY linux partitioned drive, windows 7 boot hangs at the early first stage.

See attachments

After a Clean boot and shutdown, I plug any linux drive - progress bar repeats some progresses and last blank screen with a cursor (no BSOD no messages: hanged)
After the hang, I Ctrl-Alt-Del - the prompt with two option (which obviously none of them works)

What I can say is that either on NAS disks and on my linux drive there are both ext3 and XFS partitions (but I think this makes not much difference)

Do any of you have a windows 7 64 bit installed where to plug a linux drive ... ?

This would be an interesting comparison... Windows 7 Enterprise 64 bits I'm using is a 90 days evaluation downloaded original from MS website.
While the mainboard is a recent Asus P8P67 Deluxe rev. 3.0 which I also updated the BIOS trying to fix this issue.

Thank you for any tip or test

Cor
Attached Thumbnails
Click image for larger version

Name:	boot-with-nas-drive.jpg
Views:	8
Size:	53.0 KB
ID:	7200   Click image for larger version

Name:	boot-with-nas-drive-after-reboot.jpg
Views:	8
Size:	105.0 KB
ID:	7201  
 
Old 06-03-2011, 02:53 AM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,537

Rep: Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041
How many drives is Win7 on ?. Just one, or across more than one ?.
 
Old 06-03-2011, 03:23 AM   #6
Corsari
Member
 
Registered: Oct 2004
Posts: 54

Original Poster
Rep: Reputation: 15
Hi Syg

yes, let's figure out:

I have my brand new windows 7 enterprise 64 bit evaluation installation.

I've installed it because I'll do data recovery from NASes and RAIDs with it, as with the other windows xp stations.

So, as soon I've finished all the updates (including SP1 + all the rest of windows update) I started plugging some NAS hard drives in it (this new station is an additional server, and because all of the other are XP 32 bit, I decided to give it a try to W7 x64)

Because windows boot was hanging at the early stage, I did a lot of experiments, one drive at a time, update m/b bios, update any available driver for windows 7 on the asus website for the P8P67 Deluxe mainboard, plug one by one any of the 7 SATA ports (this main board has got 8 sata ports 4 SATA III and 4 SATA VI), you know any combination.

As last test I've run a clean boot (windows 7 drive alone) and a clean shut down. Then I've plugged the hard drive from my ubuntu pc (this because I was wondering about any issue with maybe some code in the boot sector from the nas drives) but also with this, the result is the same: W7 boot hangs at the early stage, no way, it neither starts in safe mode, again hang, nor with the logfile option, the log file is not created.

Now the question is to definitely locate that it is a windows 7 matter or in some way that it may be a main board + drivers matter. But looking at the stage where the boot hangs.. it looks to me that is a windows 7 issue.

Hope this gives you a better view on the issue.

Thank you

Cor

Last edited by Corsari; 06-03-2011 at 03:32 AM.
 
Old 06-03-2011, 03:39 AM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,537

Rep: Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041
I don't run Win7 on my test server here at home, just Vista - I plug drives into that all the time.
Can you give me a link for that Win7 eval pls - I tried to have a look from this Win7 laptop, but the M$oft site crashed with a (Firefox) Silverlight plugin error - go figure.
I might toss the eval on that box and see if I have any issues.
 
Old 06-03-2011, 04:02 AM   #8
Corsari
Member
 
Registered: Oct 2004
Posts: 54

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by syg00 View Post
...Can you give me a link for that Win7 eval pls ...
Open this link
http://technet.microsoft.com/en-us/evalcenter/cc442495

and goto at the very bottom of the page, use the 64 bit button at right, in the next page you are asked to login with live id or other options, I've login with one hotmail account.

Thank you if you test it.

Cor
 
Old 06-03-2011, 05:00 PM   #9
jefro
Moderator
 
Registered: Mar 2008
Posts: 16,366

Rep: Reputation: 2378Reputation: 2378Reputation: 2378Reputation: 2378Reputation: 2378Reputation: 2378Reputation: 2378Reputation: 2378Reputation: 2378Reputation: 2378Reputation: 2378
"Windows 7 doesn't boot."

Because in the boot process of windows in has to find the install. Part of that starts in bios and from hard drive order. When you add in a drive one normally thinks that the selection is now later than the original drive.

I am still thinking that when you plug in the new drive it now changes the order that windows was looking for.

Set bios order to have the original windows 7 as the bootable disk first in order.
 
Old 06-06-2011, 06:07 AM   #10
Corsari
Member
 
Registered: Oct 2004
Posts: 54

Original Poster
Rep: Reputation: 15
Hi jefro

the boot order is correct... otherwise it would not boot the first part

If the previous W7 boot was clean (one boot with no linux drives plugged), the boot sequence (now I plug my ubuntu drive) is
- one progress bar DOS mode with label "loading files", this progress repeats few times and next, the boot hangs with a blank screen
- now I Ctrl-Alt-Del (and the Ctrl-Alt-Del happen with the linux drive still plugged)
- next boot (call it a boot after a dirty boot)
"Repair Windows Installation"
"Boot Windows Normally"
this certify you that the boot order is correct, the linux drive is plugged and the boot is coming from the W7 drive.

No blue screen of death, doesn't boot in safe mode (same hang same blank screen), if you choose to boot creating the boot log it hangs again and the log is not created at all, it neither reboots automatically, so there is no chance to choose "don't reboot automatically"

While, please note, if I plug an additional NTFS drive, W7 boot fine.

Last edited by Corsari; 06-06-2011 at 06:09 AM.
 
Old 06-06-2011, 03:53 PM   #11
jefro
Moderator
 
Registered: Mar 2008
Posts: 16,366

Rep: Reputation: 2378Reputation: 2378Reputation: 2378Reputation: 2378Reputation: 2378Reputation: 2378Reputation: 2378Reputation: 2378Reputation: 2378Reputation: 2378Reputation: 2378
Turn off computer. Plug in usb. Boot to bios. Check hard drive order.
 
Old 06-06-2011, 11:33 PM   #12
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,537

Rep: Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041
Sorry @Corsari, my server is unavailable for trashing at the moment. I may be able to get another in pieces soon - I have that iso (after having to re-register a live.com id - gawd I hate M$oft).
 
Old 06-07-2011, 03:55 AM   #13
Corsari
Member
 
Registered: Oct 2004
Posts: 54

Original Poster
Rep: Reputation: 15
Thank you syg00
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Network doesn't work if cable is plugged in at boot (Debian Lenny) Blue Horseshoe Linux - Networking 1 01-20-2010 05:18 AM
Newbie looking to dual-boot Gloria x64 into a box already running Windows 7 x64 joshuaingram Linux - Newbie 1 12-17-2009 05:48 PM
GRUB doesn't let me load without Ubuntu external hard drive plugged in. Eitaro Linux - Newbie 5 06-27-2009 02:14 AM
USB thumb drive corrupts whenever plugged into Linux, but not windows. RHLinuxGUY Linux - Hardware 1 08-12-2006 08:00 PM
can i run linux mandriver x64 with windows x64 bit if so wich one should i install fi malmac2000 Linux - Software 2 04-26-2006 07:04 AM


All times are GMT -5. The time now is 04:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration