Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Komplizierte Grub Konfiguration... brauche ideen ;)
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
øxygen
Apprentice
Apprentice


Joined: 09 Mar 2004
Posts: 236
Location: Bergheim, Germany

PostPosted: Sat Mar 20, 2004 10:34 am    Post subject: Komplizierte Grub Konfiguration... brauche ideen ;) Reply with quote

Also erstmal zur Situation:

hda: hda1 /boot, hda5 swap, hda6 /
Dann hab ich noch einen Fasttrack OnBoard Raid Controller auf dem Array läuft Windows XP (ntfs)

Jetzt habe ich das Problem, dass ich nicht mit dem NT-Bootmanager Grub laden kann, bleibt bei GRUB stehen. Habe versucht mit
dd if=/dev/hda of=gentoo.bin bs=512 count=1
den MBR zukopieren und gentoo.bin in die boot.ini eingetragen.

Genauso kann ich nicht mit Grub den NT Bootmanager starten, da der auf dem RAID Array liegt, das Grub aber nicht kennt.

Ich habe zwar im Bios ein kleines Bootmenü mit dem ich das Bootlaufwerk, also z.b. Floppy, IDE-0, IDE-1, CDROM, BBS-0 (Raid) auswählen kann, aber das ist doch reichlich unschön. Jemand ne Idee wie ich das lösen kann? Die Reinfolge der Bootmanager ist egal, sollte nur funktionieren. Wenn es mit lilo ginge soll mir das auch recht sein. Danke schonmal
Back to top
View user's profile Send private message
DarKRaveR
Guru
Guru


Joined: 11 Oct 2003
Posts: 500
Location: Old Europe/G-Many

PostPosted: Sat Mar 20, 2004 5:03 pm    Post subject: Reply with quote

Also,w enn das BIOS das stripe laden kann, kann grub das mit sicherheit auch. Allerdings ist die Konfiguration nicht so trivial.

Bedenke die grub.conf schreibst du im laufenden linux, grub liest sie während
des bootens, die hdx Bezeichnungen werden auf BIOS drive numbers abgebildet, BIOS drive numbers sind abhängig von der boot reihenfolge.

Deine grub.conf mit der du das ganze versucht hast, wäre mal interessant.

idass dein dd nicht funktioniert ist klar, in den ersten 512 bytes liegt nur der stage1 von grub und wenn der nicht ausreicht um die config etc. zu laden kann es gut sein, daß er hängen bleibt (Siehe hierzu die Grub Doku und mögliche Ursachen)., Du könntest mal Spaßeshalber folgendes probieren:

stage 1 udn stage 2 zu konkaternieren und in eine Datei zu schreiben und diese dann dem windows bootmanager zu geben.

Ich habe so eine grub boot disk erzeugt, mit der ich grub dann installieren konnte etc. weil es von linux nicht ging, wegen treiberproblemen mit dem raid controller.
Back to top
View user's profile Send private message
UTgamer
Veteran
Veteran


Joined: 10 Aug 2003
Posts: 1326
Location: Troisdorf (Köln) Deutschland

PostPosted: Sat Mar 20, 2004 6:37 pm    Post subject: Reply with quote

Ist zwar jetzt ein [DUP], aber ich poste nochmal meine Konfigs. Da liegt W2K auf dem RAID, und ich boote von hda mit Grub.

device.map
Code:
(fd0)   /dev/fd0
(hd0)   /dev/hda
(hd1)   /dev/hdb
(hd2)   /dev/ataraid/d0
(hd3)   /dev/ataraid/d1

grub.conf
Code:

gfxmenu (hd0,0)/message
color white/blue black/light-gray
default 0
timeout 8

title Gentoo
root (hd0,1)
kernel (hd0,1)/gentoo-2-4-25 root=/dev/hda6

title  Gentoo 1.4
    root (hd0,1)
    kernel (hd0,1)/gentoo_sys2_2-4-25 root=/dev/hdb10
#    initrd (hd0,1)/initrd-2.4.20-gentoo-r5

title System2
    kernel (hd0,0)/bzImage_framebuffer root=/dev/hdb3 vga=0x303 acpi=off hdc=ide-scsi hdclun=0 splash=silent showopts
    initrd (hd0,0)/initrd

title Windows System 1
    root (hd2,1)
    makeactive
    chainloader +1

title Windows System 2
    root (hd2,2)
    makeactive
    chainloader +1

title floppy
    root (fd0)
    chainloader +1

So könnte deine auch aussehen.

Gruss
UTgamer, der das Windoof nur noch für ein einziges Spiel benötigt :(
_________________
AMD Phenom II x4 >> CFLAGS="-march=amdfam10 -O2 -mmmx -msse3 -mfpmath=sse,387 -pipe -ffast-math" is stable and here in use.

Did Intel produce at any time bugfree HW?
http://www.urbanmyth.org/microcode/
http://www.heise.de/newsticker/meldung/91748


Last edited by UTgamer on Sat Mar 20, 2004 6:41 pm; edited 1 time in total
Back to top
View user's profile Send private message
øxygen
Apprentice
Apprentice


Joined: 09 Mar 2004
Posts: 236
Location: Bergheim, Germany

PostPosted: Sat Mar 20, 2004 6:39 pm    Post subject: Reply with quote

Danke das sieht schonmal gut aus... bei mir haben die Einträge in device.map gefehlt. Werde später berichten ob ich erfolg hatte ;)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum