Jump to content
18 posts in this topic

Recommended Posts

Ok, I have SuSE Linux 10.0 already installed. I also installed Mac OS X 10.4.5 (afterwards). The problem here is that I can't get the damn thing working.

 

chainloader (0,2)+1

HFS+ partition error

 

My /boot/grub/menu.lst (equvilent of grub.conf for SuSE Linux)

# Modified by YaST2. Last modification on Mon May  1 17:27:10 EDT 2006

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

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


title MacOS X
chainloader (hd0,2)+1

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

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

 

 

I already double checked the HFS+ partition (and yes, I do know how to work Linux).

 

Please help me.

 

Thanks,

deltatux

Link to comment
https://www.insanelymac.com/forum/topic/16505-grub-suse-linux-100-and-mac-os-x/
Share on other sites

You posted everything except the actual grub error message. Few things to check and double check. device.map, menu.lst, bios setting, and you need to know the actual drive mapping as linux see it. Boot to a Linux Live CD and run the usual commnands to veiw your partition lists, active partitions, and so forth.

You use the wrong synthax, that's the one from the wizard in Suse10 and it also not works for me. You can add the right synthax in a shell:

su

joe /boot/grub/menu.lst

80rg.th.jpg

At the end of the file add:

Title OSX86

root (hd0,2)

chainloader +1

90rb.th.jpg

To save the file press "control" then "k" and "x" (k and x not at the same time, press "control" and first k then x)

 

If you use root (hd0,2) your OSX86 partition should be /dev/hda3 or /dev/sda3

So just try to add this syntax with the shell (don't use Yast2):

Title OSX86

root (hd0,2)

chainloader +1

 

and delete this one created by the wizard:

title MacOS X

chainloader (hd0,2)+1

ok, it works, thanx. Yet, one slight problem, I can't get my display to 1280x1024.

 

My graphic card: NVIDIA GeForce 6600 w/ AGP 8x 128 MB (graphic) RAM.

My monitor: LG Flatron L1715S (17-inch monitor)

 

Also, how do you change your system's name?

 

Thanks.

 

deltatux

Hello,

 

I have tried using the steps you provide in this thread, I guess i must be so screw up that i can't figure it i have tried adding the other commands. this is my partition table

Disk /dev/hda: 164.6 GB, 164696555520 bytes
255 heads, 63 sectors/track, 20023 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot	  Start		 End	  Blocks   Id  System
/dev/hda1			   1		8924	71681998+   7  HPFS/NTFS
/dev/hda2			8925	   20022	89144685	5  Extended
/dev/hda5   *		8925	   13386	35840983+  af  Unknown
/dev/hda6		   13387	   13512	 1012063+  82  Linux swap / Solaris
/dev/hda7		   13513	   20022	52291543+  83  Linux

adn this is the menu.lst

 

# Modified by YaST2. Last modification on Tue May  9 00:44:33 EDT 2006

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

###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE LINUX 10.0
root (hd0,6)
kernel /boot/vmlinuz root=/dev/hda7 vga=0x31a selinux=0	resume=/dev/hda6  splash=silent showopts
initrd /boot/initrd

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

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

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE LINUX 10.0
root (hd0,6)
kernel /boot/vmlinuz root=/dev/hda7 vga=normal showopts ide=nodma apm=off acpi=off noresume selinux=0 edd=off 3
initrd /boot/initrd

 

I added the lines

title OSX86

chainloader (hd0,5)+1

 

is this correct or not?

 

Thanks

I added the lines

title OSX86

chainloader (hd0,5)+1

 

is this correct or not?

 

Thanks

No, for your /dev/hda5 with type "af" it should be:

Title OSX86

root (hd0,4)

chainloader +1

/dev/hda5 is the first logical partition in the extented so maybe it will not work at all because OSX86 needs a primary partition.

when i created the partition was created as primary, I do not understand why it would now be an extended.

 

So basically i have to reformat the partition to make it primary correct and the re-install OS X?

 

before i do that i will try your command ;)

 

Also if you look at the partition table

 

/dev/hda2 8925 20022 89144685 5 Extended

this was supposed to be the primary with the OS X partition.

 

/dev/hda5 * 8925 13386 35840983+ af Unknown

As you can see both have the same start label. I do not know why is this, I do not understan it, does it mean that thehda2 is pointing to hd5 for booting? I am sorry I am lost here.

 

Could this have created the issue from the getgo?

 

 

Thanks

when i created the partition was created as primary, I do not understand why it would now be an extended.

 

So basically i have to reformat the partition to make it primary correct and the re-install OS X?

 

before i do that i will try your command ;)

 

Also if you look at the partition table

 

/dev/hda2 8925 20022 89144685 5 Extended

this was supposed to be the primary with the OS X partition.

 

/dev/hda5 * 8925 13386 35840983+ af Unknown

As you can see both have the same start label. I do not know why is this, I do not understan it, does it mean that thehda2 is pointing to hd5 for booting? I am sorry I am lost here.

 

Could this have created the issue from the getgo?

Thanks

/dev/hda2 is not a partition but the extented. /dev/hda5 is always the first logical partition.

Your partitions should look like this: (no matter if XP or OSX86 is the first primary)

/dev/hda1 primary for XP

/dev/hda2 primary for OSX86

/dev/hda3 extented

/dev/hda5 first logical partition

Now the extented will be /dev/hda3 because you have 2 primary partitions but the first logical is still /dev/hda5

You can have up to 4 primary partitions without an extented and logical partitons or up to 3 primary partitions with one extented with some logical partitions inside.

So I have to delete patition 5 and make sure to create a primary partion so that OS X goes tehre, should i use Yast or just do it in terminal, byt hte way i am not too familar with either could you let me know which one would be the one i should use and let me know what shoudl i do.

 

Thanks for your time.

So I have to delete patition 5 and make sure to create a primary partion so that OS X goes tehre, should i use Yast or just do it in terminal, byt hte way i am not too familar with either could you let me know which one would be the one i should use and let me know what shoudl i do.

 

Thanks for your time.

Use the shell and cfdisk to change partitions, type:

su

cfdisk /dev/hda

Create a primary with type "af" for OSX86. Once you have all primary partitions you can recreate the logical partitions. Don't forget to write the changes you made to the disk. Do it with a live CD, it will kill your installed Linux (take grub out of the mbr before) when you delete it's partition.

×
×
  • Create New...