Jump to content

[How To] Create bootable USB with BOOT-132 loader


  • Please log in to reply
106 replies to this topic

#1
stickpin

stickpin

    InsanelyMac Protégé

  • Members
  • PipPip
  • 79 posts
  • Gender:Male
  • Location:Israel

This method useful only for already installed OSX with CD Boot.



Requirements: Windows, USB Flash Drive, BOOT-132 CD, 10 minutes of your time...
Thanks alot to: Kabyl, bumby, f41qu3 and all chameleon's... :P

1) Connect you USB Drive and format it as FAT32.

2) Download syslinux from here. (Must be version 3.63)

3) Unpack zip somewhere. (Ex: c:\temp)

4) Open cmd and go to the unpacked folder\win32 directory. (Ex: c:\temp\win32)

5) Run syslinux.exe -ma <drive letter>: (Ex: syslinux.exe -ma f:)

6) Copy all files from CD to your USB Drive (mboot.c32, boot, initrd.img, isolinux.bin)

7) From folder isolinux copy isolinux.cfg to USB Drive root f:\.

8) Rename isolinux.bin to syslinux.sys and isolinux.cfg to syslinux.cfg.

9) Enjoy you bootable USB Bootloader...


The idea after this, is to leave OSX installation untouchable.
To apply all the patches at USB Drive...


After OSX boot's you can edit your initrd.img right on USB Flash, just by attaching initrd.img and drug'n'drop your files inside initd drive.

When you booting from USB Drive, your Hard Drive going to be a Secondary, you must to enter 81 not 80 to boot.

If you want your OSX to start automatically, open syslinux.cfg, right after DEFAULT.... add APPEND biosdev=<your hdd id> (Ex: APPEND biosdev=81)
So your syslinux.cfg should looks like this:


PROMPT 0
TIMEOUT 90
DEFAULT /mboot.c32 /boot --- /initrd.img
APPEND biosdev=81

USB Files: http://www.mediafire.com/?d9nzydnj3vz (You just need to add your initrd.img.)

#2
f41qu3

f41qu3

    Insanely Retired Guru

  • Retired
  • 458 posts
  • Gender:Male
  • Location:Brazil
Good new method. Links on official topic are updated.

:wacko:

#3
DivXBoy

DivXBoy

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts
Nice! Looking for a way to add a splash screen... It's possible for sure http://www.sweb.cz/F...lash-HOWTO.html

Is there a way to also skip the boot prompt, so we don't need to press 'enter'.

#4
stickpin

stickpin

    InsanelyMac Protégé

  • Members
  • PipPip
  • 79 posts
  • Gender:Male
  • Location:Israel
DivXBoy,

If you want your OSX to start automatically, open syslinux.cfg, right after DEFAULT.... add APPEND biosdev=<your hdd id> (Ex: APPEND biosdev=81)
So your syslinux.cfg should looks like this:

CODE
PROMPT 0
TIMEOUT 90
DEFAULT /mboot.c32 /boot --- /initrd.img
APPEND biosdev=81

#5
mitch_de

mitch_de

    InsanelyMacaholic

  • Retired
  • 2,896 posts
  • Gender:Male
  • Location:Stuttgart / Germany
Hi,
thanks.
I can boot my OS X HD1 and OS X HD2 with 81h or 82h.
But how can i set that i can boot from DVD ?
How can i find out which yy hex is what device ?!!
PS: I can see at boottime a short error, to fast to read, mybe some boot.plist error.
DVD is on SATA (ICH8/not JMICRO SATA)

Here my diskutil list:

e180045204:~ ami$ diskutil list
/dev/disk0 **= 81h****
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *149.1 Gi disk0
1: Windows_FAT_32 WINXP 30.4 Gi disk0s1
2: Apple_HFS OSX_ZWEI 118.6 Gi disk0s2
/dev/disk1 *** = 82h ****
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *298.1 Gi disk1
1: Apple_HFS OS_X_2 46.4 Gi disk1s1
..
5: Apple_HFS OS_X_BACKUP_2 38.1 Gi disk1s6
6: Apple_HFS WIN_SW_TEMP2 35.0 Gi disk1s7
/dev/disk2 **** USB Stick ****
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *967.5 Mi disk2
1: DOS_FAT_32 BOOTOSX 965.6 Mi disk2s1
/dev/disk3 **** DVD orig. Leo *****
#: TYPE NAME SIZE IDENTIFIER
0: Apple_partition_scheme *7.5 Gi disk3
1: Apple_partition_map 30.0 Ki disk3s1
2: Apple_Driver_ATAPI 401.7 Mi disk3s2
3: Apple_HFS Mac OS X Install DVD 7.1 Gi disk3s3
e180045204:~ ami$

#6
stickpin

stickpin

    InsanelyMac Protégé

  • Members
  • PipPip
  • 79 posts
  • Gender:Male
  • Location:Israel
You cant boot from DVD only from the Hard Drive...
Exactly as it says in the first post: This method useful only for already installed OSX with CD Boot.

#7
mitch_de

mitch_de

    InsanelyMacaholic

  • Retired
  • 2,896 posts
  • Gender:Male
  • Location:Stuttgart / Germany

You cant boot from DVD only from the Hard Drive...
Exactly as it says in the first post: This method useful only for already installed OSX with CD Boot.


Thanks, i missunderstand that.

#8
teknojunkie

teknojunkie

    InsanelyMac Legend

  • Donators
  • 829 posts
  • Gender:Male
  • Location:Corona, California USA
  • Interests:Computers, Coding, Skateboarding, Snowboarding, Video Games
