Michael > > I am having a problem building a new kernel for a MSI 845E Max > > Motherboard. I am running RH9.0 and rebuilding a 2.4.20 kernel. > > > > The problem appears to be with the HDD/CD-ROM controller (an > > ICH4 on an Intel 845E chipset) of the IDE hard-drive (WD 40GB > > IDE/7200). When I boot my newly built kernel I get a kernel > > panic with the following lines: > > > > VFS: Cannot open root device "LABEL=/" or 00:00 > > Please append a correct "root=" boot option > > Kernel panic: VFS: Unable to mount root fs on 00:00 > > Did you create an initrd (RAM-disk) image for your newly built > kernel?
OK. I just enabled CONFIG_BLK_DEV_RAM and CONFIG_BLK_DEV_INITRD in the kernel config file and rebuilt the kernel. Now I am getting a repeated (again and again) message modprobe: modprobe: Can't locate module net-pf-1 As I mentioned before the /boot/config file was garbage on my RH9 install and I am having to go through the .config file carefully now. > > > My old /etc/lilo.conf file (which worked fine) had the > > following line in it (as does the image section for my new > > kernel): > > > > append = "hdc=ide-scsi root=LABEL=/" > > > > I am not familiar with what this line is doing. Also I do not > > have a good .config file to work with so I am not at all sure > > of my initial configuration of the IDE and SCSI parts of the > > kernel (the config file in /boot was garbage on my system). > > You find Red Hat's kernel config file in /boot/config-$VERSION > and also in /usr/src/linux-2.4/configs/kernel-* where you need > to pick the right one for your CPU architecture. > > > Can you please help me with understanding what that line in > > lilo.conf is about? > > "hdc=ide-scsi" is a kernel parameter that enables ATAPI > SCSI-Emulation > for /dev/hdc (which is an ATAPI CD-burner most likely). > > "root=LABEL=/" is the kernel parameter that specifies your root > partition, the partition mount at '/'. Rather than specifying > the device file, it makes use of partition labels. The > partition with the label '/' is your root partition. You can > examine your partitions with the "e2label" tool. > OK thanks a bunch. I will let you know how it goes. Daniel > - -- > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.2 (GNU/Linux) > > iD8DBQE+1gul0iMVcrivHFQRAic8AJ9UVv6IPq7GALcypnXoaONFfXuJmgCggk6q > RoFuVwkjd8Lt3iHvBx0jERc= > =aBUl > -----END PGP SIGNATURE----- > > > -- > redhat-list mailing list > unsubscribe > mailto:[EMAIL PROTECTED] > https://www.redhat.com/mailman/listinfo/redhat-list > -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list