LinuxQuestions.org
Visit Jeremy's Blog.
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 12-18-2010, 08:21 AM   #1
fastyns
LQ Newbie
 
Registered: Dec 2010
Posts: 4

Rep: Reputation: 0
Linux installation CD cannot detect the HHD. How to add the driver?


Hi all,

I have to install a linux destribution (Ubuntu 2.6.21) on an embedded PC which contains a FlashCard instead of the HDD.

On the bootup, the installation cannot start since it cannot detect the FlashCard on which it will make the installation; therefor, i have to add the driver of this FlashCard to ISO CD.

How can i do this ?

Thank you in advance.
 
Old 12-18-2010, 11:17 AM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
Installing on a flash card may be similar to installing on a USB flash drive. If this is the case then there are detailed instructions on the Ubuntu download page.
http://www.ubuntu.com/desktop/get-ubuntu/download
 
Old 12-18-2010, 02:06 PM   #3
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,819

Rep: Reputation: 229Reputation: 229Reputation: 229
I take it that 2.6.21 is the kernel...

If you need that kernel and it does not have a kernel module needed to boot your flash card, you will likely have to reconfigure the kernel to incorporate the right module, then modify your Ubuntu live-cd to use that kernel.

It might be easier to start with a later Ubuntu, perhaps 10.04, the latest LTS version, and reconfigure its kernel to include the functions that caused you to choose 2.6.21.

You should post back with many more details about what exactly you need to accomplish with this linux installation, what is the hardware, and what limits there are to what can be tried.

Last edited by thorkelljarl; 12-18-2010 at 02:37 PM.
 
Old 12-18-2010, 04:25 PM   #4
fastyns
LQ Newbie
 
Registered: Dec 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Hi thorkelljarl,

How can i modify the live-cd ? i mean how can i incorporate the module? i know how to reconfigure the kernel, but how to add the module in the ISO image ??

If you need that kernel and it does not have a kernel module needed to boot your flash card, you will likely have to reconfigure the kernel to incorporate the right module, then modify your Ubuntu live-cd to use that kernel.

Last edited by fastyns; 12-18-2010 at 04:26 PM.
 
Old 12-18-2010, 05:42 PM   #5
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,819

Rep: Reputation: 229Reputation: 229Reputation: 229
The module...

The modules for controllers for storage devices are in the linux kernel. Assuming that the flash card is mounted as a storage device, there are no modules outside the kernel you have to incorporate into a live-cd. Using some newer linux live-cd that picks up the flash card, try the command "sudo lshw" to look at how the flash card is see, then use google and perhaps "lsmod", "lspci" or "lsusb" to find more information about how it is mounted in linux.

It is possible to have a module boot as soon as the kernel is invoked as part of the boot process, but that may not be necessary here and not what you are interested in.

There are guides to composing your own version of a Ubuntu live-cd, but the latest may not be applicable for the version of linux that you wish to use, that having kernel 2.6.21. One way of making a live-cd is to install and modify Ubuntu, then make the installed Ubuntu into a live-cd.

You don't provide enough information to give you more than a general answer to your question.

https://help.ubuntu.com/community/LiveCDCustomization

http://ubuntuforums.org/showthread.php?t=688872

Last edited by thorkelljarl; 12-18-2010 at 05:50 PM.
 
Old 12-29-2010, 09:01 AM   #6
fastyns
LQ Newbie
 
Registered: Dec 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Thank you guys, i solved the problem, i added my driver to the ISO image and it works
 
  


Reply


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
Add driver to Linux ISo Fracker Linux - Virtualization and Cloud 3 02-26-2010 04:52 AM
Installation Help. Trying to add a driver to a ISO preinstallation. j_abbott Linux - Newbie 12 05-31-2007 03:11 PM
Detect sw RAID after linux re-installation? ofdofd Linux - General 0 02-01-2006 01:29 PM
How to add AHCI driver during linux installation alwar Linux - Software 1 01-18-2005 06:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:08 AM.

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