On Fri, Nov 22, 2002 at 04:37:01PM -0800, Sameer Kamat wrote: > Hello > I would like to boot up the machine under linux rescue using a CD. > Then is it possible to unmount that CD in rescue mode and mount another one. > Is there a way that I can copy the contents that it uses off the CD into > memory so that I can then mount another CD? I actually did this awhile back so that I could have linux running entirely in RAM. It was a bit of a side project, but the system would boot up from the CD, copy itself into RAM, and then run from there. It was supposed to become a router that could just reboot if hacked or some other problem occurred, but I lost interest... but I digress :) You'll need tmpfs support in your kernel and enough RAM to hold whatever's on the CD and run the system. You'll need to use /bin/sh as your init. Mount the tmpfs file system, copy the cd to it, then you need to exec a pivot_root or chroot. I don't remember the exact sequence anymore. Then you should be able to unmount the CD. I've glossed over quite a bit here, but that' the general idea. Someone should write a HOWTO, heh. Good luck, John -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/