LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 04-04-2006, 11:20 PM   #1
ericbobbitt
LQ Newbie
 
Registered: Sep 2005
Posts: 10

Rep: Reputation: 0
Custom Install Kernel?


Ok, so here is my problem. I have a Sager NP9880 Laptop with Promise SATA FastTrack 378 Controller. Problem is that it is set up in ATA mode (not raid) which is not supported by default.

If you will refer to this link:

http://en.opensuse.org/HCL/RAID_Controllers

You can see that the ATA mode is supported with a custom kernel build, but here is my problem. I have no idea how to create a custom kernel for installation cd.

So here are my questions:

How do I create a custom kernel without having linux already installed (though I have gotten ubuntu to work so the patch must work, but no other distro will detect my HD's.)?

And furthermore, how do I go about using the custom kernel for a fresh install of OpenSuSe 10.0?

Someone please help, I'm desperate after a few months of trying to figure this all out on my own.
 
Old 04-06-2006, 08:35 AM   #2
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
What follows is purely theoretical, but I like to know how it could be achieved myself, so let me think out loud:

In theory, you could modify an existing boot.iso. You can mount the iso, extract initrd and exchange its kernel for your modified version. Unfortunately, I didn't find a config file of that particular kernel.

So the difficulty is to find a system on which you can build your custom kernel which will work with the SUSE installer. I guess a SUSE LiveCD could do the job. But still you need to find a kernel config you can use as a template. There may be an option to boot the installation kernel (boot.iso) and change to command-line, then extract the config with zcat /proc/config.gz.
 
Old 04-06-2006, 10:28 AM   #3
ericbobbitt
LQ Newbie
 
Registered: Sep 2005
Posts: 10

Original Poster
Rep: Reputation: 0
Yeah, thats pretty much what I was thinking. I have installed Suse 10 on a friends computer, but havent had time to go any further since. The patch link supplied by open suse is only for the 2.6.16 kernel, so Here is what I believe I'm going to have to do.

Step 1 would be to upgrade my friend's computer to 2.6.16 kernel. From there I can download the patched libata file with "hopefully" a sata_promise module that can handle PATA mode. Then I will obviously patch the file and recompile with the updated module.

The Suse 10 Installer comes with 2.6.13 kernel, so the module won't do me any good to just replace the sata_promise.ko module on the installer cd. Therefore I am going to have to create a custom install cd with the 2.6.16 kernel (which is ok by me becuase at the same time I can include updated software and other little things.)

I have never made a custom install cd, but I don't think it is too difficult. I think for the kernel all I will have to do is decompress the initd and replace the old kernel with the new. As far as adding new software and custom stuff goes, I'm not sure how to go about that (I havent taken a look at how the cd is setup yet.

If anyone can give any insight on this that would be appreciated. Also, if all else fails, I can always buy another hd for the laptop since the sata_promise module supports the RAID setup, just not the PATA. (Grrr).

 
  


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
Compiling custom Kernel from install cd turtlespit Slackware - Installation 27 10-09-2006 09:48 PM
How can I Install Modules for Custom Kernel dauphinfay Linux - General 3 03-19-2006 09:48 AM
Custom kernel for Fedora 3 install godhugh Fedora - Installation 0 01-13-2005 02:32 PM
Debian install with custom kernel... robbow52 Debian 2 02-24-2004 04:38 PM
Custom install with newer kernel bones996 Red Hat 3 11-12-2003 04:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 10:01 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