Unix Hosting News & Commentary
My Top 3

I am trying to boot a an OS from RAM…(its a opensolaris based distro)
For this i have picked up 2 key lib files that when copied to /tmp and mounted to respective places will do the job..
The sizes of these files combined comes upto 600mb.(i have 2gb ram)
Now i have also located the script that does the mounting of these 2 files (after a lofiadm)onto /usr and /mnt/ respectively.

Currently these files are directly lofiadm’d from the cdrom itself and then mounted,my quest is to copy it to /tmp, lofiadm it there and then mount

However when the script that mounts these files from cdrom is called that amount of swap space is not available(hence am not able to copy them to /tmp from tht file)

Can you please help me to find a work around?
Also i know that
1. /usr/lib/fs/tmpfs/mount swap tmp can do the job ,however at that moment tmpfs is not at all loaded from its path..
so what i did was to copy the binaries of mount(created a dir in that path called tmpfs and put this binary there)
so in the script i just called 1.
but its still not working, may i know what am doing wrong?
Also i was a bit skeptical about the usage of mount cmd to mount swap ,
would like to know if its right?

I require urgent help,as am a student and have my exams coming up
please assist

Thanks

  1. No user reviews yet.


Leave a Reply





Blogroll