root disk file system and nfs server from boot/root disks.

root disk file system and nfs server from boot/root disks.

Post by Ron Peter » Sat, 22 Aug 1998 04:00:00



I have a root disk that was created with rawrite.  It is the color.gz
image.  I would like to mount the root disk and make some modifications
to the disk (adding nfs server capability).

I have tried mounting with various file system types and have had no
luck.

So, how can I mount it to make these modifications, or the bigger
question, how can I easily add nfs server capability to the basic
boot/root disk combination.

Thanks in advance.

Ron

 
 
 

root disk file system and nfs server from boot/root disks.

Post by Tom Fawcet » Sun, 23 Aug 1998 04:00:00



> I have a root disk that was created with rawrite.  It is the color.gz
> image.  I would like to mount the root disk and make some modifications
> to the disk (adding nfs server capability).

> I have tried mounting with various file system types and have had no
> luck.

I believe it's a compressed ext2 filesystem, so something
like this should do it:

gunzip color.gz
mount -o loop color /mnt
... make changes ...
umount /mnt
gzip color
dd if=color.gz of=/dev/fd0

If you don't have loopback fs enabled, you'll have to copy it to ramdisk.

Quote:> So, how can I mount it to make these modifications, or the bigger
> question, how can I easily add nfs server capability to the basic
> boot/root disk combination.

If you specifically want the (Slackware?) color.gz root, that may be the
only way.  If you just want a rescue disk with nfs capability, try
tomsrtbt:

http://www.toms.net/~toehser/rb/tomsrtbt-current.tar.gz

(different tom)

-Tom

 
 
 

root disk file system and nfs server from boot/root disks.

Post by don't laugh, it's my mom's accou » Tue, 25 Aug 1998 04:00:00



> I have a root disk that was created with rawrite.  It is the color.gz
> image.  I would like to mount the root disk and make some modifications
> to the disk (adding nfs server capability).

> I have tried mounting with various file system types and have had no
> luck.

> So, how can I mount it to make these modifications, or the bigger
> question, how can I easily add nfs server capability to the basic
> boot/root disk combination.

> Thanks in advance.

> Ron

The gz disk image isn't mounted, and can't be. It is just gunzipped into
an initrd(4), and forgotton about.
You have to gunzip the disk before dd(1) or rawrite(dos), to even think
about running it RW. It comes out as a minix fs, and has room for maybe
one more shell script. Also consider the "mount -o loop" command, which
allows you to mount the image while it sits as a HD file.
 
 
 

1. root disk file system type and nfs server from boot/root disks.

I have a root disk that was created with rawrite.  It is the color.gz
image.  I would like to mount the root disk and make some modifications
to the disk (adding nfs server capability).

I have tried mounting with various file system types and have had no
luck.

So, how can I mount it to make these modifications, or the bigger
question, how can I easily add nfs server capability to the basic
boot/root disk combination.

Thanks in advance.

Ron

2. Kernel options: tcp_extensions

3. root disk file system and nfs server from boot/root floppies.

4. consolidate asm/signal.h

5. what different between boot disk, root disk and emergency disk???

6. Virtual Domain question

7. slackware thru nfs

8. Linux Boot/Root-disk to connect to NFS-Server ???

9. Boot and Root file system disks

10. Can't login as root on SLS 1.02 root/boot disk!

11. Which boot disk goes with the Slackware 3.0 pcmcia.gz root disk?

12. boot/root disks using ram disk