Installing via serial line trouble
I try to install Debian 2.2r4 to HP Omnibook 4000CT.
It has 486/100MHz-processor, 16Mb of memory, floppy,
no CD-ROM and no ethernet card.
I hope to install via serial line and NFS
(or ftp/or something). And save previous installation
of Win'95 to other computer.
Is it possible?
First of all I've installed Debian on my home machine
under VMWare and made changes to root floppy image:
/lib/modules/2.2.19/
/fs/
lockd.o
nfs.o
nls_cp866.o
vfat.o
/misc/
sunrpc.o
/net/
slhc.o
slip.o
/sbin/
slattach
Then I said 'chroot /image-dir depmod -a', packed
and copied image back to floppy.
Now when I boot from rescue and this root disks,
I switch to second console and do the folowing:
ifconfig lo 127.0.0.1
route add -host 127.0.0.1 lo
modprobe slip
slattach -s 115200 -p slip ttyS0 &
ifconfig sl0 192.168.84.2 pointopoint 192.168.84.1 up
modprobe nfs
mkdir /mnt/nfs
mount -t nfs 192.168.84.1:/pub /mnt/nfs
And have this:
Mounting 192.168.84.1:/pub on /mnt/nfs failed: Invalid argument
------------------------------------------------
By this point I have same sl0 interface on host
machine with IP 192.168.84.1 and can ping it.
NFS server is running and reachable from VMWare
by same 'mount -t nfs 192.168.84.1:/pub /mnt/nfs'
command.
On laptop:
#lsmod
Module Size Used by
nfs 40544 0
lockd 41740 0 [nfs]
sunrpc 57792 0 [nfs lockd]
slip 7232 2
slhc 4368 1 [slip]
af_packet 6124 0 (unused)
unix 11324 1 (autoclean)
#ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
<skip>
sl0 Link encap:Serial Line IP
inet addr:192.168.84.2 P-t-P:192.168.84.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:296 Metric:1
<skip>
#route -n
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.84.1 0.0.0.0 255.255.255.255 UH 0 0 0 sl0
127.0.0.1 0.0.0.0 255.255.255.255 UH 0 0 0 lo
-------------------------------------------------
Ok. So where I was wrong? Maybe I should use
ftp or other way? I'm novice to Debian but have
some experience in one Mandrake-based distribution.
All comments are welcome. Please, help me.
--
Grigory Batalov.
Reply to: