bootnet.img

bootnet.img

Post by Chris Pelto » Sun, 18 Mar 2001 05:11:05





> > We're trying to do a network install of Redhat7 on a dell 5000e with a
> > Xircom RealPort Combo Card, which uses the tulip driver for its network
> > side. The problem is, the bootnet.img supplied by Redhat doesn't include
> > the right driver for the card, and we can't use the network. I know
> > where the right driver is - I can get it from a running system - but how
> > do I get it into a bootnet.img? Is there any way to create these images
> > with the drivers needed?

> First, you need the bootnet.img. ;-) Second, you need msdos filesystem
> support as well as loop mount support in your kernel. (The latter means
> that you can mount a file which has a filesystem in it.)

> mount the bootnet.img.

> mkdir mnt-main
> mount -t vfat -o loop bootnet.img mnt-main

> Next, copy the file mnt-main/initrd.img to somewhere else. This is
> a compressed ext2 image. Next, process it:

> mv initrd.img initrd.img.gz
> gunzip initrd.img.gz
> mkdir mnt-init
> mount -o loop initrd.img mnt-init

> Next, you need to get into this mnt-init.

> cd mnt-init
> cd modules

> Inside this directory there is a modules.cgz which is a gzip
> compressed cpio file. Uncompress it (you might need to rename it),
> un-cpio it, etc. This is where I stopped. I think from here you
> need to un-cpio the file, add your driver to it, then re-cpio and
> recompress. Next, copy it back to the mnt-init/modules. Also, you
> possibly have to modify plenty of files in that directory.
> Don't forget to recompress the initrd.img and copy back to mnt-main.

> Have fun. I hope the commands are ok. I didn't actually copy them
> but I did go through the process.

> Vilmos

That worked great. Thanks for the help.

Chris

 
 
 

bootnet.img

Post by Chris Pelto » Sat, 17 Mar 2001 06:40:27


We're trying to do a network install of Redhat7 on a dell 5000e with a
Xircom RealPort Combo Card, which uses the tulip driver for its network
side. The problem is, the bootnet.img supplied by Redhat doesn't include
the right driver for the card, and we can't use the network. I know
where the right driver is - I can get it from a running system - but how
do I get it into a bootnet.img? Is there any way to create these images
with the drivers needed?

thanks,
Chris

 
 
 

bootnet.img

Post by Vilmos Sot » Sat, 17 Mar 2001 08:48:06



> We're trying to do a network install of Redhat7 on a dell 5000e with a
> Xircom RealPort Combo Card, which uses the tulip driver for its network
> side. The problem is, the bootnet.img supplied by Redhat doesn't include
> the right driver for the card, and we can't use the network. I know
> where the right driver is - I can get it from a running system - but how
> do I get it into a bootnet.img? Is there any way to create these images
> with the drivers needed?

First, you need the bootnet.img. ;-) Second, you need msdos filesystem
support as well as loop mount support in your kernel. (The latter means
that you can mount a file which has a filesystem in it.)

mount the bootnet.img.

mkdir mnt-main
mount -t vfat -o loop bootnet.img mnt-main

Next, copy the file mnt-main/initrd.img to somewhere else. This is
a compressed ext2 image. Next, process it:

mv initrd.img initrd.img.gz
gunzip initrd.img.gz
mkdir mnt-init
mount -o loop initrd.img mnt-init

Next, you need to get into this mnt-init.

cd mnt-init
cd modules

Inside this directory there is a modules.cgz which is a gzip
compressed cpio file. Uncompress it (you might need to rename it),
un-cpio it, etc. This is where I stopped. I think from here you
need to un-cpio the file, add your driver to it, then re-cpio and
recompress. Next, copy it back to the mnt-init/modules. Also, you
possibly have to modify plenty of files in that directory.
Don't forget to recompress the initrd.img and copy back to mnt-main.

Have fun. I hope the commands are ok. I didn't actually copy them
but I did go through the process.

Vilmos

 
 
 

1. bootnet.img: support for DEC21143 (tulip.o)

Hello,
I am trying to ftp install RedHat Intel 6.0 onto a Crystal CS500.
I am having all sorts of fun and games getting the NIC to work.
The system has an integrated card (CPU, keyboard, mouse, NIC etc all
on one card) and the ethernet subsystem is based on the DEC21143
chipset.

Install sees the NIC but when I try to connect to the network it
fails.  I get errors on the hub (a nice flashing red LED).  RedHat
support are on the case and I am also wading through the readmes, FAQs
and web pages but I have not found anything too helpful.

The Linux-Tulip information page,
http://www.bmen.tulane.edu/~siekas/tulip.html
is being updated and I've not found anything of direct relevance in
Donald Becker's page except for the diagnostic program which I will
try out soon.

I am doing an ftp install because although I have the RedHat Cds I
don't have a SCSI CD for the Crystal.  A colleague originally
installed the system using an IDE CD (powered by *another* PC!) but
the install only worked when an IDE CD was present, removing it (or
not powering it) killed the network connection (?).  Sometimes it
didn't work even with the CD attached.

Given that there is a brain-damaged installation on my system I have
tried using linuxconf to reinstall the tulip driver and I also tried
the de4x5 driver, neither worked.

I have also copied the entire CD set onto the hard disk but I don't
get the option to do a hard disk based install ... I suspect this is
because the cd image is on the system partition ?
I've also tried the expert install without any luck.

I think the problem may be either that the card is trying to run at
100Mb/s when it should be 10Mb/s or the driver embedded in bootnet and
the kernel is not suitable for my system.

So ...

1. has anyone ever successfully ftp installed on a system like mine
using a boot floppy and ftp ?

2. can anyone talk me through making a bootnet.img with the latest
tulip.o ?

If I have to I will recompile the kernel or drop in another NIC but I
would rather crack this problem and do a clean install from scratch so
I can use the integrated NIC and repartiton the hard disk.

If I have missed any information sources or if anyone needs more
information, please feel free to email me.

If anyone posts a reply I would be very graeful if you could also cc

Many thanks in advance for any advice or pointers!

Cheers,
   Andy.

2. System V or System 5?

3. Screen blanks with RedHat 6.0 bootdisk (bootnet.img)

4. HW upgrade sun4c -> sun4m

5. how does one create a custom bootnet.img boot disk...

6. Anybody use Buslogic BT445S?

7. Inserting a ethernet driver in the bootnet.img

8. mounting more logical partitions on FreeBSD 4.x

9. how to make a custom redhat bootnet.img...i.e predefined package list

10. bootnet.img

11. RedHat 6.2: bootnet.img/DHCP/NFS

12. creating bootnet.img disk inside Linux

13. bootnet.img diskette(s)