Why is my Windows 7 installation failing when a new bootable Linux drive is inserted? [closed] - bootloader

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Ok so I just got a new SSD for my laptop. I have installed Windows 7 on the SSD and can successfully boot into Windows 7.
I took the SSD out and put in the normal hard drive and installed Ubuntu onto it. So now when I add the other SSD back into the laptop I go into the BIOS and boot override into the SSD to try and get to my Windows 7 install.
I at least make it to the "Starting Windows" screen for about a second. Then it starts saying "Loading files" like its doing a recovery. It opens up recovery and tries to repair forever but then after 5 minutes will say that it can't repair.
If I try to boot override into the Ubuntu hard drive it works just fine.
If I take out the Ubuntu hard drive I can then boot into Windows 7.
The expected behavior is that I will be able to use the BIOS to boot into either hard drive.

You should configure the master boot record of one of the two hard drives to point to both operating systems, and then use it as a primary for booting.
I recommend using grub2 on the SSD with linux, primarily because it is the easier to configure and less risky than modifying the boot partition of the Windows hard drive.
Here is the documentation for grub: https://wiki.archlinux.org/index.php/GRUB2
I ran into an issue once where there was a competition between two hard drives because they were in master/slave configuration, and Windows was not configured to recognize itself as a primary boot, even when specified in the bios, if it was in a slave position.
It is possible however to boot linux from a slave position relatively easily.
Also, whenever you insert two hard drives, with both expecting to be booted, it changes the partition and hard drive numbering: see the paragraph titled "GRUB Notation" here. Be aware of this, because this can also effect how a OS boots.
My guess is that the reason Windows fails to load, is because the MBR was installed and configured with the assumption that is would be booted without changing its hard drive number. Thus, windows may attempt to load, but actually be pointing to the wrong hard drive when searching for whatever core files it loads at start-up. However, this seems less likely to me than the master/slave issue.

Related

Windows 10 sudden errors, and services using too much resources [closed]

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 23 hours ago.
Improve this question
So, I've been using my laptop with windows 10 for over three years and everything was cool, all programs and games were working good, and I've not changed any hardware recently, until suddenly 5 days ago it started to act weird, the nvidia logo kept showing and disappearing multiple times non stop, and some games randomly close while playing for like 2-5 minutes and some of them don't even run at all, and that all happend while there was no internet connected to my laptop.
So, at first I thought it was a virus, so I formated the C drive and installed another newer version of windows 10, but then the same problem happened, there was also no internet connected to my laptop, and not just that, a newer problem happend, there were multiple services that were running in the background and using almost all of the cpu, memory, and disk resources, services like "Antimalware Service Executable, Application Layer Gateway, SNMP, Microsoft (R) Diagnostics, and others", and then I formated the C drive and installed the previous version of windows 10 (the one that I was working with for over 3 years), and it now have both problems, even though this version of windows 10 that I used for over 3 years was working really good with no problems, so, I'm starting to lose my mind, I tried everything I know.
Could it be a hardware issue or a virus that is in another drive (other than c drive) or what is the deal here?
I tried to scan the C drive with Windows Defender and it scans for about 15 mins and then it just freezes with no warnings or errors, I can only cancel it.
My specs:
Laptop: Dell Latitude E6430
CPU: Intel Core i5 3340m
GPU: NVIDIA NVS 5200m
RAM: 12GB DDR3
Storage: SSD 480GB ADATA (only two drives: C drive and D drive)
*The windows 10 version I was working with for over 3 years: 1809
*The new windows 10 version i tried: 2004
I would really appreciate any help.
Thank you so much for your time.

Can't enable multiple CPU on VirtualBox [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I would like to use more than one CPU to run Ubuntu 14.04 (Trusty Tahr) 32-bit in VirtualBox, but when I stop the machine and go in Settings → System → Processor, the processor(s) slider is grayed out as you can see in the screenshot image. How can I enable this feature?
Host OS: Windows 10 Pro 64-bit
Guest OS: Ubuntu 14.04 32-bit
VirtualBox: Version 5.1.22 r115126
Processor: Intel(R) Core(TM) i7-3770 CPU # 3.40 GHz (8 CPUs), ~3.4 GHz
PS: My problem in the first instance is that the Ubuntu virtual machine is extremely slow and I would like to improve the performance, so any suggestion for that would also be welcome.
To increase performance you need to increase RAM and to use more than one CPU you need to enable "Virtualization technology" in the BIOS.
Go to your BIOS options and search for "Virtualization technology" under "System settings" or similar. This is either called Intel-Vi-D or Intel-Vi with AMD processor. That name is then similar to AMD-V.
If you still have a problem with your VirtualBox not giving you an option to use multiple CPUs then you will most probably have to check if Hyper-V is installed in the "Turn Windows Features on or off". Which you might need to disable in order to use multiple CPU cores.
Some computers still might have no function towards virtualization use of multiple cores. That can be old computer models or more specific laptop computers. In some, you might need to check if there is a new BIOS version available for your computer.
For me I just had to forget the saved state with a right click on the virtual device.
Please make sure that you disable the Hyper-V. Go to Control Panel → Turn Windows features on or off → Uncheck Hyper-V → Restart your computer.
My problem is just a little bit different, but it fits the question. I can not make the guest use more than one processor.
The slider is not grayed, and I can set it to 1..4 (it is a dual core host).
But setting it on 2 and booting the Windows guest, it only sees one.
I had also tried all possible values for the slider. Windows guest always see one, not more.
If on Windows guest, I type set on a console. I always get a line with, no matter the position on the slider:
NUMBER_OF_PROCESSORS=1
I can not enable multiple CPUs on VirtualBox that guest.
The weird thing is that if I put a live CD Linux distribution ISO on that guest's virtual CD unit, it can see all the processors I set on the slider... it is just the Windows guest the one that ignores the slider... I am getting mad... and am out of ideas.
The problem occurs because when Windows was installed it was configured with only one processor, so it installed in a no multi-processor way and there is no way for it to see more than one, except re-intalling Windows, but this time with two or more on the slider, so it installs in SMP mode.
So, for anyone having the problem:
I can not use more than one processor on windows guest
I can move the slider
The answer is not going to the BIOS. The answer is:
Please install that Windows with the slider in 2 or more, not on just 1.
I remember I had a similar problem with an old Windows XP guest. At that time I had tried a patch to change Windows to SMP mode and a reboot, but it was so unstable, that I opted to reinstall it directly with 2 on the slider.
Looks like you have to power off the virtual machine (do not Save state)and edit those settings.
Please stop and power off your VM and then drag.
It will work.
Open Virtual Box.
Click the name of the virtual machine that you want to make your CPU available to, then click the "Settings" button at the top of the window.
Click the "System" heading on the left side of the Settings window.
Click the "Processor" tab at the top of the window.
Drag the slider next to "Processor(s)" to the right until the value matches the number of processors or processor cores installed in your computer.
Drag the slider next to "Execution Cap" to the right until the value reads "100." This allows VirtualBox to use all of your processor's resources.
Click "OK," then double-click the virtual machine to turn it on.

Installing Windows 7 on Openstack - Can't find any compatible filesystem drivers or see any disk drives [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I am attempting to install a windows 7 SP1 32 bit virtual machine instance on my organization's openstack infrastructure. My problem is not related to setting up the .iso on Openstack, it is related to the actual windows 7 installation.
I am at the point where I can create an image with the .iso, click on 'console' and I can access windows 7's GUI as if it was on my own machine. I had no options but to "Install Windows" so I started that, but ran into problems when I get to the screen that says:
"Where do you want to install windows?"
I cannot see any disk drives to install to. Instead I see:
No drives were found. Click Load Driver to provide a mass storage
driver for installation.
I then click on 'Load Driver' and it tells me:
To install the device driver needed to access your hard drive, insert the installation media containing the driver files, and click ok. Note: the Installation media can be a floppy disk, CD, DVD, or USB flash drive.
So I click browse and I see these folders:
Computer
CD Drive (D:) GSP 1RMCPRVOL_EN_DVD
boot
efi
sources
support
upgrade
Boot (X:)
Program Files
sources
Users
Windows
From what I can see it looks like an installation CD has been baked into the ISO, but I am stuck on as to how I can use it. Whenever I select any of the folders on the D: drive, I get:
No device drivers were found. Make sure that the installation mdeia contains the correct drivers, and then click ok.
After some googling I found the location that drivers are stored on windows:
C:\Windows\System32\DriverStore
which on my system is:
X:\Windows\System32\DriverStore
And lo and behold there seems to be large list of various ones on my system. They seem to be for everything, mouse, keyboard, speakers, etc. There is about 50-100 of them, all in folders named like
.inf_x86_neutral_
I tried most of the ones that seemed to be related to the filesystem, ones like
disk
volume
etc
but none of them seem to be compatible. ("Hide drivers that are not compatible" hides them, and none of them seem to make the file system show up when I try to install them, i just get brought back to an screen with no disk drives found.)
I was just wondering if anyone knows which filesystem drivers I should look for that work for windows 7 on Openstack? Should they be on the prebaked installation CD? If so, where? Is the CD wrong?
Thanks very much.
You need VirtIO drivers. You will need to attach two devices to your volume, the iso for the OS, and the iso for these drivers. This should help
http://docs.openstack.org/image-guide/content/windows-image.html
Good luck.

Advice for Delphi Development on a Mac? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I've started developing with Delphi on the Mac and thought I would share my observations and see if anyone else had any advice or tips for Mac development with Delphi.
A while back I had some comment discussion about Delphi development on a Mac. It was in the comments of an answer to another question. With the passing of some months, I thought it might be worth writing up a quick summary for anyone thinking about switching VM host.
Overall OS X + VMware makes a very nice development platform for making Delphi apps.
Platform
MacBook Pro 17" 2.93GHz Core 2 Duo. OS X Leopard
VMware Fusion 2.0.5
Vista + Delphi 2007
Observations
moving an existing PC development environment is straight forward. VMware
can build a VM from a physical PC, or as I did, build it from a TrueImage backup. Existing host VMS's can just be copied across.
there is obviously a performance hit using a VM, but it's not really that noticeable. I'd say speed is at least as fast as my previous HP 2.1GHz Core 2 Duo
get plenty of RAM. 4GB or 8 if you can afford it. 4GB is quite usable
Delphi building a fair-sized app goes fine in a 1.5GB VM
allocate only 1 core to the VM - it's faster
use a virtual hard drive for the guest OS. It's much faster than running the guest from a BootCamp partition
the MBP has two video subsystems, NVidia 9400M and 9600M GT. Using the faster 9600M gives a much smoother experience when VMware is running
VMware Fusion doesn't have the WDDM driver needed to enable Aero. If your app has Aero features you want to test, you'll need to make a separate BootCamp Windows installation to try out the Aero features
the ctrl key vs command key of Windows and OS X will probably be quite annoying with the default settings. VMware let's you control key mappings, so you can set it so the Win vs Mac differences are minimised. You'll probably also want to tweak the keyboard and mouse settings in System Preferences
the Mac function keys (Expose etc) conflict step on the Delphi. The Mac function keys can be disabled in the VMware preferences.
if you are using a MBP, there are no PgUp, PgDn, Home and End keys. Apple got a bit too minimalist here. You get these keys using Fn or Cmd modifiers. There are irritating inconsistencies between some apps
two-finger scrolling on the MBP trackpad is a thing of beauty
if you don't have multiple monitors, putting Windows full-screen in a Space works pretty well
if you use Time Machine for backups, it will backup the entire VM (unless you have it broken into smaller files). You can make this more manageable by creating a snapshot. Time Machine will then only backup the much smaller change file. That file will gradually grow - delete the snapshot and make a new one (doing a backup first, of course :-)
Mac is a nice user experience, but it's not magic - they have their wtf moments too
What are you Delphi Development with Mac tips and advice? Thanks!
You can also try wxForms for Delphi from TwinForms.com
For making native Mac apps you might want to check out Lazarus. Its a bit like the older Delphis (which personally i prefer than to the newer Visual Studio looking interface) but its quite good and used in production environments.

