• 23.04.2024, 18:43
  • Registrieren
  • Anmelden
  • Sie sind nicht angemeldet.

 

Gentoo Linux, Grub soll Windows laden...

Dienstag, 10. Juni 2003, 16:46

Hallo Leute,

Bin mal gespannt ob ihr mir hier weiterhelfen könnt.

Ich habe mir vor ein paar Tagen das Gentoo Linux zugelegt und habe es auch schon installiert. Allerdings komme ich seit dem nicht mehr an mein Windows ran was auch logisch ist; ich habe es in den Bootloader (GRUB) noch nicht eingetragen. Mein Problem ist, dass ich nicht weis was ich da eintragen muss damit ich das beim Booten auswählen kann? :-/

Bin mal auf eure Antworten gespannt...

greetingz
hobbez

[glow=blue,2,300]Wakü rulezz[/glow]

LiquidAcid

unregistriert

Re: Gentoo Linux, Grub soll Windows laden...

Dienstag, 10. Juni 2003, 17:30

Wenn man sich mal das Manual durchlesen würde, dann wäre das ganz schnell klar... ::)
Ach, ich will ja nicht so sein..

Meine menu.lst (in /boot/grub zu finden)

Zitat

# /boot/grub/menu.lst - See: grub(8), info grub, update-grub(8)
# -------------------- grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
default 0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 5

# Pretty colours
color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default optons below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## e.g. kopt=root=/dev/hda1 ro
# kopt=root=/dev/hda3 ro hdc=ide-scsi hdd=ide-scsi

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,2)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery mode) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all

## ## End Default Options ##

title Debian GNU/Linux, kernel 2.4.21-rc-ac1-custom1
root (hd0,2)
kernel /boot/vmlinuz-2.4.21-rc-ac1-custom1 root=/dev/hda3 ro hdc=ide-scsi hdd=ide-scsi
savedefault
boot

title Debian GNU/Linux, kernel 2.4.21-rc-ac1-custom1 (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.4.21-rc-ac1-custom1 root=/dev/hda3 ro hdc=ide-scsi hdd=ide-scsi single
savedefault
boot

title Debian GNU/Linux, kernel 2.4.21-pre7-ac1-custom1
root (hd0,2)
kernel /boot/vmlinuz-2.4.21-pre7-ac1-custom1 root=/dev/hda3 ro hdc=ide-scsi hdd=ide-scsi
savedefault
boot

title Debian GNU/Linux, kernel 2.4.21-pre7-ac1-custom1 (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.4.21-pre7-ac1-custom1 root=/dev/hda3 ro hdc=ide-scsi hdd=ide-scsi single
savedefault
boot

title Debian GNU/Linux, kernel 2.4.20-custom1
root (hd0,2)
kernel /boot/vmlinuz-2.4.20-custom1 root=/dev/hda3 ro hdc=ide-scsi hdd=ide-scsi
savedefault
boot

title Debian GNU/Linux, kernel 2.4.20-custom1 (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.4.20-custom1 root=/dev/hda3 ro hdc=ide-scsi hdd=ide-scsi single
savedefault
boot

### END DEBIAN AUTOMAGIC KERNELS LIST

title Windows 2000 Professional Edition
root (hd0,0)
makeactive
chainloader +1


cya
liquid

Re: Gentoo Linux, Grub soll Windows laden...

Dienstag, 10. Juni 2003, 19:12

Glaub mir, das hätte ich schon längst gemacht wenn ich eine hätte... :-/

Danke! ;)a

Gruß
hobbez
[glow=blue,2,300]Wakü rulezz[/glow]

LiquidAcid

unregistriert

Re: Gentoo Linux, Grub soll Windows laden...

Dienstag, 10. Juni 2003, 20:26

Dokumentation findeste hier (HTML-Type). Sonst hilft auch ein "man grub" auf der Konsole.

cya
liquid

Re: Gentoo Linux, Grub soll Windows laden...

Dienstag, 10. Juni 2003, 22:29

thx

edit: ich glaub topic closed ::)
[glow=blue,2,300]Wakü rulezz[/glow]

tux-fan

Junior Member

Re: Gentoo Linux, Grub soll Windows laden...

Mittwoch, 11. Juni 2003, 20:48

Je nach Aktualität deiner Gentoo Installation heißt die Konfiguration nicht mehr "menu.lst" sondern "grub.conf" . Hier mal noch meine "grub.conf"

# Boot automatically after 5 secs.
timeout 5

# By default, boot the first entry.
default 0

title=Gentoo GNU/Linux 1.4
root=(hd0,2)
kernel=(hd0,2)/boot/2.4.20game3 root=/dev/hdb3

# For booting Windows 98
title Windows-98 (hda1)
rootnoverify (hd0,0)
chainloader (hd0,0)+1

LiquidAcid

unregistriert

Re: Gentoo Linux, Grub soll Windows laden...

Mittwoch, 11. Juni 2003, 20:50

Warum braucht Gentoo eigentlich immer ne Ramdisk, geht das nicht auch ohne? Hab bei mir nämlich den Ramdisk Support ausgestellt, eigentlich in jedem Kernel den ich schon compiled habe.

cya
liquid

tux-fan

Junior Member

Re: Gentoo Linux, Grub soll Windows laden...

Mittwoch, 11. Juni 2003, 20:56

Die Ramdisk ist nur bei Verwendung des Splashscreen im Zusammenhang mit Framebufferkonsole wichtig, ansonsten kannste die Ramdisk weglassen.

Ich ändere mal noch die "grub.conf" für normale Konsole.

Re: Gentoo Linux, Grub soll Windows laden...

Mittwoch, 11. Juni 2003, 21:52

hach ja, das gute alte gentoo... ;D
irgendwie lol, wollt mer des grad auch ma wieder druffziehen (ok, ma eben so macht man des nich aba ich hab ja zeit ;D)

btw: grub is ned wirklich schwer zu verstehen, und notfalls gibts ja noch ne anleitung dazu, ne manpage und in der gentoo install anleitung stehts auch nochma, wer da nix findet is selber schuld ;)

Re: Gentoo Linux, Grub soll Windows laden...

Donnerstag, 12. Juni 2003, 00:17

abgesehen davon gibt es noch den groovigen alten LILO ;-) der bei mir immernoch verwendung findet, ich glaub der ist seit suse 6.2 drauf oder so *lol* immer die platten mit dd auf andere geschrieben und da kommt ja bekanntlich alles andere mit ;-)
Wie auch immer, wie tux-fan schon sagte, gentoo brauch im normalfall keine ramdisk halt nur wenn du die bootsplashscreens benutzt, die inzwischen uebrigens sehr huebsch sind und im silent mode so aussehen das man gar nicht mehr erkennt das man linux draufhat (keine meldungen mehr der services die gestartet werden :-))

Re: Gentoo Linux, Grub soll Windows laden...

Donnerstag, 12. Juni 2003, 02:34

wie? keine meldungen?
da würd mer aba wirklich wat fehlen ::) ;)

LiquidAcid

unregistriert

Re: Gentoo Linux, Grub soll Windows laden...

Donnerstag, 12. Juni 2003, 02:48

Also mir definitiv auch. Ich hab extra meine Bootscripts angepasst, dass ich noch ein wenig mehr Log habe. Da fühlt man sich doch gleich besser wenn man weiß, was das System schon wieder für Blödsinn macht.

cya
liquid

Re: Gentoo Linux, Grub soll Windows laden...

Donnerstag, 12. Juni 2003, 03:02

jo, da sieht man gleich obs sys so läuft wies das sollte

Re: Gentoo Linux, Grub soll Windows laden...

Donnerstag, 12. Juni 2003, 20:29

Das sieht mna mit bootsplash silent auch, denn wenn nen fehler kommt, kommt sofort der verbose mode, und man kann wieder alle meldungen sehen :-)

Re: Gentoo Linux, Grub soll Windows laden...

Donnerstag, 12. Juni 2003, 20:30

das ist trotzdem nicht das selbe :P ;)
außerdem: wieso installierst du eigentlich linux wennes dann doch wieder auf windows trimmst? ??? ;D ;)

Re: Gentoo Linux, Grub soll Windows laden...

Freitag, 13. Juni 2003, 10:41

*lol* ne so schaut ja windows nicht aus wenn es laed, das sieht wenn dann schon eher nach mac os x aus. abgesehen davon nach ca 3 jahren geht dir dieser verbose mode mit den ganzen meldungen auf die eier... wenn ich ihn brauche schalte ich ihn ja ein aber sonst lieber mit bild ;-) Du glaubst gar nicht wie verdutzt die ganzen windows user hier immer gucken, die wissen immer gar nicht was da nun fuer ein os laeuft ;-)