On 04/12/2018 13.56, Paul wrote:
Attempts to edit the GRUB menu on HDD3 will be fruitless,
because each kernel upgrade install will only cause update-grub
and re-generate things. I couldn't find any documents to suggest
the GRUB menu build process could be "trimmed" in any way.
Removing OS-prober will prevent GRUB from seeing any Windows
OS, but then it's not much of a multiboot machine any more.
You can easily create your own menu and disable os-prober.
It sounds like, for some reason, with HDD3 alone, you're booting
from HDD3. (Since you clean installed Windows 10, GRUB is no longer
on HDD3.)
Then, when you connect HDD1 and HDD2 before the boot process begins,
your computer is booting via HDD2. Using popup boot function key,
you should be able to tell it to boot from HDD3, while the
other two disks are present.
To start, it's a matter of entering the BIOS, while
all three hard drives are connected, and specifying HDD3
as the boot device. Then the GRUB on HDD2 can't do anything.
When you install Ubuntu 18.04 on HDD3 soon, you can temporarily
disconnect HDD1 and HDD2, just for the sake of a lack of hair
loss.
GRUB will take over HDD3. After installation, power down,
connect HDD1 and HDD2, enter the BIOS, verify HDD3 is the
boot device, and boot. The now-working GRUB on HDD3 will be...
just fine.
Your Inaccessible Boot Device, could have been caused by the
BIOS losing settings during the power outage. Using a multimeter,
clip the black lead onto chassis, touch the red lead to the
top of the CR2032 coin cell, and see if it's at least 3V.
Replace the CR2032 coin cell if it is flat. Verify the SATA
port settings are correct for the Win10 on HDD3 (or it will
go "Inaccessible Boot Volume" as well).
If you lost BIOS power, the SATA ports could revert to a different
setting than the Windows 10 on HDD2 was using. You need to boot
Windows 10 HDD2 in Safe Mode, to allow the drivers to re-load
for the new SATA settings.
Right now, one copy of Windows 10 could be using ATA IDE on the
SATA port, the second Windows 10 could be using the AHCI on SATA.
Since Hot Plug is obviously working, you're probably AHCI in the
BIOS now, which is how you installed Windows 10 on HDD3. You need
to work on the Windows 10 on HDD2 until you get the right
driver to load so it's AHCI too. Safe Mode can be achieved more
than one way, and a BCDEDIT to put the boot menu there is my
preferred method. However, the presence of GRUB and chainloading,
may actually result in Win10 HDD2 no longer presenting the boot menu
(since chainloading "jumps past" that boot menu and jumps
straight into the OS loading stage).
Hi Paul, Wildman, and Carlos,
(I will respond to Paul's advice separately, as this is already long.)
Thanks for your good advice:
GRUB_DISABLE_OS_PROBER=true"
Which is what I needed and will take, as much as I understand it, as I readily admit I never really understood how grub works (since it installs itself in a dual-boot setup) and where you have explained to me already
more than I knew about my own Grub setup!
This is what Grub found this morning, booting with all 3 HDDs powered on: <http://www.bild.me/bild.php?file=6315743grub_02.jpg>
o Ubuntu
o Advanced options for Ubuntu
o Memory test
o Windows 10 (on /dev/sda1)
o Windows 10 (on /dev/sda2)
o Windows 10 (on /dev/sda3)
I have never really understood this "sda" SCSI drive nomenclature since I never use terms like "sda" except when I'm forced to,
so I had assumed
(wrongly it turns out) that sda3 must contain the latest Windows 10, but choosing sda3 failed to boot no matter what options I tried:
<http://www.bild.me/bild.php?file=7780746grub03.jpg>
o Preparing Automatic Repair
o Diagnosing your PC
o Your PC did not start correctly
The same sequence happens with sda2, so sda2 and sda3 must be HDD1 and HDD2 (each of which has an "old" Windows 10), where HDD2 definitely also has the older Ubuntu dual boot setup that I had never bothered to wipe out (but
where I don't know if that HDD2 is sda2 or sda3 yet since I never use sda SCSI-drive nomenclature except in debugging situations).
The question is "where is grub coming from", given that HDD3 (which previously had Windows 10 1803 + Ubuntu 18.04) was just "wiped out" a week
or so ago using a Windows 10 1809 ISO to perform a clean install on that HDD3. [It seems clear that Grub must be coming from HDD2 since that's the only possibility left!]
After the recent power interruption destroyed Windows 10 1803, I was able
to boot to Ubuntu 18.04, so it was only Windows that was affected by the power outage.
Nonetheless, I wanted to start both new and clean, so I explicitly disconnected HDD1 and HDD2 before I booted to a newly made Windows 10 1809 ISO and then I told that Windows 10 1809 boot GUI to destroy the previous Ubuntu 18.04 partition along with the previous Windows partition (where the plan is to install Ubuntu 18.10 as the dual boot companion to Windows 1809:
o <http://releases.ubuntu.com/18.10/>
o <http://releases.ubuntu.com/18.10/ubuntu-18.10-desktop-amd64.iso>
Given that, I had "thought" (and intended) that I wiped out Grub2 at the
same time, which I probably did ... but only on HDD3 was grub wiped out (apparently).
Subsequent booting on HDD3 (with both HDD1 and HDD2 disconnected) showed no hint of Grub, as HDD3 booted right to Windows (where I will add Ubuntu
18.10 soon).
Before I do that, I need to better figure the "boot sequence with grub"
out, since I had "thought" that connecting HDD3 explicitly on the
motherboard SATA1 port was how to tell the computer to boot to that
specific OS (which is the only working windows left).
But somehow, when I connect HDD2 and HDD1, the older Grub (from Ubuntu
17.04) is taking over, which is the sequence I need to try to understand, since it's certainly an "older grub" that I don't want to be active.
I saw Carlos' suggestion of:
">You can easily create your own menu and disable os-prober."
Where I agree that the 'wrong' grub is running, which is then finding the "wrong" Windows to attempt the booting process.
Select what disks to boot first here: <http://www.bild.me/bild.php?file=9539818grub04.jpg>
Note 1: It usually is a list; if the first entry fails, it tries to boot
the second, then the third, till one boots - or none. In that list, HDD3
is not the first.
Note 2: I would suggest to leave HDD3 alone and install Ubuntu on HDD1 or 2.
Note 3: Don't disable os-prober unless you know how to boot the computer
with a broken grub. A mistake puts you out of commission.
Just about everything on those disks, can be torn
apart and reassembled, and lashed together again.
And Arlen is the person to do it. A little Macrium
here (partition movement), some LiveCD there, and
you can fix it.
Wait, the photo you posted is very different from your text above. It displays:
o Ubuntu
o Advanced options for Ubuntu
o Memory test
o Windows 10 (on /dev/sda1)
o Windows 10 (on /dev/sdb1)
o Windows 10 (on /dev/sdc1)
Those are three different disks, the first partition of each one.
Paul wrote:
Just about everything on those disks, can be torn
apart and reassembled, and lashed together again.
And Arlen is the person to do it. A little Macrium
here (partition movement), some LiveCD there, and
you can fix it.
I sense that Arlen needs to understand grub's 3 parts better. Maybe he could visit the wp article and the grub docs in whatever depth
necessary. He could also use some repair tools just to examine what he
has before he tries to take them apart and reassemble, such as supergrub
2, rescatux, or boot-repair from a live cd/usb. Even a little hex dump could see grub's part 1 'signature' in the mbr.
He has 3 tera worth of disks there, 2 WDs & a Tosh. I would hope
there's enough spare space to move some things around.
Where HDD3 was already set up in the BIOS to boot first:
<http://www.bild.me/bild.php?file=1696675grub07.jpg>
What "seems" to be happening is:
o Disconnecting HDD2 & HDD3, Windows boots from HDD3.
o Connecting HDD2 & HDD3, Grub on either HDD2 or HDD3 takes over!
Or, you can just use "bootinfoscript" script, and it will tell you how
boot is organized.
Download from here and run - in Linux, of course, but a live may do -:
<https://github.com/arvidjaar/bootinfoscript/raw/master/bootinfoscript>
Or, you can just use "bootinfoscript" script, and it will tell you how
boot is organized.
Download from here and run - in Linux, of course, but a live may do -: <https://github.com/arvidjaar/bootinfoscript/raw/master/bootinfoscript>
Or, you can just use "bootinfoscript" script, and it will tell you how
boot is organized.
Download from here and run - in Linux, of course, but a live may do -:
<https://github.com/arvidjaar/bootinfoscript/raw/master/bootinfoscript>
Windows 7/8/2012 is installed in the MBR of /dev/sda.the same hard drive for core.img. core.img is at this location and looks
Grub2 (v2.00) is installed in the MBR of /dev/sdb and looks at sector 1 of
Windows 7/8/2012 is installed in the MBR of /dev/sdc.
If you don't want the other OSes, delete the OS giblets,
so that nobody, not the OS itself, nor any OS-prober, can
detect them.
The question is what's the most graceful way to clear the OS giblets?
Do I simply wipe out C:\Windows on HDD2 (sdb) and HDD1 (sdc)?
(Is it _that_ easy? Or will that open a new can of worms?)
Sysop: | Weed Hopper |
---|---|
Location: | Clearwater, FL |
Users: | 14 |
Nodes: | 6 (0 / 6) |
Uptime: | 231:48:40 |
Calls: | 55 |
Calls today: | 1 |
Files: | 50,127 |
D/L today: |
34 files (4,425K bytes) |
Messages: | 275,411 |