Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: tlug: Kernel rebuild problem
- To: tlug@example.com
- Subject: Re: tlug: Kernel rebuild problem
- From: Neil Booth <NeilB@example.com>
- Date: Mon, 28 Sep 1998 07:48:39 +0900
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=us-ascii
- Organization: ...
- References: <360DC2C5.977A6498@example.com> <360E87CD.8D6132C2@example.com>
- Reply-To: tlug@example.com
- Sender: owner-tlug@example.com
Kenny, Thanks for the info. I mounted the fs of the old boot image, which shows the scsi card was a module for 2.0.34. However, for 2.0.35 I have configured it as part of the kernel, not a module. The scsi card is correctly identified at bootup for 2.0.35, and it goes on to find my external SCSI zip drive at bootup, but doesn't seem to find my hard drive and CD-Rom! After finding the zip drive, I get the cannot open console message. Actually, as I write, this is starting to make sense. If it doesn't find my HD, the zip beomes my "sda" (boot drive) rather than "sdb" and that's why it fails to open an initial console. So my problem is getting it to find the HD & CD-rom. I'll try and track that down tonight. Cheers, Neil. Hernando TANAKA wrote: > > Neil Booth wrote: > > I have no idea what the "initrd" line is for the original kernel, > > so I omitted it for the new kernel. Do I need it? > > I think so, although I need more information to be sure. > > The problem might be that your root disk is on a SCSI disk > (root=/dev/sda1), and the kernel is configured to support SCSI > as a module. When the kernel comes up, it couldn't recognize the > SCSI adapter, so it fails mounting the root file system. > > Try to put the same initrd line in the lilo.conf for the > new kernel. It might work, provided that you configured the > kernel to support ramdisk. > > Initrd stands for Initial Ramdisk. If specified, the kernel > uses it as the root file system at boot time, on the memory > (ramdisk), and executes the /linuxrc script on that ramdisk. > Usually, you insmod the appropriate scsi module there. > > The initrd file is an gzipped ext2fs, so if your kernel supports > loop file system, you can see the contents by; > > 1. Ungzip the content by > # gzip -dc <initrd.img >/tmp/initrd.fs > > 2. Mount the file by > # mount -o loop /tmp/initrd.fs /mnt/loop > > To create a new initrd image, use mkinitrd command. > > To understand more about ramdisk, Bootdisk-HOWTO might be > a good starting point (although the contents on RH4.2 are > a little bit obsolete). > > --- Kenny TANAKA > --------------------------------------------------------------- > Next Meeting: 10 October, 12:30 Tokyo Station Yaesu central gate > Next Nomikai: 20 November, 19:30 Tengu TokyoEkiMae 03-3275-3691 > --------------------------------------------------------------- > Sponsor: PHT, makers of TurboLinux http://www.pht.co.jp --------------------------------------------------------------- Next Meeting: 10 October, 12:30 Tokyo Station Yaesu central gate Next Nomikai: 20 November, 19:30 Tengu TokyoEkiMae 03-3275-3691 --------------------------------------------------------------- Sponsor: PHT, makers of TurboLinux http://www.pht.co.jp
- Follow-Ups:
- Re: tlug: Kernel rebuild problem
- From: Hernando TANAKA <ktanaka@example.com>
- References:
- tlug: Kernel rebuild problem
- From: Neil Booth <NeilB@example.com>
- Re: tlug: Kernel rebuild problem
- From: Hernando TANAKA <ktanaka@example.com>
Home | Main Index | Thread Index
- Prev by Date: Re: tlug: Kernel rebuild problem
- Next by Date: Re: tlug: 1.Japanese hard- and software/2.Netscape
- Prev by thread: Re: tlug: Kernel rebuild problem
- Next by thread: Re: tlug: Kernel rebuild problem
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links