Re: custom built kernel fails to mount root fs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 14 Nov 2002, Iain Buchanan wrote:

> what was the order of make commands you used to make the kernel?  eg
> (from the /usr/src/linux-<version> directory) you commands should look
> something like this
> ...

i just tried it with v2.4.18. here're the make commands i used (didn't do
mrproper because the tree was unpacked straight from the package):

cd linux-2.4.18
cp ../config-2.4.18 .config
make xconfig
make dep
make bzImage
make install
make modules
make modules_install

the result with 2.4.18 is essentially the same as previously (2.4.19):

...
eth1: OEM i82557/i82558 10/100 Ethernet, 00:30:48:24:7F:3A, IRQ 18.
  Board assembly 000000-000, Physical connectors present: RJ45
  Primary interface chip i82555 PHY #1.
  General self-test: passed.
  Serial sub-system self-test: passed.
  Internal registers self-test: passed.
  ROM checksum self-test: passed (0xb874c1d3).
SCSI subsystem driver Revision: 1.00
request_module[scsi_hostadapter]: Root fs not mounted
LVM version 1.0.1-rc4(ish)(03/10/2001)
NET4: Linux TCP/IP 1.0 for Net4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 16384 buckets, 128Kbytes
TCP: Hash tables configured (established 262144 bind 65536)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Kernel panic: I have no root and I want to scream

> may be necessary.  Remember also that the root(hdx,y) directive in grub
> specifies you /boot partition and the other commands are relative to
> there, so you don't need to append /boot to them all, and grub counts
> from 0, not 1.

the Grub configuration (boot, root, root=) should be ok because it's the
same as with the Red Hat 8.0 default kernel which boots fine on the
system.

> The root=/dev/blah option you pass to the kernel is in
> normal /dev/hda2 form.  It may be easier to label the volume as '/' and
> then just say root=LABEL=/

the reason i'm using the device name and not a label is to try to
eliminate potential problems with ambigously defined labels.


best regards,
-- 
	aspa






-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux