LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 11-18-2013, 11:43 AM   #1
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444

Rep: Reputation: 340Reputation: 340Reputation: 340Reputation: 340
Please help me to understand what happened to my bootloader


Computer is dual-booting W7 and Ubuntu 12.04LTS.
Last normal boot was into W7, the user closed the laptops lid and unplugged the power cord. The laptop ran out of battery while W7 was lock under hibernation or sleep mode.
Next boot GRUB error, so cant boot either OS, wha happened here?

I quickly re installed grub by 'chroot'ting the Ubuntu /root partition from a live CD. Reboot the computer and I got the 'grub>' prompt.

I booted into Ubuntu by issuing commands
Code:
grub> search --set=root --file /vmlinuz
Code:
grub> linux /vmlinuz root=/dev/sda1
Code:
grub> boot
Once in Ubuntu I open a terminal and type
Code:
$sudo update-grub
and it acts like it is generating a config file for GRUB but when I reboot I always get the
grub> prompt again.

I will appreciate all advice, thank you
 
Old 11-18-2013, 03:02 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,499

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
Go to the site below and download and run the bootinfoscript. It will give you a lot of details on your partitions, boot files etc.

http://sourceforge.net/projects/bootinfoscript/
 
1 members found this post helpful.
Old 11-18-2013, 03:54 PM   #3
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444

Original Poster
Rep: Reputation: 340Reputation: 340Reputation: 340Reputation: 340
Thank you I was able to see all that information. it is showing on this pastebin url http://paste.ubuntu.com/6439733/
I will appreciate all advice.

Thank you.
 
Old 11-19-2013, 02:35 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,125

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
I would guess Win7 has trampled on some of the "unused" sectors after the MBR (not sector 2). update-grub only regenerates the .cfg - look for grub-install to rebuild the MBR. Or let boot-repair fix it for you (not that I fully trust that).
 
1 members found this post helpful.
Old 11-19-2013, 05:09 AM   #5
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444

Original Poster
Rep: Reputation: 340Reputation: 340Reputation: 340Reputation: 340
Thank you. I ran the boot repair tool from Ubuntu and that fixed the problem here is the link to the boot repair https://help.ubuntu.com/community/Boot-Repair
 
  


Reply

Tags
bootloader, dual boot, grub 2



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 to start Grub2-bootloader from extlinux-bootloader? floppy_stuttgart Linux - Newbie 13 11-13-2011 06:43 PM
Grub bootloader overwritten by WinXP bootloader, all other os' gone! craigforsure Linux - Newbie 5 03-29-2010 02:49 AM
Replace GRUB Bootloader with WIN NT Bootloader wombat53 Linux - Software 1 09-04-2009 08:56 AM
Windows 2000 Bootloader vs. Mandriva LILO Bootloader Dregnan Mandriva 7 12-03-2007 09:55 PM
How can I disable the grub bootloader and enable the lilo bootloader? abefroman Linux - General 1 08-06-2005 08:53 AM

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

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