Difference between revisions of "InstallationFromUSBstick: retired from v.10 on, left for reference"

From SME Server
Jump to navigationJump to search
Line 8: Line 8:
 
== Requirements ==
 
== Requirements ==
  
You'll need a stick with more space than the iso something like 800mb should do
+
You'll need a usb stick with more space than the sme.iso something like 800mb should do
 
+
Tested with Sme 7.3-51 and 8R6b, so download one or the other iso file
Format it as fat, or anything should work really. I have only tested fat
+
the latest grub4dos, no Grub/Grub2 wont do. download from [http://sourceforge.net/projects/grub4dos/]
 
 
Download the Iso image, and copy to usb drive.
 
Now if youre server has 1.2gb ram or more. Make the image bootable (see later)
 
if not, you will need to.
 
 
 
ONLY do this if you dont have enough ram. The boot.iso is NOT as polished as the "real image"
 
 
 
mkdir /mnt/iso
 
mount /<usbname>/<smeiso> /mnt/iso -o loop -t iso9660
 
cp /mnt/iso/images/boot.iso /<usbname>
 
umount /mnt/iso
 
 
 
this will mount the iso, in mnt/iso, and copy the boot.iso to the usb stick.
 
and unmount the boot.iso again
 
  
 
== Creating USB stick ==
 
== Creating USB stick ==

Revision as of 14:24, 5 December 2011

Problem

Imagine you have a server that wont boot from USB CDROM drive or have no internal CDROM drive. Or even you prefer to install from a USB stick instead a physical media.

Solution

Create a USB stick with SME software on it

Requirements

You'll need a usb stick with more space than the sme.iso something like 800mb should do Tested with Sme 7.3-51 and 8R6b, so download one or the other iso file the latest grub4dos, no Grub/Grub2 wont do. download from [1]

Creating USB stick

copy the file /images/boot.iso, and renamed to SMEboot.iso.

On USB edit the menu.lst to include this

title find and load SMEboot.iso
fallback 7
find --set-root /SMEboot.iso
map /ubcd.iso (0xff) || map --mem /SMEboot.iso (0xff)
map --hook
chainloader (0xff)
savedefault --wait=2