RE: /usr/sbin/mouseconfig --no such file

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

 



There is soo much potential for customization once you get into those files,
thanks for the information!  It would have been a lot easier to just do an
rpm -e during the post install, but it just bugged me that the installation
needed to run the extra commands.  RH should check for the existence of
those commands before it runs them.

-Dan

-----Original Message-----
From: Brad Doctor [mailto:bdoctor@xxxxxxxxx]
Sent: Friday, July 26, 2002 4:54 PM
To: kickstart-list@xxxxxxxxxx
Subject: Re: /usr/sbin/mouseconfig --no such file


The files RedHat/base/*.img are cramfs files.  If you do 'file <filename>'
it will report a type of 'data' on most systems.  However, if you try to 
mount it with a kernel that supports cramfs filesystems 
(grep cram /proc/filesystems) you will be fine.  But then the thing is read
only.  So what I do is mount it up, tar it to another directory, make my
changes, and then make the cramfs image again ala:

mkcramfs <directory I just copied and made changes in> <new cramfs file
image>

Very easy to make changes.  I have tried to get my changes passed all the 
way through the buildinstall crap that RH passes off as the way to do this
and have failed every time.  However, this method works perfectly.

Command summary:
mount -o loop stage2.img /mnt
mkdir ~/cramfs
cd /mnt
tar cvf - . | (cd ~/cramfs ; tar xfBp -)
cd ~/cramfs
make your changes
cd ~
mkcramfs ./cramfs ./newcramfs.img
umount /mnt

good luck!
-brad






[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux