LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 08-25-2007, 07:34 PM   #1
majid_f
LQ Newbie
 
Registered: Jun 2007
Location: Karaj, Iran
Posts: 3

Rep: Reputation: 0
Lightbulb Distributable Hard Disk


Hi,
I have something in mind, but not sure if it is possible. This is a description of the situation and the solution sought:
I have developed a LAMP app. I want to deliver pre-installed everything on hard disks so that the client swaps his hard disk with the one I give them and everything works.
For that I can make a small windows program to gather information about the target hardware. The client will run this on their intended machine and sends me the hardware data in plain text format.
Next, I tweak a Linux installation (stuff the data wherever it should go) and send them the result.
The problem is I don't know where should such data go.
Any help will be much appreciated, and many thanks in advance.
 
Old 08-25-2007, 08:40 PM   #2
dgandhi
LQ Newbie
 
Registered: Sep 2005
Location: Pittsburgh,PA
Distribution: Debian/Ubuntu 7.4
Posts: 9

Rep: Reputation: 0
If I understand correctly you are sending them a drive with a configured linux server with your lamp app set up and ready to go.

You could use something like knoppix which auto-detects everything at boot you can just put XAMPP on the disk and set up the init scripts, why the need to customize? network settings? to make sure their hardware has linux drivers?

Are you sending the disk so that their old OS is not compromised?

Would it not be simpler to send a live cd and have them grab any blank drive to dump your system onto? Boot from CD, if MBR is blank format+install. You could modify ubuntu-server LTS install image once and send it to all your clients, no windows scan app needed.

Alternately you could give them a linux boot cd which checks into an app on your server at boot and deposits all the hardware specs, and also tells you which drivers already installed properly, then ejects itself and reboots into their system, thereby eliminating user error.
 
Old 08-25-2007, 09:15 PM   #3
majid_f
LQ Newbie
 
Registered: Jun 2007
Location: Karaj, Iran
Posts: 3

Original Poster
Rep: Reputation: 0
Exactly! I am sending them a drive with a configured linux server with my lamp app set up and ready to go.

The main reason for sending them such a dive is to make it (ridiculously) simple for them to start using the app - I should provide this level of simplicity, or else I should go over and install everything there. I thought now that I should install everything and do all the configurations myself, why not do it at my place?

There are other good reasons too, configuration being one. Alternatives like Live CD just won't do what I want.

For distro I will either use Ubuntu server, or Trustix Secure Server. How does knoppix auto-detect everything at boot? Is this auto-detection completely transparent (or does it need user interaction)?

Well, what I need is some details about where linux stores information about the hardware it is running on. By getting this info from the client and replacing the old values on a properly installed and configured linux installation, I want to fool it to think it has been insatled on the destination hardware.

Thanks again, any ideas?
 
Old 08-27-2007, 07:01 PM   #4
dgandhi
LQ Newbie
 
Registered: Sep 2005
Location: Pittsburgh,PA
Distribution: Debian/Ubuntu 7.4
Posts: 9

Rep: Reputation: 0
What are the machines running? If it's just a web-server with no Xwindows I would only be concerned about the network card driver or any weird RAID hardware and making sure they are installed in /etc/modules, otherwise most modern distros (I know this is true for ubuntu) boot from a static ram disk image which has all the kernel relevant drivers which are loaded at boot before your system partition is even active.

I would be surprised if you could not install ubuntu server on any old system, pull the drive, reinsert somewhere else and have it run no bumps.

If its a kiosk or something else that needs the X interface I would suggest getting a hold of the ubuntu server LTS boot cd and remastering it so that it automatically installs what you want, without user interaction, and had your code in a .deb and installed it along with all the rest.

Manually configuring X can be a pain, doing it remotely sounds like a trial of hell.
 
  


Reply

Tags
hardware, preinstalled


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Cloning 1 hard disk to smaller hard disk, dd or ghost? fireman949 Linux - Hardware 8 12-23-2012 12:51 AM
SATA Hard disk(Windows) MBR corrupted by IDE hard disk(Linux) Peter_APIIT Fedora 6 07-07-2007 12:20 AM
Can I use a virtual machine hard disk as a real hard disk, or vice versa? onlineapps Linux - Software 1 02-24-2007 08:40 PM
60GB laptop hard disk & 200GB external USB hard disk linux compatibility powah Linux - Hardware 0 03-07-2006 10:55 AM
Hard Disk question - Making a big hard disk MrAnonym Linux - General 2 09-15-2003 06:08 PM


All times are GMT -5. The time now is 09:06 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration