-   Linux - Laptop and Netbook (
-   -   GRUB Error 17 with a twist (

billyyoung 01-31-2013 11:20 AM

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...

Shadow_7 01-31-2013 02:29 PM

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.


billyyoung 01-31-2013 02:37 PM

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.

TobiSGD 01-31-2013 02:45 PM

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.

billyyoung 01-31-2013 02:59 PM

Yeah it has Windows 7 on it as well. How would I boot it from the GRUB command line?

Shadow_7 01-31-2013 03:15 PM

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.

billyyoung 01-31-2013 03:19 PM

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).

Shadow_7 01-31-2013 03:20 PM

You have to unplug it and pull the battery. Probably 30 seconds to be safe. What hardware are we talking about anyway?

billyyoung 01-31-2013 03:28 PM

Like laptop make?
Prostar 151EM. It's from, maybe not the most well known company.

TobiSGD 01-31-2013 03:28 PM

if the Windows 7 installation is on the first partition on the first harddisk you can start it from Grub's commandline with:

chainloader (hd0,1)+1
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.

billyyoung 01-31-2013 03:46 PM


Originally Posted by Shadow_7 (Post 4881626)
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.

Shadow_7 01-31-2013 04:07 PM

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.

gajjar8055 02-01-2013 02:05 PM

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

billyyoung 02-05-2013 10:59 AM

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.

TobiSGD 02-06-2013 04:28 AM

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.

All times are GMT -5. The time now is 01:43 PM.