LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-29-2008, 01:46 AM   #1
Dr_Death_UAE
Member
 
Registered: Jul 2005
Location: U.A.E
Distribution: FreeBSD,Fedora,Solaris,AIX
Posts: 168

Rep: Reputation: 30
VirtualBox give me Blue screen of death!!!


Hi, I have windows XP and linux ubuntu on the same HD, i install VirtualBox 1.6, and run my existing windows as virtual, with these commands:

Quote:
install-mbr --force myBootRecord.mbr
Quote:
VBoxManage internalcommands createrawvmdk -filename ./WinXP.vmdk -rawdisk /dev/sda -partitions 2 -mbr ./myBootRecord.mbr -relative -register
it boot fine, but after windows login screen i get blue screen of death.

the same thing i did with my other pc, it have windows xp and fedora 9, and the same issue blue screen of death after windows start.

any idea

thanks in advance
 
Old 05-29-2008, 07:20 AM   #2
LordAnta
Member
 
Registered: Apr 2008
Location: Bucharest, Romania
Distribution: Slackware current
Posts: 126

Rep: Reputation: 17
Maybe because the hardware from your computer differs from the virtual hardware provided by VirtualBox? Windows XP doesn't have the drivers for the hardware from the virtualbox, and that's why it gives you that awful BSOD.
 
Old 05-29-2008, 11:28 AM   #3
Dr_Death_UAE
Member
 
Registered: Jul 2005
Location: U.A.E
Distribution: FreeBSD,Fedora,Solaris,AIX
Posts: 168

Original Poster
Rep: Reputation: 30
hmmmm, one laptop is DELL that have xp with ubuntu, the other one is TOSHIBA Tecra the one have XP with Fedora 9.

also one of my friends he have the same setup as me, he have DELL laptop as mine and have on it ubuntu with XP, and the work fine with VirtualBox.

i will try the VirtualBox drivers and i will see if it will solve the problem.

Thanks buddy.
 
Old 05-29-2008, 11:44 PM   #4
okos
Member
 
Registered: May 2007
Location: California
Distribution: Slackware/Ubuntu
Posts: 609

Rep: Reputation: 37
I had the same problem.
Through vmware, you boot windows it starts then the blue screen of death.
There is an association problem with scsi and ide. I could not fix the problem.
I ended up reinstalling windows on its partition through vmware server.
It xp works fine now through vmware. However, I now get the blue screen of death when I tied booting xp through lilo startup.
If you can fix it, I would be glad to know.
 
Old 05-29-2008, 11:49 PM   #5
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,036

Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
That blue screen only demonstrates how good the emulation is :P Sorry for the joke, I couldn't help it.

Quote:
Originally Posted by Dr_Death_UAE View Post
hmmmm, one laptop is DELL that have xp with ubuntu, the other one is TOSHIBA Tecra the one have XP with Fedora 9.

also one of my friends he have the same setup as me, he have DELL laptop as mine and have on it ubuntu with XP, and the work fine with VirtualBox.

i will try the VirtualBox drivers and i will see if it will solve the problem.

Thanks buddy.
The problem is not the difference between the hardware on the two laptops. The hardware of the laptop doesn't really matters since windows inside virtualbox can't see it anyway. All the hardware that windows can see within virtualbox is supplied virtually by virtualbox. Windows can't access any physical device.

My guess is that windows can't find a way to boot because, probably, the virtual machine is emulating scsi drives and the laptop had ide ones. The easy option is to reinstall. It's just a virtual machine, you have nothing to loose.
 
Old 05-30-2008, 04:25 AM   #6
LordAnta
Member
 
Registered: Apr 2008
Location: Bucharest, Romania
Distribution: Slackware current
Posts: 126

Rep: Reputation: 17
When you install Windows, you install it for a specific motherboard and a certain hard-disk. You change the motherboard, you blew it and have to install windows again. (happened to me ). It's not like linux, where you change the motherboard, the kernel automatically loads the new modules for it
 
Old 05-30-2008, 09:03 AM   #7
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,036

Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
Yep. It's the opposite that people like to think.

Windows sucks when it comes to reconfiguring hardware. It can remain seriously broken just because you change a video card or you migrated from IDE to SATA, making the transition possible only via a complete re installation. When you move an install into VirtualBox, it's the same than moving it into a new pc, because that's what VirtualBox ultimately is: a virtual PC, with it's own hardware, which might not be that hard-kind-of-ware but it's seen by the host OS as hardware, nonetheless.
 
Old 05-30-2008, 03:42 PM   #8
Dr_Death_UAE
Member
 
Registered: Jul 2005
Location: U.A.E
Distribution: FreeBSD,Fedora,Solaris,AIX
Posts: 168

Original Poster
Rep: Reputation: 30
the problem is my windows is not virtual, i create a disk image (vmdk) pointing to my windows partition. i wont to boot directly to my physical exist windows XP on my HD instead of use grub every time.

i know windows is sucks but we still need it for some dummy works. i hope one day linux can replace windows and all the programmers and companies support linux the same way they support Micro$oft. until that day the only thing we can do as individual is to tell our friends and people how wonderful and powerful linux is and start moving the world to the OpenSource revolution.

Last edited by Dr_Death_UAE; 05-30-2008 at 03:45 PM.
 
Old 05-30-2008, 03:54 PM   #9
LordAnta
Member
 
Registered: Apr 2008
Location: Bucharest, Romania
Distribution: Slackware current
Posts: 126

Rep: Reputation: 17
Ok. Your windows is on a partition on your hard disk. But when you run in virtual box, it doesn't use the hardware from your laptop, it uses the virtual hardware provided by the virtual machine. Windows doesn't know that it is running in a virtual machine and that he uses different hardware (virtual in this case) from the install.

Long story short: you use an OS in a virtual machine, it works with the virtual hardware, not with the hardware of the physical computer.

Last edited by LordAnta; 05-30-2008 at 03:56 PM.
 
Old 01-18-2009, 07:04 PM   #10
BlackMax
LQ Newbie
 
Registered: Jan 2009
Posts: 2

Rep: Reputation: 0
Easy Fix

I too was having this problem and found the solution here

In a nutshell, Ryan says:

Go to General Settings for the guest machine and under the Advanced tab, select PIIX3 for the IDE Controller Type. It uses PIIX4 by default (which would not boot). I changed it to PIIX3 and it worked fine.

Thanks Ryan!
 
  


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
I finally had enough of The Blue Screen of Death! mlsjm LinuxQuestions.org Member Intro 1 05-01-2007 01:13 PM
I am really mad about the blue screen of death now. my-unix-dream General 30 07-05-2006 08:43 AM
Blue screen of death in linux!!! greenthing Linux - Software 9 03-21-2005 04:26 AM
Blue Screen of Death?!?Help Kaiser Linux - General 3 09-17-2003 08:24 PM
Blue Screen of Death!! itsjustme Slackware 2 05-20-2003 08:22 PM


All times are GMT -5. The time now is 07:30 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration