LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-28-2010, 11:51 AM   #1
Barx
Member
 
Registered: Jun 2004
Location: Italy
Distribution: Slack x64 current
Posts: 150

Rep: Reputation: 26
Install slackware on a USB drive without creating an USB livecd


Hi

I'managing a file server with two 6-disk raid5 arrays (yes, 12 hdds)

the 12 hdds contains only data, the OS is running on a 20Gb EIDE disk.

Now I would like to replace the system disk with a USB pendrive.

I don't need to create an USB livecd or something similar which will be able to run from any PC, I simply want to copy the installation to the pendrive which will never be removed from the file server.

So the question is: I really need to follow the tutorials which points to http://www.linux-live.org/ and so on?? Or I can simply copy the OS on the USB stick then run lilo and it's all ok (if there's something more to do I'll do it)

The OS I want to copy is slackware 13.1
 
Old 06-28-2010, 12:24 PM   #2
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

You sure about the idea of using a flash for a server main drive? Where do you come up with that reasoning and how do you justify?

Why not use a 'ssd' instead?

 
Old 06-28-2010, 12:46 PM   #3
Barx
Member
 
Registered: Jun 2004
Location: Italy
Distribution: Slack x64 current
Posts: 150

Original Poster
Rep: Reputation: 26
The reason is very simple: once the server boot up the system disk is no longer used (except for log file, but it's a light task) and swap (another light task, the server has 4Gb RAM and I can tune swap use via the 'swappiness' parameter)

The OS simply assembles raid arrays, mount and share them via samba, and the heavy disk work is done by the two arrays and not the system drive.

It's only a file server, without apache, mail, database and everything other. So the only purpose on the system drive is to carry the OS and boot up. After that is pretty useless (and unused in fact).

I know that the boot may be slow, but it's not a problem.

A small SSD will cost at least 100$ and uses a SATA port, while a (pretty) fast 8gb pendrive costs about 10/15$ and leave SATA ports free for more hdds. This file server is the main storage of video editing studio, which needs only disk space and nothing more.

Note that now there are no more free SATA ports - 6 onboard, 4 on a PCI-ex SATA controller and 2 on a PCI SATA controller (that will be soon replaced by another 4 port PCI-ex controller) so I would like to avoid to use sata ports (in fact now the OS runs from an old an slow 20Gb EIDE drive). An USB drive is smaller, wastes less power and produces less heat ....

And last, but not the least, if the USB drive broke .. I'll put a new one. It contains nothing important.

I was thinking to buy a DOM EIDE module but a 4 Gb modules costs too much compared to the USB pendrive (about 50/60 $)
 
Old 06-28-2010, 01:15 PM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

It really depends on how much you value the server reliability & uptime.

If you want a fast and reliable system then a dedicated ramdisk would be the way to go. The ramdisk can be purchased dependent on size and type. You could partition to suit the needs of the system and get a fast boot along with peak performance. But the alternate would be a 'ssd'. These are not that expensive when you do the comparison of time vs reliance. Hopefully this is your system to decide what is implemented and that you don't end up regretting with a flash selection.

I would not rely on a flash on my server(s). No gain and not that reliable as an expendable device. I do value my reliabilities and uptime. There are times to save a penny and this is not one from my point of view.

 
Old 06-28-2010, 01:31 PM   #5
Barx
Member
 
Registered: Jun 2004
Location: Italy
Distribution: Slack x64 current
Posts: 150

Original Poster
Rep: Reputation: 26
the system is a simple file server for storage and is not used for online work.

So, in brief:

- system disk speed is not important, the speed depends on raid5 arrays
- uptime is not important
- boot up time is not important
- data reliability depends on raid5 arrays

So I SIMPLY need to know how can I boot from a USB drive without creating a livecd.

When the drive will fail, I'll put another one. Simple and straight.

The ramdrive may loose the content if the backup battery go down, and I don't have the need of fast system boot
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Install slackware from a USB Flash Drive compgenius999 Linux - Newbie 1 09-21-2009 06:45 AM
accessing USB drive in Redhat 9 and then creating USB boot disk Fond_of_Opensource Linux - Hardware 1 04-15-2007 07:43 AM
Install slackware from USB drive. kd5pbo Slackware - Installation 2 10-05-2006 05:53 AM
how to install a usb hard drive in slackware 10.1...? sugar2 Linux - Hardware 7 02-15-2006 01:43 PM
Slackware 10.1 Install on External USB Drive SlammedDime Slackware 11 06-21-2005 02:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration