View Single Post
  #20  
Old December 7th 18, 04:28 AM posted to alt.comp.os.windows-10,alt.os.linux
Paul[_32_]
external usenet poster
 
Posts: 11,873
Default How to reset dual boot Linux:Win GRUB after "inaccessible bootdevice"

Carlos E.R. wrote:
On 06/12/2018 23.53, arlen holder wrote:
On Thu, 6 Dec 2018 22:40:55 +0000, Andy D. Robinson wrote:

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?)

Drat. I apologize.
I never switch privacy nyms on purpose in the same thread.

My vpn scripts that Marek mostly wrote somehow didn't like,
I think, that I moved from Linux to Windows just now, posting from both
(where it keeps a variable based on the subject line), so something
didn't reset (a bug in those scripts somewhere as my long time Usenet
reader is "vi" and the randomizer scripts use telnet to the nntp server).


Sigh :-(


Anyway, the question that remains is simply how to gracefully
eliminate all the cross-platform OS giblets, which a
o The Windows 10 on HDD1 (WD10EFRX, sdc)
o The Windows 10 on HDD2 (Toshiba, sdb)
o The Ubuntu 17.10 on HDD2 (sdb)
o The Grub on HDD2
http://www.bild.me/bild.php?file=8520861grub12.jpg

Is it as simple as deleting C:\Windows in HDD1 (sdc) & HDD2 (sdb)?
http://www.bild.me/bild.php?file=4411450grub01.jpg

Can I just "rm -rf" to wipe out /etc/grub on HDD2 (sdb)?


That does not remove grub. The most important part of Grub is not inside
any partition or filesystem, but in some out of sight sectors.

You posted it yourself:

= Grub2 (v2.00) is installed in the MBR of /dev/sdb and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for (,msdos5)/boot/grub. It also embeds following components:


There is no clean way to delete that in Windows without special
software.


Do you mean "dd.exe" ?

We have one of those.

http://www.chrysocome.net/dd

http://www.chrysocome.net/downloads/dd-0.6beta3.zip

The "dd.exe" is a bit "cranky" and is an acquired taste.

There's also a hex editor that opens disk drives.
You have to run that as Administrator to run amok
in there. I've not seen any description of what
happens when you zero out the entire C: partition
while the OS is running :-)

https://mh-nexus.de/en/hxd/

There's all sorts of fun utilities. Even the
OS has the buildin "diskpart", which can remove
the MBR or clean an entire disk from end to end.
("Clean" and "Clean All").

There's fixboot, fixmbr, bootsect, bootrec, all
sorts of utilities. And bcdedit for adjusting
the boot menu in Vista+.

Paul
Ads