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

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

Post by Walter Tautz [MFC » Fri, 29 Jun 2001 00:15:18



I am curious to know how one would configure the anaconda
program that runs off the bootnet.img to install a predefined
list of packages.

How does one look inside these boot images? I thought it might
be possible to mount them somehow?

 -walter

 
 
 

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

Post by Jeremy Rump » Fri, 29 Jun 2001 02:09:37



> I am curious to know how one would configure the anaconda
> program that runs off the bootnet.img to install a predefined
> list of packages.

> How does one look inside these boot images? I thought it might
> be possible to mount them somehow?

>  -walter

Ok here's the skinny on the bootnet.img and other images files. These
images are esstential fully floppy disk images. Their file sytem format is
FAT (vfat will work). The first sector on the disk also has a standard x86
boot loader (vi SYSLINUX). One can easily mount the image and take a peek
inside via the loopback device driver.

Example:

cp bootnet.img /tmp
mkdir testmnt
mount -t vfat bootnet.img ./testmnt -o loop=/dev/loop0
cd testmnt
ls -l

You must make sure your kernel either has support for the vfat filesystem
(cat /proc/filesystems) and loopback device driver support (cat
/proc/devices). If not, you'll have to recompile or load the correct
modules (loop.o and vfat.o).

Cheers,
Jeremy

 
 
 

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

Post by Jeremy Rump » Fri, 29 Jun 2001 02:12:39



> I am curious to know how one would configure the anaconda
> program that runs off the bootnet.img to install a predefined
> list of packages.

> How does one look inside these boot images? I thought it might
> be possible to mount them somehow?

>  -walter

Almost forgot, one file contained in the image is the initrd.img. This
image is a compressed ext2 filesystem image that's decompressed and mounted
as a temporary / during the boot process. It can also be mounted and peeked
at.

Jeremy

 
 
 

1. creating bootnet.img disk inside Linux

dd if=bootnet.img  of=/dev/fd0

you'll probably have to be root.

later

  -----------== Posted via Newsfeeds.Com, Uncensored Usenet News ==----------
   http://www.newsfeeds.com       The Largest Usenet Servers in the World!
------== Over 73,000 Newsgroups - Including  Dedicated  Binaries Servers ==-----

2. Binary AIX 5.1, Apache 2, Tomcat 4, Connector Needed

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

4. Floppies for installing?

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

6. SunPro C Compiler info needed quick

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

8. YEY!!!

9. bootnet.img

10. Inserting a ethernet driver in the bootnet.img

11. bootnet.img

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

13. bootnet.img diskette(s)