WCM Forum

WCM Forum (http://www.wcm.at/forum/index.php)
-   Linux, UNIX, Open Source (http://www.wcm.at/forum/forumdisplay.php?f=13)
-   -   Wie GRUB umschreiben. (http://www.wcm.at/forum/showthread.php?t=79340)

Pioneer 04.12.2002 17:11

Wie GRUB umschreiben.
 
Kaum habe ich Red Hat 7.2 installiert schon habe ich schon ein Problem. :heul: :lol:

Folgendes:
Zitat:

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,2)
# kernel /boot/vmlinuz-version ro root=/dev/hda3
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,2)/boot/grub/splash.xpm.gz
title Red Hat Linux (2.4.7-10)
root (hd0,2)
kernel /boot/vmlinuz-2.4.7-10 ro root=/dev/hda3 hdd=ide-scsi
title DOS
rootnoverify (hd0)
chainloader +1
Beim Starten kann ich wählen zwischen Red Hat und "Dos". Red Hat geht aber "Dos" will nicht.

Danke

Lotussteve 04.12.2002 18:06

Re: Wie GRUB umschreiben.
 
Zitat:

Original geschrieben von Pioneer
Folgendes:
title DOS
rootnoverify (hd0)
chainloader +1

Beim Starten kann ich wählen zwischen Red Hat und "Dos". Red Hat geht aber "Dos" will nicht.

Hallo!

Sollte das nicht eher:

rootnoverify (hd0,0)
makeactive
chainloader +1

für C: heissen?



Ciao,

Steve

cccp33 04.12.2002 18:07

hi

weil das red... deinem mbr(master boot...) überschrieben hat und dadurch geht auch dein Dos nicht, wenn du wieder ein windows installieren willst dan mußt du den mbr mit einer dos startdisk rücksetzen : fdisk /mbr :

mfg cccp33

Lotussteve 04.12.2002 18:13

Zitat:

Original geschrieben von cccp33
weil das red... deinem mbr(master boot...) überschrieben hat und dadurch geht auch dein Dos nicht, wenn du wieder ein windows installieren willst dan mußt du den mbr mit einer dos startdisk rücksetzen : fdisk /mbr :

Hallo!

Bullshit, natürlich kann GRUB DOS oder Windows , oder auch BSD oder The Hurd booten.....was soll der Tip?



Ciao,

Steve

Pioneer 04.12.2002 18:16

Re: Re: Wie GRUB umschreiben.
 
Zitat:

Original geschrieben von Lotussteve


Hallo!

Sollte das nicht eher:

rootnoverify (hd0,0)
makeactive
chainloader +1

für C: heissen?



Ciao,

Steve

THX das war die Lösung

santi 04.12.2002 18:45

Hi Steve,
nur so aus Neugierde :D - was macht denn das "makeactive" eigentlich, brauch ich das :confused:

Bei mir wurde das nicht automatisch in die grub.conf reingeschrieben:
Code:

# grub.conf generated by anaconda
....
....
title DOS
        rootnoverify (hd0,0)
        chainloader +1

Gruß
santi

Lotussteve 04.12.2002 18:59

Zitat:

Original geschrieben von santi
Hi Steve,
nur so aus Neugierde :D - was macht denn das "makeactive" eigentlich, brauch ich das :confused:

Hallo!

Ich hab mich da strikt an "info grub" gehalten:

File: grub.info, Node: Chain-loading, Prev: Loading an operating system directly, Up: General boot methods

Load another boot loader to boot unsupported operating systems
--------------------------------------------------------------

If you want to boot an unsupported operating system (e.g. Windows
95), chain-load a boot loader for the operating system. Normally, the
boot loader is embedded in the "boot sector" of the partition on which
the operating system is installed.

First, set GRUB's root device to the partition by the command
`rootnoverify':

grub> rootnoverify (hd0,0)

Second, set the "active" flag in the partition by the command
`makeactive'(1) (*note Chain-loading-Footnote-1::):

grub> makeactive

Third, load the boot loader by the command `chainloader':

grub> chainloader +1

`+1' indicates that GRUB should read one sector from the start of
the partition. The complete description about this syntax can be found
in *Note Filesystem::. If this succeeds, run the command `boot'.

However, DOS and Windows have a deficiency, so you might have to use
more complicated instructions. *Note OS-specific notes::, for more
information.

Wenn es ohne geht kein Problem :)



Ciao,

Steve

santi 04.12.2002 21:15

Hi Steve,
aha, "active" flag für die Partition setzen. Ja, unter RH 8.0 geht Win98 eh so auch problemlos zu booten.

Werde mir mal "info grub" reinziehen wenn ich wieder am PC sitze. Jetzt am Laptop habe ich die Grub - Dokumentation nicht installiert.
Für Mandrake habe ich LILO passender empfunden ;)

Danke Dir jedenfalls für Deine Antwort!

Gruß
santi


Alle Zeitangaben in WEZ +2. Es ist jetzt 13:28 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© 2009 FSL Verlag