Tiny Core Base > Corepure64
How do I get rid of udev messages during boot?
curaga:
You can remove that file (65-libwacom.rules) entirely if you don't have any wacom hardware. Some customization is often expected in deployments.
nurbles:
(smiling) Well, you might be able to "just delete the file" but the only copy I can find is on a RAM drive that is restored during a boot, long before I would have any way to delete it.
I assume that you're suggesting that there is a way for me to get into the image used to construct the RAM drive and remove the file from that. At the moment, that is beyond my knowledge and ability. I also seem to have a knack for choosing the wrong keywords to search for on these forums or google (like "how to remove files from TinyCore images", I also tried with "delete" instead of "remove" and many variations.)
So, an explanation or a link to where the instructions to do this are documented would be a huge help!
GNUser:
Hi nurbles. Keyword is remaster. Here are my notes on how to do it:
--- Code: --- # mkdir $HOME/temp
# cd $HOME/temp
# gunzip -c /path/to/core.gz | cpio -i
-> change things inside $HOME/temp and its subdirs as desired, then return to $HOME/temp
# pwd
/home/tc/temp
# find . | cpio -H newc -o | gzip -9 > ../core-mod.gz
-> Optional step for maximum compression (approx. equivalent to gzip -11):
# advdef -z4 core-mod.gz
--- End code ---
nurbles:
@GNUser thank you very much for the clear and easy to follow instructions! But I have one concern before I proceed beyond the gunzip command:
When I unzip corepure64.gz, I see pages of errors from the gunzip|cpio command stating things like:
--- Code: ---cpio: can't create node /dev/tty5: Operation not permitted
--- End code ---
Is it safe to assume that none of those things will be needed in the remastered file (or that they will be magically created by the later steps in your sequence)?
Luckily, I knew about gunzip -k so my original file wasn't deleted! ;)
Rich:
Hi nurbles
These are the commands I've typically used.
Pack/unpack core.gz:
--- Code: ---# To unpack
mkdir $HOME/temp
cd $HOME/temp
zcat /path/to/existing/core.gz | sudo cpio -i
# Make your changes.
# To repack
cd $HOME/temp
sudo find . | sudo cpio -o -H newc | gzip > /path/to/new/core-mod.gz
--- End code ---
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version