LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (http://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Change the size of the ramdisk used by Ubuntu 12.04 Live CD (http://www.linuxquestions.org/questions/ubuntu-63/change-the-size-of-the-ramdisk-used-by-ubuntu-12-04-live-cd-4175435393/)

kktester 11-02-2012 11:10 PM

Change the size of the ramdisk used by Ubuntu 12.04 Live CD
 
Hi

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 ).

Ztcoracat 11-03-2012 12:31 AM

Hi:

"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.
https://help.ubuntu.com/community/LiveCDCustomization

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

kktester 11-03-2012 12:48 AM

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?

Ztcoracat 11-03-2012 12:59 AM

Sorry; kktester:

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-
http://ubuntuforums.org/search.php?searchid=88234942

At this webpage this man remastered with Puppy Linux and he gives instructions to do it:
http://www.murga-linux.com/puppy/viewtopic.php?t=1885

jefro 11-03-2012 12:07 PM

The live cd's make a quick memory test at the boot process then use the number to create the ram drive.

kktester 11-03-2012 12:28 PM

how
 
That is what I thought... Do you know which scipt does this so I can change it?

Ztcoracat 11-13-2012 03:18 AM

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-

kktester 11-13-2012 07:04 AM

Thanks Ztcoracat
 
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.

Ztcoracat 11-14-2012 06:08 AM

Your Welcome

Best regards:)


All times are GMT -5. The time now is 06:11 PM.