Complicated question involving several different OSes coexisting

Cursed Lemon

New member
Local time
9:04 PM
Messages
5
Location
The Corpse of the Motor City
Sorry for the vague title, but it's true unfortunately. Alright, SO.

I have a little spare miniature desktop that I'm using as a guinea pig for experimenting with different operating systems, namely multi-booting.

Originally, I had the following partition setup on one disk:

NTFS - Windows 7
Ext4 - Ubuntu Server
Ext4 - Xubuntu
Ext4 - Linux Mint
Ext4 - Kali Linux
Swap Space
XFS - General shared storage

And this was all working just fine with a Grub setup which detected everything.

Then I got tricky. I wanted to add a second disk and install Windows XP to it, mainly for the purpose of playing older games that don't work in newer Windows versions (and don't play nice when loaded in VirtualBox). So I installed Windows XP on a second disk, and everything was fine there...except when I tried to boot, or even look for, my other installed OSes.

What essentially ended up happening is Windows XP for some reason put all its boot-related crap on the first HDD, even though I told it only to bother with the second one. I suspect this may have something to do with the order of the SATA ports, with XP just choosing the earliest HDD it sees to store its boot shit on. Now I couldn't find the other operating systems at all.

So I thought, alright, I'll just disconnect the first HDD, load up the XP installation CD, and do a startup repair so that it rights itself on the second disk. Nope. The XP CD apparently sees that there's something labeled as "XP" installed on this disk, but doesn't consider it an XP installation and therefore will not give me the option to go into recovery tools.

Even better. When I reinstalled Grub on the first disk so I could get at my other installations, Windows XP actually cannibalized my Windows 7 entry, so now if I try to load W7 from Grub, I get XP instead.

I guess the point of this thread is to ask how exactly does something like this happen? Why did Windows XP latch its boot material onto the first HDD? Is what I suspected correct, or is it something else? Do other versions of Windows do this as well if you install them after other OSes?
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom
OS
Windows 7 Home Premium 64-bit
CPU
i7-6700K
Motherboard
MSI H110M Gaming
Memory
Kingston HYPERX Fury DDR4 2x8GB
Graphics Card(s)
Geforce GTX960
Hard Drives
2x 1TB Western Digital
Antivirus
Malwarebytes
Browser
Chrome
The issue is that XP put it's own bootloader on the hard drive even if you selected the second. It is a completely different bootloader than Vista and later as well as Linux. The XP bootloader doesn't have the capability of detecting 7 or running Linux. You need to recover the Linux bootloader. I found this tutorial. RecoveringUbuntuAfterInstallingWindows - Community Help Wiki
 

My Computers My Computers

System One System Two

My Computers My Computers

System One System Two

  • Computer type
    PC/Desktop
    Computer Manufacturer/Model Number
    custom build
    OS
    Windows 7 HP 64
    CPU
    i5 6600K - 800MHz to 4200MHz
    Motherboard
    GA-Z170-HD3P
    Memory
    4+4G GSkill DDR4 3000
    Graphics Card(s)
    IG - Intel 530
    Monitor(s) Displays
    Samsung 226BW
    Screen Resolution
    1680x1050
    Hard Drives
    (1) -1 SM951 – 128GB M.2 AHCI PCIe SSD drive for Windows 7 and Lubuntu
    (2) -1 WD SATA 3 - 1T for Data
    (3) -1 WD SATA 3 - 1T for backup
    PSU
    Thermaltake 450W TR2 gold
    Keyboard
    Old and good Chicony mechanical keyboard
    Mouse
    Logitech mX performance - 9 buttons (had to disable some)
    Internet Speed
    500Mb/s
    Browser
    Firefox 64
    Other Info
    TinyWall firewall
  • Computer type
    Laptop
    System Manufacturer/Model Number
    Asus Q550LF
    OS
    Windows 7 Pro
    CPU
    i7-4500U 800MHz to 3.0GHz
    Motherboard
    Asus Q550LF
    Memory
    (4+4)G DDR3 1600
    Graphics Card(s)
    IG intel 4400 + NVIDIA GeForce GT 745M
    Sound Card
    Realtek
    Monitor(s) Displays
    LG Display LP156WF4-SPH1
    Screen Resolution
    1920 x 1080
    Hard Drives
    BX500 120G SSD for Windows and programs +
    1T HDD for data
    Internet Speed
    500 Mb/s
    Browser
    Firefox
    Other Info
    TinyWall firewall
To really do the "one disk at a time" thing correctly, get a SATA power switch:

https://www.amazon.com/PW4101-Alumi...=1512566469&sr=8-4&keywords=sata+power+switch

In this way you can keep the XP drive totally separate from the other drive.

I have Windows 7 on one hard drive, Linux Mint on another one, and my data on another one. I use the above switch to turn each drive on or off as needed. The data drive is always on, unless I am reinstalling the OS on one of the other drives, in which case all drives are off except that one drive. If I want to switch to the other OS, I power down, turn that drive on and the other off, then power up.

This method has worked extremely well for me.
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell
OS
Linux Mint 18.2 xfce 64-bit (VMWare host) / Windows 8.1 Pro 32-bit (VMWare guest)
CPU
Haswell
Memory
4 GB
Monitor(s) Displays
Acer 23"
Screen Resolution
1920 x 1080
Hard Drives
Two hard drives, 1TB each: One for Linux, one for my data.
Keyboard
IBM Model M
Antivirus
Sophos (Linux), Trend Micro (Windows)
Browser
Firefox, Opera
Other Info
I use Samba to share my data drive with the other computers at my house and with my guest session in VMWare Workstation Player.
Back
Top