GRUB Error 17

Proxy One

Mr. Avatar 2010
🎂Rätsel-Elite ’09
Registriert
Apr. 2005
Beiträge
589
Hallo Community,

Ich hab mir bereits die zahlreich vorhandenen Threads hier im Forum zu meinem Problem durchgelesen, hat mir jedoch bei meinem Problem nicht geholfen. Über Google find ich auch keine wirkliche Lösung, deshalb frage ich direkt nach.

Zunächst mal die Situation:

Bis vor 2 Tagen hatte ich im Rechner eine einzige Festplatte drin, mit 2 Partitionen, auf der einen ist WinXP Pro 32Bit SP3 drauf, die andere ist eine leere NTFS Partition für Backups.

Dann entdeckte ich im Schrank noch ne alte 30GB Festplatte, und aus Langeweile wollte ich darauf wieder einmal Kubuntu installieren, um ein wenig darauf experimentieren zu können.

Ich habe Kubuntu 8.04.1 dann auf die zweite Platte installiert und die Partitionierung dem Installationsprogramm überlassen. Bei der Installation habe ich als Zielort für GRUB ebenfalls die zweite Platte ausgesucht, damit der MBR von Windows nicht überschrieben wird. Die Installation hat soweit ohne Probleme geklappt.

Wenn ich nun im GRUB Bootloader Kubuntu wähle kommt die Fehlermeldung
"Error 17: Cannot mount selected partition".
WinXP lässt sich ebenfalls nicht booten, wobei folgende Fehlermeldung erscheint: "Error 13: Invalid or unsupported executable format".

Wenn ich im BIOS unter Boot Device Priority lediglich meine WinXP Platte auswähle und sonst keine weitere, lässt sich Windows normal booten. Kubuntu kann ich überhaupt nicht booten, auch nicht mit Hilfe der Live-CD.

Hat jemand Ideen, wie ich das Problem lösen kann? Würde mich über jeden Vorschlag freuen.

Nochmal ausführliche Infos zur Hard-/Software:

AMD Sempron 2300+
ASRock K7VT4A+
768 MB RAM
HD0 200GB Seagate IDE Platte mit WinXP Pro 32Bit SP3 (Master)
HD1 30GB Seagate IDE Platte (Slave)

MfG gammlos
 
Hallo,

Danke für den Hinweis, daraufhin ist mir eingefallen, dass ich in einer Live-Umgebung auf das Kubuntu Dateisystem zugreifen kann. Hab mir dort im GRUB Folder die menu.lst angeschaut, jedoch sind dort alle Partitionen eingetragen, ich zumindest sehe keinen Fehler, aber das muss ja nichts heißen.

Hast du konkretere Vorschläge, wie und was genau ich neu konfigurieren müsste? :)

Ich bin gerade noch in einer Live-Umgebung, wenn jemand Infos benötigt kann ich sie nachliefern.

MfG gammlos
 
Grub auf die Windows Platte installieren und die Partitiion richtig angeben.

Grub fängt bei 0 an zu zählen, außedem hda/sda nicht vertauschen. :)

hdx ide Festplatte
sdx sata Festplatte
 
Geh mal im GRUB loader wenn der KUBUNTU punkt markiert ist auf "e" (also drück die e taste) und poste mal was am anfang in der zeile in klammern steht (zum beispiel "(hdx,y)") und poste auch was weiter hinten in der zeile bei "root=/dev/xxx" und "real_root=/dev/xxx" steht. wenn dir sonst was einfällt poste das auch - dann hätten wir genügend infos um dein problem zu klären :)
 
Hallo,

Folgendes wird angezeigt:

root (hd1,0)

kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=e2bad08d-e0e5-456e-->

initrd /boot/initrd.img-2.6.24-19-generic

quiet


Ich habe es inzwischen geschafft, dass GRUB WinXP booten kann. Habe dazu anhand einer Beschreibung bei ubuntuusers.de einen Abschnitt in der menu.lst folgendermaßen geändert:

# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Professional
map (hd1) (hd0)
map (hd0) (hd1)
rootnoverify (hd1,0)
savedefault
chainloader +1

Anschließend verlief das Booten von WinXP problemlos, beim Bootversuch von Kubuntu erhalte ich jedoch weiterhin Error 17.

Ich hoffe Ihr könnt damit was anfangen, bis dahin schonmal ein Dankeschön.:)

MfG gammlos
 
Hallo,

Ja, die UUIDs stimmen überein.

MfG gammlos
 
Hallo,

Ausgabe von fdisk -l
Code:
Platte /dev/sda: 200.0 GByte, 200049647616 Byte
255 Köpfe, 63 Sektoren/Spuren, 24321 Zylinder
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes
Disk identifier: 0x444c544e

   Gerät  boot.     Anfang        Ende     Blöcke   Id  System
/dev/sda1   *           1       19122   153597433+   7  HPFS/NTFS
/dev/sda2           19123       24320    41752935    f  W95 Erw. (LBA)
/dev/sda5           19123       24320    41752903+   7  HPFS/NTFS

Platte /dev/sdb: 30.0 GByte, 30020272128 Byte
255 Köpfe, 63 Sektoren/Spuren, 3649 Zylinder
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes
Disk identifier: 0x89eb89eb

   Gerät  boot.     Anfang        Ende     Blöcke   Id  System
/dev/sdb1   *           1        3493    28057491   83  Linux
/dev/sdb2            3494        3649     1253070    5  Erweiterte
/dev/sdb5            3494        3649     1253038+  82  Linux Swap / Solaris

Inhalt der menu.lst
Code:
# menu.lst - See: grub(8), info grub, update-grub(8)
#            grub-install(8), grub-floppy(8),
#            grub-md5-crypt, /usr/share/doc/grub
#            and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default		0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout		10

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line)  and entries protected by the
# command 'lock'
# e.g. password topsecret
#      password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title		Windows 95/98/NT/2000
# root		(hd0,0)
# makeactive
# chainloader	+1
#
# title		Linux
# root		(hd0,1)
# kernel	/vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##      kopt_2_6_8=root=/dev/hdc1 ro
##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=e2bad08d-e0e5-456e-9a3a-b1c1a125f594 ro

## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd1,0)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##      alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##      lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash

## should update-grub lock old automagic boot options
## e.g. lockold=false
##      lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##      memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title		Ubuntu 8.04.1, kernel 2.6.24-19-generic
root		(hd1,0)
kernel		/boot/vmlinuz-2.6.24-19-generic root=UUID=e2bad08d-e0e5-456e-9a3a-b1c1a125f594 ro quiet splash
initrd		/boot/initrd.img-2.6.24-19-generic
quiet

title		Ubuntu 8.04.1, kernel 2.6.24-19-generic (recovery mode)
root		(hd1,0)
kernel		/boot/vmlinuz-2.6.24-19-generic root=UUID=e2bad08d-e0e5-456e-9a3a-b1c1a125f594 ro single
initrd		/boot/initrd.img-2.6.24-19-generic

title		Ubuntu 8.04.1, memtest86+
root		(hd1,0)
kernel		/boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title		Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title		Microsoft Windows XP Professional
map		(hd1) (hd0)
map		(hd0) (hd1)
rootnoverify	(hd1,0)
savedefault
chainloader	+1

MfG gammlos
 
Zuletzt bearbeitet:
Beim Ubuntu-Eintrag verändere mal die kernel-Zeile in das hier:

kernel /boot/vmlinuz-2.6.24-19-generic root=/dev/sdb1 ro quiet splash

Vielleicht verschluckt er sich ja an der UUID.
 
Hallo,

es hat leider nicht geklappt, gleiche Fehlermeldung wie zuvor.

MfG gammlos
 
Du hast doch im BIOS die Startreihenfolge der Festplatten geändert, nicht?
Ich bin der Meinung, dass sich dadurch auch die Nummerierung der Festplatten in GRUB und manchmal sogar Linux ändert (wobei GRUB eigentlich ein Mini-Linux ist). Ähnliches ist mir auch mal passiert und ich musste eigentlich unsinnige Festplatten und Partitionen angeben, damit es funktionierte.

Es wäre daher möglich, dass hier derselbe Fall vorliegt.
Ändere die Zahlen in der Zeile root (hd1,0). Eventuell ist es durch die Änderung im BIOS nicht mehr 1,0, sondern 0,0. Aber das macht eigentlich auch keinen Sinn, weil das die Windows-Partition sein müsste. Notiere die Fehlermeldungen, er müsste den Typ der Partition (Windows, Linux etc.) anzeigen. Daran kann man sich orientieren, auf welche Partition er gerade zugreift (hat mir sehr geholfen, da ich 8 Partitionen auf 4 Platten habe und man sich eben manchmal fragt, was er denn nun schon wieder macht).
root (hdx,y)
x - Festplatte (Nummerierung beginnt bei 0)
y - Partition (Nummerierung beginnt bei 0)
 
Hallo,

habe die Zeile root (hd1,0) in (hd0,0) geändert und es funktioniert. :D

Vielen Dank e-Laurin für deine Hilfe, auch den anderen ein herzliches Dankeschön. :)

MfG gammlos
 
Zurück
Oben