Bootloader Disappeared

If none of the more specific forums is the right place to ask

Bootloader Disappeared

Postby Yarnation » 2018-12-31 15:12

I run Debian 8 exclusively with no WIndows even as a side partition. When testing a live version of Windows 7 on USB for work, I noticed it was running "Automatic Repair" but didn't think much of it until after I reset the BIOS to boot back by HD and received DIsk Boot Failure. My hard drive is ok and is recognized if I were to do a hypothetical back-up, but my laptop no longer recognizes the Debian loader anymore.

I'm not entirely sure what happened and how I can fix it without worries of me deleting all my previous files and settings.

Help? Thank you in advance.
Yarnation
 
Posts: 2
Joined: 2018-12-31 14:58

Re: Bootloader Disappeared

Postby Head_on_a_Stick » 2018-12-31 15:18

Are you booting in UEFI mode? If so then check if Secure Boot is disabled, Debian cannot boot otherwise.

You could try using the Debian ISO image to repair the bootloader:

https://www.debian.org/releases/stretch ... 07.html.en
"French riots get results! U lot are instagram zzzombies" — graffiti over Euston underpass
User avatar
Head_on_a_Stick
 
Posts: 8587
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Bootloader Disappeared

Postby Yarnation » 2018-12-31 15:29

Head_on_a_Stick wrote:Are you booting in UEFI mode? If so then check if Secure Boot is disabled, Debian cannot boot otherwise.

You could try using the Debian ISO image to repair the bootloader:

https://www.debian.org/releases/stretch ... 07.html.en


Yes, it is on EUFI, with secure boot disabled. I'll try the ISO image and see how it goes from there. Thank you!
Yarnation
 
Posts: 2
Joined: 2018-12-31 14:58

Re: Bootloader Disappeared

Postby Head_on_a_Stick » 2018-12-31 15:49

For a UEFI system it may be that Windows has changed the NVRAM entries, you can view these from the "live" environment (or the installer rescue shell, I think) by using
Code: Select all
efibootmgr

The `-o` flag can be used to change the boot order, check the man page for details.
"French riots get results! U lot are instagram zzzombies" — graffiti over Euston underpass
User avatar
Head_on_a_Stick
 
Posts: 8587
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Bootloader Disappeared

Postby Segfault » 2018-12-31 16:30

Software which makes changes to your computer without your consent is generally regarded as malware. In future, if you must, run them in confined space, like a virtual machine.
Segfault
 
Posts: 850
Joined: 2005-09-24 12:24

Re: Bootloader Disappeared

Postby Debian_purist » 2019-01-01 15:32

^
Nice advice :!:
User avatar
Debian_purist
 
Posts: 36
Joined: 2017-07-15 14:45

Re: Bootloader Disappeared

Postby kevinthefixer » 2019-01-01 22:07

Unfortunately, for many Windows is necessary, usually to run proprietary software for work. Most businesses use Windows-based money-management software, for instance. I myself found it necessary to boot into Windows about six months ago in order to program a new mouse to stay lit a steady green. The software to do that runs under WINE but, like most such proprietary hardware configuration tools, won't communicate with the hardware! My plan is to update Win7 one final time then disable its internet connection permanently and turn off updates. I'm already avoiding hardware that requires Windows support, the little mouse crawled through the cracks.
kevinthefixer
 
Posts: 124
Joined: 2018-05-05 22:30

Re: Bootloader Disappeared

Postby Debian_purist » 2019-01-02 12:29

^
:wink:
User avatar
Debian_purist
 
Posts: 36
Joined: 2017-07-15 14:45

Re: Bootloader Disappeared

Postby GarryRicketson » 2019-01-02 14:32

Well, when you put mal ware on a USB stick, then plug the usb stick into the PC, the mal ware can and will start doing things, seems to me like good practice would be to not plug usb sticks containing mal ware into the PC.
If one must use mal ware, like all ready mentioned, in a isolated virtual environment, would be best.
Segfault wrote:Software which makes changes to your computer without your consent is generally regarded as malware. In future, if you must, run them in confined space, like a virtual machine.


Like wise, some people may not realize this, but using a usb stick that has mal ware on it plugged into a PC , is not wise, the mal ware can infect the usb stick, and later infect a clean system when plugged into another PC.
User avatar
GarryRicketson
 
Posts: 5237
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Bootloader Disappeared

Postby Debian_purist » 2019-01-04 16:51

confined space


LOL , :lol: :mrgreen: :P
User avatar
Debian_purist
 
Posts: 36
Joined: 2017-07-15 14:45

Re: Bootloader Disappeared

Postby millpond » 2019-01-05 19:57

What I would try in this situation is to use a Live Stretch dvd, chroot into the drive and either reinstall, repair,or update grub.

I guess that Winbooger took out the grub MBR.
millpond
 
Posts: 626
Joined: 2014-06-25 04:56

Re: Bootloader Disappeared

Postby Head_on_a_Stick » 2019-01-05 22:23

millpond wrote:use a Live Stretch dvd, chroot into the drive and either reinstall, repair,or update grub

No need for the chroot, the Debian ISO images have a recovery option in the boot menu:

https://www.debian.org/releases/stretch ... 07.html.en
"French riots get results! U lot are instagram zzzombies" — graffiti over Euston underpass
User avatar
Head_on_a_Stick
 
Posts: 8587
Joined: 2014-06-01 17:46
Location: /dev/chair


Return to General Questions

Who is online

Users browsing this forum: No registered users and 9 guests

fashionable