On 2/10/02 at 8:39 PM, GR <[EMAIL PROTECTED]> wrote:

> This assumes Oxygen 1.9.
> 
> I know I have managed to get this file backed up before,
> but I can't seem to remember how. I have made changes to
> /lib/modules/boot/modules.conf to reflect the NIC's in my
> /machine and have also deleted all the unecessary modules
> /from that directory. However when I attempt to back up my
> /changes they aren't written to disk - upon reboot they
> /are all lost.

/lib/modules/boot is in root.gz.  In 1.8 you would back this up by
backing up root.lrp; in 1.9 its more difficult (I've not gotten to
simplifying it yet).

The easiest way would be to do the following - either on a LEAF system
or on a full system:

1. Copy root.gz to a disk...
2. Uncompress it: gunzip -c - < root.gz > root.ima
3. Mount the image: mount -o loop root.ima /mnt/loop
4. Work in the image: cd /mnt/loop ; ...
   ---this is where you make changes - relative to /mnt/loop...
   When done...
5. Unmount image: umount /mnt/loop
6. Compress image: gzip -c - < root.ima > root.gz
7. Copy back to boot disk

I'll work on a script to do this.
--
David Douthitt
UNIX Systems Administrator
HP-UX, Unixware, Linux
[EMAIL PROTECTED]

_______________________________________________
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user

Reply via email to