Hallo,
Bevor wir hier weiter im Nebel stochern: kannst Du bitte mal die /etc/fstab (alt und neu) posten? Und /boot/grub/device.map, und /boot/grub/menu.lst?
/etc/fstab alt: UUID=a6f474e6-5fa6-41c6-be80-367c5e9c6253 / ext4 defaults 1 1 LABEL=boot /mnt/hdd/boot ext2 acl,user_xattr 1 2 LABEL=bilder /mnt/bilder btrfs defaults 1 2 LABEL=home_suse /mnt/home-suse ext4 acl,user_xattr 1 2 LABEL=medien /mnt/medien btrfs defaults 1 2 LABEL=root-suse /mnt/root-suse btrfs defaults 1 2 LABEL=sebastian_daten /mnt/sebastian_daten btrfs defaults 1 2 LABEL=sicherung /mnt/sicherung btrfs defaults 1 2 LABEL=system /mnt/system btrfs defaults 1 2 LABEL=virtuelle_platte /mnt/virtuelle_platte btrfs defaults 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 tmpfs /tmp tmpfs defaults 0 0 tmpfs /var/tmp tmpfs defaults 0 0 /dev/disk/by-id/ata-SAMSUNG_SSD_830_Series_S0Z3NSAC964653-part1 /boot ext2 acl,user_xattr 1 2 UUID=63216e12-0e58-469b-a283-490e305eabfc /home btrfs defaults 1 2 UUID=b699a5ef-d616-4f3a-9c07-54d5e4606ec7 /mnt/ssd/suse-root btrfs defaults 1 2 /dev/disk/by-id/ata-SAMSUNG_SSD_830_Series_S0Z3NSAC964653-part2 swap swap defaults 0 0 /etc/fstab neu: /boot/grub2/device.map: (hd1) /dev/disk/by-id/usb-SAMSUNG_HD502HJ_00eff052-0:0 (hd0) /dev/disk/by-id/ata-ST9500420AS_5VJFAYD8 Ist leider grub2 weil ander distri dies verlangte. Mit yast konte ich da nichts einstellen. Deshalb per Hand (auch wenn es beim nächsten update verloren geht) habe gehofft das es wenn einmal damit gestartet auch gefunden wird und richtig eingetragen. Ist jedenfalls noch Baustelle. /boot/grub2/grub.cfg: # # DO NOT EDIT THIS FILE # # It is automatically generated by grub2-mkconfig using templates # from /etc/grub.d and settings from /etc/default/grub # ### BEGIN /etc/grub.d/00_header ### if [ -s $prefix/grubenv ]; then load_env fi set default="${saved_entry}" if [ x"${feature_menuentry_id}" = xy ]; then menuentry_id_option="--id" else menuentry_id_option="" fi export menuentry_id_option if [ "${prev_saved_entry}" ]; then set saved_entry="${prev_saved_entry}" save_env saved_entry set prev_saved_entry= save_env prev_saved_entry set boot_once=true fi function savedefault { if [ -z "${boot_once}" ]; then saved_entry="${chosen}" save_env saved_entry fi } function load_video { if [ x$feature_all_video_module = xy ]; then insmod all_video else insmod efi_gop insmod efi_uga insmod ieee1275_fb insmod vbe insmod vga insmod video_bochs insmod video_cirrus fi } if [ x$feature_default_font_path = xy ] ; then font=unicode else insmod part_msdos insmod ext2 set root='hd0,msdos3' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint- efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 --hint='hd0,msdos3' a6f474e6-5fa6-41c6-be80-367c5e9c6253 else search --no-floppy --fs-uuid --set=root a6f474e6-5fa6-41c6-be80-367c5e9c6253 fi font="/usr/share/grub2/unicode.pf2" fi if loadfont $font ; then set gfxmode=auto load_video insmod gfxterm set locale_dir=$prefix/locale set lang=de_DE insmod gettext fi terminal_output gfxterm insmod part_msdos insmod ext2 set root='hd1,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint- efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 a87e483f-d0d5-41ac-ae7b- f35fbd14b028 else search --no-floppy --fs-uuid --set=root a87e483f-d0d5-41ac-ae7b-f35fbd14b028 fi insmod gfxmenu loadfont ($root)/grub2/themes/openSUSE/ascii.pf2 loadfont ($root)/grub2/themes/openSUSE/DejaVuSans10.pf2 loadfont ($root)/grub2/themes/openSUSE/DejaVuSans12.pf2 loadfont ($root)/grub2/themes/openSUSE/DejaVuSans-Bold14.pf2 insmod png set theme=($root)/grub2/themes/openSUSE/theme.txt export theme insmod part_msdos insmod ext2 set root='hd1,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint- efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 a87e483f-d0d5-41ac-ae7b- f35fbd14b028 else search --no-floppy --fs-uuid --set=root a87e483f-d0d5-41ac-ae7b-f35fbd14b028 fi insmod png background_image -m stretch /grub2/themes/openSUSE/background.png if [ x${boot_once} = xtrue ]; then set timeout=0 elif sleep --interruptible 0 ; then set timeout=8 fi ### END /etc/grub.d/00_header ### ### BEGIN /etc/grub.d/10_linux ### menuentry 'openSUSE' --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-a6f474e6-5fa6-41c6-be80-367c5e9c6253' { load_video set gfxpayload=keep insmod gzio insmod part_msdos insmod ext2 set root='hd1,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint- efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 a87e483f-d0d5-41ac-ae7b- f35fbd14b028 else search --no-floppy --fs-uuid --set=root a87e483f-d0d5-41ac-ae7b- f35fbd14b028 fi echo 'Linux 3.6.6-11-desktop wird geladen …' linux /vmlinuz-3.6.6-11-desktop root=UUID=a6f474e6-5fa6-41c6- be80-367c5e9c6253 video=1366x768 resume=/dev/disk/by-uuid/3659c02c- a493-450f-99ea-4af64b3f87ac splash=silent quiet showopts echo 'Initiale Ramdisk wird geladen …' initrd /initrd-3.6.6-11-desktop } submenu 'Erweiterte Optionen für openSUSE' $menuentry_id_option 'gnulinux- advanced-a6f474e6-5fa6-41c6-be80-367c5e9c6253' { menuentry 'openSUSE, mit Linux 3.6.6-11-desktop' --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.6.6-11- desktop-advanced-a6f474e6-5fa6-41c6-be80-367c5e9c6253' { load_video set gfxpayload=keep insmod gzio insmod part_msdos insmod ext2 set root='hd1,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 -- hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 a87e483f-d0d5-41ac-ae7b- f35fbd14b028 else search --no-floppy --fs-uuid --set=root a87e483f-d0d5-41ac-ae7b- f35fbd14b028 fi echo 'Linux 3.6.6-11-desktop wird geladen …' linux /vmlinuz-3.6.6-11-desktop root=UUID=a6f474e6-5fa6-41c6- be80-367c5e9c6253 video=1366x768 resume=/dev/disk/by-uuid/3659c02c- a493-450f-99ea-4af64b3f87ac splash=silent quiet showopts echo 'Initiale Ramdisk wird geladen …' initrd /initrd-3.6.6-11-desktop } menuentry 'openSUSE, mit Linux 3.6.6-11-desktop (Wiederherstellungsmodus)' --class opensuse --class gnu-linux --class gnu -- class os $menuentry_id_option 'gnulinux-3.6.6-11-desktop-recovery- a6f474e6-5fa6-41c6-be80-367c5e9c6253' { load_video set gfxpayload=keep insmod gzio insmod part_msdos insmod ext2 set root='hd1,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 -- hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 a87e483f-d0d5-41ac-ae7b- f35fbd14b028 else search --no-floppy --fs-uuid --set=root a87e483f-d0d5-41ac-ae7b- f35fbd14b028 fi echo 'Linux 3.6.6-11-desktop wird geladen …' linux /vmlinuz-3.6.6-11-desktop root=UUID=a6f474e6-5fa6-41c6- be80-367c5e9c6253 showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe echo 'Initiale Ramdisk wird geladen …' initrd /initrd-3.6.6-11-desktop } } ### END /etc/grub.d/10_linux ### ### BEGIN /etc/grub.d/20_linux_xen ### ### END /etc/grub.d/20_linux_xen ### ### BEGIN /etc/grub.d/20_ppc_terminfo ### ### END /etc/grub.d/20_ppc_terminfo ### ### BEGIN /etc/grub.d/30_os-prober ### menuentry 'openSUSE 12.2 (x86_64)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-3d4ccbdb-5f94-4920- a7e6-05264eee9ee5' { insmod part_msdos insmod ext2 set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint- efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' 64640134-82f8-4f54-8f5d-588d35ef7a07 else search --no-floppy --fs-uuid --set=root 64640134-82f8-4f54-8f5d-588d35ef7a07 fi linux /vmlinuz-3.6.6-11-desktop root=/dev/sda5 initrd /initrd-3.6.6-11-desktop } submenu 'Erweiterte Optionen für openSUSE 12.2 (x86_64)' $menuentry_id_option 'osprober-gnulinux-advanced-3d4ccbdb-5f94-4920-a7e6-05264eee9ee5' { menuentry 'openSUSE 12.2 (x86_64) (auf /dev/sda5)' --class gnu-linux -- class gnu --class os $menuentry_id_option 'osprober- gnulinux-/vmlinuz-3.6.6-11-desktop--3d4ccbdb-5f94-4920-a7e6-05264eee9ee5' { insmod part_msdos insmod ext2 set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 -- hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' 64640134-82f8-4f54-8f5d-588d35ef7a07 else search --no-floppy --fs-uuid --set=root 64640134-82f8-4f54-8f5d-588d35ef7a07 fi linux /vmlinuz-3.6.6-11-desktop root=/dev/sda5 initrd /initrd-3.6.6-11-desktop } menuentry 'openSUSE 12.2 (x86_64) (auf /dev/sda5)' --class gnu-linux -- class gnu --class os $menuentry_id_option 'osprober- gnulinux-/vmlinux-3.6.6-11-desktop.gz--3d4ccbdb-5f94-4920-a7e6-05264eee9ee5' { insmod part_msdos insmod ext2 set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 -- hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' 64640134-82f8-4f54-8f5d-588d35ef7a07 else search --no-floppy --fs-uuid --set=root 64640134-82f8-4f54-8f5d-588d35ef7a07 fi linux /vmlinux-3.6.6-11-desktop.gz root=/dev/sda5 } } menuentry 'openSUSE 12.2 (x86_64)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-b699a5ef- d616-4f3a-9c07-54d5e4606ec7' { insmod part_msdos insmod ext2 set root='hd1,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint- efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 a87e483f-d0d5-41ac-ae7b- f35fbd14b028 else search --no-floppy --fs-uuid --set=root a87e483f-d0d5-41ac-ae7b- f35fbd14b028 fi linux /vmlinuz-3.6.6-11-desktop root=/dev/sdb5 initrd /initrd-3.6.6-11-desktop } submenu 'Erweiterte Optionen für openSUSE 12.2 (x86_64)' $menuentry_id_option 'osprober-gnulinux-advanced-b699a5ef-d616-4f3a-9c07-54d5e4606ec7' { menuentry 'openSUSE 12.2 (x86_64) (auf /dev/sdb5)' --class gnu-linux -- class gnu --class os $menuentry_id_option 'osprober- gnulinux-/vmlinuz-3.6.6-11-desktop--b699a5ef-d616-4f3a-9c07-54d5e4606ec7' { insmod part_msdos insmod ext2 set root='hd1,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 -- hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 a87e483f-d0d5-41ac-ae7b- f35fbd14b028 else search --no-floppy --fs-uuid --set=root a87e483f-d0d5-41ac-ae7b- f35fbd14b028 fi linux /vmlinuz-3.6.6-11-desktop root=/dev/sdb5 initrd /initrd-3.6.6-11-desktop } menuentry 'openSUSE 12.2 (x86_64) (auf /dev/sdb5)' --class gnu-linux -- class gnu --class os $menuentry_id_option 'osprober- gnulinux-/vmlinux-3.6.6-11-desktop.gz--b699a5ef-d616-4f3a-9c07-54d5e4606ec7' { insmod part_msdos insmod ext2 set root='hd1,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 -- hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 a87e483f-d0d5-41ac-ae7b- f35fbd14b028 else search --no-floppy --fs-uuid --set=root a87e483f-d0d5-41ac-ae7b- f35fbd14b028 fi linux /vmlinux-3.6.6-11-desktop.gz root=/dev/sdb5 } } ### END /etc/grub.d/30_os-prober ### ### BEGIN /etc/grub.d/40_custom ### # This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change # the 'exec tail' line above. ### END /etc/grub.d/40_custom ### ### BEGIN /etc/grub.d/41_custom ### if [ -f ${config_directory}/custom.cfg ]; then source ${config_directory}/custom.cfg elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then source $prefix/custom.cfg; fi ### END /etc/grub.d/41_custom ### ### BEGIN /etc/grub.d/90_persistent ### ### END /etc/grub.d/90_persistent ###
mkinitrd baut die initrds, die lt. /boot/grub/menu.lst nötig sind. Die Übersetzung von /dev/... nach hdX erfolgt anhand der /boot/grub/device.map.
Bei Grub 2 dann die grub.cfg statt menu.Ist?
Gruß Sebastian -- Um die Liste abzubestellen, schicken Sie eine Mail an: opensuse-de+unsubscribe@opensuse.org Um den Listen Administrator zu erreichen, schicken Sie eine Mail an: opensuse-de+owner@opensuse.org