I'm creating a bootable usb as a cloned partition and am running into problems copying
/proc to the usb.
/proc contains a lot of virtual files, but I'm not sure how to copy them over. It seems that if I use
cp it doesn't treat them as virtual files. So with large virtual files like
kcore it uses all the usbs disk space right away. However if I try and boot with just the folders created, it fails.
What would be the best way to copy them over and still keep them as virtual files? Or, what are the minimal files I can copy to the usb to allow it to boot?
The distro is fedora 12.
I should mention the process I'm using:
- create partitions on usb to match the installation you want to clone
- copy the files from the installation to the usb partitions
- install bootloader on the boot partition (grub)
Everything has gone fine so far except for copying
/proc. I've done this before and haven't had this problem until now.