magicopf.blogg.se

Use gparted to format usb drive for mac and linux
Use gparted to format usb drive for mac and linux






Open a terminal and type "sudo " and then the path to the enable.sh. Locate the file called "enable.sh" in the efi folder Open the rEFIt dmg and copy the "efi" folder to the hfs+ partiton. Now type "mkfs.ext4 /path/to/casper-rw" and follow the instructions if there are any Replace the /media/LIVE with the mountpoint again. In terminal create a zero'd out file called casper-rw in the fat partiton with "dd if=/dev/zero of=/media/LIVE/casper-rw". Skip the following steps in the step two if you don't want persistence If you get an error saying that there is no bios boot partition (which you shouldn't), open gparted and select the grub partition and select the flag "bios_grub".Ĭlose GParted if it is open and reopen it.Ĭopy all of the contents of your live cd iso or cd (including the hidden folder ".disk") to your fat partiton. Open terminal and do "sudo grub-install -root-directory= /dev/myusb", of couse replacing with the mount point and myusb with the correct sdX. Hfsplus/hfsprogs for hfs+ support in linuxįormat your USB key with an MBR partiton table.Īdd an 8MB ext3 partition named "GRUB" for simplicity. This is an updated version of my tutorial.Ī linux installation, virtual machine, or live cdĪ Mac OS X installation/installation disk








Use gparted to format usb drive for mac and linux