• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

GRUB Fehlermeldung "Error 15"

jgoe1

Member
Hallo Forum,
nachdem ich hier zur Fehlermeldung GRUB Error 15 einiges gelesen habe und das nicht so recht nachvollziehen kann, möchte ich mein Problem beschreiben und auf eine Lösung hoffen.
Mein Server, mit 3 Festplatten ausgestattet, 2 x 1TB im Raid1 und einmal 160 GB auf der sich das Betriebssystem Debian 6.0 befindet. Die Partitionierung der Festplatte ist wie folgt: 350 MB /boot, 15 GB /, 20 GB /tmp, 15 GB /var, 35 GB /home, 3 GB swap. Bei einem Upgrade von Debian 5.** auf Debian 6.** über das Internet, startet mein Server nicht mehr und meldet " GRUB Loading stage 1.5., GRUB loading, please wait..., Error 15. Mit der GRUB-Rettungs-CD bin ich erfolglos geblieben, möchte aber nach Möglichkeit, wegen des RAID 1- Systems keine Neuinstallation wagen. Kann mir bitte jemand erklären was die Fehlermeldung bedeutet und wie ich diesen Fehler eventuell beseitigen kann? Ich hoffe, alle Daten geliefert zu haben und

bedanke mich im Voraus

mit freundlichem Gruß

Josef :???:
 

admine

Ultimate Guru
15 : File not found
This error is returned if the specified file name cannot be found, but everything else (like the disk/partition info) is OK.

Das ist der Fakt.
Um dir helfen zu können, wäre aber einiges an Angaben mehr nötig.
Zum Beispiel deine Grub-Konfiguration (menu.lst) und die Partitionierung (fdisk -l)
 

josef-wien

Ultimate Guru
*stage1_5 kann stage2 nicht finden. Was wurde beim Wechsel auf Debian 6 bezüglich des Bootmanagers gemacht? Verwendet Debian 6 GRUB oder GRUB2? War vielleicht bei Debian 5 GRUB im MBR installiert und wurde bei Debian 6 die Boot-Partition gewählt (ohne dabei einen "generischen" MBR zu schreiben)? Welche Information kommt (als root) bei
Code:
fdisk -l 2>/dev/null | egrep "Disk /|/dev/" | sed "s#^/dev/#Part /dev/#" | awk '{print $2}' | sed 's/://' | xargs -n1 -IX sh -c "hexdump -v -s 0x80 -n 2 -e '2/1 \"%x\" \"\\n\"' X | xargs -n1 -IY sh -c \"case \"Y\" in '48b4') echo X: GRUB 2 v1.96 ;; 'aa75' | '5272') echo X: GRUB Legacy ;; '7c3c') echo X: GRUB 2 v1.97 or higher ;; *) ;; esac\""
heraus?
 
OP
J

jgoe1

Member
Hallo admine, hallo josef-wien,
zunächst herzlichen Dank für die Antworten. Leider konnte ich nicht schneller reagieren, im betroffenen Rechner ist jetzt auch noch die Graka gestorben. Ich hatte den Verdacht, dass tatsächlich nichts in den MBR geschrieben wurde, weiß aber nicht wie ich das überprüfen kann. weiter unten die menu.lst und die Ausgabe von fdisk -l.

Herzlichen Dank und Gruß

Josef

Hier die Menu.lst


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-legacy-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 change this entry to 'saved' 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 5

# 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=/dev/hda3 ro
# kopt=root=UUID=93bc458a-06de-4d05-981a-8b1e1e3e2d03 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,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

## 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=(single-user) single
# altoptions=(single-user 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 Debian GNU/Linux, kernel 2.6.26-2-686
root (hd0,0)
kernel /vmlinuz-2.6.26-2-686 root=/dev/hda3 ro quiet
initrd /initrd.img-2.6.26-2-686

title Debian GNU/Linux, kernel 2.6.26-2-686 (single-user mode)
root (hd0,0)
kernel /vmlinuz-2.6.26-2-686 root=/dev/hda3 ro single
initrd /initrd.img-2.6.26-2-686

### END DEBIAN AUTOMAGIC KERNELS LIST

Ausgabe von fdisk -l

root@PartedMagic:~# fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0001356f

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 782335 390144 83 Linux
/dev/sda2 782336 6641663 2929664 82 Linux swap
/dev/sda3 6641664 35938303 14648320 83 Linux
/dev/sda4 35953470 143364059 53705295 5 Extended
/dev/sda5 35953533 104293979 34170223+ 83 Linux
/dev/sda6 104294043 143364059 19535008+ 83 Linux

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000e092a

Device Boot Start End Blocks Id System
/dev/sdb1 63 1953520064 976760001 fd Linux raid autodetect

Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0000d66d

Device Boot Start End Blocks Id System
/dev/sdc1 63 1953520064 976760001 fd Linux raid autodetect

Disk /dev/sde: 16.0 GB, 16013852672 bytes
78 heads, 14 sectors/track, 28641 cylinders, total 31277056 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xc3072e18

Device Boot Start End Blocks Id System
/dev/sde1 8064 31277055 15634496 c W95 FAT32 (LBA)
root@PartedMagic:~#
 
OP
J

jgoe1

Member
Hallo josef-wien,
Danke für Deine Unterstützung. Wenn ich Deinen Beitrag richtig verstehe, sollte ich diesen Term als root in einer Konsole eingeben. Da ich diesen Rechner nicht starten kann, habe ich mit Hilfe einer Rescue -CD diesen Term in einem Terminal eingegeben. Leider erhalte ich eine Fehlermeldung. Hier die Meldung:

root@PartedMagic:~# fdisk -l 2>/dev/null | egrep "Disk /|/dev/" | sed "s#^/dev/#Part /dev/#" | awk '{print $2}' | sed 's/://' | xargs -n1 -IX sh -c "hexdump -v -s 0x80 -n 2 -e '2/1 \"%x\" \"\\n\"' X | xargs -n1 -IY sh -c \"case \"Y\" in '48b4') echo X: GRUB 2 v1.96 ;; 'aa75' | '5272') echo X: GRUB Legacy ;; '7c3c') echo X: GRUB 2 v1.97 or higher ;; *) ;; esac\""
xargs: invalid option -- 'I'
BusyBox v1.18.4 (2011-04-09 18:49:28 CDT) multi-call binary.

Usage: xargs [OPTIONS] [PROG ARGS]

Run PROG on every item given by stdin

Options:
-p Ask user whether to run each command
-r Don't run command if input is empty
-0 Input is separated by NUL characters
-t Print the command on stderr before execution
-e[STR] STR stops input processing
-n N Pass no more than N args to PROG
-s N Pass command line of no more than N bytes
-x Exit if size is exceeded
Ich würde mich über eine Antwort freuen.

Gruß

Josef
 

josef-wien

Ultimate Guru
Dein Live-System verwendet offenbar ein ganz anderes xargs als openSUSE. Da aber GRUB2 auf Grund Deiner menu.lst ausscheidet, geht es auch einfacher:
Code:
for i in $(awk '/[0-9]/ {print $4}' /proc/partitions);do file -s /dev/$i; done | grep -i grub | cut -d":" -f1
 

RME

Advanced Hacker
Hallo,

Falls es interessiert:
xargs: invalid option -- 'I'
BusyBox v1.18.4 (2011-04-09 18:49:28 CDT) multi-call binary.
Dein Live-System verwendet offenbar ein ganz anderes xargs als openSUSE

BusyBox: The Swiss Army Knife of Embedded Linux http://www.busybox.net/about.html
BusyBox combines tiny versions of many common UNIX utilities into a single small executable. It provides replacements for most of the utilities you usually find in GNU fileutils, shellutils, etc. The utilities in BusyBox generally have fewer options than their full-featured GNU cousins; however, the options that are included provide the expected functionality and behave very much like their GNU counterparts. BusyBox provides a fairly complete environment for any small or embedded system.

BusyBox has been written with size-optimization and limited resources in mind. It is also extremely modular so you can easily include or exclude commands (or features) at compile time. This makes it easy to customize your embedded systems. To create a working system, just add some device nodes in /dev, a few configuration files in /etc, and a Linux kernel.

Gruss,
Roland
 
OP
J

jgoe1

Member
Hallo josef-wien, hallo allen die mich unterstützen,
zunächst Dank für die Hinweise und die Unteerstützung. Leider funktioniert das mit dem neuen Term von josef-wien auch nicht, bzw. ich bekomme kein Ergebnis ausgegeben. Nach dem Start verschwindet der Curser für ein zwei sec. und erscheint dann ohne eine Meldung wieder. Welche Ausgabe wäre zu erwarten gewesen?

Dank und Gruß

Josef
 

RME

Advanced Hacker
Boote wenn irgend möglich von einer live-Linux CD/DVD -- dann werden beide von josef-wien angegebenen Befehle funktionieren.

Die Befehle listen auf wo überall (MBR und/oder Partitionen) GRUB Code zu finden ist.

List of live CDs
http://en.wikipedia.org/wiki/List_of_live_CDs

(ein sehr kleines aber sehr gutes wäre Puppy Linux)
 
OP
J

jgoe1

Member
Hallo RME, hallo josef-wien,
nach langem Experimentieren ist es mir mit Knopix gelungen eine Antwort mit dem Langen Term zu bekommen. Hier die Meldung:

fdisk -l 2>/dev/null | egrep "Disk /|/dev/" | sed "s#^/dev/#Part /dev/#" | awk '{print $2}' | sed 's/://' | xargs -n1 -IX sh -c "hexdump -v -s 0x80 -n 2 -e '2/1 \"%x\" \"\\n\"' X | xargs -n1 -IY sh -c \"case \"Y\" in '48b4') echo X: GRUB 2 v1.96 ;; 'aa75' | '5272') echo X: GRUB Legacy ;; '7c3c') echo X: GRUB 2 v1.97 or higher ;; *) ;; esac\""
/dev/sda: GRUB Legacy
/dev/sdb: GRUB 2 v1.97 or higher

Ich hoffe, dass das weiter hilft und es sieht für mich so aus, als ob doch GRUB 2 installiert ist.

Gruß und Dank

Josef
 

josef-wien

Ultimate Guru
GRUB steckt im MBR von /dev/sda (ich nehme an, das ist jene Platte, die im BIOS als Boot-Platte definiert ist), die von ihm benötigten Dateien hast Du beim Wechsel auf Debian 6 *) entsorgt. GRUB2 steckt im MBR von /dev/sdb, und dort dürfte er Dir wenig nützen. Aus meiner Sicht mußt Du GRUB2 in den MBR von /dev/sda installieren, dazu kann ich Dir nicht helfen, aber der link in http://www.linux-club.de/viewtopic.php?f=4&t=114744&p=720874&#p720874 hilft Dir vielleicht weiter.

*) Laut http://www.linux-club.de/viewtopic.php?f=4&t=115504&p=726580&#p726580 verwendet Debian GRUB2.
 
OP
J

jgoe1

Member
Hallo josef-wien,
herzlichen Dank für Deine Antwort. Eines verstehe ich nun nicht, "/dev/sdb" ist Bestandteil des Raid 1 (Md0) und wurde während der Installation über das Internet nicht angerührt, wie kann GRUB 2 in den MBR von /sdb gekommen sein?

Gruß und Dank

Josef
 

RME

Advanced Hacker
...wie kann GRUB 2 in den MBR von /sdb gekommen sein?
War schon vorher dort? Nur Du kennst die "Geschichte" jener Festplatte.

-----

http://wiki.debian.org/Grub
Installing Grub Package

Grub v1 is the main 1 default bootloader on x86 platforms (up-to DebianLenny).
Grub v2 is provided since DebianLenny. It is the default bootloader since DebianSqueeze.

Betr. Update von Debian 5 auf 6 würde mal etwas googeln. Siehe z.B.

http://www.debian.org/releases/stable/i386/release-notes/ch-upgrading.en.html#update-grub
4.7.1. Upgrade to GRUB 2 schrieb:
Once you have confirmed that GRUB 2 works, you should switch to using it properly...
Hast Du?

http://www.howtoforge.com/upgrade-debian-lenny-to-squeeze-in-a-few-simple-steps
Upgrade Debian Lenny To Squeeze In A Few Simple Steps

-/-
 
OP
J

jgoe1

Member
Hallo und Dank an alle Helfer,
leider bin ich auf den vorgeschlagenen Wegen nicht zu Ziel gekommen, was ganz sicher an meinem eignen Unvermögen gelegen hat. Deshalb habe ich mich entschlossen eine Neuinstallation zu machen. Leider hat das ein anders Problem , das ich vermeiden wollte, ausgelöst, jetzt wird mein Raid1-System nicht mehr angesprochen. Dazu in einem anderen thread mehr. Nochmals Danke für die Unterstützung..

Josef
 
Oben