zabron05 Posted July 9, 2009 Share Posted July 9, 2009 Hypothesis: To take a install image and put it onto a hard drive partition and boot into the install disk partition to install osx onto another partition. Hard Drive Configuration: /dev/sda1 |_ /dev/sda6 ext3 (i want to use this partition to be my hard drive install disk of osx) |_ /dev/sda7 ext3 Currently Ubunut 9.04 |_ /dev/sda5 linux-swap /dev/sda2 |_ /dev/sda2 ntfs media partition Procedure: I understand that I want to copy the install image to the /dev/sda6 (hd0,5) using dd in Ubuntu. However, I have attempted to edit my grub bootloader to boot the install image. However, I have failed and always return a error: 17 or error: 12 depending on the grub settings. Conclusion: I would greatly appreciate any insight as to what needs to be done to successfully install OSX over the ubuntu hard drive. I am aware this will wipe ubuntu out, but i plan to then use my CD of ubuntu to re-install ubuntu. Link to comment https://www.insanelymac.com/forum/topic/174174-installing-from-hd-partition-possible/ Share on other sites More sharing options...
Dalton63841 Posted July 9, 2009 Share Posted July 9, 2009 You have the right idea, but: a: If using a distro such as Kalyway or Leo4all, the partition needs to be made bootable. b: If using a retail disc it needs a bootloader such as chameleon 2 or PC_EFIv9, or boot-132 Link to comment https://www.insanelymac.com/forum/topic/174174-installing-from-hd-partition-possible/#findComment-1195979 Share on other sites More sharing options...
zabron05 Posted July 9, 2009 Author Share Posted July 9, 2009 what would one might do to make the partition bootable with grub? Link to comment https://www.insanelymac.com/forum/topic/174174-installing-from-hd-partition-possible/#findComment-1195980 Share on other sites More sharing options...
Dalton63841 Posted July 9, 2009 Share Posted July 9, 2009 The easiest way would be to use unetbootin. U need to format the partition that the install disk is going on as fat32. Then start unetbootin. Put a check in the box that says show all drives. Be very careful to choose the correct partition. Then choose Freedos to install to that partition. After its finished open that partition and delete all visible files. Now dd your install disk onto the partition. BTW are you using a distro or a retail disk? Link to comment https://www.insanelymac.com/forum/topic/174174-installing-from-hd-partition-possible/#findComment-1195986 Share on other sites More sharing options...
zabron05 Posted July 9, 2009 Author Share Posted July 9, 2009 distro disk.. kalyway 10.5.2 im downloading iDeneb v1.4 right now i will give this a shot and report back Link to comment https://www.insanelymac.com/forum/topic/174174-installing-from-hd-partition-possible/#findComment-1195988 Share on other sites More sharing options...
Dalton63841 Posted July 9, 2009 Share Posted July 9, 2009 Yea do what I said in my previous post. Grub cant boot it cuz its being treated like a seperate disk. It needs an mbr. Link to comment https://www.insanelymac.com/forum/topic/174174-installing-from-hd-partition-possible/#findComment-1195992 Share on other sites More sharing options...
zabron05 Posted July 9, 2009 Author Share Posted July 9, 2009 for the freedos is that something that goes in the Options box? showing hard disks, it only shows the / if i use show usb drives it shows all of the drives. I take it just use it like a usb drive? Link to comment https://www.insanelymac.com/forum/topic/174174-installing-from-hd-partition-possible/#findComment-1195994 Share on other sites More sharing options...
Dalton63841 Posted July 9, 2009 Share Posted July 9, 2009 yea pretty much you are pretending that partition is a usb drive. The menu where you choose the distrobution in unetbootin, is where you will choose Freedos. Link to comment https://www.insanelymac.com/forum/topic/174174-installing-from-hd-partition-possible/#findComment-1195997 Share on other sites More sharing options...
zabron05 Posted July 9, 2009 Author Share Posted July 9, 2009 okay i see the freedos option now, i had thought i just needed to select the distro cd. Now do i still need to put something in my grub menu to boot this partition? I'm dd'ing over the image now Link to comment https://www.insanelymac.com/forum/topic/174174-installing-from-hd-partition-possible/#findComment-1195999 Share on other sites More sharing options...
Dalton63841 Posted July 9, 2009 Share Posted July 9, 2009 There is something, but i can't recall at the moment. Treat it the exact same as dual booting with OSX, how would you modify grub? Link to comment https://www.insanelymac.com/forum/topic/174174-installing-from-hd-partition-possible/#findComment-1196000 Share on other sites More sharing options...
zabron05 Posted July 9, 2009 Author Share Posted July 9, 2009 title MacOS 10.4.8 rootnoverify (hd0,5) makeactive chainloader +1 Would this be it? hd0,5 b.c. im using sda6 as my installer partition, and sda7 is the destination (hd0,6) Link to comment https://www.insanelymac.com/forum/topic/174174-installing-from-hd-partition-possible/#findComment-1196001 Share on other sites More sharing options...
Dalton63841 Posted July 9, 2009 Share Posted July 9, 2009 That looks right Link to comment https://www.insanelymac.com/forum/topic/174174-installing-from-hd-partition-possible/#findComment-1196006 Share on other sites More sharing options...
zabron05 Posted July 9, 2009 Author Share Posted July 9, 2009 So here's how it goes so far: -I have used used unetbootin to make the sda6 partition a freedos partition. -I have deleted all of the files on the freedos partition -I then dd'ed the install image to the freedos partition -I rebooted to find that GRUB was wiped out (Failed boot no os present) -Booted into the ubuntu live CD to re-install GRUB -Attempted to boot the osx entry in GRUB -Error 12 results from trying to boot this. *Edit* I downloaded boot_v9, stuck that in my /boot directory and tried booting up with: kernel /boot/boot_v9 in my grub entry. changes the error code to Error 17 I may just have to end up installing windows xp so i can utilize this post idea: <a href="http://www.insanelymac.com/forum/index.php?showtopic=110388&st=0" target="_blank">http://www.insanelymac.com/forum/index.php...110388&st=0</a> *Edit* So I fooled around a bit. using unetbootin, i decided to try the ISO image option, as usual it wiped out my MBR so i had to live install disk to re-install grub. I then realized that i was putting the incorrect hd# for use with boot_v9. Based upon my setup, i changed the grub entry to: root (hd0,6). Why? Because boot_v9 is a chainbootloader that is located on my linux partition, from there it then looks at the hd's for what to do next. Upon editing this entry, the bootloader attempts to boot the installer hard disk however there was no install image on it, just the boot info from unetbootin, so i am now dd'ing the install image on the installer drive to see how i fare with the edited and updated grub menu.lst. Link to comment https://www.insanelymac.com/forum/topic/174174-installing-from-hd-partition-possible/#findComment-1196008 Share on other sites More sharing options...
zabron05 Posted July 9, 2009 Author Share Posted July 9, 2009 *Bump* Looking for suggestions. Link to comment https://www.insanelymac.com/forum/topic/174174-installing-from-hd-partition-possible/#findComment-1196842 Share on other sites More sharing options...
Recommended Posts