Getting close
September 9, 2009, 07:42
Filed under: Uncategorized
Filed under: Uncategorized
Boot your Mac with a Linux LiveCD or run Linux in a virtual machine.
The the rest of these steps are done in the Linux environment.
- Install Linux on the USB drive (assume it is /dev/sdd1)
- sudo apt-get install grub2
- The following mounting steps may be acheived simply by double clicking on the name of the flash drive on the Linux desktop. If not:
- sudo mkdir /media/disk
- sudo mount -w /dev/sdd1 /media/disk
- Replace “disk” with the actual mountpoint Linux (or you) assigned to the flash drive.
- sudo mkdir /media/disk/boot (not nec with ubuntu install)
- sudo mkdir /media/disk/boot/grub(not nec with ubuntu install)
- sudo cp /usr/lib/grub/i386-pc/* /media/disk/boot/grub
- grub-install –root-directory=/media/disk/ /dev/sdd (note: no number after the base)
New directions after installing Ubuntu (9.0?) on flash drive
- double-click on drive icon on linux desktop
- do a df to find its mount point (assume here /media/disk)
- sudo -i
- chroot /media/disk
- apt-get grub2 (some errors are reported about stdin, etc. ignore them?)
- Choose to load grub2 directly to MBR
Edit Linux Command Line as follows
- do nothing, just press return at this prompt.
Update, September 9.
Well, I’ve had to put this aside for a few days to work on other things, but I’ll be getting back to it soon. “Stay tuned.” Give up — Never!
Leave a Comment