d11wtq Posted February 24, 2006 Share Posted February 24, 2006 Hi, I read a few guides on how to set up OSx86 on an Intel PC. I have an Intel Based laptop with SSE2 but no SSE3 (Celeron 2.4Ghz). I've been running Gentoo, Ubuntu and Windows XP from this for some time. The system I'm most familiar with is linux so I'm most comfortable performing tasks from here. OK... the guides I read basically copy tiger-x86-flat.img onto a *blank* hard disk. I have stuff on my disc already so was reluctant to do this and figured "there must be a way around it...". Sure enough, `fdisk /path/to/tiger-x86-flat.img' showed the image as having one active partition. I shrunk my first reiserfs partition enough to squeeze a 14GB filesystem after it (this is labelled as partition number 4 even though it's the second on the device, purely because it's the 4th one I credted on the disc). I then used GNU/Parted to copy the HFS+ filesystem (only 6GB but shouldn't matter for now) from the image to this device. `parted /dev/hdc' `cp /path/to/tiger-x86-flat.img 1 4' #Copy the partition to a real disc partition Tested it: w3style mnt # mount /dev/hdc4 /mnt/loop w3style mnt # ls /mnt/loop AppleInternal Desktop DB Developer Network Users bin dev mach mach_kernel opt sbin usr Applications Desktop DF Library System Volumes cores etc mach.sym mach_kernel.old private tmp var w3style mnt # All good -- It's there! The disc is the 6GB it should be for now too: w3style mnt # df -ah Filesystem Size Used Avail Use% Mounted on /dev/sda1 77G 57G 20G 74% / proc 0 0 0 - /proc sysfs 0 0 0 - /sys udev 251M 676K 250M 1% /dev devpts 0 0 0 - /dev/pts /dev/hdc1 52G 8.5G 43G 17% /mnt/ubuntu shm 251M 0 251M 0% /dev/shm usbfs 0 0 0 - /proc/bus/usb nfsd 0 0 0 - /proc/fs/nfs rpc_pipefs 0 0 0 - /var/lib/nfs/rpc_pipefs /dev/hdc4 6.0G 3.9G 2.2G 64% /mnt/loop Modified grub to read this OS: title Mac Tiger OSx86 10.4.3 root (hd0,1) makeactive chainloader +1 boot Rebooted... (fingers crossed)... Yay! I have a screen with a Darwin boot prompt. Looks good. Wait a few secs... Yay! An Apple logo on screen. Doh! Halt! I just get an error saying I need to restart the PC by holding the power button. I tried in verbose mode "-v" and it freezes at a line that says something to the effect of "Debugger device not found". Any clues? I feel so close. Does the fact this isn't the *first* partition affect this? Sorry I'm not familiar with OSX but hopefully I'll pick it up quickly like other OSes Link to comment https://www.insanelymac.com/forum/topic/10017-my-method-so-far-but-i-need-help/ Share on other sites More sharing options...
d11wtq Posted February 24, 2006 Author Share Posted February 24, 2006 Oops. Typo in my post above. That should read (hd0,3) not (hd0,1) in the grub config. It boots as far as the apple screen but then halts Another quick question too... does anyone know how to write to HFS+ partitions from other operating systems? (namely linux) Link to comment https://www.insanelymac.com/forum/topic/10017-my-method-so-far-but-i-need-help/#findComment-62660 Share on other sites More sharing options...
d11wtq Posted February 25, 2006 Author Share Posted February 25, 2006 OK well I wrote this down on paper. Most of it's memory references so I'm hoping a developer can see what's up. Please ignore any typos, this has been scribbled on paper and then typed to this forum. Here's the vitals (I hope): Debugger called: <panic> Frame 0xcb1bd3c PC: 0x0124b5c args 0xc033d7a0 0x00000000 0xc6b1bd4c 0xc6b1bd74 _panic + 0x00000154 Frame 0xc6b1bd3c PC: 0xc0180e8e args 0xc0343d430 0x3ceaa0 0xd88fe000 0x8001003b _panic_trap + 0x0000007a Frame 0xc6b1bd60 PC: 0xc017bed1 args 0xc6b1b74 0xc6b1bdf0 0xc033bd64 0xc09c0048 _alltraps + 0x000001d9 [[[[snip]]]] _OSCompareAndSwap [[[[snip]]]] _rtc_clock_ [[[[snip]]]] com.appple.driver [[[[snip]]]] com.appple.driver [[[[snip]]]] com.appple.driver [[[[snip]]]] com.appple.driver [[[[snip]]]] __SN910Service14StartCandidateEPS_ Ethernet MAC Address 00:00:00:00:00:00 IP Address 0.0.0.0 Waiting for remote debugger connection. kdp_poll: nodebugger device That's where it halts. I'd really appreciate any help I'd also like to document my findings if I get this working sice I've not seen much (read, any) about doing it this way Link to comment https://www.insanelymac.com/forum/topic/10017-my-method-so-far-but-i-need-help/#findComment-62933 Share on other sites More sharing options...
d11wtq Posted February 25, 2006 Author Share Posted February 25, 2006 Nobody? Link to comment https://www.insanelymac.com/forum/topic/10017-my-method-so-far-but-i-need-help/#findComment-63106 Share on other sites More sharing options...
d11wtq Posted February 25, 2006 Author Share Posted February 25, 2006 w00t! I tried the boot option `platform=x86pc' and it booted right into the tiger desktop! Next issue, though hopefully easier to fix... it's all black and white and fuzzy. I tried setting different "Graphics Mode"=1024x768x24 options at boot to no avail. Here's my hardware (what linux kernel 2.6 reports): w3style ~ # lspci | grep -i vga 0000:00:02.0 VGA compatible controller: Intel Corp. 82852/855GM Integrated Graphics Device (rev 02) I've no doubt got sound issues and stuff too... I know my USB mouse doesn't work but these are what I'd call "minor issues". Link to comment https://www.insanelymac.com/forum/topic/10017-my-method-so-far-but-i-need-help/#findComment-63118 Share on other sites More sharing options...
d11wtq Posted February 25, 2006 Author Share Posted February 25, 2006 Yay! Got it workiing 8) I'm not sure if there was a kext file in the / base directory of the deadmoo image that I accidentally copied to the extensions dir or if I somehow changed some permissions or something but all I did was: 1. Tried changing the <string> after all occurrences of IOPCIMatch to be 0x35828086 in /System/Library/Extension/AppleIntel830.kext and AppleIntelIntegratedGraphics.kext -- Some color but crashes immediately after 2. Tried moving *all* the kext files starting with AppleIntel to / so that they weren't loaded... ack... black and white again 3. (This could be where I did something wrong, but right at the same time)... moved all files in / starting with AppleIntel back into /System/Library/Extensions/ -- this was supposed to reverse the above step but I have a feeling I've ended up with an extra file in the extensions dir now. Either way... works perfect. I have working network (dhcp, wired ethernet), working sound, working graphics. Haven't tested much else yet. I know Safari crashes when opening this forum :? Is it worth me documenting how I did this starting from an existing multi-boot system with Linux? Link to comment https://www.insanelymac.com/forum/topic/10017-my-method-so-far-but-i-need-help/#findComment-63158 Share on other sites More sharing options...
Recommended Posts