Change the size of the ramdisk used by Ubuntu 12.04 Live CD
I am trying to remaster a 64bit live cd but have one problem so far.
The ubuntu live cd seems to use half of the available ram. So if I have 32GB or RAM when I load the live cd, the ramdisk has a size of 16GB.
Is there any way to change this either on the live cd or remaster one with a settable size ( IE during boot up ).
"Is there any way to change this either on the live cd?"
I found a way to customise a live cd but not remaster.
Not sure if this is what your looking for but I took a shot at it.
You said;"when I load the live cd, the ramdisk has a size of 16GB."
Any distribution that I have ever installed I have always dedicated 20GB (filesystem /) to the distro and 1GB for the swap. Not sure if your trying to install or if you just want to run this distro-
Also I wasn't sure if you are in a dual boot with another operating system......that matters too-
Hope this helps
A little more clarification
Thanks for the quick reply.
Maybe I was not clear. I am trying to remaster a live cd. The idea is to use RemasterSys to create a Live CD from an already created install. The advantage is the live cd can be used to install the custom made cd on any other system.
So far RemasterSys does do what I want and creates a Live CD for me. BUT the problem is the Live cd, when loaded chooses the ramdisk size as 50% of the ram I have on my system.
It is the exact same thing if I boot with a normal ubuntu live cd.
I am trying to find out how/when/where the live cd "chooses" to use 50% of the ram and change it.
Any ideas on this?
I don't know how to change that Live CD.
Next time I see that Software Developer I'll ask him if it is possible-
I went to Ubuntu and searched "How to change a live cd"
This was all I could find for you sorry I can't do more-
At this webpage this man remastered with Puppy Linux and he gives instructions to do it:
The live cd's make a quick memory test at the boot process then use the number to create the ram drive.
That is what I thought... Do you know which scipt does this so I can change it?
I saw the software developer over the weekend and I asked him:
"Can you reformat/remaster a Live Cd?"
He said:"you can reformat a usb flash drive but not a live cd."
The RAM won't allow it otherwise he added-
He also mentioned that he wasn't sure about linux-
He does database; SQL-
I'm not an advanced shell script-er otherwise I'd write you one; sorry-
Thanks for trying...
For your information the way I remaster a live cd is to use remastersys. The steps are to install ubuntu to your system. Once installed you add any packages you want in your live cd and make any other changes you want.
Once complete you run remastersys which then creates a ISO from the installed system, which will be created as a customized live cd. It all works well and the only issue I have so far is this matter with the live cd ( does not matter if its a customized version or the original live cd ) taking 50% of ram for its file system.
I know there are other methods, such as the ubuntu customizer, but remaster makes the process simpler.
|All times are GMT -5. The time now is 09:21 AM.|