avengedsevenfold fan Posted June 14, 2007 Share Posted June 14, 2007 I have Linux, OSX86, and XP installed. When I turn on my computer, it boots to the GRUB loader, but OS X is not listed as an operating system. Also, what is SSe3 and SSe2 ect...because my install disc is for SSe3, and I'm not sure what my computer is. I have a Dell Dimension E310 with a gig of ram, an intel 2.8 ghz processor, and 2 hard drives. (250 gb and 80 gb) Link to comment Share on other sites More sharing options...
avengedsevenfold fan Posted June 15, 2007 Author Share Posted June 15, 2007 can someone please help me? Link to comment Share on other sites More sharing options...
-aKy- Posted June 15, 2007 Share Posted June 15, 2007 i think there are some multi-boot tutorials available at the wiki (GRUB featured there too), SSE2/3 is a function of your processor that osx needs to run. You can find out what your processor supports with CPU-Z for windows. If your processor is SSE2 search for a prepatched SSE2 version, for example uphuck. Its available at the green demon. Cheers, aky Link to comment Share on other sites More sharing options...
Sek Dawg Posted June 15, 2007 Share Posted June 15, 2007 I have found that the easiest method is to use chain0 in Windows XP. Your setup would be GRUB dual booting XP and Linux. Then you would chose XP and would be given an option between XP and OS X. That worked the best for me. Link to comment Share on other sites More sharing options...
avengedsevenfold fan Posted June 16, 2007 Author Share Posted June 16, 2007 when i choose windows XP, I just boot to windows. Do I need to get this chain0 thing? Link to comment Share on other sites More sharing options...
Tommy Posted June 16, 2007 Share Posted June 16, 2007 It would be better if you could give us your hard disk or partition layout. I have Linux and Mac OSX installed on separate drive and all i need is create title in grub with chainloader +1 and it will boot Mac OSX right off the drive. title Mac OS X root (hd1,0) chainloader +1 when i choose windows XP, I just boot to windows. Do I need to get this chain0 thing? Link to comment Share on other sites More sharing options...
cbmkgd Posted June 16, 2007 Share Posted June 16, 2007 You might need the makeactive line before the chainloader line. Check here on the wiki some tips about grub and osx. Link to comment Share on other sites More sharing options...
avengedsevenfold fan Posted June 17, 2007 Author Share Posted June 17, 2007 ok, my 80 GB hard drive has one partition on it with windows XP. my 250 GB hard drive has two partitions on it. one with Linux, and the other with OS X. and im new to the in depth part of booting and stuff, so try to explain things noob-friendly. Link to comment Share on other sites More sharing options...
uphuck Posted June 17, 2007 Share Posted June 17, 2007 you dont need to make active just be sure it is not hidden. you can add unhide under osx section on menu.lst Link to comment Share on other sites More sharing options...
avengedsevenfold fan Posted June 17, 2007 Author Share Posted June 17, 2007 im trying to boot it in the windows boot loader, but when i select osx86, it says "chain booting error" with a flashing underscore. Link to comment Share on other sites More sharing options...
SJB1701E Posted June 17, 2007 Share Posted June 17, 2007 Don't use the chain0 method. There is no need for you to since grub is more than powerful enough to boot straight into OSX. Boot into Linux open /boot/grub/menu.lst Lets say your partitions are: Windows XP on your primary harddrive. OSX on the secord harddrive first partition. Linux on the second harddrive second partition. Starting at the line that says title your menu.lst will look something like this when you are done title Windows XP Professional SP2 rootnoverify (hd0,1) makeactive chainloader +1 title MacOSX rootnoverify (hd1,2) makeactive chainloader +1 title Linux root (hd1,2) boot insert your kernel here I wouldn't mess with the lines for linux just type above or below them. Things will appear in you menu in the order they are in your menu.lst if your Windows section doesn't have "makeactive" add it before the chainloader+1. Harddrive partitions are as follows: (hdx,y) where x= the drive and y=the partition of the drive. your first harddrive will be 0 but your first partition will be 1 since partition 0 is the drives Master Boot Record. Last thing Above the first title section you will see a line saying default boot = some number. 0 will be your first title entry in your menu.lst 1 will be the second 2 will be the third. for example to boot XP in my above example by default set it to 0. The default boot target is not based on your partition number, its based on the order you entered them into your menu.lst. Link to comment Share on other sites More sharing options...
avengedsevenfold fan Posted June 17, 2007 Author Share Posted June 17, 2007 when I try to boot it says "Invalid or unsupported executable format" Link to comment Share on other sites More sharing options...
cbmkgd Posted June 17, 2007 Share Posted June 17, 2007 Do use the makeactive line for osx. As for the example of menu.lst given on post #11, it was an example you must adapt to your situation. What are your partitions (including type, eg primary, logical, location) and list which contains which OS. Link to comment Share on other sites More sharing options...
avengedsevenfold fan Posted June 17, 2007 Author Share Posted June 17, 2007 they are all primary partitions i believe. the makeactive line is listed in menu.lst. Link to comment Share on other sites More sharing options...
cbmkgd Posted June 18, 2007 Share Posted June 18, 2007 i believewell, make sure. also you can try title MacOSX root (hdx,y) makeactive chainloader +1 or title MacOSX root (hdx,y) makeactive chainloader --force +1 or title MacOSX rootnoverify (hdx,y) makeactive chainloader --force +1 where x and y have the values that apply to your situation. Link to comment Share on other sites More sharing options...
SJB1701E Posted June 18, 2007 Share Posted June 18, 2007 We really need to know which OS's are on which harddrives and what partition they are on the harddrive. also post the entire text from your menu.lst so we can see if you put something in wrong. Link to comment Share on other sites More sharing options...
avengedsevenfold fan Posted June 18, 2007 Author Share Posted June 18, 2007 When i try to boot with those alternative lines, i get: Starting Up... Loading Stage2... ead_ (flashing underscore) then it just hangs at that. my 80 GB hard drive has one partition on it with windows XP. my 250 GB hard drive has two partitions on it. one with Linux, and the other with OS X. here is my menu.lst: # 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 change this entry to 'saved' 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=1ad01c02-2e2d-43c2-a40f-60d2eaf6aa81 ro ## Setup crashdump menu entries ## e.g. crashdump=1 # crashdump=0 ## default grub root device ## e.g. groot=(hd0,0) # groot=(hd1,1) ## 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 ## 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 ## ## End Default Options ## title Ubuntu, kernel 2.6.20-16-generic root (hd1,1) kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=1ad01c02-2e2d-43c2-a40f-60d2eaf6aa81 ro quiet splash initrd /boot/initrd.img-2.6.20-16-generic quiet savedefault title Ubuntu, kernel 2.6.20-16-generic (recovery mode) root (hd1,1) kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=1ad01c02-2e2d-43c2-a40f-60d2eaf6aa81 ro single initrd /boot/initrd.img-2.6.20-16-generic title Ubuntu, kernel 2.6.20-15-generic root (hd1,1) kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=1ad01c02-2e2d-43c2-a40f-60d2eaf6aa81 ro quiet splash initrd /boot/initrd.img-2.6.20-15-generic quiet savedefault title Ubuntu, kernel 2.6.20-15-generic (recovery mode) root (hd1,1) kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=1ad01c02-2e2d-43c2-a40f-60d2eaf6aa81 ro single initrd /boot/initrd.img-2.6.20-15-generic title Ubuntu, memtest86+ root (hd1,1) 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/sda2 title Windows Vista/Longhorn (loader) root (hd0,1) savedefault makeactive chainloader +1 # This entry automatically added by the Debian installer for a non-linux OS # on /dev/sdc1 title Microsoft Windows XP Home Edition root (hd2,0) savedefault makeactive map (hd0) (hd2) map (hd2) (hd0) chainloader +1 title MacOSX root (hd1,1) makeactive chainloader --force +1 Link to comment Share on other sites More sharing options...
cbmkgd Posted June 18, 2007 Share Posted June 18, 2007 So... ... you have Ubuntu on (hd1,1)... ... and OSX on (hd1,1)... Anything wrong with this picture? You've been asked two times to give a list of your partitions, their types, what OS they contain. The more details the better. Then we'll be able to help. edit/ ... anyways... check on which partition osx is on the second drive. If it's first, use (hd1,0), etc. Link to comment Share on other sites More sharing options...
SJB1701E Posted June 18, 2007 Share Posted June 18, 2007 We really really need to know which OS's are on which harddrives and which partitions they are on those individual harddrives. More specifically which harddrive is OSX on (your first, your second, your third, etc) and what is the OSX Partition on that hard drive (again first, second, third) Link to comment Share on other sites More sharing options...
avengedsevenfold fan Posted June 18, 2007 Author Share Posted June 18, 2007 sorry about the linux and OSX being on the same partition, i was just fooling with different combinations of drives to see if anything would happen. OS X is on my second drive, on my first partition. Linux is on my second drive on my second partition. windows is on my first drive on my second partition. (the other two on that drive are just like dell utilities) Link to comment Share on other sites More sharing options...
SJB1701E Posted June 18, 2007 Share Posted June 18, 2007 Try setting your mac partition to (hd1,0) in grub so its title MacOSX root (hd1,0) makeactive chainloader --force +1 Link to comment Share on other sites More sharing options...
johnniecarcinogen Posted June 18, 2007 Share Posted June 18, 2007 Use fdisk in linux (since you have to edit grub anyway) to list drives and partitions. Usually you have to be root but since you use Ubuntu type: sudo fdisk -l in the terminal. If you still have trouble post the results of the fdisk -l here. Link to comment Share on other sites More sharing options...
avengedsevenfold fan Posted June 18, 2007 Author Share Posted June 18, 2007 Here are the results of the fdisk: Disk /dev/sda: 80.0 GB, 80000000000 bytes 255 heads, 63 sectors/track, 9726 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 1 5 40131 de Dell Utility /dev/sda2 * 6 9119 73208205 7 HPFS/NTFS /dev/sda3 9120 9725 4867695 db CP/M / CTOS / ... Disk /dev/sdb: 250.0 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sdb1 * 1 15272 122672308+ af Unknown /dev/sdb2 15273 29861 117186142+ 83 Linux /dev/sdb3 29862 30401 4337550 82 Linux swap / Solaris Disk /dev/sdc: 40.0 GB, 40060403712 bytes 255 heads, 63 sectors/track, 4870 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sdc1 * 1 4870 39118243+ b W95 FAT32 Link to comment Share on other sites More sharing options...
johnniecarcinogen Posted June 18, 2007 Share Posted June 18, 2007 title MacOSX root (hd1,0) makeactive chainloader +1 Should work. You have some odd partitions I have never seen before on your first drive that you've said are Dell utilities, but I find it odd that there is a partition before and after the windows one. As long as Grub starts when you boot your PC the above entry in should work. Otherwise try pressing F12 at boot and choosing the second harddrive to boot. Or use a gparted cd to boot that partition to makesure it is even installed right. EDIT: when you installed OS X did you partition the OSX partition in HFS+ journalized? Link to comment Share on other sites More sharing options...
avengedsevenfold fan Posted June 19, 2007 Author Share Posted June 19, 2007 I did something journalized, i think it was HFS, because i think that is the only choice you have for journalized. When I get to my computer, i will try your suggestions. Link to comment Share on other sites More sharing options...
Recommended Posts