Probelem mit grub und Fedora auf Rootserver
Posted: 2005-07-14 16:41
Probleme mit grub und Fedora Core 2 auf alturo
Hi,
ich habe ein kleines großes Problem mit grub und dem Webserver bei Alturo.
Auf dem Server ist Fedora Core 2 vorinstalliert. Ich hatte bereits fedora core 3 drauf und keine Probleme mit lilo den Server zu booten.
Leider war meine neugier zu groß und ich wollte unbedingt grub nutzen. Never touch a running system habe ich dann die ganze nacht träumen müssen.
Naja wie schon gesagt wenn ich lilo nutze und den Standard Kernel den Alturo draufinstalliert hat boote, dann booted dass System auf jedenfall ohne Probleme durch.
Als ich nun eine Ramdisk erstellt habe mit mkinitrd von dem Kernel den auch lilo standardmäßig nutzt.
Und grub in der Kommandozeile installiert habe mit:
grub> root (hd0,0)
grub> setup (hd0)
grub> quit
wollte das System dann aber nicht mehr hochfahren ?
Hat jmd. erfahrungen mit grub und den Alturo Servern ?
habe ich was grundlegendes Vergessen bei der Installation von grub ?
Hier noch paar Konfigurationsdateien und Verzeichnisse:
grub.conf:
default=1
timeout=10
#splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title Fedora Core (2.6.5)
root (hd0,0)
kernel /boot/vmlinuz-2.6.5-1.358smp ro root=LABEL=/
initrd /boot/initrd-2.6.5-1.358smp.img
title Fedora (2.6.9)
root (hd0,0)
kernel /boot/vmlinuz-2.6.9-041221 ro root=LABEL=/
initrd /boot/initrd-vmlinuz-2.6.9-041221.img
Verzeichniss /boot
-rw-r--r-- 1 root root 512 Oct 9 2004 boot.0300
-rw-r--r-- 1 root root 5824 Mar 12 2004 boot.b
-rw-r--r-- 1 root root 612 Mar 12 2004 chain.b
-rw-r--r-- 1 root root 22820 Dec 14 2004 config-2.6.9-041214
-rw-r--r-- 1 root root 22809 Dec 21 2004 config-2.6.9-041221
-rw-r--r-- 1 root root 51220 Nov 19 2004 config-2.6.9-1.6_FC2
-rw-r--r-- 1 root root 50686 Nov 19 2004 config-2.6.9-1.6_FC2smp
drwxr-xr-x 2 root root 4096 Jul 14 15:08 grub
-rw-r--r-- 1 root root 204303 Dec 19 2004 initrd-2.6.9-1.6_FC2.img
-rw-r--r-- 1 root root 197667 Dec 19 2004 initrd-2.6.9-1.6_FC2smp.img
-rw-r--r-- 1 root root 113885 Jul 14 14:25 initrd-vmlinuz-2.6.9-041221.img
drwx------ 2 root root 49152 Jul 12 10:51 lost+found
-rw------- 1 root root 87552 Jul 14 14:32 map
-rw-r--r-- 1 root root 640 Mar 12 2004 os2_d.b
-rw-r--r-- 1 root root 856870 Dec 14 2004 System.map-2.6.9-041214
-rw-r--r-- 1 root root 856870 Dec 21 2004 System.map-2.6.9-041221
-rw-r--r-- 1 root root 725578 Nov 19 2004 System.map-2.6.9-1.6_FC2
-rw-r--r-- 1 root root 754199 Nov 19 2004 System.map-2.6.9-1.6_FC2smp
lrwxrwxrwx 1 root root 20 Jul 12 10:51 vmlinuz -> vmlinuz-2.6.9-041221
-rw-r--r-- 1 root root 1505021 Dec 14 2004 vmlinuz-2.6.9-041214
-rw-r--r-- 1 root root 1505023 Dec 21 2004 vmlinuz-2.6.9-041221
-rw-r--r-- 1 root root 1421022 Nov 19 2004 vmlinuz-2.6.9-1.6_FC2
-rw-r--r-- 1 root root 1388937 Nov 19 2004 vmlinuz-2.6.9-1.6_FC2smp
lrwxrwxrwx 1 root root 20 Jul 12 10:51 vmlinuz.old -> vmlinuz-2.6.9-041214
/boot/grub :
drwxr-xr-x 2 root root 4096 Jul 14 15:08 .
drwxr-xr-x 4 root root 4096 Jul 14 14:35 ..
-rw-r--r-- 1 root root 82 Jul 14 15:07 device.map
-rw-r--r-- 1 root root 7616 Oct 9 2004 e2fs_stage1_5
-rw-r--r-- 1 root root 7344 Oct 9 2004 fat_stage1_5
-rw-r--r-- 1 root root 6656 Oct 9 2004 ffs_stage1_5
-rw------- 1 root root 730 Jul 14 15:29 grub.conf
-rw-r--r-- 1 root root 8160 Oct 9 2004 jfs_stage1_5
lrwxrwxrwx 1 root root 11 Jul 12 10:51 menu.lst -> ./grub.conf
-rw-r--r-- 1 root root 6848 Oct 9 2004 minix_stage1_5
-rw-r--r-- 1 root root 9024 Oct 9 2004 reiserfs_stage1_5
-rw-r--r-- 1 root root 3461 May 6 2004 splash.xpm.gz
-rw-r--r-- 1 root root 512 Oct 9 2004 stage1
-rw-r--r-- 1 root root 101800 Oct 9 2004 stage2
-rw-r--r-- 1 root root 6304 Oct 9 2004 vstafs_stage1_5
-rw-r--r-- 1 root root 9096 Oct 9 2004 xfs_stage1_5
Hi,
ich habe ein kleines großes Problem mit grub und dem Webserver bei Alturo.
Auf dem Server ist Fedora Core 2 vorinstalliert. Ich hatte bereits fedora core 3 drauf und keine Probleme mit lilo den Server zu booten.
Leider war meine neugier zu groß und ich wollte unbedingt grub nutzen. Never touch a running system habe ich dann die ganze nacht träumen müssen.
Naja wie schon gesagt wenn ich lilo nutze und den Standard Kernel den Alturo draufinstalliert hat boote, dann booted dass System auf jedenfall ohne Probleme durch.
Als ich nun eine Ramdisk erstellt habe mit mkinitrd von dem Kernel den auch lilo standardmäßig nutzt.
Und grub in der Kommandozeile installiert habe mit:
grub> root (hd0,0)
grub> setup (hd0)
grub> quit
wollte das System dann aber nicht mehr hochfahren ?
Hat jmd. erfahrungen mit grub und den Alturo Servern ?
habe ich was grundlegendes Vergessen bei der Installation von grub ?
Hier noch paar Konfigurationsdateien und Verzeichnisse:
grub.conf:
default=1
timeout=10
#splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title Fedora Core (2.6.5)
root (hd0,0)
kernel /boot/vmlinuz-2.6.5-1.358smp ro root=LABEL=/
initrd /boot/initrd-2.6.5-1.358smp.img
title Fedora (2.6.9)
root (hd0,0)
kernel /boot/vmlinuz-2.6.9-041221 ro root=LABEL=/
initrd /boot/initrd-vmlinuz-2.6.9-041221.img
Verzeichniss /boot
-rw-r--r-- 1 root root 512 Oct 9 2004 boot.0300
-rw-r--r-- 1 root root 5824 Mar 12 2004 boot.b
-rw-r--r-- 1 root root 612 Mar 12 2004 chain.b
-rw-r--r-- 1 root root 22820 Dec 14 2004 config-2.6.9-041214
-rw-r--r-- 1 root root 22809 Dec 21 2004 config-2.6.9-041221
-rw-r--r-- 1 root root 51220 Nov 19 2004 config-2.6.9-1.6_FC2
-rw-r--r-- 1 root root 50686 Nov 19 2004 config-2.6.9-1.6_FC2smp
drwxr-xr-x 2 root root 4096 Jul 14 15:08 grub
-rw-r--r-- 1 root root 204303 Dec 19 2004 initrd-2.6.9-1.6_FC2.img
-rw-r--r-- 1 root root 197667 Dec 19 2004 initrd-2.6.9-1.6_FC2smp.img
-rw-r--r-- 1 root root 113885 Jul 14 14:25 initrd-vmlinuz-2.6.9-041221.img
drwx------ 2 root root 49152 Jul 12 10:51 lost+found
-rw------- 1 root root 87552 Jul 14 14:32 map
-rw-r--r-- 1 root root 640 Mar 12 2004 os2_d.b
-rw-r--r-- 1 root root 856870 Dec 14 2004 System.map-2.6.9-041214
-rw-r--r-- 1 root root 856870 Dec 21 2004 System.map-2.6.9-041221
-rw-r--r-- 1 root root 725578 Nov 19 2004 System.map-2.6.9-1.6_FC2
-rw-r--r-- 1 root root 754199 Nov 19 2004 System.map-2.6.9-1.6_FC2smp
lrwxrwxrwx 1 root root 20 Jul 12 10:51 vmlinuz -> vmlinuz-2.6.9-041221
-rw-r--r-- 1 root root 1505021 Dec 14 2004 vmlinuz-2.6.9-041214
-rw-r--r-- 1 root root 1505023 Dec 21 2004 vmlinuz-2.6.9-041221
-rw-r--r-- 1 root root 1421022 Nov 19 2004 vmlinuz-2.6.9-1.6_FC2
-rw-r--r-- 1 root root 1388937 Nov 19 2004 vmlinuz-2.6.9-1.6_FC2smp
lrwxrwxrwx 1 root root 20 Jul 12 10:51 vmlinuz.old -> vmlinuz-2.6.9-041214
/boot/grub :
drwxr-xr-x 2 root root 4096 Jul 14 15:08 .
drwxr-xr-x 4 root root 4096 Jul 14 14:35 ..
-rw-r--r-- 1 root root 82 Jul 14 15:07 device.map
-rw-r--r-- 1 root root 7616 Oct 9 2004 e2fs_stage1_5
-rw-r--r-- 1 root root 7344 Oct 9 2004 fat_stage1_5
-rw-r--r-- 1 root root 6656 Oct 9 2004 ffs_stage1_5
-rw------- 1 root root 730 Jul 14 15:29 grub.conf
-rw-r--r-- 1 root root 8160 Oct 9 2004 jfs_stage1_5
lrwxrwxrwx 1 root root 11 Jul 12 10:51 menu.lst -> ./grub.conf
-rw-r--r-- 1 root root 6848 Oct 9 2004 minix_stage1_5
-rw-r--r-- 1 root root 9024 Oct 9 2004 reiserfs_stage1_5
-rw-r--r-- 1 root root 3461 May 6 2004 splash.xpm.gz
-rw-r--r-- 1 root root 512 Oct 9 2004 stage1
-rw-r--r-- 1 root root 101800 Oct 9 2004 stage2
-rw-r--r-- 1 root root 6304 Oct 9 2004 vstafs_stage1_5
-rw-r--r-- 1 root root 9096 Oct 9 2004 xfs_stage1_5