LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-06-2015, 11:32 AM   #1
ConeofShame
LQ Newbie
 
Registered: Aug 2015
Posts: 2

Rep: Reputation: Disabled
Unhappy Will deleting hard drive partitions reset the grub boot loader?


I recently got a new computer for college, and since I am going into computer science I decided that I needed to learn Linux so I installed Fedora 22 as dual-boot with windows 10. However, since I don't know jack about Linux, I didn't even know how to install packages so I couldn't get proper drivers for anything working. So, I decided to uninstall Fedora and just VM it until I actually know what I am doing. I followed instructions for uninstalling fedora for bios instead of uefi, which said to delete Fedora partitions, only some of which I was able to delete, and then to reset the mbr using Windows recovery. While I did delete the main Fedora partition, the computer still boots to grub which has 2 options that don't work, and to boot to windows I have to select windows boot manager in the uefi bios menu. After trying a bunch of things not really knowing what I was doing, it still boots to grub.

I would like to wipe the hard drive, or the hard drive's partition table, and reset with a fresh windows install from recovery media. My questions are: Will this reset the boot manager--is the boot manager stored on the hard drive or on ROM? How should I go about resetting the hard drive, and is it possible to brick the hard drive If I do something wrong?

Sorry for my ignorance, I don't really think things through before I try them, and thanks for any help or advice.
 
Old 08-06-2015, 11:59 AM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Doesn't the recovery media have a "wipe" option? It should. Or rather it should have a full restore option. That should return the system to the original form.
 
Old 08-06-2015, 12:02 PM   #3
goumba
Senior Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Fedora, OpenSUSE, FreeBSD, OpenBSD, macOS (hack). Past: Debian, Arch, RedHat (pre-RHEL).
Posts: 1,335
Blog Entries: 7

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
The recovery media should restore everything, including the bootloader. At least it did on my machines.

Before you do that, go into your UEFI settings (From Windows 8: Charms bar -> Search -> Advanced Start Up. Click Troubleshoot then Find the option for entering UEFI, I forget the exact name, maybe PC Setup or Settings). Find if your flavor of UEFI has a Boot tab, and under that tab set the Windows as default delete all non Windows entries, save, and see if that works.
 
Old 08-06-2015, 12:31 PM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,502

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
Quote:
Will deleting hard drive partitions reset the grub boot loader?
No. If you were using MBR method to boot there would still be Grub boot code there. If you were using UEFI, there is a separate partition which contains the boot files for windows and Linux on an EFI partition and nothing in the MBR. Which were you using? You might go to the site below and download and run the bootinfoscript and post the output here as it will provide a lot of detail on your system. You would need to run it from Linux so you could use the Fedora install medium.

http://sourceforge.net/projects/bootinfoscript/
 
Old 08-06-2015, 01:36 PM   #5
ConeofShame
LQ Newbie
 
Registered: Aug 2015
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks everyone for your help. I did as rtmistler suggested and used the windows full reset and it reset the bootloader, so I am now booting straight to windows. It was a UEFI system.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] how can I incorporate windows boot loader into grub? Triple boot, single hard drive olkirf Linux - Newbie 8 10-24-2010 08:36 AM
recovering from grub-install /dev/hda1 deleting windows XP boot loader Steve Mading Linux - Software 7 02-22-2010 07:53 PM
i want to boot windows xp from grub loader and want to delete all linux partitions pankajd Linux - Software 1 05-30-2009 08:23 AM
grub boot loader with external SATA hard drive james2b Linux - Newbie 1 03-24-2008 05:27 AM
Two hard disks - dual boot ( XP - Linux ) using microsoft boot loader, not grub cristy88 Linux - General 2 12-17-2007 06:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration