Difference between revisions of "Install From USB"
m (→Creating the USB stick on OS X: added "conv=" parameter to dd string, plus a comment) |
m |
||
(11 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{Level|Medium}} | {{Level|Medium}} | ||
− | = SME Server | + | =Koozali SME Server 10= |
− | |||
− | + | 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. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | == Creating the USB stick on Windows == | + | ==Requirements== |
− | * Insert USB Device and note the drive-letter used for it by Windows | + | |
− | * Fire-up the the Fedora | + | *Bootable USB Disk - 2GB is sufficient. NOTE: some machine will not boot from a USB3 USB Disk, if you have this issue try with a USB2 device. |
− | * | + | *SME Image of your choice - eg SME 9.2 or SME 10.#. See the page [[SME_Server:Download]] for the current images. |
− | * | + | *For Windows: |
− | * Click ' | + | **Recommended: Fedora Media Writer availabel from: https://getfedora.org/en/workstation/download/ (previous utility no longer availabe) |
+ | **Or Rufus: https://rufus.ie/en/ | ||
+ | *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 with Fedora Media Writer== | ||
+ | |||
+ | *Insert USB Device and note the drive-letter used for it by Windows | ||
+ | *Fire-up the the Fedora Media Writer | ||
+ | *Select "Custom Image" | ||
+ | *Select the downloaded SME Server ISO from the "Open" dialog | ||
+ | *Select the right target USB Device from the pulldown menu | ||
+ | *Click 'Write to disk" | ||
+ | *On completion eject the USB disk | ||
+ | |||
+ | ==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 | 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!!''' | + | :''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 | dd if=FILENAME.ISO of=/dev/sdX | ||
sync | sync | ||
− | |||
− | == Creating the USB stick on OS X == | + | :''Again where sdX is your USB device name.'' |
− | * Insert USB Device | + | |
− | * Start the 'Terminal' program (<tt>Finder → Applications → Utilities</tt>) | + | ==Creating the USB stick on OS X== |
− | * Find out what device name is your USB stick | + | |
+ | *Insert USB Device | ||
+ | *Start the 'Terminal' program (<tt>Finder → Applications → Utilities</tt>) | ||
+ | *Find out what device name is your USB stick | ||
+ | |||
diskutil list | diskutil list | ||
− | * Unmount the USB device.<br />'''PAY ATTENTION! Be sure to use the right device.''' | + | |
+ | *Unmount the USB device.<br />'''PAY ATTENTION! Be sure to use the right device.''' | ||
+ | |||
diskutil unmountDisk /dev/diskX | 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!!''' | + | :''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 | dd if=FILENAME.ISO of=/dev/diskX conv=sync | ||
− | |||
− | The dd command can take a long time, so be patient. The 670MB image transferred to an older USB 2.0 device took about | + | :''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 == | + | ==Usage== |
Boot your server from USB device and when you get the 'Installation Method' dialog-box choose: <tt>Harddisk → sda1</tt> | Boot your server from USB device and when you get the 'Installation Method' dialog-box choose: <tt>Harddisk → sda1</tt> | ||
+ | =Other utilities, untested for v.10= | ||
+ | ==Requirements== | ||
− | + | *Bootable USB Disk - 2GB is sufficient | |
− | + | *SME Image of your choice | |
− | * Bootable USB Disk - 2GB is sufficient | + | *USB Disk Creation Software |
− | * SME Image of your choice | + | **http://unetbootin.sourceforge.net/ |
− | * USB Disk Creation Software | + | **http://liveusb.info/dotclear/index.php? |
− | ** http://unetbootin.sourceforge.net/ | ||
− | ** http://liveusb.info/dotclear/index.php? | ||
Note: Using Windows 7, should work on XP and later<br /> | Note: Using Windows 7, should work on XP and later<br /> | ||
Line 62: | Line 82: | ||
Note: Multisystem can be used on Windows and/or Linux, as can unetbootin :D | Note: Multisystem can be used on Windows and/or Linux, as can unetbootin :D | ||
− | == Creating USB stick == | + | ==Creating USB stick== |
− | |||
− | |||
− | |||
− | == Using == | + | *Insert USB device |
+ | *Run the Software | ||
+ | *Point to the SME ISO file | ||
+ | |||
+ | ==Using== | ||
On your new Hardware ... | On your new Hardware ... | ||
− | # Boot from USB | + | |
− | # Select Install from Hard Disk | + | #Boot from USB |
− | # Choose Partition | + | #Select Install from Hard Disk |
− | ** Generally it will be the last partition | + | #Choose Partition |
− | ** it was ''/dev/sda1'' when no partition, sde1 when I re-installed on the HP Microserver | + | |
− | ** leave the path blank | + | **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 | ||
===Make the USB-key with UNetbootin=== | ===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.}} | {{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 | + | *USB Disk In |
− | * Point to the SME ISO file | + | *Run Unetbootin |
− | * Wait until Unetbooting has finished | + | *Point to the SME ISO file |
− | * Simply copy the smeserver-8.0-i386.iso into the USB sticks root directory. | + | *Wait until Unetbooting has finished |
+ | *Simply copy the smeserver-8.0-i386.iso into the USB sticks root directory. | ||
+ | |||
Then | Then | ||
− | * Boot from USB | + | |
− | * Select Install from Hard Disk | + | *Boot from USB |
− | * Choose Partition | + | *Select Install from Hard Disk |
− | ** Generally it will be the last partition | + | *Choose Partition |
− | ** it was ''/dev/sda1'' when no partition, sde1 when I re-installed on the HP Microserver | + | **Generally it will be the last partition |
− | ** leave the path blank | + | **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...}} | {{Warning box| you don't have the boot menu where you can pass special commands on raid, no lvm...}} | ||
Line 98: | Line 124: | ||
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. | 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. | ||
− | * USB Disk In | + | *USB Disk In |
− | * Run multisystem | + | *Run multisystem |
− | * Point to the SME ISO file | + | *Point to the SME ISO file |
− | * Wait that multisystem is finished | + | *Wait that multisystem is finished |
− | * Simply copy the smeserver-8.0-i386.iso into the USB sticks root directory. | + | *Simply copy the smeserver-8.0-i386.iso into the USB sticks root directory. |
+ | |||
Then | 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" | + | *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 | Then you need to find the line | ||
linux (loop)/isolinux/vmlinux linux repo=hd: | linux (loop)/isolinux/vmlinux linux repo=hd: | ||
Line 113: | Line 142: | ||
once done, you can press ctrl+x or F10 to launch the installation. | once done, you can press ctrl+x or F10 to launch the installation. | ||
− | * Select Install from Hard Disk | + | *Select Install from Hard Disk |
− | * Choose Partition | + | *Choose Partition |
− | ** Generally it will be the last partition | + | **Generally it will be the last partition |
− | ** it was ''/dev/sda1'' when no partition, sde1 when I re-installed on the HP Microserver | + | **it was ''/dev/sda1'' when no partition, sde1 when I re-installed on the HP Microserver |
− | ** leave the path blank | + | **leave the path blank |
==References== | ==References== | ||
− | |||
− | |||
− | |||
− | ''' | + | *http://unetbootin.sourceforge.net/ |
+ | *[http://forums.contribs.org/index.php?topic=48479.0 ''SME Server USB installer'' topic in the Contribs forums] | ||
+ | *http://wiki.centos.org/HowTos/GrubInstallation | ||
+ | *https://docs.fedoraproject.org/en-US/fedora/f33/install-guide/install/Preparing_for_Installation/#sect-preparing-boot-media | ||
+ | *https://rufus.ie/en/ | ||
+ | |||
+ | <br /> | ||
---- | ---- | ||
[[Category:Howto]] | [[Category:Howto]] |
Latest revision as of 12:05, 9 April 2021
Koozali SME Server 10
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 CentOS wiki for details.
Requirements
- Bootable USB Disk - 2GB is sufficient. NOTE: some machine will not boot from a USB3 USB Disk, if you have this issue try with a USB2 device.
- SME Image of your choice - eg SME 9.2 or SME 10.#. See the page SME_Server:Download for the current images.
- For Windows:
- Recommended: Fedora Media Writer availabel from: https://getfedora.org/en/workstation/download/ (previous utility no longer availabe)
- Or Rufus: https://rufus.ie/en/
- For Linux:
- The dd command is used from the commandline
- For OS X:
- The dd command is used from the commandline
Creating the USB stick on Windows with Fedora Media Writer
- Insert USB Device and note the drive-letter used for it by Windows
- Fire-up the the Fedora Media Writer
- Select "Custom Image"
- Select the downloaded SME Server ISO from the "Open" dialog
- Select the right target USB Device from the pulldown menu
- Click 'Write to disk"
- On completion eject the USB disk
Creating the USB stick on Linux
- Insert USB device
- Go to the commandline
- If the USB device gets automatically mounted, unmount it first.
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.
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 (Finder → Applications → Utilities)
- Find out what device name is your USB stick
diskutil list
- Unmount the USB device.
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.
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: Harddisk → sda1
Other utilities, untested for v.10
Requirements
- Bootable USB Disk - 2GB is sufficient
- SME Image of your choice
- USB Disk Creation Software
Note: Using Windows 7, should work on XP and later
Note: Multisystem can be used on Windows and/or Linux, as can unetbootin :D
Creating USB stick
- Insert USB device
- Run the Software
- Point to the SME ISO file
Using
On your new Hardware ...
- 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
Make the USB-key with UNetbootin
- 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
Make the USB-key with Multisystem
Multisystem is a useful tool when you want to get several isos on your usb key, see multisystem
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.
- USB Disk In
- Run multisystem
- Point to the SME ISO file
- Wait that multisystem is finished
- Simply copy the smeserver-8.0-i386.iso into the USB sticks root directory.
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 options can be find in the wiki. once done, you can press ctrl+x or F10 to launch the installation.
- 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
- http://unetbootin.sourceforge.net/
- SME Server USB installer topic in the Contribs forums
- http://wiki.centos.org/HowTos/GrubInstallation
- https://docs.fedoraproject.org/en-US/fedora/f33/install-guide/install/Preparing_for_Installation/#sect-preparing-boot-media
- https://rufus.ie/en/