[Tbox-talk] RE: NIC driver help
Status: Inactive
Brought to you by:
clameter
|
From: Christoph L. <chr...@la...> - 2002-04-04 16:46:42
|
On Thu, 4 Apr 2002, Clark, Bill W. wrote:
> Last comment/question. I can't use apt-get because the NIC driver isn't
> available hence I am trying to find a way to get the kernel-headers so I can
> compile the NIC driver. The problem is that I am not installing the
> telemetry on a machine. I am booting off and running off the CD. The
> kernel-headers and driver are too large to put on floppy. And I wouldn't
> want to recompile the driver everytime we booted telemetry. Again I must
> emphasize I think this is a great product. I tried to do this with trinux
> and it is so undeveloped it is difficult to use.
Ohh.... Hmm...
> In case your confuse on the next section I copy your iso to linux
> workstation I have at my desk. Trouble with it is its not mobile. I
> thought I could extract your iso put my files in the extracted directory and
> then make another iso with mkisofs. The problem I have found is that the
> iso contains block device files. So when I mount the iso image and do a
> recursive cp it complains about the device special files. I can't find a
> solution to this problem. What I need is a way to inject my files into the
> iso or a way to extract the iso with the block device files intact. So far
> I am not certain there is a way to do what I want.
> If you have any advice how to tackle this that would be great. We are 98%
> there if I can just get the NIC driver to work then I will have a solution
> to running linux tools on our laptops in memory and off CD. Which would be
> ideal here. Since we are restrained to XP for other stuff.
If you have an existing linux installation then do the following:
1. Copy the iso image to the hd somewhere.
2. Mount the iso image using the loop device
mount -oloop whereever-it-is.iso /mnt
3. Copy the tree somewhere else
cp -a /mnt cdroot
4. Now you can run the CD environment using chroot
chroot cdroot
5. Use the networking of the host environment to install the
kernel-headers
apt-get update
apt-get install kernel-headers....
6. Compile and install your driver
7. exit chroot environment
CRTL-D
8. Rebuild the iso
mkisofs -R -l -o mytbox.iso -b isolinux/isolinux.bin -c isolinux/boot.cat
-no-emul-boot -boot-load-size 4 -boot-info-table cdroot
9. Burn ISO image
10. Boot from CD on the other PC.
|