Quote:
Originally Posted by Sacharon
Hey,
sorry that my first post are only noob questions, but I'm experimenting with x86-macs now for some time and never got the bootloader-thing quite working. Under Linux and Windows or with an hex-editor, there's no problem; but how exactly do I have to use the supported files? I only find some 'bootxxx'-files and a readme which only seems to describe parameters inside. How can I use the bootloader for an usb-stick with the lion-install-files? Tried the linux-dd-way of directly to the first sectors of the stick - no success. Also tried chameleon installer (in a virtual machine with SL installed) - I end up with a blinking cursor. And I don't find any kind of consistent how-to, tutorial or something like that - it's like the community just knows it all allready so that something like that isnt necessary  Please?
|
Figured it out. For everyone else asking themselves the same questions a quick how-to/summary:
included in the zip are multiple files which are resembling the stages of the bootloader in some variants.
You need at least three files to get a boot image/flash stick or similar booting:
boot0, which is stage zero (written in the mbr),
boot1h. which is stage one and written in the first sector of the bootable and active partition,
boot, which is stage three, resembled by an true file on the active partition.
Now you task is to get these three files to their according destinations; stage zero by
sudo fdisk -f boot0 -u -y /dev/rdisk
n (n resembling the disk number of the device you want to use - you can get it with 'diskutil list')
stage one by
sudo dd if=boot1h of=/dev/rdisk
ns
m (m resembling the active partition number, count starts with 0),
stage two by copying the boot file to the destination
sudo cp boot /Volumes/
SubjectNameHere (name of the stick/partition/image).
Hope this helps someone and I'm not repeating a thread I haven't found.