How should I install Linux on Windows Vista PC? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I am doing .net programming in addition to c and c++ development and want more flexibility on my home machine. I want to be able to have both Linux (probably Ubuntu) and Windows Vista on my home computer. Is there a way I can install both and on boot be prompted for which one to start? Is there a way to set Windows to default?
I have seen this before in CS labs in undergrad.
Also, I assume there would be no problem if I were to use Windows 32-bit along with Ubuntu 64-bit. Any advise?
The latest versions of Ubuntu include an installer called Wubi, which installs Ubuntu as a windows application (ie: it can be uninstalled from Add/Remove programs) and sets up the dual boot for you! It's great for those who want to give Linux a try without a system overhaul!
You can dual boot, but I would recommend using a Virtual Machine for what you want to do.
Look at VMWare and Virtual PC.
For more information on Virtual PC: http://en.wikipedia.org/wiki/Microsoft_Virtual_PC
For more information on VMWare: http://en.wikipedia.org/wiki/VMware_Workstation
You should note that dual booting Windows and Linux can be a little risky and is a bit permanent. Running in a Virtual Machine means that you can run the Linux install in a window and not worry about it affecting your development machine at all. The software will not know the difference, so your testing is not affected.
Consider that the Virtual Machine is like a sandbox, where you can try new and different things out, without fear of consequences.
Virtual machines do run with a bit of overhead, and therefore you should not expect to be playing games or anything through them. I would say it is very much like logging into a machine through Remote Desktop (good LAN connection) as far as performance goes.
EDIT: There is also VirtualBox that you could check out. Thanks for the helpers in my comments for that one.
I, too, recommend using a virtual machine for this purpose.
I've had problems with Virtual PC on some Linux distros (Fedora Core comes to mind), but no problems with VMWare or Virtual Box.
Think very hard before installing another operating system even as dual boot. It is rarely simple, even with installers like Ubuntu's that don't require you to mess around on a command line. There is a good risk you'll spend days trying to get your usual OS back to normal especially if you're using Vista.
VMWare and Virtual PC are both good options. Do a test install on one of these and use the OS for a while before making the decision to install.
One other great thing about using a virtual machine is that you only have to worry about getting your network settings sorted on your main OS, because VMWare (etc) will borrow those.
Also, try using the operating system on Live CD or DVD to start with if at all possible. You may also find that you can run an OS from a USB stick. This is obviously good for portability - but note that you can also carry your virtual machines on a removable USB drive.
All you have to do is go to http://www.ubuntu.com/getubuntu/download and follow the directions. I downloaded Ubuntu, burned it to CD, and rebooted with the CD in the drive. I did not have to get a second hard drive or worry about it messing with my Vista Home Premium installation.
With Ubuntu (as with most distros with a Live CD install) all you need to do is pop in a disc, boot, and click through the menus. The dual boot is set up perfectly by default, you don't even have to think about it. I've done this with Ubuntu, Debian, PC Linux OS, Freespire, and Xandros on my Vista Home Premium machine and they all worked that way.
If you are paranoid, then you should back up your PC. As cheap as hard drives (USB or internal) are these days, there really is no excuse to not have a full back up of your system. It's too easy. I use Acronis True Image, but I've heard good things about Norton Ghost as well.
Regadless, you don't need Wubi or VMWare, or any virtual anything, a straight install with a dual boot set up is the default on a typical Live CD Linux install and it works even with Vista.
I've done it different ways over the years, and I'd say using a virtual machine is the one that I like best. I've tried both VMWare and VirtualBox, both free, and I like VirtualBox a little better because you can use it with the .iso straight. You don't need somebody to have created a virtual machine image for you.
Another option is to actually run Linux as an application on Windows so you get Linux running at almost full speed but also the ability to run Windows applications along side it. Check it out at http://www.colinux.org/.
I haven't had a chance to play with it yet, but an option that looks promising for me is a tool in Ubuntu to create a bootable USB drive with Ubuntu on it. It has the benefit of a live cd (no effect on your system), better performance than a live CD and the ability to persist your data from session to session. I've used Wubi before, but I can't remember why I uninstalled it.
Have a look at "cygwin".
This istalls a "linux like" windowing application within your windows
environment. It has good support for gcc and most of the standard
gnu/linux development tools.
You dont have to mess with dual boot. Its especially good for testing
windows to/from unix communictions as you can get everything up and
running in one box.
What you're looking for is called 'Dual booting'. it allows one to choose which operating system to boot at the start. It's well supported in Linux, especially Ubuntu. Just install Ubuntu and it will set up dual booting by default.
You could go either way, a dual-boot or use a VM. I think it depends on whether you'll want to use any Windows apps while developing in the Linux environment. If so, I'd go with a VM, otherwise, here's a tutorial for setting up a dual-boot computer. It has a part on installing both OSes, and a part on if you already have Windows installed.
Wubi is a great (Ubuntu specific) solution.. The only problem I've found was installing Wubi on a FAT formatted Windows partition - I had serious problems then. Also, it might run slightly slower, as there is another layer when doing disk acccess, but I can't say I've noticed.
I dual boot Vista Ultimate 32-bit and Ubuntu 8.10 beta 64-bit with no problems. The key thing, in my opinion, is to have a completely separate hard drive to install Ubuntu on. That removes a lot of the risk since you don't have to fuss around partitioning your primary HDD and makes removing Ubuntu very straightforward as well if you decide you don't want it.
Just be careful and pay attention on which drive you select when you do the install. It's easy for me to tell them apart since my Linux drive is a different size than my main Vista and data storage drives.
If you'd rather go the VM route, VMware Player works well, and I've heard good things about VirtualBox.
try a live cd install of ubuntu :D
creating a bootable flash disk is easy - unetbootin from sourceforge.net
I have dual booted Ubuntu and Xp many times with absolutely no problems. I doubt you could do the virtual thing with one OS 32 bit and the other 64. This would not be a problem with a dual boot.
I have had problems using wubi and my boot into windows7 is now unstable at best, so given the choice would favour a VM solution in hindsight. However on other machines I have run Ubuntu Live on USB (installed using pendrivelinux.com) by picking the try ubuntu option at boot and that has worked well and was quite quick to get going.

Resources