FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Studio User

LinkBack Thread Tools
Old 12-01-2009, 02:46 PM
Hans de Goede
Default stage1 (init): Make /tmp tmpfs large enough to hold install.img (#540146)

Be default mount makes tmpfs mounts 1/2 RAM size, on 256MB machines, where
part of the RAM is taken up by a shared framebuffer, this results in a
/tmp which is to small to hold install.img, resulting in install failure
when trying to do for example a network installation.

This patch fixes this by specifying a size for /tmp, it uses 250MB which
should be plenty for now and the forseeable future.
loader/init.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/loader/init.c b/loader/init.c
index e3bb9b0..67c9d62 100644
--- a/loader/init.c
+++ b/loader/init.c
@@ -779,7 +779,7 @@ int main(int argc, char **argv) {
mkdir("/tmp", 0755);

printf("mounting /tmp as tmpfs... ");
- if (mount("none", "/tmp", "tmpfs", 0, NULL))
+ if (mount("none", "/tmp", "tmpfs", 0, "size=250m"))


Anaconda-devel-list mailing list

Thread Tools

All times are GMT. The time now is 02:22 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org