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

[solved] Ubuntu von Grub SuSE booten

The_Eye

Member
Weil Gnome auch unter SuSE 9.3 noch immer eine lahme Krücke - keine Ahnug wie die das immer hin bekommen, habe ich Ubuntu 5.04 installiert.
Da ich aber keinen Urlaub habe, wollte ich Ubuntu 1x neben SuSE laufen lassen. Habe Ubuntu also auf hda2 installiert, LILO aber wieder von SuSE durch GRUB ersetzen lassen, weil Ubuntu SuSE nicht erkannt hat. SuSE aber erkennt auch Ubuntu nicht und glaubt auf auf hda2 liegt noch immer W*ndows. Wie also bringe ich Grub unter SuSE bei, dass es Ubuntu bootet?

Gruß
 

TeXpert

Guru
manuelles editieren der grub - menu.lst -> Suchfunktion das Thema gibts hier schon Tausendfach (BTW, bei mir istalliert ubuntu auch grub...)
 

Dakuan

Hacker
Momentan boote ich auch alles mit dem Grub von SuSE 9.2. Der macht optisch mehr her. Momentan sieht meine menu.lst so aus:
Code:
# Modified by YaST2. Last modification on Tue Nov 30 04:03:06 2004

color white/blue black/light-gray
default 3
timeout 10
gfxmenu (hd0,7)/boot/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE LINUX 9.2
    kernel (hd0,7)/boot/vmlinuz root=/dev/hda8 vga=0x317 selinux=0 splash=verbose  resume=/dev/hda10 desktop elevator=as showopts
    initrd (hd0,7)/boot/initrd

###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
    root (hd0,0)
    chainloader +1

title		Kanotix BH8/2004
root		(hd0,10)
kernel		/boot/vmlinuz root=/dev/hda11 ro ramdisk_size=100000 lang=de apm=power-off hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi nomce vga=0x317 
savedefault
boot

title  Ubuntu Linux 
 root  (hd0,14) 
 kernel /boot/vmlinuz-2.6.8.1-3-386 root=/dev/hda15 ro vga=0x317
 initrd /boot/initrd.img-2.6.8.1-3-386 
 savedefault 
 boot

title  Agnula DeMuDi
 root  (hd0,12) 
 kernel /boot/vmlinuz-2.4.25-1-multimedia-k7 root=/dev/hda13 ro vga=0x317
 initrd /boot/initrd.img-2.4.25-1-multimedia-k7
 savedefault 
 boot


###Don't change this comment - YaST2 identifier: Original name: floppy###
title Diskette
    root (fd0)
    chainloader +1

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE LINUX 9.2
    kernel (hd0,7)/boot/vmlinuz root=/dev/hda8 showopts ide=nodma apm=off acpi=off vga=normal noresume selinux=0 barrier=off nosmp noapic maxcpus=0  3
    initrd (hd0,7)/boot/initrd
Ich denke ds sind genug Anregungen. Die dazu passende Partitionierung findest du an anderer Stelle unter Partitionierungsvorschläge.

Dakuan
 
OP
T

The_Eye

Member
@TeXpert
Ubuntu hat sich bei miir geweigert Grub zu installieren so dass ich LILO aufgestpielt habe, welches sich aber für andere Systeme echt nicht interessierte ;-)


Also, so sieht jetzt meine menu.lst aus:

# Modified by YaST2. Last modification on Do Jul 21 16:02:01 CEST 2005

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

###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE LINUX 9.3
kernel (hd0,4)/boot/vmlinuz root=/dev/hda5 vga=0x317 selinux=0 splash=silent resume=/dev/hda1 showopts
initrd (hd0,4)/boot/initrd


title Ubuntu, kernel 2.6.10-5-686
root (hd0,1)
kernel /vmlinuz-2.6.10-5-686 root=/dev/hda2 ro vga=0x317
initrd /initrd.img-2.6.10-5-686
savedefault
boot

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE LINUX 9.3
kernel (hd0,4)/boot/vmlinuz root=/dev/hda5 showopts ide=nodma apm=off acpi=off vga=normal noresume selinux=0 barrier=off nosmp noapic maxcpus=0 3
initrd (hd0,4)/boot/initrd

Aber leider funktioniert es noch immer nicht und endet mit dem Fehler: Error 15???

Was stimmt da noch nicht?

Gruß und Danke für die Hilfe!
 

TeXpert

Guru
The_Eye schrieb:
Aber leider funktioniert es noch immer nicht und endet mit dem Fehler: Error 15???

Was stimmt da noch nicht?

Gruß und Danke für die Hilfe!

auf den ersten Blick sieht die Syntax korrekt aus, ein Blick in info grub hätte Dir gesagt:
15 : File not found
This error is returned if the specified file name cannot be found,
but everything else (like the disk/partition info) is OK.
stimmen die Pfade zum Kernel und der initrd?
 
OP
T

The_Eye

Member
Oh je - blind wird die Welt zu Grunde gehen ;-)

Es muss heißen:
title Ubuntu, kernel 2.6.10-5-386
root (hd0,1)
kernel /boot/vmlinuz-2.6.10-5-386 root=/dev/hda2 ro vga=0x317
initrd /boot/initrd.img-2.6.10-5-386
savedefault
boot

Hurra, jetzt funzt es - schreibe von Ubuntu aus ;-)

DANKE!!!
 
Oben