LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices



Reply
 
Search this Thread
Old 01-31-2013, 12:20 PM   #1
billyyoung
LQ Newbie
 
Registered: Jan 2013
Posts: 8

Rep: Reputation: Disabled
GRUB Error 17 with a twist


I stupidly decided to try and delete my Linux partition on my laptop. I then put it into hibernate.
When I booted it up, my laptop tried to "resume from hibernation" and then went to the GRUB menu only to show Error 17 (this now happens every time I boot up my laptop). Is there any way I can start my laptop so that I can boot from a Live CD? Hopefully it isn't perpetually stuck like this...
 
Old 01-31-2013, 03:29 PM   #2
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 1,554

Rep: Reputation: 241Reputation: 241Reputation: 241
I think I got that once when legacy grub was in the MBR, but grub2 was the bootloader for the distro. It's because the MBR says to load the rest of grub elsewhere and there's nothing there anymore. You can boot from a grub CD, if booting a CD isn't the issue. And you can command line boot a linux install if you don't have a workable config on that grub cd. Easier said than done, but it's a possibility.

$ grub-mkrescue -o grub.iso
$ k3b grub.iso

For a basic bootable grub without configuration (command line only). And then basically everything between menuentry { ... } in /boot/grub/grub.cfg you will have to type in manually for the boot option you want. Followed by boot (or chainloader +1 for non-linux's). At least in grub2.

HTH
 
Old 01-31-2013, 03:37 PM   #3
billyyoung
LQ Newbie
 
Registered: Jan 2013
Posts: 8

Original Poster
Rep: Reputation: Disabled
Unhappy

Booting from CD seems to be an issue though since the computer always starts up "resuming from hibernation" so there's no option to boot from CD.
 
Old 01-31-2013, 03:45 PM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,653
Blog Entries: 2

Rep: Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095
To get rid of the "resuming from hibernation" thing I assume that you have to load an OS. Are there other OSes on that machine?
If so, which ones? It should be possible to boot an OS from Grub's command-line.
 
Old 01-31-2013, 03:59 PM   #5
billyyoung
LQ Newbie
 
Registered: Jan 2013
Posts: 8

Original Poster
Rep: Reputation: Disabled
Yeah it has Windows 7 on it as well. How would I boot it from the GRUB command line?
 
Old 01-31-2013, 04:15 PM   #6
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 1,554

Rep: Reputation: 241Reputation: 241Reputation: 241
You might need to unplug it from the wall and pull the battery for a short period to get it to boot normally. Or something else odd like spamming F8 while booting.
 
Old 01-31-2013, 04:19 PM   #7
billyyoung
LQ Newbie
 
Registered: Jan 2013
Posts: 8

Original Poster
Rep: Reputation: Disabled
How long is a "short period"? I tried pulling the battery out for several seconds before putting it back and starting up the laptop but it still resumed from hibernation. If I can get it to boot normally I can then boot from a live CD I have and get to fixing it (hopefully).
 
Old 01-31-2013, 04:20 PM   #8
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 1,554

Rep: Reputation: 241Reputation: 241Reputation: 241
You have to unplug it and pull the battery. Probably 30 seconds to be safe. What hardware are we talking about anyway?
 
Old 01-31-2013, 04:28 PM   #9
billyyoung
LQ Newbie
 
Registered: Jan 2013
Posts: 8

Original Poster
Rep: Reputation: Disabled
Like laptop make?
Prostar 151EM. It's from pro-star.com, maybe not the most well known company.
 
Old 01-31-2013, 04:28 PM   #10
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,653
Blog Entries: 2

Rep: Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095
if the Windows 7 installation is on the first partition on the first harddisk you can start it from Grub's commandline with:
Quote:
chainloader (hd0,1)+1
boot
If it boots and you make it restart normally the resume-message should disappear, so that you can use the disc-drive again to install a Linux.
 
Old 01-31-2013, 04:46 PM   #11
billyyoung
LQ Newbie
 
Registered: Jan 2013
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Shadow_7 View Post
You might need to unplug it from the wall and pull the battery for a short period to get it to boot normally. Or something else odd like spamming F8 while booting.
Doesn't seem like unplugging it, then removing the battery for a bit gets it to boot normally.
 
Old 01-31-2013, 05:07 PM   #12
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 1,554

Rep: Reputation: 241Reputation: 241Reputation: 241
Try some of the hotkey options / combos. Tried looking at the ones for your bios and Fn+ESC is about all I could come up with. In theory that puts it into sleep mode. But hibernate isn't sleep mode. You basically have to get to the bios somehow. Press and hold the power button 5 seconds? And start it up again? Maybe you have more than one battery and need to find / remove that other battery as well.

My old vaio had an option to put a battery where the cd drive went. But the 2nd battery cost as much as the computer at the time. Otherwise try to boot while spamming the ESC key ... then again spamming each of the F# keys until you get to the bios. It varies depending on bios, but most generally have a start screen that says which in one of the corners when you first power it up.
 
Old 02-01-2013, 03:05 PM   #13
gajjar8055
LQ Newbie
 
Registered: Oct 2012
Posts: 2

Rep: Reputation: Disabled
There is one tool is availabe for Grub I think it will help to out from this problem
Tool Is Rescuetux

Last edited by gajjar8055; 02-01-2013 at 03:06 PM. Reason: Spelling Problem
 
Old 02-05-2013, 11:59 AM   #14
billyyoung
LQ Newbie
 
Registered: Jan 2013
Posts: 8

Original Poster
Rep: Reputation: Disabled
UPDATE: I ended up sending my laptop in to a shop. They were able to fix the bootloading and "resume from hibernation" issue but the guy said that when I deleted some hard drive partitions I royally messed up my hard drive and caused it to start failing... Getting a new hard drive for my laptop now and everything looks like it'll be ok.
 
Old 02-06-2013, 05:28 AM   #15
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,653
Blog Entries: 2

Rep: Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095
I never heard that making/deleting partitions caused hardware errors. If I where you I would keep the old disk to make sure that it is really faulty and they are not trying to betray you.
 
  


Reply


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
Grub File Not found Grub Rescue Error on External Sata to USB Drive imayneed Linux - Newbie 11 08-22-2012 03:56 AM
[SOLVED] Grub can't find grub.cfg when booting - error: no such device Breagha Linux - Software 8 03-14-2010 01:40 PM
Grub error 17, and wont reinstall using grub-install! chiefreborn Linux - General 6 06-06-2007 11:29 AM
Grub Error 17: Cannot mount selected partition and other Grub problems Sebastian Naitsabes Linux - General 1 07-05-2005 09:33 AM
Gentoo Nvidia error (with a twist!) Wonko the Sane Linux - General 2 11-10-2003 03:41 AM


All times are GMT -5. The time now is 06:33 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration