GELÖST!!! multiboot xp osx linux auf s10e 4333 a13 ? wie gehts ? grub1

nicklos

Active member
Themenstarter
Registriert
22 Dez. 2006
Beiträge
4.046
ich hab mal ne frage
hat schon einer von euch eine dualbootlösung mit xp und osx auf einem ideapad am laufen und wenn ja WIE ?
eine triplebootlösung mit linux wäre auch interessant.
ich habe folgendes gemacht
die original hdd geklont und dann mit acronis 10 partitioniert
die xp partition auf 35 gb verkleinert eine partition für osx und eine für daten im fat 32 format.
osx lies sich nur installieren, nachdem ich ein linux auf die leere partition gepackt hatte.
nach der installation bootete das s 10 direkt ins osx.
hab danach noch das netbuntu installiert und im grub tauchten dann alle drei betriebssyteme auf nur osx lies sich nicht booten ich erhielt eine fehlermeldung
xp allerdings und das netbuntu liessen sich booten.
was habe ich falsch gemacht?
bzw wie gehe ich sinnvollerweise richtig vor
ein image vom xp hab ich gemacht, dürfte als kein problem sein dies wiederherzustellen, falls ich die platte platt machen und neu partitionieren müßte.
vielen dank für eure antworten



LÖSUNG


also xp home war ja schon drauf ( klon )
dann die ganze chose partitioniert acronis / paragon / gparted egal recoverypartition entfernt
am längsten dauerte das einrichten von windows und das herunterladen der linuxupdates, da ich nur eine dsl light verbindung habe :)
windows
bei mir 35 gb ---------->
osx 35 gb ----------> diese drei partionen als primäre eingerichtet
linux 19 gb ---------->
und der rest fat 32

herunterladen der datei pc_efi v10.5 ( internetsuche betätigen ) wird ständig aktualisiert

dann die datei unter linux entpacken und in das boot verzeichnis kopieren
dann die menu.lst in linux wie folgt modifiziert (mikar sei dank) und eingedampft


## default num
default 0

## timeout sec
timeout 10

# Entry 0 - Ubuntu
title Ubuntu
uuid 522c9650-2002-43a6-8cb9-bbd908815341
kernel /boot/vmlinuz-2.6.31-20-generic root=UUID=522c9650-2002-43a6-8cb9-bbd908815341 ro quiet splash
initrd /boot/initrd.img-2.6.31-20-generic
quiet

# Entry 1 - Windows
title Windows
root (hd0,0)
chainloader +1

# Entry 2 - OSX
title OSX
root (hd0,1)
chainloader +1

# Entry 3 - Ubuntu (recovery mode)
title Ubuntu 9.10, kernel 2.6.31-20-generic (recovery mode)
uuid 522c9650-2002-43a6-8cb9-bbd908815341
kernel /boot/vmlinuz-2.6.31-20-generic root=UUID=522c9650-2002-43a6-8cb9-bbd908815341 ro single
initrd /boot/initrd.img-2.6.31-20-generic

und dann den eintrag bei OSX, wie beschrieben geändert


GNU nano 2.0.9 Datei: /boot/grub/menu.lst

## default num
default 0

## timeout sec
timeout 15

# Entry 0 - Ubuntu
title Ubuntu
uuid 522c9650-2002-43a6-8cb9-bbd908815341
kernel /boot/vmlinuz-2.6.31-20-generic root=UUID=522c9650-2002-43a6-8c$
initrd /boot/initrd.img-2.6.31-20-generic
quiet

# Entry 1 - Windows
title Windows
root (hd0,0)
chainloader +1

# Entry 2 - OSX
title Mac OSX
root (hd0,2) !!!!!!!osx ist bei mir auf (hd0,1)!!!!!!!
kernel /boot/boot das zweite boot ist der name der pc_Evi v10.5 könnte sein, daß die bezeichnung bei anderen versionen abweicht.
boot


# Entry 3 - Ubuntu (recovery mode)
title Ubuntu 9.10, kernel 2.6.31-20-generic (recovery mode)
uuid 522c9650-2002-43a6-8cb9-bbd908815341
kernel /boot/vmlinuz-2.6.31-20-generic root=UUID=522c9650-2002-43a6-8c$
initrd /boot/initrd.img-2.6.31-20-generic




WICHTIG!!!!!!!!!!!!!
NICHT DIE ADRESSE DER OSX PARTITION, SONDERN DIE DER LINUX PARTITION ANGEBEN!!!!!!!!!! in meinem fall war das hd0,2
ich habs nochmal rot markiert

ich hab das normale ubuntu 9.10 drauf, hab vorher als erstes über einen stick 8.10 installiert und dann auf 9.10 upgedatet.

wie es mit grub 2 funktioniert kann ich leider nicht sagen, das überlasse ich dann den spezialisten

ich denke, daß dies mit anderen systemen auch funktioniert

nochwas
falls irgendetwas schiefgeht ist es sinnvoll ein super grub disk medium zu haben.
damit kommt man wieder an die linux partion ran und kann den grub automatisch reparieren.


vielen dank an mikar, der mich mit endloser geduld durch linuxsche untiefen und die feinheiten von grub geführt hat, ohne ihn wäre das nicht möglich gewesen.
 
Hallö,

zu dem Thema findet sich einiges im Netz. Schau mal hier:
1, 2, 3, 4

Ich würde es mit GRUB machen. Zuerst OSX auf die Platte, danach Windows und zuletzt Linux. Mit GRUB dann chainload Starteinträge für OSX und Windows erstellen.
Code:
title OSX
root (hd0,0)
makeactive
chainloader +1 

title Windows
root (hd0,1)
makeactive
chainloader +1

title  Linux
root   (hd0,2)
kernel /boot/vmlinuz26 root=/dev/sda3 ro
initrd /boot/kernel26.img

Je nach Plattenkonfiguration (sda? hda? sdb? ...) und Boot-Dateien deiner Linux-Installation musst du an den Eintragen noch etwas ändern.
Bevor du installierst, solltest du die Platte anständig partitionieren, z.B. mit fdisk, GParted, Parted Magic oder einem ähnlichen Tool/BootCD. Als Partitionstabelle kannst du meines Wissens getrost den Standard, MS-DOS, nehmen. Anders geht es ja auch nicht, wenn du Windows nutzen willst.

Grüße,
mikar
 
danke erstmal
leider bin ich des englischen nicht ganz so mächtig, aber von dem was ich verstanden habe, scheint die grublösung am einfachsten zu sein.

alle drei os partitionen sollen primär sein? die fat 32 kann ich ja dann logisch machen?

ubuntu booten und dann grub öffnen ? und dann die einträge machen und speichern?

angesichts der tatsache, daß ich osx auf der 2. partition habe sollte der eintrag im grub dann so lauten



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


title OSX
root (hd0,1)
makeactive
chainloader +1


title Linux
root (hd0,2)
kernel /boot/vmlinuz26 root=/dev/sda3 ro
initrd /boot/kernel26.img

sollte das nicht funktionieren, werde ich die platte komplett neu formatieren osx in die erste partition pflanzen und versuchen das windowsimage in die 2. partition zu setzen, falls das möglich ist.

das mit dem refit --------> http://refit.sourceforge.net/ scheint ja nur zu funktionieren, wenn man ins osx kommt, was bei mir momentan nicht der fall ist.
 
Jo, am sinnvollsten wären m.E. 3 primäre und eine erweiterte Partition, worin du dann weitere Partitionen erstellen kannst, wie z.B. deine Datenpartition. Linux- und Unix-System kannst du aber auch in logische Partitionen installieren. Windows startet hingegen nur von einer primären Partition.
Darf ich fragen, wieso du die Datenpartition mit FAT32 formatieren willst? Meines Wissens ist NTFS das bessere Dateisystem, solange die Partition nicht grade 0-4 GB groß ist.

Zu den Grub-Einträgen:
Benutzt du ein aktuelles Ubuntu? Seit 9.04 oder 9.10 benutzt Ubuntu nämlich GRUB 2, womit die von dir genannten Einträge nicht funktionieren würden.
Es müsste dann eher so aussehen:
Code:
# Timeout for menu
set timeout=10

# Set default boot entry as Entry 0
set default=0

# Entry 0 - Ubuntu
menuentry "Ubuntu, linux 2.6.28-13-generic" {
        linux   /boot/vmlinuz-2.6.28-13-generic root=/dev/sda3 ro
        initrd  /boot/initrd.img-2.6.28-13-generic
}

# Entry 1 - Windows
menuentry "Windows" {
        set root=(hd0,1)
        chainloader +1
}

# Entry 2 - OSX
menuentry "OSX" {
        set root=(hd0,2)
        chainloader +1
}

Falls du aber doch Grub (nicht GRUB 2) nutzt, muss dein Linux-Eintrag wahrscheinlich ähnlich dem Folgenden sein:
Code:
title Linux
root (hd0,2)
kernel /boot/vmlinuz-2.6.28-13-generic root=/dev/sda3 ro
initrd /boot/initrd.img-2.6.28-13-generic
Ansonsten stimmt alles.

Grüße,
mikar
 
das ubuntu wird grade auf 9.10 aktualisiert, keine ahnung, ob sich der grub dann auch ändert ursprünglich war ein achter ubuntu installiert.

fat 32 mache ich wegen der les- und schreibbarkeit auf allen systemen , denke auf ntfs schreibend unter linux / osx zuzugreifen dürfte wieder etwas frickelei bedeuten, was ich mit fat32 nicht habe ( hoffe ich )
 
Sowohl in Linux als auch in OSX kann man afaik ntfs-3g benutzen, was ziemlich stabil ist.
Das einzige Szenario, unter dem ich bei meinem Dual-Boot Linux/Windows mit NTFS Probleme habe, ist, wenn ich einen Schreibvorgang, den ich unter Linux aufgenommen habe, unter Windows fortführen will. Dann gibt's teilweise nen Bluescreen. Bleibende Schäden gibt's aber nicht, man muss lediglich das Dateisystem von Windows reparieren lassen.
Habe allerdings keine wirklichen Erfahrungen mit Fat32 gemacht, gut möglich, dass man damit überhaupt keine derartigen Probleme hat. Ich weiß nur, dass NTFS bei Kompression, Verschlüsselung, Dateirechten und großen Dateien Vorteile hat.

Grüße,
mikar
 
so ubuntu 9.10 is nun drauf
wie stell ich nun fest welchen grub ich habe ?
ich hab mir g parted runtergeladen und es zeigt mir folgendes an
nicht zugeteilt 1mb
/dev/sda1 ntfs preload 34,19gb
/dev/sda2 hfs+ sl 32,59gb
/dev/sda3 schlüsselsymbol ext3 / 19,53gb
/dev/sda4 fat32 maderiool 379.45gb


und wenn ich in /boot/ grub/ gehe und die menulst aufrufe taucht folgendes auf

# 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'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0

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

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu

# 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 options below

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

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=522c9650-2002-43a6-8cb9-bbd908815341 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=522c9650-2002-43a6-8cb9-bbd908815341

## 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

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash

## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) 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

## specify if running in Xen domU or have grub detect automatically
## update-grub will ignore non-xen kernels when running in domU and vice versa
## e.g. indomU=detect
## indomU=true
## indomU=false
# indomU=detect

## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title Ubuntu 9.10, kernel 2.6.31-20-generic
uuid 522c9650-2002-43a6-8cb9-bbd908815341
kernel /boot/vmlinuz-2.6.31-20-generic root=UUID=522c9650-2002-43a6-8cb9-bbd908815341 ro quiet splash
initrd /boot/initrd.img-2.6.31-20-generic
quiet

title Ubuntu 9.10, kernel 2.6.31-20-generic (recovery mode)
uuid 522c9650-2002-43a6-8cb9-bbd908815341
kernel /boot/vmlinuz-2.6.31-20-generic root=UUID=522c9650-2002-43a6-8cb9-bbd908815341 ro single
initrd /boot/initrd.img-2.6.31-20-generic

title Ubuntu 9.10, kernel 2.6.28-18-generic
uuid 522c9650-2002-43a6-8cb9-bbd908815341
kernel /boot/vmlinuz-2.6.28-18-generic root=UUID=522c9650-2002-43a6-8cb9-bbd908815341 ro quiet splash
initrd /boot/initrd.img-2.6.28-18-generic
quiet

title Ubuntu 9.10, kernel 2.6.28-18-generic (recovery mode)
uuid 522c9650-2002-43a6-8cb9-bbd908815341
kernel /boot/vmlinuz-2.6.28-18-generic root=UUID=522c9650-2002-43a6-8cb9-bbd908815341 ro single
initrd /boot/initrd.img-2.6.28-18-generic

title Ubuntu 9.10, kernel 2.6.27-7-generic
uuid 522c9650-2002-43a6-8cb9-bbd908815341
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=522c9650-2002-43a6-8cb9-bbd908815341 ro quiet splash
initrd /boot/initrd.img-2.6.27-7-generic
quiet

title Ubuntu 9.10, kernel 2.6.27-7-generic (recovery mode)
uuid 522c9650-2002-43a6-8cb9-bbd908815341
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=522c9650-2002-43a6-8cb9-bbd908815341 ro single
initrd /boot/initrd.img-2.6.27-7-generic

title Ubuntu 9.10, memtest86+
uuid 522c9650-2002-43a6-8cb9-bbd908815341
kernel /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Home Edition
root (hd0,0)
savedefault
chainloader +1



wenn ch versuche die einträge zu ändern und dann zu speichern läßt er mich nicht speichern, obwohl ich als root angemeldet bin
 
Den Output der menu.lst kannste wieder löschen. Was du brauchst ist:
grub --version

Wenn du die Datei nicht verändern kannst, mach mal folgendes als root:
chattr -i /boot/grub/menu.lst

Zeig vielleicht auch mal den output von:
ls -lh /boot/grub/
lsattr /boot/grub

Grüße,
mikar
 
q@qs-denkbrettl:~$ grub --version
grub (GNU GRUB 0.97)

q@qs-denkbrettl:~$ chattr -i /boot/grub/menu.lst
chattr: Permission denied beim Setzen der Flags in /boot/grub/menu.lst


-rw-r--r-- 1 root root 197 2010-04-09 05:39 default
-rw-r--r-- 1 root root 30 2010-04-09 05:39 device.map
-rw-r--r-- 1 root root 8,0K 2010-04-09 05:39 e2fs_stage1_5
-rw-r--r-- 1 root root 7,7K 2010-04-09 05:39 fat_stage1_5
-rw-r--r-- 1 root root 1,0K 2010-04-09 21:47 grubenv
-rw-r--r-- 1 root root 16 2010-04-09 05:39 installed-version
-rw-r--r-- 1 root root 8,6K 2010-04-09 05:39 jfs_stage1_5
-rw-r--r-- 1 root root 5,7K 2010-04-09 20:50 menu.lst
-rw-r--r-- 1 root root 5,3K 2010-04-09 20:50 menu.lst~
-rw-r--r-- 1 root root 7,2K 2010-04-09 05:39 minix_stage1_5
-rw-r--r-- 1 root root 9,6K 2010-04-09 05:39 reiserfs_stage1_5
-rw-r--r-- 1 root root 512 2010-04-09 05:39 stage1
-rw-r--r-- 1 root root 119K 2010-04-09 05:39 stage2
-rw-r--r-- 1 root root 9,4K 2010-04-09 05:39 xfs_stage1_5


q@qs-denkbrettl:~$ lsattr /boot/grub
------------------- /boot/grub/stage1
------------------- /boot/grub/xfs_stage1_5
------------------- /boot/grub/menu.lst
------------------- /boot/grub/jfs_stage1_5
------------------- /boot/grub/stage2
------------------- /boot/grub/grubenv
------------------- /boot/grub/device.map
------------------- /boot/grub/fat_stage1_5
------------------- /boot/grub/installed-version
------------------- /boot/grub/default
------------------- /boot/grub/minix_stage1_5
------------------- /boot/grub/e2fs_stage1_5
------------------- /boot/grub/menu.lst~
------------------- /boot/grub/reiserfs_stage1_5


also scheints der einser grub zu sein
 
Jup, normales GRUB.
Beim Bearbeiten der menu.lst hast du wohl einfach nicht genügend Rechte gehabt. Mach mal "su -", gib das Admin-Passwort ein und versuche dann nochmal, die oben geposteten Einträge der menu.lst hinzuzufügen.

Grüße,
mikar
 
hab jetzt im terminal su - eingegeben und das passwort

q@qs-denkbrettl:~$ su -
Passwort:
su: Fehler bei Authentifizierung

gebe ich

q@qs-denkbrettl:~$ sudo su -
root@qs-denkbrettl:~#

will er kein paßwort aber ich kann menu.lst trotzdem nicht ändern
 
Du brauchst ein Passwort: "sudo passwd root".
Eigentlich sollte das Bearbeiten und Speichern aber mit sudo nano /boot/grub/menu.lst (oder gksu gedit /boot/grub/menu.lst) problemlos klappen ?(.

Grüße,
mikar
 
so jetzt scheints zu funktionieren :)

sollte der unterste eintrag auch noch geändert werden ? habs mal rot markiert oder funktioniert das automatisch ?




# 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'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0

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

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu

# 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 OSX
# root (hdo,1)
# makeactive
# chainloader +1

#
# title Linux
# root (hd0,2)
# 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 options below

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

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=522c9650-2002-43a6-8cb9-bbd908815341 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=522c9650-2002-43a6-8cb9-bbd908815341

## 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

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash

## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) 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

## specify if running in Xen domU or have grub detect automatically
## update-grub will ignore non-xen kernels when running in domU and vice versa
## e.g. indomU=detect
## indomU=true
## indomU=false
# indomU=detect

## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title Ubuntu 9.10, kernel 2.6.31-20-generic
uuid 522c9650-2002-43a6-8cb9-bbd908815341
kernel /boot/vmlinuz-2.6.31-20-generic root=UUID=522c9650-2002-43a6-8cb9-bbd908815341 ro quiet splash
initrd /boot/initrd.img-2.6.31-20-generic
quiet

title Ubuntu 9.10, kernel 2.6.31-20-generic (recovery mode)
uuid 522c9650-2002-43a6-8cb9-bbd908815341
kernel /boot/vmlinuz-2.6.31-20-generic root=UUID=522c9650-2002-43a6-8cb9-bbd908815341 ro single
initrd /boot/initrd.img-2.6.31-20-generic

title Ubuntu 9.10, kernel 2.6.28-18-generic
uuid 522c9650-2002-43a6-8cb9-bbd908815341
kernel /boot/vmlinuz-2.6.28-18-generic root=UUID=522c9650-2002-43a6-8cb9-bbd908815341 ro quiet splash
initrd /boot/initrd.img-2.6.28-18-generic
quiet

title Ubuntu 9.10, kernel 2.6.28-18-generic (recovery mode)
uuid 522c9650-2002-43a6-8cb9-bbd908815341
kernel /boot/vmlinuz-2.6.28-18-generic root=UUID=522c9650-2002-43a6-8cb9-bbd908815341 ro single
initrd /boot/initrd.img-2.6.28-18-generic

title Ubuntu 9.10, kernel 2.6.27-7-generic
uuid 522c9650-2002-43a6-8cb9-bbd908815341
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=522c9650-2002-43a6-8cb9-bbd908815341 ro quiet splash
initrd /boot/initrd.img-2.6.27-7-generic
quiet

title Ubuntu 9.10, kernel 2.6.27-7-generic (recovery mode)
uuid 522c9650-2002-43a6-8cb9-bbd908815341
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=522c9650-2002-43a6-8cb9-bbd908815341 ro single
initrd /boot/initrd.img-2.6.27-7-generic

title Ubuntu 9.10, memtest86+
uuid 522c9650-2002-43a6-8cb9-bbd908815341
kernel /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Home Edition
root (hd0,0)
savedefault
chainloader +1
 
Den kannst du lassen. Jetzt fehlt nur noch der Eintrag für OSX.
 
den habe ich doch drinnen ?
habs oben nochmal rot editiert
 
Mehr als Folgendes brauchst du in deiner menu.lst nicht, es sei denn du benutzt auch die alten Kernel oder memtest:

Code:
## default num
default		0

## timeout sec
timeout		10

# Entry 0 - Ubuntu
title		Ubuntu
uuid		522c9650-2002-43a6-8cb9-bbd908815341
kernel		/boot/vmlinuz-2.6.31-20-generic root=UUID=522c9650-2002-43a6-8cb9-bbd908815341 ro quiet splash 
initrd		/boot/initrd.img-2.6.31-20-generic
quiet

# Entry 1 - Windows
title		Windows
root		(hd0,0)
chainloader	+1

# Entry 2 - OSX
title		OSX
root		(hd0,1)
chainloader	+1

# Entry 3 - Ubuntu (recovery mode)
title		Ubuntu 9.10, kernel 2.6.31-20-generic (recovery mode)
uuid		522c9650-2002-43a6-8cb9-bbd908815341
kernel		/boot/vmlinuz-2.6.31-20-generic root=UUID=522c9650-2002-43a6-8cb9-bbd908815341 ro  single
initrd		/boot/initrd.img-2.6.31-20-generic
Grüße,
mikar
 
ich kann also alles löschen und das was du geschrieben hast reineditieren ( sorry bin echt ein noob )

die rautezeichen sind nicht zwingend notwendig ?
 
Jup, kannste komplett ersetzen. Vorsichtshalber solltest du vorher ein Backup anlegen (cat /boot/grub/menu.lst > ~/menu.lst.sav).

Was hinter einer Raute steht, wird idR komplett ignoriert. Das sind zusätzliche Optionen, die du bisher nicht gebraucht hast und daher aller Wahrscheinlichkeit auch in naher Zukunft nicht benutzen wirst.
Falls du sie doch mal brauchst, kannst du sie dir ja jederzeit aus dem Backup, diesem Thread oder dem grub-manual zurückkopieren.

Grüße,
mikar
 
so
osx erscheint im startmenü läßt sich aber nicht booten folgende meldung


starting hibernate
sleepimage has garbage
hibernate failed
loading darwin /x86

und dann gehts wieder zum begrüßungsbildschirm

ubuntu und windows lassen sich booten
 
Schau mal hier: X61 und Mac OS X

Wenn du also irgendwie in den Terminal von OSX reinkommst, reicht der Befehl sudo rm /var/vm/sleepimage. Ansonsten kannst du die OSX-Partititon auch unter Linux mounten und die Datei entfernen. Falls der Fehler nach einiger Zeit wieder auftaucht, musst du vielleicht Hibernate deaktivieren (sudo pmset -a hibernatemode 0).
 
  • ok1.de
  • thinkstore24.de
  • ok2.de - Notebook Computer Server
  • Preiswerte-IT - Gebrauchte Lenovo Notebooks kaufen

Werbung

Zurück
Oben