Am 14.07.2011 19:05, schrieb Klaus Schneider-Grosch:
Hallo,
zum Testen eines mit rsync erstellten Backups habe ich den Datenträger als einzige Festplatte angeschlossen und nach entsprechender Modifikation von /etc/fstab (Devices mit sda usw.) mit Supergrub gebootet.
Danach habe ich die vorhandenen Dateien /boot/grub/menu.lst + device.map sowie /etc/grub.conf und deren Backup-Dateien gelöscht. Mit "yast bootloader" habe ich mir eine neue Konfiguration vorschlagen lassen und grub in den MBR neu eingerichtet.
Nach dem Neustart meldet sich jedoch nur grub. Jedoch bootet das System nach Eingabe von root (hd0,0), kernel und initrd einwandfrei, es gelingt mir jedoch nicht, Grub mit Bootmenü einzurichten.
Ich habe auch fstab und die Grub-Dateien von /dev/sda nach /dev/disk/by/id ... umgestellt, aber damit ergab sich keine Änderung.
Hier fdisk -l, fstab, device.map, menu.lst, grub.conf:
################# Disk /dev/sda: 400.1 GB, 400088457216 bytes 255 heads, 63 sectors/track, 48641 cylinders, total 781422768 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: 0xf12c656a
Device Boot Start End Blocks Id System /dev/sda1 * 2048 41945087 20971520 83 Linux /dev/sda2 41945088 62916607 10485760 82 Linux swap / Solaris /dev/sda3 62916608 781422767 359253080 83 Linux ################# /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 ################# (hd0) /dev/disk/by-id/ata-SAMSUNG_HD403LJ_S0NFJ1DP804088 ################# # Modified by YaST2. Last modification on Do Jul 14 15:37:45 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 ################# setup --stage2=/boot/grub/stage2 --force-lba (hd0,0) (hd0,0) quit #################
Ich stehe auf dem Schlauch. Hat jemand eine Idee dazu?
Viele Grüße und danke, Klaus
Vielleicht versuchst Du mal grub "manuell" zu initialisieren, dann erhältst Du nämlich mehr (Fehler)-Meldungen als bei Yast ... grub root (hd0,0) setup (hd0) quit -- Herzliche Grüße Tao -- 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