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?
| |
|
loubapache Junior Member
  member is offline
![[avatar] [avatar]](http://images.proboards.com/avatars/linux.gif)
Joined: Oct 2011 Gender: Male  Posts: 85 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.
| |
|
beardedragon Global Moderator
     member is offline
![[avatar] [avatar]](http://smile-media-production-1.s3.amazonaws.com/images/83a50d70550b01307b5322000afe0a5a/168x168.jpg)
Joined: Feb 2011 Gender: Male  Posts: 864
|  | 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.
|
Robert Collard, Madison, WI HP s5710f, 2x AMD Athlon II 260@3.2Ghz 3GB RAM, 640GB HD SalineOS 2.0 XFCE-4.8 3.2.0-4-amd64 Debian 7.0 XFCE-4.8 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).
|
|
|
beardedragon Global Moderator
     member is offline
![[avatar] [avatar]](http://smile-media-production-1.s3.amazonaws.com/images/83a50d70550b01307b5322000afe0a5a/168x168.jpg)
Joined: Feb 2011 Gender: Male  Posts: 864
|  | 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.
|
Robert Collard, Madison, WI HP s5710f, 2x AMD Athlon II 260@3.2Ghz 3GB RAM, 640GB HD SalineOS 2.0 XFCE-4.8 3.2.0-4-amd64 Debian 7.0 XFCE-4.8 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
|
|
|
Richard Elder Member
     member is offline
![[avatar] [avatar]](http://dl.dropbox.com/u/10332409/bender.gif)
Joined: Jan 2011 Gender: Male  Posts: 607 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. ]]
|
SalineOS-2.0dev2..Xfce4.8 SolydX.................Xfce4.10 Crunchbang-11.....Xfce4.8 |
|
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?
| |
|
Anthony Nordquist Administrator
     member is offline
![[homepage] [homepage]](http://images.proboards.com/new/buttons/www_sm.png) Joined: Dec 2010 Gender: Male  Posts: 1,343
|  | 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.
| |
|