Am Dienstag, 19. Juli 2011, 12:44:57 schrieb Tao te Puh:
Mir ist noch etwas eingefallen: LBA
Normalerweise erkennt grub automatisch ob das System (BIOS) LBA unterstützt und setzt entsprechende Parameter - manchmal geht die Erkennung aber auch schief (buggy BIOS).
Man kann das Verhalten nun aber forcieren, deshalb ändere mal, bei der manuellen grub-Installation, den setup-Befehl in:
setup --force-lba (hd0)
führt leider auch zu grub-error 5
Das könnte den Unterschied ausmachen, warum die Yast-Installation bis zur grub-Shell kommt, die manuelle Installation aber mit error 5 abbricht.
Und wo wir bei diesem Thema sind: Spricht etwas dagegen, es mal mit einer eigenen /boot-Partition zu probieren? Ich mache das eigentlich immer so und habe seit dem nie wieder Ärger gehabt ...
Hallo Tao, Deine Anregungen aus Deinen letzten Postings habe ich der Reihe nach ausprobiert: - die ersten 446 Bytes der Platte genullt. Danach mit yast eine "root- Partition-Installation" durchgeführt und dabei dem Tip von David folgend den Haken bei "Generischen Bootcode in MBR schreiben" gesetzt. Damit gelange ich wieder bis zur Grub-Shell. - Im BIOS finde ich keine Möglichkeit, die Reihenfolge des Anbietens der Geräte einzustellen. Nur die Bootreihenfolge läßt sich festlegen. Man kann auch direkt ein Bootmedium wählen. Beides führt zur Grub-Shell. - "root (hd0,0)" und "setup --force-lba (hd0)" -> grub error 5. Ausgabe grub dabei: GNU GRUB version 0.97 (640K lower / 3072K upper memory) [ Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename. ] grub> root (hd0,0) Filesystem type is ext2fs, partition type 0x83 grub> setup --force-lba (hd0) Checking if "/boot/grub/stage1" exists... yes Checking if "/boot/grub/stage2" exists... yes Checking if "/boot/grub/e2fs_stage1_5" exists... yes Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... 17 sectors are embedded. succeeded Running "install --force-lba /boot/grub/stage1 (hd0) (hd0)1+17 p (hd0,0)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded Done. /etc/grub.conf: setup --stage2=/boot/grub/stage2 --force-lba (hd0,0) (hd0,0) quit In grub.conf stehen doch die Befehle, die yast beim Erstellen der Bootkonfiguration durchführt. Das unterscheidet sich etwas von Deinem Vorschlag. Man könnte natürlich genau diesen Befehl eingeben und sehen was passiert, das erspare ich mir jetzt zunächst. Ganz unten hänge ich die Ausgabe von boot_info_script.sh an. Eine Bootpartition hatte ich mit früheren Susen auch, nur wurde das irgendwann beim Einrichten des Systems nicht mehr vorgeschlagen, und dann hatte ich es auch nicht mehr gemacht. Ich vermute allerdings, daß in meinem speziellen Fall eine Boot-Partition nicht helfen würde. Ich denke inzwischen auch, daß das BIOS irgendwie an der Sache entscheidend beteiligt ist. Immerhin bin ich einigermaßen zufrieden. Rollierendes Rsync für Backup / Restore tut für mich das was es soll, das konnte ich ausgiebig testen. Yast erstellt eine Bootkonfiguration, und die funktioniert, wenn am SATA-Port 0 irgendein Gerät angeschlossen ist. Damit kann ich leben. Vielen Dank an alle, die mich unterstützt haben und viele Grüße, Klaus =============================== Boot Info Script 0.60 from 17 May 2011 ============================= Boot Info Summary: =============================== => Grub Legacy (v0.97) is installed in the MBR of /dev/sda and looks on the same drive in partition #1 for /boot/grub/stage2 and /boot/grub/menu.lst. sda1: __________________________________________________________________________ File system: ext4 Boot sector type: Grub Legacy Boot sector info: Grub Legacy (v0.97) is installed in the boot sector of sda1 and looks at sector 17068056 of the same hard drive for the stage2 file. A stage2 file is at this location on /dev/sda. Stage2 looks on partition #1 for /boot/grub/menu.lst. Operating System: Welcome to openSUSE 11.4 "Celadon" - Kernel (). Boot files: /boot/grub/menu.lst /etc/fstab sda2: __________________________________________________________________________ File system: swap Boot sector type: - Boot sector info: sda3: __________________________________________________________________________ File system: ext4 Boot sector type: - Boot sector info: Operating System: Boot files: ============================ Drive/Partition Info: ============================= Drive: sda _____________________________________________________________________ Disk /dev/sda: 400.1 GB, 400088457216 bytes 255 Köpfe, 63 Sektoren/Spur, 48641 Zylinder, zusammen 781422768 Sektoren Einheiten = Sektoren von 1 × 512 = 512 Bytes Sector size (logical/physical): 512 bytes / 512 bytes Partition Boot Start Sector End Sector # of Sectors Id System /dev/sda1 * 2,048 41,945,087 41,943,040 83 Linux /dev/sda2 41,945,088 62,916,607 20,971,520 82 Linux swap / Solaris /dev/sda3 62,916,608 781,422,767 718,506,160 83 Linux "blkid" output: ________________________________________________________________ Device UUID TYPE LABEL /dev/sda1 ea72f474-5a7c-4449-b715-edd9cfabc5e5 ext4 /dev/sda2 8d79fb90-0a8d-457a-b576-9d9489bba63c swap /dev/sda3 bc6f4d40-c60c-4255-8426-6069a0d8267c ext4 ================================ Mount points: ================================= Device Mount_Point Type Options /dev/sda1 / ext4 (rw,relatime,user_xattr,acl,barrier=1,data=ordered) /dev/sda3 /home ext4 (rw,relatime,user_xattr,acl,barrier=1,data=ordered) =========================== sda1/boot/grub/menu.lst: =========================== -------------------------------------------------------------------------------- # Modified by YaST2. Last modification on Mi Jul 20 15:11:37 CEST 2011 # THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader # Configure custom boot parameters for updated kernels in /etc/sysconfig/bootloader default 0 timeout 8 ##YaST - generic_mbr gfxmenu (hd0,0)/boot/message ##YaST - activate ###Don't change this comment - YaST2 identifier: Original name: linux### title openSUSE 11.4 root (hd0,0) kernel /boot/vmlinuz-2.6.37.6-0.5-desktop root=/dev/disk/by-id/ata- SAMSUNG_HD403LJ_S0NFJ1DP804088-part1 resume=/dev/disk/by-id/ata- SAMSUNG_HD403LJ_S0NFJ1DP804088-part2 splash=silent quiet showopts vga=0x34b initrd /boot/initrd-2.6.37.6-0.5-desktop ###Don't change this comment - YaST2 identifier: Original name: failsafe### title Failsafe -- openSUSE 11.4 root (hd0,0) kernel /boot/vmlinuz-2.6.37.6-0.5-desktop root=/dev/disk/by-id/ata- SAMSUNG_HD403LJ_S0NFJ1DP804088-part1 showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x34b initrd /boot/initrd-2.6.37.6-0.5-desktop ###Don't change this comment - YaST2 identifier: Original name: linux### title Kernel-2.6.37.6-0.5-desktop root (hd0,0) kernel /boot/vmlinuz-2.6.37.6-0.5-desktop root=/dev/disk/by-id/ata- SAMSUNG_HD403LJ_S0NFJ1DP804088-part1 resume=/dev/disk/by-id/ata- SAMSUNG_HD403LJ_S0NFJ1DP804088-part2 splash=silent quiet showopts vga=0x34b initrd /boot/initrd-2.6.37.6-0.5-desktop -------------------------------------------------------------------------------- =============================== sda1/etc/fstab: ================================ -------------------------------------------------------------------------------- /dev/disk/by-id/ata-SAMSUNG_HD403LJ_S0NFJ1DP804088-part2 swap swap defaults 0 0 /dev/disk/by-id/ata-SAMSUNG_HD403LJ_S0NFJ1DP804088-part1 / ext4 acl,user_xattr 1 1 /dev/disk/by-id/ata-SAMSUNG_HD403LJ_S0NFJ1DP804088-part3 /home ext4 acl,user_xattr 1 2 proc /proc proc defaults 0 0 sysfs /sys sysfs noauto 0 0 debugfs /sys/kernel/debug debugfs noauto 0 0 usbfs /proc/bus/usb usbfs noauto 0 0 devpts /dev/pts devpts mode=0620,gid=5 0 0 -------------------------------------------------------------------------------- =================== sda1: Location of files loaded by Grub: ==================== GiB - GB File Fragment(s) 8.128074646 = 8.727453696 boot/grub/menu.lst 1 8.138778687 = 8.738947072 boot/grub/stage2 1 1.754001617 = 1.883344896 boot/initrd 2 1.754001617 = 1.883344896 boot/initrd-2.6.37.6-0.5-desktop 2 8.138599396 = 8.738754560 boot/vmlinuz 1 8.138599396 = 8.738754560 boot/vmlinuz-2.6.37.6-0.5-desktop 1 ========= Devices which don't seem to have a corresponding hard drive: ========= sdb sdc sdd sde =============================== StdErr Messages: =============================== /dev/sdb: open failed: Kein Medium gefunden /dev/sdc: open failed: Kein Medium gefunden /dev/sdd: open failed: Kein Medium gefunden /dev/sde: open failed: Kein Medium gefunden No volume groups found mdadm: No arrays found in config file or automatically -- Um die Liste abzubestellen, schicken Sie eine Mail an: opensuse-de+unsubscribe@opensuse.org Um eine Liste aller verfuegbaren Kommandos zu bekommen, schicken Sie eine Mail an: opensuse-de+help@opensuse.org