I've got a RAID card (3ware 9650SE-2LP) that wasn't supported by the in-kernel driver until 2.6.19+
Since CentOS 5.0 is based on 2.6.18-8.el5 is was looking for a way to incorporate their driver from the website so I wouldn't have to use the "linux dd" kernel option all the time. (trying to automate as much as possible using kickstart, scripts, etc).
Through reading about other OSes I've found that the most common way to do this would be to modify the stage2.img file on the boot DVD and add the driver to the boot kernel image. The problem is, I can't mount the stage2.img file using cramfs.
# mount -o loop -t cramfs stage2.img /mnt mount: wrong fs type, bad option, bad superblock on /dev/loop0, missing codepage or other error In some cases useful info is found in syslog - try dmesg | tail or so
Any suggestions? or should I try going about this another way?
- G
semi linux wrote:
Since CentOS 5.0 is based on 2.6.18-8.el5 is was looking for a way to incorporate their driver from the website so I wouldn't have to use the "linux dd" kernel option all the time. (trying to automate as much as possible using kickstart, scripts, etc).
you can use the dd option in kickstart as well
Good call... I had thought of that but had assumed it would only present me the same options as anaconda does (all local - hdx and/or fdx)... as it turns-out, the --source=http:// could work nicely... I'll give it a shot.
Just out of curiosity though, what is the process for mounting / recreating CentOS 5 stage2.img? It's obviously different from the old ones... is this documented anywhere?
Thanks! - G.
On 8/28/07, Karanbir Singh mail-lists@karan.org wrote:
semi linux wrote:
Since CentOS 5.0 is based on 2.6.18-8.el5 is was looking for a way to incorporate their driver from the website so I wouldn't have to use the "linux dd" kernel option all the time. (trying to automate as much as possible using kickstart, scripts, etc).
you can use the dd option in kickstart as well
-- Karanbir Singh : http://www.karan.org/ : 2522219@icq _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
semi linux wrote:
Good call... I had thought of that but had assumed it would only present me the same options as anaconda does (all local - hdx and/or fdx)... as it turns-out, the --source=http:// could work nicely... I'll give it a shot.
Just out of curiosity though, what is the process for mounting / recreating CentOS 5 stage2.img? It's obviously different from the old ones... is this documented anywhere?
Thanks! - G.
On 8/28/07, Karanbir Singh mail-lists@karan.org wrote:
semi linux wrote:
Since CentOS 5.0 is based on 2.6.18-8.el5 is was looking for a way to incorporate their driver from the website so I wouldn't have to use the "linux dd" kernel option all the time. (trying to automate as much as possible using kickstart, scripts, etc).
you can use the dd option in kickstart as well
firstly, dont top post.
secondly, anaconda has lots of docs online all over the place now - specially in the last year or so. and there are docs included inside the anaconda rpm too.
On 8/28/07, Karanbir Singh mail-lists@karan.org wrote:
semi linux wrote:
Good call... I had thought of that but had assumed it would only present me the same options as anaconda does (all local - hdx and/or fdx)... as it turns-out, the --source=http:// could work nicely... I'll give it a shot.
Just out of curiosity though, what is the process for mounting / recreating CentOS 5 stage2.img? It's obviously different from the old ones... is this documented anywhere?
Thanks! - G.
On 8/28/07, Karanbir Singh mail-lists@karan.org wrote:
semi linux wrote:
Since CentOS 5.0 is based on 2.6.18-8.el5 is was looking for a way to incorporate their driver from the website so I wouldn't have to use the "linux dd" kernel option all the time. (trying to automate as much as possible using kickstart, scripts, etc).
you can use the dd option in kickstart as well
firstly, dont top post.
secondly, anaconda has lots of docs online all over the place now - specially in the last year or so. and there are docs included inside the anaconda rpm too.
Not top posting (although I think this a preference more then a rule).
Let me clarify what I'm asking - What's different about the stage2.img file distributed with CentOS 5.0? The instructions found on the web for 'hacking' this don't work as the file doesn't seem to be cramfs and/or mountable. Is it a different FS?
As suggested, I greped /usr/share/doc/anaconda-11.1.2.36 for any mention of "stage2" and "cram" and all are irrelevant to this post.
- G.
On Wed, 2007-08-29 at 10:10 -0700, semi linux wrote: ... snip ...
Not top posting (although I think this a preference more then a rule).
Let me clarify what I'm asking - What's different about the stage2.img file distributed with CentOS 5.0? The instructions found on the web for 'hacking' this don't work as the file doesn't seem to be cramfs and/or mountable. Is it a different FS?
As suggested, I greped /usr/share/doc/anaconda-11.1.2.36 for any mention of "stage2" and "cram" and all are irrelevant to this post.
The CentOS5 file is squashfs not cramfs.
[root@wx1 images]# pwd /raid/RH/CentOS/5/os/i386/images [root@wx1 images]# file stage2.img stage2.img: Squashfs filesystem, little endian, version 3.0, 0 bytes, 7929 inodes, blocksize: 65536 bytes, created: Tue Apr 10 15:58:33 2007 [root@wx1 images]# mount -ro loop -t squashfs stage2.img /tmp/mnt [root@wx1 images]# ll /tmp/mnt total 0 drwxr-xr-x 9 root root 250 Apr 10 15:41 etc drwxr-xr-x 3 root root 1726 Apr 10 15:41 lib drwxr-xr-x 2 root root 3 Apr 10 15:50 modules drwxr-xr-x 2 root root 3 Apr 10 15:41 proc drwxr-xr-x 8 root root 85 Apr 10 15:41 usr drwxr-xr-x 4 root root 30 Apr 10 15:41 var
Phil -- to-borrow-a-sig --
A: Because it messes up the order in which people normally read text. Q: Why is top-posting a bad thing?