General :: How To Resize (or Create A Blank) .img File

May 9, 2011

I need to know to to make a smaller .img file. I want to put ubuntu on my android phone (androlinux.com), but the ubuntu.zip file was to big to fit on my sd card. The .img file is too large, so I want to make a slightly smaller .img file to fit on the sd card.

View 2 Replies


ADVERTISEMENT

General :: Create Empty Or Blank Iso File?

Nov 23, 2010

I having been searching for a way to create an empty or blank iso file, so that I can mount it, and have a backup application think it's a blank CD. I am tired of wasting CD's by having the application write a recovery CD, just for me to turn around and export it to an iso image to be stored in a online archive, and then throw away the physical CD.

View 5 Replies View Related

Ubuntu Installation :: Create Resize Move LVM Partition ?

Sep 2, 2010

As mentioned here I am planning on installing with encryption. This involves using LVM in the partition scheme.

I am following this guide here which uses Mandriva to do the installation. [url]

However, I notice that GParted doesn't seem to have any support for LVM, which is going to be a pain in the rear if I subsequently try to add Ubuntu to the Mandriva boot setup.

The problem I have with DiskDrake (Mandrivas partition editor) is that it only seems to be able to put partitions at the beginning of the drive and it doesn't seem to be able to move partitions. e.g. if I want to create a new partition at the end for swap and leave some unallocated space in the middle for my future Ubuntu installation I am stuck. GParted allows me to create at the end or effectively move it by resizing the beginning and end of the partition.

DiskDrake allows me to create and edit LVM partitions.

Is there perhaps another partition editor that does both? Or maybe a development version of one that does it? Or some option I am missing?

View 2 Replies View Related

Debian :: Software To Create And Resize Custom Splash Images?

Feb 26, 2011

I'm looking for a software running under debian to create and resize custom splash images.
I know just GIMP, but maybe there is a special software.

View 1 Replies View Related

General :: Limit On File Size - Doesn't Allow User To Create File Which Are Greater Than 100Kb

Jun 13, 2011

I was just testing specifying limit on file size to a user and have added the following to /etc/security/limits.conf bob soft fsize 100 This basically should have said not to allow bob to create anyfile greater than 100Kb in size.

But the interesting thing is, if bob already has any file which is greater than 100Kb in size, it even doesn't allow to log him into the system both from console and SSH. Also nothing is logged in logs.. How do I configure it so that, bob can login to the system even though he has any file greater than 100Kb (but doesn't allow him to create file which are greater than 100Kb) ??

View 3 Replies View Related

General :: Vsftp Cannot Upload File / Error 553 Cannot Create The File

Jul 26, 2010

I am testing my ftp server configuration.Anonymous download works , however anonymous upload does not.I am getting the following error message from both Windows and Linux 5.4clients : 553 cannot create the file.And i am running Fedore 12.

View 3 Replies View Related

General :: Removing Blank Lines And Commentary From A Config File?

Aug 18, 2010

I am currently using a command like this to remove blank lines and lines which contain (not necessarily begin) with a #. Is there a better/simpler command?

cat /etc/apache2/default-server.conf | sed /^$/d | grep -v '#'

View 15 Replies View Related

General :: Create Device File For Image File?

Sep 8, 2010

Everything in Linux is a file, right? And everything can be represented by a file? Is there some way I could create a block device file that represents (i.e., provides an interface to) this image file? If so, then I could use fdisk on the device file to split it into partitions, format the partitions, and then mount them as directories. I could create a file system within a file system, which would be fun.

View 2 Replies View Related

General :: Can't Seem To Create A Dot File In /tmp

Mar 2, 2011

why I cant seem to create a dot file (a file that starts with a dot) in my /tmp folder even with root priviledges. I installed F-Prot for linux & when I try to do a scan it complains it "can't stat a file" it seems to want to create & quits. So I tried creating it my self but it wont create a file that starts with a dot it seems. I also tried "chmod go+rx /tmp/*"

This is the error

