Difference between revisions of "Macmini"

From Bashlinux
Jump to: navigation, search
 
Line 5: Line 5:
 
# On initial screen go to the top bar and choose ''"HDD Tools"''
 
# On initial screen go to the top bar and choose ''"HDD Tools"''
 
# Choose the current HD and select ''"Partition"'' tab
 
# Choose the current HD and select ''"Partition"'' tab
# Select _"1 Partition"_, system type Unix
+
# Select ''"1 Partition"'', system type Unix
# '''IMPORTANT:''' Click in ''"options"'' and select _boot from MBR_ in order to allow CentOS boots on Mac Mini.
+
# '''IMPORTANT:''' Click in ''"options"'' and select ''boot from MBR'' in order to allow CentOS boots on Mac Mini.
 
# Save and reboot
 
# Save and reboot
 
# Press `"F12"` to eject the OS X CD and insert CentOS DVD
 
# Press `"F12"` to eject the OS X CD and insert CentOS DVD
Line 27: Line 27:
   
 
# When the installation finish, just click on reboot button.
 
# When the installation finish, just click on reboot button.
# Press ''"F12"'' to eject CentOS DVD to avoid boot again on installation DVD
+
# Press `"F12"` to eject CentOS DVD to avoid boot again on installation DVD
   
 
==== Boot from USB/PXE ====
 
==== Boot from USB/PXE ====
Line 89: Line 89:
 
== Graphic driver ==
 
== Graphic driver ==
   
The default driver installed by CentOS is ''"Intel"'', the kickstart scripts change intel to i810, this will avoid a "Virtual Big Screen" displayed by Intel driver
+
The default driver installed by CentOS is `"Intel"`, the kickstart scripts change intel to `"i810"`, this will avoid a "Virtual Big Screen" displayed by Intel driver
   
 
==== Graphical environment at boot ====
 
==== Graphical environment at boot ====

Revision as of 08:37, 23 November 2009

Boot Process

  1. Boot with OS X installation CD. Don't forget to press `"c"` key to boot from CD.
  2. On initial screen go to the top bar and choose "HDD Tools"
  3. Choose the current HD and select "Partition" tab
  4. Select "1 Partition", system type Unix
  5. IMPORTANT: Click in "options" and select boot from MBR in order to allow CentOS boots on Mac Mini.
  6. Save and reboot
  7. Press `"F12"` to eject the OS X CD and insert CentOS DVD
  8. Reboot
  9. Press `"c"` to boot from DVD
  10. On prompt type
 linux ks=http://rpm.uwink.com/yum/ks-client-volante.cfg
 


#!wiki note
 '''Boot Prompt'''
 
 The name on the kernel depends of which media is being used to install Linux. To select the appropriate kernel name, choose the correct from the next list
 * Centos CD, DVD: ''linux'' ks= ...
 * uWink CD v1.x: ''general-server'' ks= ...
 
  1. When the installation finish, just click on reboot button.
  2. Press `"F12"` to eject CentOS DVD to avoid boot again on installation DVD

Boot from USB/PXE

In order to boot using USB drive or PXE is necessary to boot up using an EFI.

DHCP configuration to let the Macmini boot from Linux using NetBoot
ddns-update-style none;
ddns-updates off;
ignore client-updates;
allow booting;
authoritative;

class "AppleNBI-i386" {
  match if substring (option vendor-class-identifier, 0, 14) = "AAPLBSDPC/i386";
  option dhcp-parameter-request-list 1,3,17,43,60;
  if (option dhcp-message-type = 1) { option vendor-class-identifier "AAPLBSDPC/i386"; }
  if (option dhcp-message-type = 1) { option vendor-encapsulated-options 08:04:81:00:00:67; }

  # The Apple Boot Loader binary image.  This file will in turn TFTP the kernel image and extension cache.
  filename "macnbi-i386/booter";

  ## JJM Root FS DMG on HTTP Server:
  # option root-path "http://172.10.0.1/Netboot/NetBootSP0/MacOSX10.4.5.i386.JJM.nbi/NetInstall-Restore.dmg";

  ## JJm Root FS DMG on NFS Server.
  # (Note the placement of the second ":"  This indicates where /var/netboot is mounted on each client.
  # The Resources folder should be in the folder indicated by the :, /nbi in this instance.

  ## NOTE: THIS ROOT PATH IS TOO LONG AND WILL NOT WORK.
  # option root-path "nfs:172.10.0.1:/disk/0/Netboot/NetBootSP0:MacOSX10.4.5.i386.JJM.nbi/NetInstall-Restore.dmg";

  ## NOTE: Try to keep the root path as short as possible.  I copy the DMG files to /nbi and export that folder.
  #option root-path "nfs:172.10.0.1:/nbi:NBI-i386.dmg";

  ## uWink path
  option root-path "nfs:172.10.0.1:/nbi:volante-client.dmg";
}

subnet 172.10.0.0 netmask 255.255.255.0 {
  pool {
    range 172.10.0.100 172.10.0.199;
  }

  default-lease-time 7200; # 2 hours
  max-lease-time 86400; # 1 day

  option domain-name "sub.uwink.com";
  option routers 172.10.0.1;
  option subnet-mask 255.255.255.0;
  option domain-name-servers 172.10.0.1;
  option broadcast-address 172.10.0.255;
  option time-offset -18000; # EST
  allow unknown-clients;


Graphic driver

The default driver installed by CentOS is `"Intel"`, the kickstart scripts change intel to `"i810"`, this will avoid a "Virtual Big Screen" displayed by Intel driver

Graphical environment at boot

Some screens doesn't work at installation process, so it could be useful to add the resolution parameter, i.e. to install volante with in small screens, type at boot install prompt:

 > linux ks=http://rpm.uwink.com/yum/ks-client-volante.cfg resolution=1024x768
 


Sound

The sound works fine in the audio output but no the internal audio.

Carbon Copy Cloning

To have done this process we need 3 machines:

  • Master: Where CCC is installed
  • Source: OSX Server
  • Target: Leopard, or any machine ready to be new clone

Make the image

On Source

  1. Connect screen, keyboard, and power.
  2. Turn on and immediately press and hold `"t"` until screen shows the firewire symbol
  3. Connect to the master using firewire cable

On Master

  1. Get and Install Carbon Copy Cloning from [[1]]
  2. Start up Carbon Copy Cloning Application that is on `/Applications/` folder
  3. In "Select a source" click the firewire HD
  4. In "Select a target" click on Choose disk image...
  5. In "Cloning Options" Backup everithing
  6. A navigation window will be opened, click on arrow besides "Save As:" entry and it will expand the finder window
  7. In finder window select the destination where the image will be saved, i.e. eng_share, and then click ok
  8. Going back to the main screen, with all options selected, click on "Clone" button,

Installing Windows XP

Additional steps are required in order to install Windows XP on Mac Mini, it requires the following install discs:

  • Windows XP Service Pack 2
  • Mac OS X 10.5.x

Then, start the procedure as follow.

  1. Burn "Windows XP Service Pack 2" image available on eng_share into a CD
  2. Put the burned CD in Mac Mini tray
  3. Turn on Mac Mini
  4. Immediately after hear the chime, press and hold the letter `"c"`
  5. Press any key when it prompts to do in order to start installation from CD
  6. Follow all on screen instructions
  7. When installation is done, put the Mac OS X installation CD on tray, it will start automatically to install all the rest Mac Mini drivers.