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

From SME Server
Jump to navigationJump to search
m (→‎Creating USB stick: fix formating error)
Line 8: Line 8:
 
== Requirements ==
 
== Requirements ==
  
You'll need a stick with more than XXX
+
You'll need a stick with more space than the iso something like 800mb should do
  
Format it as XXXX
+
Format it as fat, or anything should work really. I have only tested fat
  
mount SME server image on a linux machine:
+
Download the Iso image, and copy to usb drive.
mount /path/to/image/SME8b7.iso /mnt/pendrive
+
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:20, 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 stick with more space than the iso something like 800mb should do

Format it as fat, or anything should work really. I have only tested fat

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

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