LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-26-2021, 05:10 AM   #1
Olympics
LQ Newbie
 
Registered: Jul 2021
Posts: 3

Rep: Reputation: Disabled
Talking GNU grub - YouTube solution didn't work - help booting to windows?


Stuck in GNU grub
Tried to wipe Linux with disk partition manager (whoops)

... How to boot to windows? Win10 updated days ago if that helps...

Navigatinf to boot directory is issue.

ls (hd0,gpt3)/which directory to boot file?


Tried /efi as per YouTube solution - file not found. So bootable file directory still lost for me. Appreciate any help.
 
Old 07-26-2021, 11:02 AM   #2
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,640

Rep: Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697
Quote:
Originally Posted by Olympics View Post
Stuck in GNU grub
Tried to wipe Linux with disk partition manager (whoops)

... How to boot to windows? Win10 updated days ago if that helps...

Navigatinf to boot directory is issue.

ls (hd0,gpt3)/which directory to boot file?


Tried /efi as per YouTube solution - file not found. So bootable file directory still lost for me. Appreciate any help.
If you have WIPED one of the Windows partitions, recovery may not be something to expect an unexperienced non-professional to be able to accomplish. You may have to reinstall Windows in that case.

A first thing to try is the Windows recovery process. If the problem is that GRUB was not removed at the stage-1 but the linux homes stage-2 is gone, this might just get you going again.
This does assume that you did NOT totally wipe a Windows partition, and is certainly worth a try.
I have nto run Windows since before EFI was a "thing", so I cannot vouch for the recovery systems ability to rebuild the EFI mount and partition.
 
Old 07-26-2021, 03:28 PM   #3
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,524

Rep: Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494
If you were booting whichever Linux OS you installed and windows 10 from the Grub boot menu and deleted the Linux partition, you deleted the majority of the Grub boot files which are on the Linux system partition. If windows 10 is EFI, there should be an entry for windows 10 in the Boot Options of the BIOS firmware. Have you tried that?

Quote:
ls (hd0,gpt3)/which directory to boot file?
If that was your Linux partition and you actually deleted it from windows, that won't help as it doesn't exist. You could try booting windows from a grub prompt (grub>) with the entry below, change the (hd0,gpt1) to whatever your EFI partition is.

Quote:
chainloader (hd0,gpt1)/EFI/Microsoft/Boot/bootmgfw.efi
 
1 members found this post helpful.
Old 07-26-2021, 04:59 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,130

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
Go into the firmware menus (what we used to call the BIOS) and choose the Win10 entry to boot, then set it as the default. Fixed.
 
Old 07-26-2021, 11:39 PM   #5
Olympics
LQ Newbie
 
Registered: Jul 2021
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by syg00 View Post
Go into the firmware menus (what we used to call the BIOS) and choose the Win10 entry to boot, then set it as the default. Fixed.
How to accomplish this from Grub command line?
 
Old 07-27-2021, 05:06 AM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by Olympics View Post
How to accomplish this from Grub command line?
No, that's before Grub.
Hardware dependent hotkeys will get you into BIOS.
 
Old 07-27-2021, 05:26 AM   #7
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,354

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
Quote:
How to accomplish this from Grub command line?
See if fwsetup works to get you to the firmware/bios menu from the grub prompt. If not it will be by pressing one of the f-keys or maybe the esc or shift key when you first hit the power button to turn on the system.
 
1 members found this post helpful.
Old 07-27-2021, 06:32 AM   #8
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,524

Rep: Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494
Quote:
How to accomplish this from Grub command line?
Explained in post 3. If that doesn't work you need to select the EFI option in the BIOS firmware as suggested in several posts above. Do you know how to access the BIOS?
 
Old 07-27-2021, 11:09 AM   #9
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,587
Blog Entries: 19

Rep: Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455
This is a classic case of "Youtube syndrome". I'm not blaming the OP; I'm blaming the people who put these videos up on Youtube and often don't really know what they are doing. An innocent newbie follows their instructions and hoses his system.

I wish there was some way of grading these videos because at present it's a jungle out there.
 
1 members found this post helpful.
Old 08-03-2021, 10:51 PM   #10
Olympics
LQ Newbie
 
Registered: Jul 2021
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
See if fwsetup works
Yes that worked. now I don't know the BIOS password. Is there any way around that short of removing the circuit board and short circuiting the SCA SLC thingo. Struggling to get the circuit board loose
 
Old 08-07-2021, 08:12 PM   #11
asherbuechel
LQ Newbie
 
Registered: Aug 2021
Location: Washington
Distribution: Proxmox, Alpine, Raspbian
Posts: 2

Rep: Reputation: Disabled
"Tried to wipe Linux with disk partition manager (whoops)"

You WHAT? You have to install Windows.
 
Old 08-08-2021, 03:28 PM   #12
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,640

Rep: Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697
Quote:
Originally Posted by asherbuechel View Post
"Tried to wipe Linux with disk partition manager (whoops)"

You WHAT? You have to install Windows.
We all know now that he should have repaired the Windows boot before removing Linux. He did not know that when he started. Too late to go back unless you have a time machine.
 
  


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
LXer: How To Cast YouTube Videos From Your Phone To Raspberry Pi Using YouTube On TV (youtube.com/tv) LXer Syndicated Linux News 0 04-16-2021 01:30 AM
[SOLVED] i didn't find "grub.cfg" file on /boot/grub/ Carl_cj Slackware 14 11-16-2014 09:21 AM
Infinite Grub Loop: GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB... beeblequix MEPIS 2 11-02-2013 10:56 PM
Booting my new ubuntu install = "GRUB GRUB GRUB GRUB GRUB" etc. dissolved soul Ubuntu 2 01-13-2007 12:55 PM
grub configuration didn't work Greebstreebling Debian 9 12-21-2005 04:54 PM

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

All times are GMT -5. The time now is 05:58 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