• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Booten mit GRUB von Diskette für SuSE 10.3 - 32 und 64 bit

flemmingr

Newbie
Hallo,
ich bin "reiner" SuSE-Einsteiger.
Bei SuSE 10.1 konnte ich GRUB auf Diskette schreiben lassen und von da aus das gewünschte Betriebssystem (damals Win98, WinXP, SuSE) auswählen.
Bei SuSE 10.2 konnte ich als root über den Code grub-install /dev/fd0
auf eine frisch FAT-formatierte Diskette den Bootmanager schreiben lassen und dann von der bootenden Diskette wieder ein Betriebssystem (damals WinXP, SuSE-32, SuSE-64 bit) auswählen.
Bei SuSE 10.3-32 bit und 64-bit funktioniert das nicht. Auf dem Terminal erhalte ich folgende Angaben:
linux:~ # grub-install /dev/fd0
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> setup --stage2=/boot/grub/stage2 (hd0,1) (hd0,1)
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,1)"... failed (this is not fatal)
Running "embed /boot/grub/e2fs_stage1_5 (hd0,1)"... failed (this is not fatal)
Running "install --stage2=/boot/grub/stage2 /boot/grub/stage1 (hd0,1) /boot/grub/stage2 p /boot/grub/menu.lst "... succeeded
Done.
grub> quit
linux:~ #

Nur auf die Diskette wird nichts geschrieben (die LED des Diskettenlaufwerks leuchtet nur kurz auf), so dass ich mein Linux über die DVD über [Installation -> weitere Optionen -> installiertes System starten] booten muss.
Ich will es aber wie früher bei Bedarf über die Boot-Diskette starten.

Ich habe hd0,0 mit Windows XP (primär, aktiv) und hd0,1 mit SuSE 10.3 (primär, nicht aktiv) belegt. Weitere Partitions sind auf hd0 (SATA-Laufwerk) in einer erweiterten Partition (FAT32) vorhanden.

Wer kann mir bitte helfen bzw. was habe ich falsch gemacht?
 
OP
F

flemmingr

Newbie
Meine Hardware, etwas ausführlicher:
PCI-E-Motherboard - Gigabyte 965 GM-DS2
· mit Award-BIOS Vers. F6 (vom 28.05.2007)
· Intel Core Duo 2 E6600 mit 2x 2,4 GHz
· LAN (on-Board): Marvell Youkon 88E8056 Gigabit PCI-e Ethernet
· Audio (on-Board): Real Audio HD
2048 MB DDR2-RAM 400 MHz von MCI Computers

Grafikkarte von Gigabyte: GV-NX86T256H
Conexant: 56k PCI-Soft Modem (wird unter Linux nicht erkannt)
Hauptauge: WinTV PVR PCI II (26xxx) (wird zwar von Linux erkannt, funktioniert nicht)

2x S-ATA-2-HDD von Samsung SP2504C VT10
2x opt. S-ATA-Laufwerke (HL-DT-ST: DVD-ROM GDRH10N; Opticar; DVD-RW AD 7173S)

Inzwischen habe ich SuSE 10.3 entfernt und Debian 4.0 rl "Etch" (i386) versucht zu installieren: 2x Abbruch wegen "Softwarefehler".
 
Unter 10.3 ist grub-install ein Skript in dem kein Parameter genutzt wird.
=> Jemand hat "geschlampt" und das original grub-install unbrauchbar gemacht.
Wahrscheinlich hat derjenige "man grub-install" nicht angeschaut.

Haveaniceday

Code:
more /usr/sbin/grub-install
#!/bin/sh

# Instead of the unsupported guessing method of the original grub-install
# script, use the grub installation scriptlet generated by yast.

# Sanity check
test -x /usr/sbin/grub && \
    grep -q quit /etc/grub.conf 2>/dev/null && \
    grub --batch < /etc/grub.conf && exit 0

# Sanity check failed -- call yast2
/sbin/yast2 bootloader

# Try again. This time it must succeed, otherwise return the error.
grub --batch < /etc/grub.conf
 
*grab* welches Paket gibt grub-install => grub
rpm -q -l grub
...
/usr/sbin/grub-install.unsupported
...

Siehe da, das alte File ist noch da...
Versucht mal "/usr/sbin/grub-install.unsupported /dev/fd0".

Haveaniceday

PS: Ich mache mal einen opensuse Fehler auf.
Edit: https://bugzilla.novell.com/show_bug.cgi?id=339995
 

AlGaN

Newbie
Hallo haveaniceday,

sorry, wenn ich den Thread hier 'kapere', aber leider habe ich dasselbe Problem mit grub, ich will grub in den Bootsektor meiner /boot-Partition installieren (/dev/sda6) (openSuse 10.3, sda1 ist WinXP-Systempartition, sda5 WinXP-Datenpartition)

Eine Installation von Hand mit
Code:
/usr/sbin/grub-install.unsupported /dev/sda6
bringt einen Fehler:
Code:
Stage 1 could not be read
oder so ähnlich, obwohl die stage1 unter /boot/grub/ liegt.

Wenn ich dann mittels dd den Bootsektor von sda6 nach bootsek.lin kopiere, kommt beim Starten ebenfalls nur ein blinkender Cursor...

Danke für alle Hinweise

P.S.: Die Suse 10.3 hat leider bis jetzt keinen sehr ausgereiften Eindruck hinterlassen...
 
Hi AlGaN,
das wäre eigentlich einen neuen Thread wert.
Mach mal mit der Ausgabe von "bash -x /usr/sbin/grub-install.unsupported /dev/sda6" einen neuen Thread auf.

Warst du root während des Aufrufes ?

Haveaniceday
 
Oben