Line 1: |
Line 1: |
| {{Level|Medium}} | | {{Level|Medium}} |
| | | |
| + | = SME Server 9 and Koozali SME Server 10 = |
| + | |
| + | As of SME Server 9 a hybrid ISO image is used for creating bootable installation media. Note that not all USB Disk Creation software can properly handle this type of image (yet), See [https://wiki.centos.org/HowTos/InstallFromUSBkey CentOS wiki] for details. |
| + | |
| + | == Requirements == |
| + | |
| + | * Bootable USB Disk - 2GB is sufficient |
| + | * SME Image of your choice - eg SME 9.2 or SME 10.#. See the page [[SME_Server:Download]] for the current images. |
| + | * For Windows: |
| + | ** Fedora Live-USB Creator: https://fedorahosted.org/liveusb-creator/ |
| + | * For Linux: |
| + | ** The <tt>dd</tt> command is used from the commandline |
| + | * For OS X: |
| + | ** The <tt>dd</tt> command is used from the commandline |
| + | |
| + | == Creating the USB stick on Windows == |
| + | |
| + | * Insert USB Device and note the drive-letter used for it by Windows |
| + | * Fire-up the the Fedora Live-USB Creator |
| + | * Click 'Browse' to use and existing Live CD and select the downloaded SME Server ISO |
| + | * Under 'Target Device' be sure to select the right USB Device |
| + | * Click 'Create Live USB' |
| + | |
| + | == Creating the USB stick on Linux == |
| + | |
| + | * Insert USB device |
| + | * Go to the commandline |
| + | * If the USB device gets automatically mounted, unmount it first.<br />'''PAY ATTENTION! Be sure to use the right device.''''' |
| + | umount /dev/sdX |
| + | : ''Where sdX is your USB device name. |
| + | * Write the ISO to the USB device and make sure buffered data is written to disk.<br />'''WARNING! Be sure to pick the right device as you might destroy your system when wrong!!''''' |
| + | dd if=FILENAME.ISO of=/dev/sdX |
| + | sync |
| + | : ''Again where sdX is your USB device name. |
| + | |
| + | == Creating the USB stick on OS X == |
| + | * Insert USB Device |
| + | * Start the 'Terminal' program (<tt>Finder → Applications → Utilities</tt>) |
| + | * Find out what device name is your USB stick |
| + | diskutil list |
| + | * Unmount the USB device.<br />'''PAY ATTENTION! Be sure to use the right device.''''' |
| + | diskutil unmountDisk /dev/diskX |
| + | : ''Where diskX is your USB device name. |
| + | * Write the ISO to the USB device and make sure buffered data is written to disk.<br />'''WARNING! Be sure to pick the right device as you might destroy your system when wrong!!''''' |
| + | dd if=FILENAME.ISO of=/dev/diskX conv=sync |
| + | : ''Again where diskX is your USB device name. |
| + | |
| + | The dd command can take a long time, so be patient. The 670MB image transferred to an older USB 2.0 device took about thirteen (13) minutes. |
| + | |
| + | == Usage == |
| + | Boot your server from USB device and when you get the 'Installation Method' dialog-box choose: <tt>Harddisk → sda1</tt> |
| + | |
| + | = SME Server 8 = |
| == Requirements == | | == Requirements == |
| * Bootable USB Disk - 2GB is sufficient | | * Bootable USB Disk - 2GB is sufficient |
− | * SME Image - SME 8 - download it | + | * SME Image of your choice - eg SME 8.2 [http://mirror.canada.pialasse.com/releases/8.2/iso/i386/smeserver-8.2-i386.iso smeserver-8.2-i386.iso] or [http://mirror.canada.pialasse.com/releases/8.2/iso/x86_64/smeserver-x86_64.iso smeserver-8.2-x86_64.iso] |
| * USB Disk Creation Software | | * USB Disk Creation Software |
| ** http://unetbootin.sourceforge.net/ | | ** http://unetbootin.sourceforge.net/ |
| + | ** http://liveusb.info/dotclear/index.php? |
| | | |
− | Note: I'm using Windows 7 - this work on Win7, should work on XP and later | + | Note: Using Windows 7, should work on XP and later<br /> |
| + | |
| + | Note: Multisystem can be used on Windows and/or Linux, as can unetbootin :D |
| | | |
| == Creating USB stick == | | == Creating USB stick == |
− | * USB Disk In | + | * Insert USB device |
| * Run the Software | | * Run the Software |
| * Point to the SME ISO file | | * Point to the SME ISO file |
| | | |
| == Using == | | == Using == |
− | In your new Hardware ...
| + | On your new Hardware ... |
| # Boot from USB | | # Boot from USB |
| # Select Install from Hard Disk | | # Select Install from Hard Disk |
| # Choose Partition | | # Choose Partition |
− | #* Mine was ''/dev/sdb1'' when there was a partition - it was ''/dev/sda1'' when no partition
| + | ** Generally it will be the last partition |
− | #* It will want to know where your .iso image is, I just hit enter (because it was in the root of my usb)
| + | ** it was ''/dev/sda1'' when no partition, sde1 when I re-installed on the HP Microserver |
| + | ** leave the path blank |
| + | |
| + | ===Make the USB-key with UNetbootin=== |
| + | {{Note box|5th July 2013: I found that unetbootin-windows-585.exe expanded the smeserver-8.0-i386.iso onto the USB stick (creating the directory structure etc), thus there was no .iso image to be found at the select an image point in the install process. I simply copied the smeserver-8.0-i386.iso into the USB sticks root directory.}} |
| + | * USB Disk In |
| + | * Run Unetbootin |
| + | * Point to the SME ISO file |
| + | * Wait until Unetbooting has finished |
| + | * Simply copy the smeserver-8.0-i386.iso into the USB sticks root directory. |
| + | Then |
| + | * Boot from USB |
| + | * Select Install from Hard Disk |
| + | * Choose Partition |
| + | ** Generally it will be the last partition |
| + | ** it was ''/dev/sda1'' when no partition, sde1 when I re-installed on the HP Microserver |
| + | ** leave the path blank |
| + | |
| + | {{Warning box| you don't have the boot menu where you can pass special commands on raid, no lvm...}} |
| + | |
| + | ===Make the USB-key with Multisystem=== |
| + | Multisystem is a useful tool when you want to get several isos on your usb key, see [http://liveusb.info/dotclear/index.php? multisystem]<br /> |
| + | |
| + | The installation is quite easy, drag and drop the iso in the below appropriate place, give the password of the user who needs the sudo right...it is nearly finished. |
| | | |
− | === Write Grub ===
| + | * USB Disk In |
− | * When it booted I had to write Grub (see: http://wiki.centos.org/HowTos/GrubInstallation) | + | * Run multisystem |
− | *# find /grub/stage1 | + | * Point to the SME ISO file |
− | *# root (hd0,0)
| + | * Wait that multisystem is finished |
− | *# setup (hd0)
| + | * Simply copy the smeserver-8.0-i386.iso into the USB sticks root directory. |
− | *# reboot
| + | Then |
| + | * Boot from USB, select the right O.S you want to start. |
| + | * Optional : At boot prompt if you want to give some options to install sme in a particular way, you have to select the SME Server menu and press "e" |
| + | Then you need to find the line |
| + | linux (loop)/isolinux/vmlinux linux repo=hd: |
| + | and insert your option line like this : |
| + | linux (loop)/isolinux/vmlinux '''nolvm ext4''' linux repo=hd: |
| + | All [[Booting|Booting]] options can be find in the wiki. |
| + | once done, you can press ctrl+x or F10 to launch the installation. |
| | | |
− | ''Long Live SME ...'' | + | * Select Install from Hard Disk |
| + | * Choose Partition |
| + | ** Generally it will be the last partition |
| + | ** it was ''/dev/sda1'' when no partition, sde1 when I re-installed on the HP Microserver |
| + | ** leave the path blank |
| | | |
− | ===References===
| + | ==References== |
− | * http://www.pendrivelinux.com/ | + | * http://unetbootin.sourceforge.net/ |
| * [http://forums.contribs.org/index.php?topic=48479.0 ''SME Server USB installer'' topic in the Contribs forums] | | * [http://forums.contribs.org/index.php?topic=48479.0 ''SME Server USB installer'' topic in the Contribs forums] |
| * http://wiki.centos.org/HowTos/GrubInstallation | | * http://wiki.centos.org/HowTos/GrubInstallation |
| + | |
| + | '''Long Live SME ...''' |
| ---- | | ---- |
| [[Category:Howto]] | | [[Category:Howto]] |