The title of my blog is the title of my blog…


Getting close
September 9, 2009, 07:42
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.

  1. Install Linux on the USB drive (assume it is /dev/sdd1)
  2. sudo apt-get install grub2
  3. The following mounting steps may be acheived simply by double clicking on the name of the flash drive on the Linux desktop. If not:
    1. sudo mkdir /media/disk
    2. sudo mount -w /dev/sdd1 /media/disk
  4. Replace “disk” with the actual mountpoint Linux (or you) assigned to the flash drive.
  5. sudo mkdir /media/disk/boot (not nec with ubuntu install)
  6. sudo mkdir /media/disk/boot/grub(not nec with ubuntu install)
  7. sudo cp /usr/lib/grub/i386-pc/* /media/disk/boot/grub
  8. grub-install –root-directory=/media/disk/ /dev/sdd (note: no number after the base)

New directions after installing Ubuntu (9.0?) on flash drive

  1. double-click on drive icon on linux desktop
  2. do a df to find its mount point (assume here /media/disk)
  3. sudo -i
  4. chroot /media/disk
  5. apt-get grub2 (some errors are reported about stdin, etc. ignore them?)
  6. Choose to load grub2 directly to MBR

Edit Linux Command Line as follows

  1. 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!




    Follow

    Get every new post delivered to your Inbox.