Forum
« Install and run on USB stick (not as live image) »

Welcome Guest. Please Login or Register.
May 19, 2013, 5:17am



Return to or visit the SalineOS webpage

Forum :: General :: Installation and Setup Support :: Install and run on USB stick (not as live image)
   [Search This Thread] [Share Topic] [Print]
 AuthorTopic: Install and run on USB stick (not as live image) (Read 347 times)
klaus
New Member
*
member is offline





Joined: Nov 2011
Gender: Male
Posts: 17
 Install and run on USB stick (not as live image)
« Thread Started on Dec 14, 2011, 6:07pm »

Hello!

I've a little NAS used as storage server and I want to use Salineos for it.

I don't want to have another hard disk for the OS. Instead salineos shall be run from an USB stick (of course not as live image).

Is this possible? Does the installer support installing on USB media or are some manual steps required?
Link to Post - Back to Top  IP: Logged
loubapache
Junior Member
**
member is offline

[avatar]



Joined: Oct 2011
Gender: Male
Posts: 84
Location: Western Michigan
 Re: Install and run on USB stick (not as live imag
« Reply #1 on Dec 14, 2011, 8:43pm »

Yes, that is the same as if you were installing on a hard drive or usb drive. Just make sure you create partitions on the USB stick AND install Grub on the USB stick as well.

It is also helpful to have some swap partition on the USB stick.

I used one install on a 8-GB USB stick as my master so I do not have to use remastering software which has lots of limitations.

A 4-GB USB stick is adequate for the OS install.
« Last Edit: Dec 14, 2011, 8:51pm by loubapache »Link to Post - Back to Top  IP: Logged
beardedragon
Global Moderator
*****
member is offline

[avatar]



Joined: Feb 2011
Gender: Male
Posts: 857
 Re: Install and run on USB stick (not as live imag
« Reply #2 on Dec 14, 2011, 11:14pm »

I believe it will work quite well. I do think you have to use it on the same or similar hardware or there may be some sort of configure failure, unlike using a live disk which takes it's configuration from each startup. The configuration would be kept in your home folder as it is on an internal or other hard disk that always uses the same computer. Other than that, size is the only limitation.
Link to Post - Back to Top  IP: Logged

Robert Collard, Madison, WI
HP s5710f, 2x AMD Athlon II 260@3.2Ghz 3GB RAM, 640GB HD
Debian 7.0 XFCE-4.10 3.2.0-4-amd64

If you are satisfied with the results, please Edit your first post and add [Solved] to the Subject line.
mihail
Full Member
***
member is offline





Joined: Dec 2011
Gender: Male
Posts: 120
Location: Romania
 Re: Install and run on USB stick (not as live imag
« Reply #3 on Dec 15, 2011, 7:36am »

ok, i am interested in the subject, anyone can make a wrap up to this? what are the steps to install as os not as live usb? (so it will remember the programs and stuff like that).
Link to Post - Back to Top  IP: Logged

beardedragon
Global Moderator
*****
member is offline

[avatar]



Joined: Feb 2011
Gender: Male
Posts: 857
 Re: Install and run on USB stick (not as live imag
« Reply #4 on Dec 15, 2011, 8:54am »


Dec 15, 2011, 7:36am, mihail wrote:
ok, i am interested in the subject, anyone can make a wrap up to this? what are the steps to install as os not as live usb? (so it will remember the programs and stuff like that).

Complete instructions is in the User Manual. Just install as if the USB is the primary drive, include space for swap file and place boot in the main partition of that drive. You can find the drive designation during install, it will look something like sdb or sdc, where sda will be the HD on your computer. If you decide to use the entire USB drive, do so at the first option. It will setup and format the whole thing including your swap partition.
Link to Post - Back to Top  IP: Logged

Robert Collard, Madison, WI
HP s5710f, 2x AMD Athlon II 260@3.2Ghz 3GB RAM, 640GB HD
Debian 7.0 XFCE-4.10 3.2.0-4-amd64

If you are satisfied with the results, please Edit your first post and add [Solved] to the Subject line.
mihail
Full Member
***
member is offline





Joined: Dec 2011
Gender: Male
Posts: 120
Location: Romania
 Re: Install and run on USB stick (not as live imag
« Reply #5 on Dec 15, 2011, 9:35am »

my problem was i didnt know how bto start the instalation but i assume not using unetboot but the saline os installer from setings menu
Link to Post - Back to Top  IP: Logged

Richard
Elder Member
*****
member is offline

[avatar]



Joined: Jan 2011
Gender: Male
Posts: 586
Location: Venezuela
 Re: Install and run on USB stick (not as live imag
« Reply #6 on Dec 15, 2011, 10:01am »

The SalineOS Installer is in the System section of the menu.
I have installed Sos-1.5 onto a 16 GiB (actually 14.5 usable) USB pen drive
with a 540 MB swap just in case.

[[ NOTE: In order to install, must boot either with a LiveDVD or a LiveUSB.
Using the installer from an installed SalineOS will actually try to make a Backup disk;
but, it would not boot for me.

Boot from a LiveUSB then install to another USB pendrive, install grub to that pendrive,
and it boots just like any other installation.
I just rebuilt the above and it is working fine. Even Broadcom wireless. ]]
« Last Edit: Jan 4, 2012, 9:37pm by Richard »Link to Post - Back to Top  IP: Logged

SalineOS-1.7, Xfce4.6.2, w/ 3.2.0-0.bpo.4-686-pae;
SalineOS-2.0, Xfce4.8, w/ 3.2.0-4-686-pae
Fedora-18, Xfce4.10, w/ 3.8.x
klaus
New Member
*
member is offline





Joined: Nov 2011
Gender: Male
Posts: 17
 Re: Install and run on USB stick (not as live imag
« Reply #7 on Dec 15, 2011, 2:27pm »

Thanks for your answers! I'm currently running live image on my NAS and everything looks fine :-)
All hardware is working, mounting one of the hard drives readonly worked, USB stick is shown in installer, perfect!

One hint for people reading this (and not knowing this- as I did): When writing the Salineos live image ISO via "dd" to the stick make sure you don't write it to a partition (not /dev/sdg1). Instead use "/dev/sdg" in this example ;-)

One thing I have not tested yet (because I don't know how):

There are two hard drives in the NAS to store data. These were configured and used as RAID 1 (mirrored set).
I want to continue using these drives in RAID 1 mode. Since my mainboard does not have HW support for RAID I need to setup a software RAID in linux. Some howtos describe using "mdadm" for this. Is this still the preferred approach (for salineos)? Are there other (better) options to do this?

Link to Post - Back to Top  IP: Logged
Anthony Nordquist
Administrator
*****
member is offline




[homepage]

Joined: Dec 2010
Gender: Male
Posts: 1,336
 Re: Install and run on USB stick (not as live imag
« Reply #8 on Dec 16, 2011, 11:44pm »

Quick answer is yes, mdadm is the best way, that I know of anyway.
Link to Post - Back to Top  IP: Logged
   [Search This Thread] [Share Topic] [Print]



Anthony Nordquist, on behalf of the SalineOS project, is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to amazon.com. As such, if you click the above banner and then make any purchase including digital downloads, a small percentage will be paid to the SalineOS project.
Click Here To Make This Board Ad-Free


This Board Hosted For FREE By ProBoards
Get Your Own Free Message Boards & Free Forums!
Terms of Service | Privacy Policy | Notice | FTC Disclosure | Report Abuse | Mobile