Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Welche Einstellungen beim Bootloader ??
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
minbari
n00b
n00b


Joined: 06 Nov 2002
Posts: 27
Location: Lübeck

PostPosted: Thu Nov 21, 2002 11:44 pm    Post subject: Welche Einstellungen beim Bootloader ?? Reply with quote

Hallo,

ich möchte alle Betriebssysteme mit einem Bootloader starten.
Benutze bisher Grub.
Konnte aber Grub nicht dazu gekommen Win 98 oder XP zu starten.
Wollte es daher mit LiLO versuchen, beim Aufruf von LiLo kam es aber zu Folgender Fehlermeldung:
"Fatal: First sector of /dev/hda1 doesn`t have a valid boot signature"
Der mbr ist ja schon von Grub beschrieben, muß ich den mbr erst löschen / wiederherstellen, bevor ich LILO installieren kann?

Kann mir jemand helfen, vielleicht wenigstens grub zum laufen zu bringen? Oder was hat die LILO Fehlermeldung zu bedeuten?

Also hier mal die Hardware:

ATA 66
hda - Gentoo (hda1=boot, hda2 =swap, hda3=root)
hdb - DVD
hdc - Win98
hdd - Brenner

ATA 100
hde - Mandrake 9 + Win XP (hde1, hde3=Win XP; hde5=root; hde6=swap; hde7=home)

Okay, hab ne Bootdisk erstellt, und mittels fdisk/mbr den mbr leer gefegt.
Danach wieder versucht, lilo zu installieren, gleiche Fehlermeldung.
Ich kann mit fdisk den mbr schreiben, ich kann mit grub den mbr schreiben, nur mit lilo nicht.
Wieso nicht, mag er die HD nicht?? Ich bekomm grub nicht dazu windows zu starten, hab hier grad ein buch zu hilfe genommen, der
Autor berichtet ebenfalls, daß grub dazu nicht in der lage war.

Kann mir jemand helfen?
Back to top
View user's profile Send private message
WiredEd
Apprentice
Apprentice


Joined: 11 Sep 2002
Posts: 171
Location: Bochum, Germany

PostPosted: Fri Nov 22, 2002 3:55 am    Post subject: Reply with quote

poste doch mal deine lilo.conf

ohne die kann man überhaupt keine diagnose stellen.
Back to top
View user's profile Send private message
minbari
n00b
n00b


Joined: 06 Nov 2002
Posts: 27
Location: Lübeck

PostPosted: Fri Nov 22, 2002 1:03 pm    Post subject: Reply with quote

Das Problem ist nicht die Lilo Config, noch nicht.
Das Problem ist, das Lilo nicht mal auf den Bootsektor kommt. (Siehe Fehlermeldung oben).

Hier die LILO. conf

boot=/dev/hde
map=/boot/map
vga=normal
default=Mandrake_9
keytable=/boot/de-latin1-nodeadkeys.klt
prompt
nowarn
timeout=50
message=/boot/message
menu-scheme=wb:bw:wb:bw
disk=/dev/hde bios=0x80
image=/boot/vmlinuz
label=failsafe
root=/dev/hde5
initrd=/boot/initrd.img
append="failsafe devfs=nomount hdc=ide-scsi"
read-only
other=/dev/hde1
label=windows_xp
table=/dev/hde
other=/dev/fd0
label=floppy
unsafe
image=/boot/vmlinuz
label=Mandrake_9
root=/dev/hde5
initrd=/boot/initrd.img
vga=788
read-only
other=/dev/hdc1
label=Windows_98
table=/dev/hdc
map-drive=0x80
to=0x81
map-drive=0x81
to=0x80
Back to top
View user's profile Send private message
plate
Bodhisattva
Bodhisattva


Joined: 25 Jul 2002
Posts: 1663
Location: Berlin

PostPosted: Fri Nov 22, 2002 3:07 pm    Post subject: Reply with quote

Von Lilo hab ich keine Ahnung, aber in GRUB müßte es eigentlich schon völlig genügen, wenn Du die Laufwerksbezeichnungen vertauschst. Probier doch einfach mal:

Code:
map (hd0) (hd2)
map (hd2) (hd0)
rootnoverify (hd0,0)
chainloader +1

für Win95 bzw.

Code:
map (hd0) (hd4)
map (hd4) (hd0)
rootnoverify (hd0,0)
chainloader +1

für XP.
Back to top
View user's profile Send private message
minbari
n00b
n00b


Joined: 06 Nov 2002
Posts: 27
Location: Lübeck

PostPosted: Fri Nov 22, 2002 5:12 pm    Post subject: Reply with quote

Hallo,

danke für die Hilfe.

Meine menu.lst sieht so aus:

default 0
timeout 10

splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title=Minbaris Gentoo Linux
root (hd0,0)
kernel /boot/bzImage root=/dev/hda3

title=Windows 98
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd0,0)
chainloader +1

title=Windows XP
map (hd0) (hd2)
map (hd2) (hd0)
rootnoverify (hd0,0)
chainloader +1

title=Mandrake 9
map (hd0) (hd2)
map (hd2) (hd0)
root (hd0,2)
kernel /boot/vmlinuz-2.4.19-16mdk ro root=/dev/hde5
initrd /boot/initrd-2.4.19-16mdk.img

Und nichts geht.... :cry:

Bei win 98 kommt " Error 13: Invalid or unsupportable executable format"
Back to top
View user's profile Send private message
plate
Bodhisattva
Bodhisattva


Joined: 25 Jul 2002
Posts: 1663
Location: Berlin

PostPosted: Sat Nov 23, 2002 12:45 pm    Post subject: Reply with quote

Stei, Polizop! Wenn es stimmt, was Du in Deinem ersten Posting geschrieben hast, liegt XP bei Dir auf /dev/hde und Windows Asbach auf /dev/hdc, richtig? Das wäre dann (hd4) und (hd2), nicht (hd2) und (hd1). GRUB zählt die Platten so:
Code:
hda   (hd0)
hdb   (hd1)
hdc   (hd2)
hdd   (hd3)
hde   (hd4)

Wenn ich das alles richtig interpretiere, kassierst Du den Error 13, weil Deine Windows 98 Partition erfolglos auf dem DVD-Laufwerk gesucht wird, und Dein angeblicher XP-Eintrag versucht in Wirklichkeit Windows 98 zu booten. Fragt sich eigentlich nur, warum er auch das nicht tut, Du könntest spaßeshalber mal ein makeactive zwischen rootnoverify und chainloader einfügen. Sollte eigentlich auch ohne funktionieren, aber wer weiß.
Back to top
View user's profile Send private message
bvetter
n00b
n00b


Joined: 14 Aug 2002
Posts: 46

PostPosted: Sat Nov 23, 2002 1:04 pm    Post subject: Reply with quote

naja die zählweise ist in sofern nicht ganz richtig das grub die cdroms nicht berücksichtigt :D
Code:

hda - hd0
hdb - cdrom(keine kennung)
hdc - hd1
...


bvetter
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