You are not logged in.

#1 2012-01-21 13:10:52

phunni
Member
From: Bristol, UK
Registered: 2003-08-13
Posts: 794

Grub error 17 problem

Having updated my BIOS, I'm now getting Grub error 17.  Having followed the instructions in the wiki, fdisk tells me that there is nothing to fix.  At this point I'm unclear as to why I'm having a problem and how I might fix it.  My menu.lst points to root as being /devmapper/vg-sysroot - which is correct.

Offline

#2 2012-01-21 13:14:45

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,516
Website

Re: Grub error 17 problem

Can you post your menu.lst so we can all be on the same page?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2012-01-21 13:29:44

phunni
Member
From: Bristol, UK
Registered: 2003-08-13
Posts: 794

Re: Grub error 17 problem

Of course:

# general configuration:
timeout   5
default   0
color light-blue/black light-cyan/blue

# boot sections follow
# each is implicitly numbered from 0 in the order of appearance below
#
# TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
#
#-*

# (0) Arch Linux
title  Arch Linux
root   (hd0,0)
kernel /vmlinuz-linux root=/dev/mapper/vg-sysroot ro vga=773 quiet
initrd /initramfs-linux.img

# (1) Arch Linux
title  Arch Linux Fallback
root   (hd0,0)
kernel /vmlinuz-linux root=/dev/mapper/vg-sysroot ro vga=773 quiet
initrd /initramfs-linux-fallback.img

Offline

#4 2012-01-21 15:42:53

phunni
Member
From: Bristol, UK
Registered: 2003-08-13
Posts: 794

Re: Grub error 17 problem

Also entering

find /grub/stage1

into grub returns hd(0,0) - as expected

Offline

#5 2012-01-21 16:15:04

phunni
Member
From: Bristol, UK
Registered: 2003-08-13
Posts: 794

Re: Grub error 17 problem

The annoying thing is I wouldn't object to reinstalling arch, but I can't boot from USB and can't burn an install CD!

Offline

#6 2012-01-21 16:24:41

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,542

Re: Grub error 17 problem

There are two solutions to GRUB ERROR 17:
Use a live linux CD (anything will work that has a boot loader on it that you can use to boot load and get back into your system, just point it to your kernel), One of the older Arch Linux CDs has one that will install command-line grub right to the partition. 
Once you get into your machine up and running  (possibly schrooted) re-run grub installer.

There are other methods: booting from g/i/PXE floppy disk/CD image/memdisk or GRUB4DOS.EXE

If you can get into grub command-line (which is usually not the case with error 17), you can manually point grub to your kernel, just by typing the lines you have posted (menu.lst) above one line at a time.

Last edited by nomorewindows (2012-01-21 16:26:27)


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#7 2012-01-22 14:55:55

phunni
Member
From: Bristol, UK
Registered: 2003-08-13
Posts: 794

Re: Grub error 17 problem

I have tried this via command line grub in a live CD (Knoppix) with no success.

Offline

#8 2012-01-22 19:06:45

phunni
Member
From: Bristol, UK
Registered: 2003-08-13
Posts: 794

Re: Grub error 17 problem

I've re-installed the OS and the problem is now fixed. It probably didn't require that, but it was time for a tidy up anyway.

Offline

Board footer

Powered by FluxBB