1 příspěvek / 0 new
Poslední
Obrázek uživatele Orion
Offline
Naposledy viděn: 15 let 5 měsíců zpět
Připojen: 04.12.2007 - 17:30
SWRaid1 v Suse 10.3

Zdravim.
Nedaří se mi nakonfigurovat grub.Nevim kde dělám chybu. Z inst. DVD se do toho dostanu.

mozek:~ # fdisk -l

Disk /dev/hde: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hde1 * 1 9730 78150743+ ee EFI GPT

Disk /dev/hdg: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdg1 * 1 9730 78150743+ ee EFI GPT

Disk /dev/md0: 78.9 GB, 78970814464 bytes
2 heads, 4 sectors/track, 19279984 cylinders
Units = cylinders of 8 * 512 = 4096 bytes

Disk /dev/md0 doesn't contain a valid partition table
mozek:~ #

/boot/grub/device.map
(fd0) /dev/fd0
(hd0) /dev/hde
(hd1) /dev/hdg

/boot/grub/menu.list
# Modified by YaST2. Last modification on Tue Dec 4 17:14:19 CET 2007
color white/blue black/light-gray
default
timeout 10
gfxmenu (hd0,0)/boot/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE Linux Enterprise Server 10
root (hd0,0)
kernel /boot/vmlinuz-2.6.16.21-0.8-default root=/dev/md0 vga=0x317 resume=/dev/hde1 splash=silent showopts
initrd /boot/initrd-2.6.16.21-0.8-default

###Don't change this comment - YaST2 identifier: Original name: floppy###
title Floppy
chainloader (fd0)+1

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE Linux Enterprise Server 10
root (hd0,0)
kernel /boot/vmlinuz-2.6.16.21-0.8-default root=/dev/md0 vga=normal showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off 3
initrd /boot/initrd-2.6.16.21-0.8-default

/etc/grub.conf
root (hd0,0)
install --stage2=/boot/grub/stage2 /boot/grub/stage1 d (hd1,0) /boot/grub/stage2 0x8000 (hd0,0)/(hd1,0/boot/grub/menu.l
install --stage2=/boot/grub/stage2 /boot/grub/stage1 d (hd0,0) /boot/grub/stage2 0x8000 (hd0,0)/boot/grub/menu.lst
quit

Obrázek uživatele honzaS
Offline
Naposledy viděn: 15 let 9 měsíců zpět
Připojen: 09.01.2007 - 15:20
Nevím jestli to bude

Nevím jestli to bude fungovat s RAIDem, ale vyzkoušel bych parametr root změnit takto:
root=/dev/hde1

honzaS

Obrázek uživatele Orion
Offline
Naposledy viděn: 15 let 5 měsíců zpět
Připojen: 04.12.2007 - 17:30
Vyzkoušim to .

A ještě sem zapomněl na tu hlášku co to hází tady je:

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 unknown, partition type 0xee
grub> install --stage2=/boot/grub/stage2 /boot/grub/stage1 d (hd1,0) /boot/grub/stage2 0x8000 (hd0,0)/(hd1,0/boot/grub/menu.l

Error 17: Cannot mount selected partition
grub> install --stage2=/boot/grub/stage2 /boot/grub/stage1 d (hd0,0) /boot/grub/stage2 0x8000 (hd0,0)/boot/grub/menu.lst

Error 17: Cannot mount selected partition
grub> quit

Tak sem to zkusil a stejná hláška. Bude to asi HW problem.Grubu se nedaří zapsat
do MBR a poté z něj bootnout.Budu si muset udělat bootovací disketu nabo cd.Jinak
to nepujde.Kupovat HW řadič se mi nechce.