Dual-booting Mac OSX Snow Leopard and Windows 7

December 11, 2009 at 18:50 | Posted in Adventures | Leave a comment
Tags: , , , ,

A dear acquaintance of mine happens to have the some of the exact hardware in the guide he stumbled upon for installing Mac OS Snow Leopard on a non-apple computer. So, I’m the linux aficionado who will be assisting him in his project. Ironic, right? Well, I plan to help him out this weekend and I want to get my plan outlined somewhere I can reference it.

  1. Windows 7 is installed on first hard drive
  2. Install Snow Leopard on second hard drive
  3. Make Snow Leopard drive the master drive or give boot priority
  4. load Ubuntu live CD and install GRUB to snow leopard drive

I’m wondering if this last part is going to work. It’s a complete shot in the dark for me. Can you run grub from a non-linux partition? Is that okay? The files will be in /boot/grub on the Mac drive, so, I guess I don’t see any reason it shouldn’t work, because it doesn’t need to load up a linux environment to work, obviously, right? Well, who knows. We’ll find out when I try.

Chameleon bootloader also looks relevant to my interests. I’m researching now.

Okay, alternately for step 4, I could try installing Chameleon on Snow Leopard after it’s installed. However I have zero experience with it and it seems to be somwhat poorly documented.

Normal Install (non-RAID):
————————–

Suppose that your installation is on /dev/disk0s2

- Install boot0 to the MBR:
fdisk -f boot0 -u -y /dev/rdisk0

- Install boot1h to the partition’s bootsector:
dd if=boot1h of=/dev/rdisk0s2

- Install boot to the partition’s root directory:
cp boot /

No need to use startupfiletool anymore!

I have no idea what it means by not needing to use startupfiletool anymore, because it doesn’t reference that anywhere else in the README file that quote is extracted from. Perhaps it’s some type of “Mac” thing. I really hope I can compile Chameleon from source the same way I compile things in linux…

I’d like to plan what type of things I will do with the configuration files, but I really have no clue, so I’ll just have to poke around once it’s installed and hope my boyfriend doesn’t get frustrated with my tinkering ;_;


So it turns out we never got to the point where we setup the dual-bootage, because we both hated Snow Leopard so much that after hours of getting it to install, we immediately reformatted. Ha, ha, ha.

motherfucking grub, again

July 17, 2009 at 17:59 | Posted in Adventures | 2 Comments
Tags:

okay. I installed the grub tgz file I have on my laptop, that I have no idea where it came from.

I ran grubconfig.

I’m getting Error 2 from grub, which means

2 : “Selected disk doesn’t exist”

This error is returned if the device part of a device- or full filename refers to a disk or BIOS device that is not present or not recognized by the BIOS in the system.

so, it could possibly mean that the hard drive numbers are out of order. I’m going to reboot and see if I get any kind of menu or prompt at all to edit the line and reattempt booting.

no, I can’t get to any prompt. sigh.

fuck it. im using lilo.

Also, grub naming versus NTLDR naming.

November 30, 2008 at 14:34 | Posted in Adventures | Leave a comment
Tags: , , , , ,

So, my harddrive went something like:

Slackware, Windows, Extended(Swap)
hda4, hda2, hda3(hda5)

and grub booted windows with hd0,1 and hda2, and NTLDR (C:/boot.ini) booted windows with “default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS” or as I see it, hd0,1.

then I shrunk Windows, added LFS, and my harddrive looked like this:

Slackware, LFS, Windows, Extended(Swap)
hda4, hda1, hda2, hda3(hda5)

Now I got the “hal.dll is missing or corrupt” error. Linux/grub named Windows exactly the same (hda2 or hd0,1) but Windows apparently names for it’s physical position on the harddrive, so it was now hd0,2 as far as NTLDR was concerned. So my new, working NTLDR entry looks like “default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS”.

slackware 12.1 + 256 byte inode ext3 partition + grub

July 2, 2008 at 10:11 | Posted in Guides | Leave a comment
Tags: , ,

get grub patch

get grub source

(be sure to change device name appropriately in the grub-install line)

tar -xvvf grub-0.97.tar.gz

patch --verbose < grub-support-256byte-inode.diff
>grub-0.97/stage2/fsys_ext2fs.c

cd grub-0.97

./configure

make

sudo make install

sudo grub-install /dev/hdx

sudo update-grub

/boot/grub/menu.lst template:
(be sure to use actual kernel image and not the symlink at /boot/vmlinuz)

title Slackware
kernel (hd0,3)/boot/vmlinuz-huge-smp-2.6.24.5-smp root=/dev/hda4 ro vga=791
savedefault
boot

Blog at WordPress.com. | Theme: Pool by Borja Fernandez.
Entries and comments feeds.

Follow

Get every new post delivered to your Inbox.