public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: g_friend@etang.com
To: linux-mtd@lists.infradead.org
Subject: how to make a root file system on doc?
Date: Sun, 26 May 2002 09:24:54 +0800 (CST)	[thread overview]
Message-ID: <3CF03966.16945@mail-smtp2> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1469 bytes --]

I have build doc support in my new kernel . then I wantto make a root system on doc.
I make a mini system with the tools "build" from m-sys driver package.
then I modified the /etc/lilo.conf:
install=/boot/boot.b
prompt
timeout=50
message=/boot/message
default=linux
image=/boot/vmlinux-2.4.2-2
     label=linux
      read-only
      root=/dev/hda5
image=/boot/bzImage-doc
     label=doc
      read-only
      root=/dev/hda5
image=/boot/bzImage-doc
     label=bootfromdoc
      read-only
      root=/dev/nftla1
I  have test it .If I select "doc" label ,every is ok.I can find /dev/nftla1 ,can write /read it.
but If I select "bootfromdoc" , I get some trouble.
afer loading kernel , the initialization of kernel seems fine. but when it enter the initab part, It cannot pass e2fsck, then immediately reboot . Because I dont know how I can get the output of boot information in this situation ( normally after boot, I use dmesg)
so , after many times'reboot  ,I gather only a litte information: bad magic number in superblock when trying to open /dev/nftla
how can I get over this problem ?
or how you guys make your fine root file system?







-----------------------------------------
ÂòÐéÄâÖ÷»úË͹ú¼ÊÓòÃû¼°ÓÊÏä
http://www.999k.net
ÒÚÌÆÉú»îÆ·ÅÆµÚÒ»Ö÷´ò
http://bag.etang.com/payment_1.htm
ÒÚÌÆ¶ÌÐÅ£¬ÄúÌùÉíµÄʱÉйËÎÊ
http://sms.etang.com
ÃÀ¹ú´óѧ֮ÃÅΪÄã¶ø¿ª °Ù·Ö°ÙÄý±Ñ§½ð
http://campus.etang.com/html/academic/usa/scho/scho017.htm                                    

                 reply	other threads:[~2002-05-26  1:28 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3CF03966.16945@mail-smtp2 \
    --to=g_friend@etang.com \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox