[질문] NFS 연결시 필요한 최소파일.
안녕하세요.
target 에서 bootp 로 ip 와 root path 를 얻고,
nfs 로 root 를 mount 하도록 설정하였습니다.
화일을 최소화 하였더니 readonly 로 mount 되더군요.
rw 가 되도록 하려면 어떤화일 또는 어떤셋팅을 해야 하는지,
알려주시면 감사하겠습니다.
참고로 서버쪽 셋팅은 잘되어 있습니다.
다음은 dmsg 입니다
prom.cRAM_FIRST 400 _ftext 200000 _end 3be7a0
CPU revision is 00018009
Primary instruction cache 16kb, linesize 16 bytes (4 ways)
Primary data cache 16kb, linesize 16 bytes (4 ways)
Linux version 2.4.18_mvl30-79eb438 (root@dryworld) (gcc version 3.2.1 20020930 (
MontaVista)) #3 Fri Jan 30 234518 EST 2004
PCI Initializing PCI
Determined physical RAM map
memory 04000000 @ 00000000 (usable)
On node 0 totalpages 16384
zone(0) 16384 pages.
zone(1) 0 pages.
zone(2) 0 pages.
Kernel command line root=/dev/nfs console=ttyS0,115200 root=/dev/nfs console=tt
yS0,115200n8
calculating r4koff... 000f4240(1000000)
CPU frequency 200.00 MHz
Console colour dummy device 80x25
Calibrating delay loop... 199.47 BogoMIPS
Memory 60728k/65536k available (1429k kernel code, 4808k reserved, 91k data, 96
k init, 0k highmem)
Dentry-cache hash table entries 8192 (order 4, 65536 bytes)
Inode-cache hash table entries 4096 (order 3, 32768 bytes)
Mount-cache hash table entries 1024 (order 1, 8192 bytes)
Buffer-cache hash table entries 4096 (order 2, 16384 bytes)
Page-cache hash table entries 16384 (order 4, 65536 bytes)
Checking for 'wait' instruction... unavailable.
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Disabling the Out Of Memory Killer
initialize_kbd Keyboard failed self test
pty 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI en
abled
ttyS00 at 0xb8050000 (irq = 39) is a 16550A
ttyS01 at 0xb8050020 (irq = 42) is a 16550A
block 128 slots per queue, batch=32
eth0 RC32438 ethernet0 found at 0x18058000
eth0 HW Address 080006054001
eth0 Rx IRQ 25, Tx IRQ 26
eth1 RC32438 ethernet1 found at 0x18060000
eth1 HW Address 080006055001
eth1 Rx IRQ 27, Tx IRQ 28
NET4 Linux TCP/IP 1.0 for NET4.0
IP Protocols ICMP, UDP, TCP, IGMP
IP routing cache hash table of 512 buckets, 4Kbytes
TCP Hash tables configured (established 4096 bind 8192)
Sending BOOTP requests . OK
IP-Config Got BOOTP answer from 192.168.0.1, my address is 192.168.0.4
IP-Config Complete
device=eth0, addr=192.168.0.4, mask=255.255.255.0, gw=255.255.255.255,
host=192.168.0.4, domain=, nis-domain=(none),
bootserver=192.168.0.1, rootserver=192.168.0.1, rootpath=/ramdisk1
NET4 Unix domain sockets 1.0/SMP for Linux NET4.0.
Looking up port of RPC 100003/2 on 192.168.0.1
Looking up port of RPC 100005/1 on 192.168.0.1
VFS Mounted root (nfs filesystem).
stubbed prom_free_prom_memory()
Freeing unused kernel memory 96k freed
Algorithmics/MIPS FPU Emulator v1.5
init started BusyBox v1.00-pre5 (2004.01.29-0446+0000) multi-call binary
No more tasks for init -- sleeping forever.
BusyBox v1.00-pre5 (2004.01.29-0446+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
다음은 /etc/inittab 입니다
once/bin/sh
이상입니다.
미리 답변주셔서 감사드립니다.


댓글 달기