Solved

Install BackTrack 5 on MacBook pro partition from VMware fusion

Posted on 2012-04-12
18
1,543 Views
Last Modified: 2013-03-07
Hello Experts

I am trying to install the BackTrack r5 Linux distribution onto a partition on my MacBook pro.

I have created a 20gb partition and I am using rEFIt as my boot manager (currently only booking to OS X Lion)

I have the backtrack distribution in an .iso file.  When I burn this to a DVD is hangs on the isolinux boot: prompt

However the .iso did install just fine into VMware fusion.

How can I show my spare partition to VMware so that when I virtual boot into backtrack it can install itself to the physical partition I created for it?

Hope that makes sense
0
Comment
Question by:wisemat
  • 9
  • 8
18 Comments
 
LVL 117
ID: 37837316
if trying this ensure you have a USB WiFi adaptor, otherwise BT may not function.
0
 

Author Comment

by:wisemat
ID: 37837325
As a side comment I have an Alfa USB wifi card, I am not trying to use BackTrak with my internal airport card.
0
 
LVL 14

Expert Comment

by:binaryevo
ID: 37838742
Interested to see where this question goes as im also very interested in getting that same setup.  My existing vmware fusion images and alpha card never seemed to work consistently when using certain wifi pen testing tools.  On a side not i found this that i thought could add some merit to the question:

http://www.securityindepth.org/papers/macbook_bt_dualboot.pdf
0
 

Author Comment

by:wisemat
ID: 37838926
I've tried creating a journaled partition and using carbon copy cloner to burn the iso to the partition, whilst this appears to work I can not boot from it.
0
 
LVL 14

Expert Comment

by:binaryevo
ID: 37842955
Give this a shot, courtesy of http://forums.macrumors.com/showthread.php?t=1329407


+Download Ubuntu iso
+Use UNetbootin to install the files to the root drive (usb)
+Create 3 new partitions
          -Mac Disk Utility:
               -2gb - for Ubuntu live cd files
               -4gb - for /home and linux swap
               -20gb - Actual Ubuntu (size depends on what you really want but can be changed later on)
+Move iso files (copy) to partition (2gb)
          -dd if=/dev/disk1s0 of=/dev/disk0s3
               -Note: /dev/disk1s0 is your usb. In terminal type: "diskutil list" to see what your usb name is. This is also a good time to make sure that the path to the 2gb partition is correct

+Install rEFIT
          -on restart rEFIT should load
          -go to "set up partitions" (or something similar to that)
               -answer yes to sync and activate FAT partition
+launch Ubuntu (from partition)
          -If you are experiencing graphical errors and no internet go to its terminal and type # Sudo -s and then # gedit /etc/default/grub
               -add nomodeset to GRUB_CMDLINE_LINUX="" nomodeset goes inside the ""
+If you have a macbook air or experience certain errors installing ubuntu later on especially around 15% than follow this next step:
+Dismount CDROM
          -Terminal: sudo gedit /etc/mtab
               -delete line specifying CDROM mount directory
                    -ie /dev/sda3/cdrom vfat
               -save
+++Now you are ready to install!

+Go through setup as usual until when it asks for you to partition hdd. Choose advanced!!!
          -at the partitioning list:
               -delete the 4gb partition to free space
                    -with the newly added 4gb free space click "ADD"
                         -choose these options:
                              -size: 3gb
                              -format: EXT4
                              -type: /home
                              -done
                    -Click "ADD" on the 1gb free space created
                         -choose these options:
                              -size: 1gb
                              -format: swap (something-swap or vice-versa, you'll see it)
                    -With the 20gb selected choose CHANGE
                         -format: EXT4
                         -Type: "/" (this is your root)
+++Cross your fingers and install!
0
 
LVL 14

Expert Comment

by:binaryevo
ID: 37843266
wisemat what error are you getting when trying to boot to that partition?  no operating system found or something to that extent?
0
 

Author Comment

by:wisemat
ID: 37844162
Which one?

USB bring up isolinux boot prompt
Boot:

Pressing return gives me A whirl of the DVD but no further response

I am not able to boot from any partition I try and install/clone the iso to.

Double fail :(
0
 

Author Comment

by:wisemat
ID: 37844166
It would appear whatever I do, I cannot create a bootable USB device on the mac?

I'll experiment over the weekend and report back.
0
 
LVL 14

Accepted Solution

by:
binaryevo earned 500 total points
ID: 37844212
Ive had pretty much the same result.  No luck on the bootable usb.  Im able to boot from a backtrack DVD i made however, i get to a certain point and it stops working.  I created a live boot partition on the MBP hard drive ( so Ive got 3 partitions OSX, Linux Main for the install of the OS, and the linux live partition ) and have yet to successfully get it to boot.  Its almost like im missing a init file or something.
0
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 

Author Comment

by:wisemat
ID: 37844298
so far I have a:

dvd that doesn't boot
usb that doesnt boot
2gb partion that doesnt boot with unbuntu (i think)
4gb partition for swap (no boot)
20 gb partionion waition for BT install

this is becoming quite a project
0
 

Author Comment

by:wisemat
ID: 38128974
I've not got anywhere with this, to the point of giving up, but I will award the point becuase the recources you pointed me to were very helpful
0
 
LVL 14

Expert Comment

by:binaryevo
ID: 38299684
I found this link to dual boot ubuntu but, have yet to give it a shot... Previously my preferred reasoning for doing a dual boot with backtrack was due to some driver issues i was experiencing with my Alpha card not working consistently in fusion.  Ive actually figured that out and written a shell script to resolve that issue ( so if your having that type of similar issue ), I would be glad to share the script with you.  Anyways, here is the link that ive found for the ubuntu efi installation:

http://lifehacker.com/5934942/how-to-dual-boot-linux-on-your-mac-and-take-back-your-powerhouse-apple-hardware
0
 

Author Comment

by:wisemat
ID: 38299688
Thanks, I'll give it a try and report back
0
 
LVL 14

Expert Comment

by:binaryevo
ID: 38299735
This part of the article is particularly interesting in using refit to fix your partition tables...
0
 

Author Comment

by:wisemat
ID: 38302777
This could be the answer, everytime I try and boot a linux live cd it hangs at the
boot:
prompt, refit installs no problem
0
 

Author Comment

by:wisemat
ID: 38302850
Still doesnt work on my mac :(
0
 
LVL 14

Expert Comment

by:binaryevo
ID: 38305069
Ok lets go another route then open up another question asking about the alpha card in backtrack and ill see if maybe we can help get that issue resolved rather than dealing with the EFI mac issue.  Assuming your using vmware fusion.  Maybe post a link to that question here so i can find it easily.
0
 
LVL 14

Expert Comment

by:binaryevo
ID: 38963728
@wisemat accidentally stumbled upon this link today and thought of this question when i saw it:

http://www.backtrack-linux.org/forums/showthread.php?t=51483
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

When we have a dead host and we lose all connections to the ESXi, and we need to find a way to move all VMs from that dead ESXi host.
Will try to explain how to use the VMware feature TAGs in the VMs and create Veeam Backup Jobs using TAGs. Since this article is too long, I will create second article for the Veeam tasks.
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now