LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-30-2015, 06:26 PM   #1
Basher52
Member
 
Registered: Mar 2004
Location: .SE
Distribution: Arch
Posts: 377

Rep: Reputation: 22
Fedora/Win7x64 DualBoot now in Boot Loop after wrong GRUB menu selected.


I know I should give you the version of my Fedora but since I can't remember totally and since I KNOW (think really) that the reason for this boot loop is that the GRUB menu selection was for the 'Windows Recovery Partition' that I removed to install this version of Fedora. For me that makes me think that GRUB tries to start a boot loader that ain't there anymore.
The question now is how I make this boot loop go away because I think grub, Fedora and the windows system is all OK.
I tried powering off the laptop and removed the battery but it still keeps looping.

First I see the graphics for the Fn buttons to push to get into BIOS and such but NOT!! the normal boot text that shows me CPU speed, memory and such, it just goes directly to the grub boot loop. The text "GRUB Loading" and the screen blacks out and this loops.

One think that I saw when googling that wasn't exactly perfect for my case but I read it anyway and that was that "boot loop" as he called it, is saved in the 'SWAP' but is that true? I don't want to clear something that maybe makes even more fuss then it already is.
But the boot selection seems to be stored somewhere as it tries that right away instead of doing a "normal" boot that makes me do the GRUB selection again.

Hope you all understand my description of the problem.
 
Old 06-30-2015, 09:11 PM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
I tried powering off the laptop and removed the battery but it still keeps looping.
It is still in the boot loop, even after removing the battery? Scary.

Quote:
"boot loop" as he called it, is saved in the 'SWAP' but is that true?
No.

Quote:
But the boot selection seems to be stored somewhere
Sure. In Fedora's /boot directory, which is usually a separate disk partition.

Quote:
Hope you all understand my description of the problem.
I do understand that you see some BIOS text, then "grub loading", then a black screen, and start from the beginning.
Suggestion: Boot from a CDROM or a USB stick and inspect your grub configuration. Recreate your boot sector with grub-install. Not extremely easy, and requires some care to avoid overwriting the wrong disk sectors.

Assuming this is Grub2, three useful resources:
 
Old 06-30-2015, 09:14 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,612

Rep: Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649
Quote:
I know I should give you the version of my Fedora but since I can't remember
if you are not going to bother to tell us your version of fedora
and if you are using GRUB 2 or the old LEGACY grub0.9

figure it out your self

ONLY!!!
Fedora 22 and Fedora 21 are supported
if this IS NOT one of those two

install the CURRENT and supported version

Last edited by John VV; 06-30-2015 at 09:15 PM.
 
Old 06-30-2015, 10:13 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 20,952

Rep: Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073
After the screen that shows the Fn keys, the screen will go blank for a second. Hit the <Shift> key as soon as it goes blank - should give you the grub boot menu. Pick the system you want.
Proceed.
 
Old 07-01-2015, 03:38 AM   #5
Basher52
Member
 
Registered: Mar 2004
Location: .SE
Distribution: Arch
Posts: 377

Original Poster
Rep: Reputation: 22
@berndbausch: What I meant was is the selected/chosen menu selection saved in that partition too? (not just the menu itself) and if so where to clean that selection my wife made made.
@syg00: I'll try that when I get over there but it's about 60 km away from me now used by my wife so I have to drive over there and check/try this.

Last edited by Basher52; 07-01-2015 at 04:01 AM.
 
Old 07-01-2015, 06:17 AM   #6
Basher52
Member
 
Registered: Mar 2004
Location: .SE
Distribution: Arch
Posts: 377

Original Poster
Rep: Reputation: 22
@syg00: Nope that didn't work.
@berndbausch: Yes Grub2, seems to be F17-x64

Update: Another thing is that I LiveUSB can't seem to mount the 'root' partition since it's encrypted.

Last edited by Basher52; 07-01-2015 at 06:21 AM.
 
Old 07-01-2015, 07:09 AM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 20,952

Rep: Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073
Too many incomplete details. Is it encrypted (was it previously), or is it corrupted ?. What message do you get ?.
If it is encrypted with luks, this should open it then you can mount /dev/mapper/tempry somewhere and look at it - replace the "?" with the correct partition
Code:
cryptsetup open /dev/sda? tempry
If it's corrupted (not encrypted) you have bigger problems - restore or rebuild.
 
Old 07-01-2015, 08:06 AM   #8
Basher52
Member
 
Registered: Mar 2004
Location: .SE
Distribution: Arch
Posts: 377

Original Poster
Rep: Reputation: 22
Sorry, didn't see this. I got the cryptsetup now but now I'm into the chrooting face. Partition is OK as I figured.
I'll see what happens, I'll get back to ya
 
Old 07-01-2015, 09:34 AM   #9
Basher52
Member
 
Registered: Mar 2004
Location: .SE
Distribution: Arch
Posts: 377

Original Poster
Rep: Reputation: 22
grub-install done and still same boot loop.
But all partitions can be mounted and is OK

Last edited by Basher52; 07-01-2015 at 09:35 AM.
 
Old 07-01-2015, 10:06 AM   #10
mralk3
Slackware Contributor
 
Registered: May 2015
Distribution: Slackware
Posts: 1,848

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
When my boot loader breaks, I usually boot my system with super grub.

http://www.supergrubdisk.org/

After my system is booted, I usually reinstall grub from the installed operating system. This process has not failed me with various setups. I have not tried it with encrypted file systems, but I do not see why it wouldn't work.

Another option to try is the Ultimate Boot CD. Which, according to the software page, includes super grub and super grub 2.

https://www.ultimatebootcd.com/


You should be able to reinstall grub directly from both of these live cds as well, if memory serves me right. It's been a while since I broke my boot loader.

EDIT: Grammar

Last edited by mralk3; 07-01-2015 at 10:07 AM.
 
1 members found this post helpful.
Old 07-01-2015, 12:34 PM   #11
Basher52
Member
 
Registered: Mar 2004
Location: .SE
Distribution: Arch
Posts: 377

Original Poster
Rep: Reputation: 22
Tried supergrub and fixed it
thx
 
Old 07-01-2015, 04:14 PM   #12
mralk3
Slackware Contributor
 
Registered: May 2015
Distribution: Slackware
Posts: 1,848

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Fedora/Win7x64 DualBoot now in Boot Loop after wrong GRUB menu selected.

Please mark this thread as solved.
 
  


Reply

Tags
boot loop, dual boot, grub, removed partition


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 come I can't edit /boot/grub/grub.conf or /boot/grub/menu.lst in Fedora 14? trien27 Fedora 4 01-22-2011 04:02 PM
Grub, which menu option selected afterall Erhnam Linux - General 1 01-09-2010 06:58 AM
[SOLVED] grub shell during boot (something wrong with my menu.lst?) Meson Linux - General 5 10-02-2009 12:38 AM
Installed Fedora as dual boot but Grub boot menu is not showing up nilocjin Linux - Newbie 4 06-03-2009 02:09 PM
Grub question, wrong menu.lst on boot Armane Debian 7 03-27-2007 06:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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