root@JASONS-BRAAIN:/opt/f-prot# /opt/f-prot/fpscan -l
F-PROT Antivirus version 6.3.3.5015 (built: 2009-12-23T13-43-55)
FRISK Software International (C) Copyright 1989-2009
Engine version: 4.5.1.85
Arguments: -l

[Code].....

View 3 Replies View Related

Debian Configuration :: 8.0 - Resize Tmp File Using Gparted

Jul 31, 2015

I'm trying to resize tmp file using gparted. So I used gparted live cd and then i resized the tmp file but delete the old /tmp partition without backup. Now, my pc do not start. I have Debian 8.

View 14 Replies View Related

General :: How To Using Redirection To Create A File

May 15, 2011

I have a linux script that generates a string and prints it to the console. I want this string to be the name of a file and open it for editing in vi. How can this be done?

View 3 Replies View Related

General :: Create A LiveDC From An ISO File?

Oct 4, 2010

How do I create a LiveCD from an ISO file?

View 2 Replies View Related

General :: Create .so File On Fedora 7?

Mar 26, 2010

I am working on JNI(Java Native Interface) on fedora 7 where i need to create a .so file of .c.(For example Hello.c to Hello.so). But i am not getting options to be used with the "cc" command. What option or the command.

View 6 Replies View Related

General :: Using Tar To Create Bzip File?

May 19, 2011

i'm trying to use tar to create a zip file but everytime I try using the command it just dumps out to the screen... I know i'm missing something simple but darned if I can figure out what it is. The command i'm using:tar -cpvz archive.bz2 /directory_name/*

View 5 Replies View Related

General :: Internally Create A File?

Jan 16, 2011

I am using NetBSD-5.1. 1. I wanted to know what happens internally when we create a file in linux. ?The header file STDIO.H present in "src/include/stdio.h" contains a "FILE" structure with various members like _p, _cookie, etc. 2. wanted to know how does internally memory gets allocated for them.

View 1 Replies View Related

Software :: Redirect Stdout To File Produces Blank File

Dec 27, 2008

I cannot redirect output from commands such as iptables, iptables-save, and ifconfig. For example, any of the following DOESN'T work ( as root ):

Code:
iptables > tmp
iptables-save > tmp
ifconfig > tmp
The file tmp is ALWAYS blank, that is, 0 bytes in size. Wackier things DO work, such as:

Code:
echo "`iptables-save`" > tmp
iptables-save | tee tmp
Other commands like:

Code:
ls > tmp
DO work as expected.

Note that this problem happens regardless if I log-in remotely via ssh or locally on the computer in question. I am clueless as to what is causing this. Any ideas?The box is running 2.6.25-14.fc9.i686 and boots to runlevel 3. The modifications I've made to the box since installing the OS are things like compiling/installing latest OpenSSH,OpenSSL,httpd,BerkeleyDB,subversion,zlib etc -- nothing really out of the ordinary I'd say.

View 5 Replies View Related

General :: Create Symlink For Every File Want To Include?

Jul 4, 2010

I have a CMS I have developed, which will run on several sites all hosted in sub directories on my dedicated server. I want to create symlinks for the main files of the CMS, including all config files, functions and admin sections. Then there will be a few files specific to each site.I read some tutorials on creating symlinks, although most are not very good in my opinion.

Do you have to create a symlink for every file I want to include? Or can I just create a symlink to a directory? For example:CMS is located at /www/cms/.Can I make www/domain1/ point to that directory, and if so, will all files include themselves correctly. I think I am a bit confused on how this works.

View 1 Replies View Related

General :: Create File With 751 Permissions At Creation

Apr 5, 2011

I keep creating practice perl scripts in a linux directory using vi <filename> and need to chmod 751 <filename> before I can run it as I wish to. I'm sure there is a simple way to default my permissions or config them at creation, but I'm not familiar with it ayuda me por favor.

View 2 Replies View Related

General :: Create Folder Name From The Text File?

Jun 23, 2010

1. I need guide on how to create a folder name from the text file with .txt format.

2. First, I call the function of reading the directory.

3. Then, I dont know how to do.

4. Finally, I close the directory

This is my source code in perl

## read text.txt file ##
open F, "from/$directory/text.txt";
read F, $buf, 9999;
close F;[/size]

This source code is used to print the folder with date format like "ddmm" d stands for day and m stands for month

if ($command =~ s/-O "(.*)"/-O "$websites/$month/$file"/)

Instead, I want to have the name from text.txt to be folder name

View 4 Replies View Related

General :: Create A Config File For Apache

Mar 31, 2011

Create a config file for Apache and this what I need to put and modify to meets my settings

NameVirtualHost *:9091
<VirtualHost *:9091>
DocumentRoot /var/www/trac/my_project
ServerName my_server_name

[Code].....

Do I simply add this within the /etc/httpd/conf/httpd.conf

if not how would I go about doing this

View 3 Replies View Related

General :: Create A Crontab That Renames A File?

Oct 8, 2010

I've tried to create a crontab that renames a fil extension every minute. This is what I've tried:*/1 * * * * / rename /home/bodil/Avräkningsfiler/'s/.txt/dat/' *.txtBut it doesn't seem to work.I've also tried to create a .sh file in the catalog itself with the command executing directly in the catalog but even though running the command by typing it in, it doesn't run automatically by cron

View 10 Replies View Related

General :: Create Directories From A File List?

Jun 30, 2011

I am trying to write a script to pick the directory name from a list of file. Here is a detailed picture.Have a file name LIST which contains the follwing for example/apps/oracle/product/test1/apps/oracle/product/test2/apps/oracle/product/test3I need a script that reads these line from LIST and creates foldersin /apps/oracle/product/test1/backup/date/test1 after reading the first line
/backup/date/test2 after readin the second line/backup/date/test3 and so on.

View 15 Replies View Related

General :: Create A Png Or Jpeg File Programmatically?

Oct 3, 2010

Given a matrix with 0,1 entries, how can I create a graphic in linux such that we have a black square or pixel if the entry is one and white otherwise?

For example, if the matrix is:

0001000
0011100
0111110
0000000

then I want a graphic that looks like:

[code]....

I will be working with many large matrices, e.g. 1000x1000, or 5000x1000 so I need to do this automatically.

View 6 Replies View Related

General :: How To Create A JFFS File System

Apr 13, 2010

I am a newbie at Linux. I have installed Redhat Enterprise Linux desktop 5.3 on my machine. I do not know how to create a JFFS file system on Linux

View 1 Replies View Related

General :: Create A MAKE File For Compiling?

Feb 24, 2011

I've gone through some online tutorial on how to create a MAKE file and actually I don't have a complete understanding of it specifically, linking the particular compiling program to a library and also creating a share/dynamic library.

View 4 Replies View Related

General :: Create A Password Protected Tar File?

Jun 8, 2010

how to create password protected tar file ?

View 3 Replies View Related

Programming :: Create A Simple Program With Will Continually Read Input From The User Until They Enter A Blank Line?

Apr 6, 2011

basically i have to create a simple program with will continually read input from the user until they enter a blank linei know how to read in certain input but not sure how to get it continually in a loop

View 2 Replies View Related

General :: Can Get Version Number Of Tar Used To Create Specific Tar File?

May 19, 2010

I need to know the version number of tar used to create a specific tar file. How can I do that?

View 1 Replies View Related

General :: Command Line - How To Create Multipart Rar File

Sep 4, 2010

How can I create multipart rar file in Linux using the official console rar client?RAR 3.90 Copyright (c) 1993-2009 Alexander Roshal 16 Aug 2009Shareware version Type RAR -? for helpI want a multipart rar with each part size being 150 MB.

View 1 Replies View Related

General :: Command Line - Create Multipart Tar File?

Oct 13, 2010

How to split a tar file into smaller parts at file boundaries?

How can I create a multipart tar file in Linux?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved