LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Linux installation CD cannot detect the HHD. How to add the driver? (https://www.linuxquestions.org/questions/linux-hardware-18/linux-installation-cd-cannot-detect-the-hhd-how-to-add-the-driver-851048/)

fastyns 12-18-2010 08:21 AM

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.

stress_junkie 12-18-2010 11:17 AM

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

thorkelljarl 12-18-2010 02:06 PM

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.

fastyns 12-18-2010 04:25 PM

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.

thorkelljarl 12-18-2010 05:42 PM

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

fastyns 12-29-2010 09:01 AM

Thank you guys, i solved the problem, i added my driver to the ISO image and it works :D


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