working on the splash screen will post results soon

#9
DivXBoy

DivXBoy

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts

DivXBoy,

If you want your OSX to start automatically, open syslinux.cfg, right after DEFAULT.... add APPEND biosdev=<your hdd id> (Ex: APPEND biosdev=81)
So your syslinux.cfg should looks like this:

CODE
PROMPT 0
TIMEOUT 90
DEFAULT /mboot.c32 /boot --- /initrd.img
APPEND biosdev=81


Did that already ofcourse :) Forgot to add the quiet boot key to Boot.plist. So only the splashscreen for syslinux is left to be done.

#10
Gorcik

Gorcik

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 3 posts
When I try to boot from USB I've got message:

Could not find kernel image: linux

Could you help me, please?

#11
superfaen

superfaen

    InsanelyMac Protégé

  • Members
  • Pip
  • 35 posts
I got the usb boot to work. It's just great. Now Im thinking of making a small fat partition on one of my disks to place the bootfiles there, I think it should work. anyone who has tried?
Also, anyone who knows how I can get it to boot partition 2 on my disk instead of the first one? Is there some way to change startup disk in Leopard? I know about the option in system preferences, but it won't let me choose the right partition.

#12
DocShadow

DocShadow

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 117 posts
  • Gender:Male
  • Location:Ottawa ON Canada
Thanks to Stickpin for posting this method. :unsure:

Took me a while to get it working. :)

But now that I have it working I'm at a loss of why I want to do this. :( I already have a working OSX on my HDD. :)

So .....


The REAL BEAUTY of the DFE on USB approach (besides the near virgin installs)
is you DO NOT NEED to make any leopard install BOOTABLE.

Just install leopard and use USB key as BootLoader.


If I want to install 10.5.4 .... what would I do? Do I put all my current extensions in Extensions folder on the USB and update to 10.5.4 through Live Update? Then reboot off the USB stick?

Doc

#13
DocShadow

DocShadow

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 117 posts
  • Gender:Male
  • Location:Ottawa ON Canada
I figured that part out this evening for my setup. :)

I have separate drives for my XP and each of my OSX setups. In my BIOS my USB stick is the first drive, XP the second drive, MacOS the third drive and MacOSX the fourth drive.

I boot with the USB stick. It stops at the prompt, I press ESC and it asks which drive I want to use. 80 is the USB stick so I then type 81 for my XP, 82 for my MacOS and 83 for my MacOSX setups.

Doc

#14
boxer82003

boxer82003

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 140 posts
not sure why i cant get this to work is there a bios setting that has to be changed i tried several different boot priorities in my bios but it wont recognize it at all

#15
Warl0ck

Warl0ck

    InsanelyMac Protégé

  • Members
  • Pip
  • 13 posts

When I try to boot from USB I've got message:

Could not find kernel image: linux

Could you help me, please?


I get the same message

#16
DocShadow

DocShadow

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 117 posts
  • Gender:Male
  • Location:Ottawa ON Canada
boxer82003 ....

Depends on your board but I needed to specify my USB device as the first Drive in BIOS and the other HDDs as 2, 3, etc. The BIOS usually only allows selection of the Floppy, DVD or 1st drive as the boot drives.

The 1st drive is 80, the second is 81 and so on.

#17
Warl0ck

Warl0ck

    InsanelyMac Protégé

  • Members
  • Pip
  • 13 posts

Could not find kernel image: linux


ok.. I fixed the issue by reformating the usb stick. This time I used "Fat" instead of "Fat32" (under vista)

#18
Trauma!

Trauma!

    Took too much...

  • Members
  • PipPipPipPipPipPipPip
  • 964 posts
  • Gender:Male
  • Location:France
Hy Sickpin,

I have a problem when i try to boot from the USB Key, it says:

"Missing operating system"

I think the problem comes from the way my mother board manage removables devices to boot. I've been able to boot on usb key in the past, i mean on DOS formated one for exemple.
I can change emulations type in the bios : FDD; Floppy; CDROM; HDD..... which one should work ?

Thanks

#19
macgirl

macgirl

    Stargate's Pharaoh

  • Retired
  • 7,615 posts
  • Gender:Female
  • Location:Mexico City
  • Interests:Techie gadgets
I manage to install with this method but to a small FAT32 partition of my 1st Disk (MBR XP + Boot132), I can boot my 2nd Disk (GUID Mac OS X) APPEND biosdev=81.

You can also add a "boot-uuid=" flag in the com.apple.Boot.plist with this method: http://forum.insanel...howtopic=115636

Anyway I have the Shutdown/Restart problem, I don't find the post where the PowerManagement bundle is modified to fix this :thumbsup_anim:

#20
f41qu3

f41qu3

    Insanely Retired Guru

  • Retired
  • 458 posts
  • Gender:Male
  • Location:Brazil

I manage to install with this method but to a small FAT32 partition of my 1st Disk (MBR XP + Boot132), I can boot my 2nd Disk (GUID Mac OS X) APPEND biosdev=81.

You can also add a "boot-uuid=" flag in the com.apple.Boot.plist with this method: http://forum.insanel...howtopic=115636

Anyway I have the Shutdown/Restart problem, I don't find the post where the PowerManagement bundle is modified to fix this :poster_oops:


Hey Girl try this: http://www.superhai....attery.kext.zip

Works fine on Leo and SnowLeo.

:thumbsup_anim:





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy