Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-14-2005, 05:04 AM   #1
LQ Newbie
Registered: Dec 2005
Posts: 3

Rep: Reputation: 0
Exclamation Make a new iso image to install my modified kernel

Hy all!
I have a big problem:
I have a SCSI RAID Adapter: he work with DAC960 Linux driver.
1) The RH EL3 (kernel 2.4) hawe a bug when stress I/O on this SCSI adapter
2) then I try to install CentOS 4.2 (kernel 2.6) but this distribution (and Fedora Core too) have to make a kernel modify for install properly.
3) I have found instuction for modify CentOS's kernel and build new iso DVD/CDs for install him.

4) Hi tried to make this procedure, but in all case when I try to boot the machine with the new iso I retrieve one error (the DAC960 driver is correctly loaded): Anaconda do not mount correcly the DVD format, also if I try to select FTP service for install, anaconda do not recover the correct format.
5) Then, for bypass this problem, I have installed th originale CentOS 4.2 on IDE HD, I have modified, compiled and installed the kernel (for DAC960 support) on this machine, and then I put the IDE HD in the machin whit SCSI adapter
6) The boot from HD IDE work proprely, I have mount the partition from SCSI adapter on temporary mountpoint (example: mount -t ext3 /dev/rd/c0d0p1 /tmp/boot), I have copy the partitions from IDE HD ( /boot, /, /var/log), I have modified grub.conf and Then I have turn-off the server, removed the IDE HD, set BIOS for boot from SCSI device... and then: power on!
7) Little problem: grub start ok, but hi don't find the / partition and then --> Kernel panic!!

At the last:
the partition of "/" is "/dev/rd/c0d0p2" = "(hd0,1)" and
"/boot" is "/dev/rd/c0d0p1" = "(hd0,0)"

the kernel is correctly find by grub (it's in hd0,0!) but the "/" partition no! ...

Someone help me pls?
Old 12-16-2005, 02:53 PM   #2
Senior Member
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
You say you transfered the data from the ide HDD to the scsi one?
So then you need to tell the kernel where "/" is:
In grub.conf:
kernel fookernel root=/dev/sda2
Old 12-20-2005, 05:40 AM   #3
LQ Newbie
Registered: Dec 2005
Posts: 3

Original Poster
Rep: Reputation: 0
I make it, but don't work.

I have bootable partition /boot with kernel: grub start correctly and hi find the kernel.
the problem is witch grub don't find / partition and then do not load S.O.
I try to modify grub configuration for the / mountpoint, but hi don't work:
title Red Hat Enterprise ES (2.4.21-4EL)
root (hd1,0)
kernel /vmlinuz-2.4.21-4.EL ro root=LABEL=/
initrd /initrd-2.4.21-4.EL.img

I try also:
kernel /vmlinuz-2.4..21-4.EL ro root=/dev/rd/c0/c0d0p1
were =/dev/rd/c0/c0d0p1 is the mount point /



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
How do I make a DVD ISO image? A6Quattro Linux - Software 8 10-08-2009 09:58 PM
Make ISO Image? linux-rulz Linux - General 5 01-27-2005 03:10 AM
Can an iso image file be modified? Berhanie Linux - General 3 02-01-2004 10:40 PM
How Do I make floppies from .iso image bentman78 Linux - Software 5 06-17-2003 12:36 PM
make iso image im1crazyassmofo Linux - General 4 05-19-2003 05:39 PM

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration