Skip to contentSkip to conversation

Why no kernel message on my DOC system?

DISCUSSION 周 锐 1 participant 1 message Jan 29, 2002 Memory technology devices (MTD)

lore
Share & tools
lore

周 锐

author
#0 lore raw

Because I want to use an initrd as my root device so that I can put more things in the fiel system. Below is my lilo.conf:

boot=/dev/nftla map=/boot/map install=/boot/boot.b-mtd default=doc-full serial=0,9600n8 image=/boot/bzImage-2.4.17

      label=doc 
      root=/dev/ram0 
      read-write 
      initrd=/boot/initrd.img.gz 
      append="console=ttyS0,9600n8" 
image=/boot/bzImage-2.4.17-full 
      label=doc-full 
      root=/dev/ram0 
      read-write 
      initrd=/boot/initrd.img.gz 
      append="console=ttyS0,9600n8"

So I think I am installing LILO on /dev/nftla, only use /dev/ram0 to mount my root file system.

Quoted 16 lines

From: David Woodhouse <[email protected]>
To: "周 锐" <[email protected]>
CC: [email protected]
Subject: Re: Why no kernel message on my DOC system?
Date: Mon, 28 Jan 2002 23:46:14 +0000

Quoted 7 lines · [email protected] said:

Because in /dev/nftla1 there is only kernel image and initrd on it,
so I have not tested to use 'root=/dev/nftla1' on my harddisk. But I do test to use lilo-mtd on my harddisk and boot from it, the kernel messages came out and the /proc/cmdline is: auto BOOT_IMAGE=blabla-doc rw root=100 console=tty0 console=ttyS0,9600n8 On the contrary, if boot from DiskOnChip, the /proc/cmdline is unrecognizable strings.

Quoted 7 lines

It's a LILO problem. Why are you installing LILO to /dev/ram0 instead of /dev/nftla? Won't that make it look in the wrong place for stuff?

--
dwmw2

_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger:
http://messenger.microsoft.com/cn