Hallo Leute,
ich habe SuSE 12.1 neu installiert. Das Betriebssystem liegt auf einem RAID1. Es lässt sich nach der Installation aber nicht starten. Wenn ich die Installations-CD einlege und die Option "Booten von Festplatte" oder so ähnlich starte, wird das OS gestartet.
Also habe ich versucht GRUB auf beiden Platten zu installieren.
Erst mal das Plattenlayout:
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders, total 234441648 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: 0x000c0ad9
Device Boot Start End Blocks Id System
/dev/sda1 2048 321535 159744 83 Linux
/dev/sda2 321536 12916735 6297600 82 Linux swap / Solaris
/dev/sda3 * 12916736 234440703 110761984 fd Linux raid autodetect
Disk /dev/sdb: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders, total 234441648 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: 0x000c0ad9
Device Boot Start End Blocks Id System
/dev/sdb1 2048 321535 159744 83 Linux
/dev/sdb2 321536 12916735 6297600 82 Linux swap / Solaris
/dev/sdb3 * 12916736 234440703 110761984 fd Linux raid autodetect
Und nun GRUB:
grub> find /boot/grub/stage1
(hd0,2)
(hd1,2)
grub> device (hd0) /dev/sda
grub> root (hd0,2)
Filesystem type is ext2fs, partition type 0xfd
grub> setup (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 /boot/grub/stage1 (hd0) (hd0)1+17 p (hd0,2)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded
Done.
grub> device (hd0) /dev/sdb
grub> root (hd1,2)
Filesystem type is ext2fs, partition type 0xfd
grub> setup (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 /boot/grub/stage1 d (hd0) (hd0)1+17 p (hd1,2)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded
Done.
grub>
Danach sieht menu.lst so aus:
default 0
timeout 8
##YaST - generic_mbr
gfxmenu (hd0,2)/boot/message
##YaST - activate
###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 12.1
root (hd0,2)
kernel /boot/vmlinuz root=/dev/disk/by-id/md-uuid-0e18e1ed:8b00eed0:981e4c73:31d8d36d resume=/dev/disk/by-id/ata-OCZ-AGILITY3_OCZ-WC8Y4PZ7FBWOJC0Z-part2 splash=silent quiet showopts vga=0x346
initrd /boot/initrd
###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 12.1
root (hd0,2)
kernel /boot/vmlinuz root=/dev/disk/by-id/md-uuid-0e18e1ed:8b00eed0:981e4c73:31d8d36d showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x346
initrd /boot/initrd
###Don't change this comment - YaST2 identifier: Original name: linux###
title Kernel-3.1.0-1.2-desktop
root (hd0,2)
kernel /boot/vmlinuz-3.1.0-1.2-desktop root=/dev/disk/by-id/md-uuid-0e18e1ed:8b00eed0:981e4c73:31d8d36d resume=/dev/disk/by-id/ata-OCZ-AGILITY3_OCZ-WC8Y4PZ7FBWOJC0Z-part2 splash=silent quiet showopts vga=0x346
initrd /boot/initrd-3.1.0-1.2-desktop
Kann mir jemand sagen, was ich falsch mache?
Lesezeichen