LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 11-02-2012, 10:10 PM   #1
kktester
LQ Newbie
 
Registered: Jul 2012
Posts: 17

Rep: Reputation: Disabled
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 ).
 
Old 11-02-2012, 11:31 PM   #2
Ztcoracat
Senior Member
 
Registered: Dec 2011
Distribution: Slackware & CentOS
Posts: 2,969
Blog Entries: 1

Rep: Reputation: Disabled
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
 
Old 11-02-2012, 11:48 PM   #3
kktester
LQ Newbie
 
Registered: Jul 2012
Posts: 17

Original Poster
Rep: Reputation: Disabled
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?
 
Old 11-02-2012, 11:59 PM   #4
Ztcoracat
Senior Member
 
Registered: Dec 2011
Distribution: Slackware & CentOS
Posts: 2,969
Blog Entries: 1

Rep: Reputation: Disabled
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

Last edited by Ztcoracat; 11-03-2012 at 12:05 AM.
 
Old 11-03-2012, 11:07 AM   #5
jefro
Guru
 
Registered: Mar 2008
Posts: 11,334

Rep: Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386
The live cd's make a quick memory test at the boot process then use the number to create the ram drive.
 
Old 11-03-2012, 11:28 AM   #6
kktester
LQ Newbie
 
Registered: Jul 2012
Posts: 17

Original Poster
Rep: Reputation: Disabled
how

That is what I thought... Do you know which scipt does this so I can change it?
 
Old 11-13-2012, 02:18 AM   #7
Ztcoracat
Senior Member
 
Registered: Dec 2011
Distribution: Slackware & CentOS
Posts: 2,969
Blog Entries: 1

Rep: Reputation: Disabled
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-

Last edited by Ztcoracat; 11-13-2012 at 02:21 AM.
 
Old 11-13-2012, 06:04 AM   #8
kktester
LQ Newbie
 
Registered: Jul 2012
Posts: 17

Original Poster
Rep: Reputation: Disabled
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.
 
Old 11-14-2012, 05:08 AM   #9
Ztcoracat
Senior Member
 
Registered: Dec 2011
Distribution: Slackware & CentOS
Posts: 2,969
Blog Entries: 1

Rep: Reputation: Disabled
Your Welcome

Best regards
 
  


Reply

Tags
memory, ramdisk, remaster


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ramdisk (size, allocation, ...) deadeyes Linux - General 0 08-17-2009 10:25 AM
ramdisk size hadyy Linux - General 5 12-21-2007 11:47 PM
how to change screen size in ubuntu. 1dude1 Linux - Software 1 05-09-2007 04:58 PM
Isolinux ramdisk size rbautch Linux - Newbie 2 07-03-2006 11:03 AM
ramdisk size jonfa Linux - General 1 05-22-2004 01:22 PM


All times are GMT -5. The time now is 07:09 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration