Re: [Redhat-s390-list] OSA/OSA-E Drivers in Red Hat Linux/390

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > 
> > I booted RH Linux on my Intel box and tried the loopback mount. IIRC I 
> > received error:
> > 
> > mount: wrong fs type, bad option, bad superblock on /dev/loop0,
> >        or too many mounted file systems
> 
> Follow the following modified procedure:
> 
> > > - mount the initrd.img it over loopback:
> > > 
> > >   mkdir initrd
> 
> # cp initrd to current / temporary directory
> cp /where/it/is/initrd.img .
> # gunzip the image
> mv initrd.img initrd.img.gz
> gunzip initrd.img.gz
> 

This depends on which exact version you are using. I changed the newer
versions to use uncompressed images. But your report really indicates
that you have a version with compressed images. In this case,
the modified instructions from David apply.
You can check the file format of the initrd by running 'file initrd.img'
on your Linux box (Thanks to Marc for that hint !).


> 
> > >   mount -t ext2 -o loop initrd.img initrd
> 
> # you can now do what you have to do in the initrd subdirectory.
> > > 
> > > copy the OCO modules in the lib directory of the initrd:
> > > 
> > >   cp lcs*o qdio.o qeth.o initrd/lib   # Make sure that you copy the 
> > >                                       # 2.4.5 OCO modules !
> > > 
> > > umount the loppback initrd:
> > > 
> > >   umount initrd
> 
> # re-gzip image
> gzip initrd.img
> mv initrd.img.gz initrd.img
> # you now have your shiny new initrd.img   ;-)
> 
> I am guessing that your problem is because the initrd.img is compressed 
> w/ gzip. I hope this helps! :-)
> 
> 

  Karsten

--
 Karsten Hopp        | Mail: karsten@redhat.de
 Red Hat Deutschland | Tel: +49-711-96437-0
 Hauptstaetterstr.58 | Fax: +49-711-96437-111
 D-70178 Stuttgart   | http://www.redhat.de 



[Index of Archives]     [Fedora General Discussion]     [LKML]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Linux s390]     [Gimp]     [Yosemite News]

  Powered by Linux