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


ADVERTISEMENT

General :: Installation - Create An Image File Of A Running System?

Dec 9, 2010

As I understand it creating an image of a Linux system makes an exact copy of the OS and any user files/configurations/programs etc. What i would love to do is create an image of my work PC and install it at home on my desktop. Can someone briefly explain the process of creating and installing images of Linux systems?

Home OS - windows Want - An image file that can be executed in a virtual machine(VMPlayer or VirtualBox) or booted directly on my home PC.

View 3 Replies View Related

Debian :: File Upload Using Firefox - Smaller Image File Is Previewed While Bigger Image File Is Not

Dec 16, 2015

I am trying to upload some pics on my Facebook account using Firefox. When I click on Facebook's file upload icon, Firefox bring up a 'File Upload' window. I noticed that smaller image file is previewed on the lower right hand corner, while bigger image file is not. Is there anyway I can change this behavior or maybe change what Firefox is using to browse my files?

View 2 Replies View Related

General :: Create A Growing Image For A Loopback Device

Aug 10, 2010

I was wondering if it is possible to create a growing image for a loopback device. Like a file that you create that will grow with the data that is placed on it instead of a file that has to be the size of the entire file system?

View 4 Replies View Related

General :: Overwriting The Middle Of A File From A Block Device *without* Truncating File?

Jan 15, 2010

I have a Linux (Kubuntu) system with a large (~20Gb) file which I would like to mess with. Specifically, I want to copy the entire contents of another large file (~12Gb) to the middle of this file, and keep the bits of the file which are not overwritten.This is what I want to happen, with the text between the pipes representing file contents:Before:

outfile: |abcdefghijklmnopqrstuvwxyz|
infile: |123456789|
After:

[code]....

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

CentOS 5 :: Create New RAM Image File To Get Server Load Raid1 Module Upon Start - Mkinited Error No Kernel Available For 'inited-2.6.18-128.el5"

Nov 12, 2009

I'm trying to create new RAM image file to get my server load raid1 module upon start, I was following redhat documentation & it suggested to use the following command mkinited --with=raid1 inited-raid1-$(uname -r).img $(uname -r) However after running this command I'm getting this message No Kernel available for 'inited-2.6.18-128.el5"

View 4 Replies View Related

General :: Ubuntu - Find The Device Node File For USB Device?

Aug 23, 2011

I've bought an X10 Home Automation USB interface: the CM15.

This is the information lsusb gives:

skerit@KIP-DU-SKER:~$ lsusb Bus 008 Device 002: ID 0bc7:0001 X10 Wireless Technology, Inc. ActiveHome (ACPI-compliant)

But this tells me nothing about where the device file is! How can I find that, or create one myself?

View 1 Replies View Related

Ubuntu :: Create Iso Image Of Dvds - Dd Function - Error "No Such File Or Directory"

May 29, 2011

I just would like to create am iso image of some dvds I have. I thought it would be best to use dd command, see sample below;

admin@unixbox:$ ls -l /dev/dvd
lrwxrwxrwx 1 root root 3 2011-05-29 21:53 /dev/dvd -> sr0
dd if=/dev/sr0 of=/home/videos/dvd.iso bs=2048 conv=sync,notrunc

however i get an error message "No such file or directory" and I am not sure of the reason why.... Can anyone assist me to understand why?

View 1 Replies View Related

General :: Create A File And Delete A File Using "-" Symbol

Apr 10, 2011

How would you create and then delete a file that begins with the symbol "-"? Try it.

I can't write the command for this question and I don't why.

View 3 Replies View Related

Ubuntu :: Unable To Create Trashing Info File: Read-only File System

Jul 21, 2010

I plugged in my USb drive into my computer yesterday and tried to delete a folder. I was unable to do so and got the following message

Cannot move file to trash, do you want to delete immediately? The file "my file" cannot be moved to the trash. Show Details Unable to create trashing info file: Read-only file system

So when I click on delete I get another error message:

Error while deleting.
There was an error deleting Case Study Database. Show Details Error removing file: Read-only file system

At this point I can only click on Skip, Skip All, or Cancel.

I have not changed anything on the stick recently so I dont know what is causing the problem.

View 7 Replies View Related

Ubuntu :: Is There Any Program / Script That Can Create Torrent File For Each File In Directory?

Apr 14, 2010

Is there any program/script that can create a torrent file for each file in a directory? I have been looking all over but can't seem to find anything of the sort. I have 700+ files I REALLY don't want to make my self.

View 1 Replies View Related

Ubuntu :: Logon Script - Create A File (if It Doesn't Already Exist) And Checks The File For Some Info

May 24, 2010

I want to create a logon script (or somesuch) that creates a file (if it doesn't already exist) and checks the file for some info otherwise. If it finds a given trigger in that file, it logs into a local database and does some operations.

Now my problem isn't with creating that file or even getting it to function as a logon script -- it's with permissions. After the logon script creates the file, I want that user to have read access on it ONLY. Further, I don't want to give the user any kind of root access so that they could do the database operations in question or chown/chmod the file.

What's the best practice here? I'm noticing that whenever the script runs (in .bashrc right now) the script runs with the current user's permissions. Ideally, I'd like to make it so the login script can run at a higher level of permissions, (higher than the user has). Is this even possible? What's the best way to do this?

View 1 Replies View Related

General :: How To View Image File

Jul 16, 2010

I am working on a linux cluster based on Scientific Linux 5. I have some images in .bmp format. How can i view them from the command line or without downloading to desktop? At present I am connecting from Win7 using Exceed.

View 4 Replies View Related

General :: Get Installalabe OS Image From .iso File?

Aug 2, 2011

I followed the steps provided in the below link which will help me to convert from ISO to image. [URL] After it finished the setup it launched the VNC viewer and stated showing the booted messages and in that I could login to the OS as well (but when I do ifconfig it was showing 127.0.0.1 only though I had configured to virbr0). I copied the image from /var/lib/libvirt/images/ttylinux.img to Opennebula controller(Virtual machine tool kit).

I deployed using Opennebula , but I cloudnt not do SSH to that so I tried with VNC viewer by connecting the running VM , in the viewer shows that Booting from hard disk Boot failed : not a bootable disk No bootable device. How to copy the proper image ..? even I had tried clone the image thorugh virt-manager but same problem .

View 1 Replies View Related

Debian :: NTFS Backup - Create Ever Expanding (to 320Gb) TAR File That Will Retain All Original File Permissions

Sep 20, 2015

I want to back up an entire Linux system on a 3Tb external Western DIgital USB3 drive.

I do not want to reformat it from what it is, apparemtly NTFS.

Is there a utility that can act like a file manager like mc, that will permit me to create an ever expanding (to 320Gb) TAR file that will retain all the original file permissions. I have had nothing but disappointment with Linux backup utils with a FAT32 external drive, and I am concerned if I just try an tar the entire drive at once, with around 3 million files, I might run out of memory.

View 5 Replies View Related

Fedora :: Cannot Create Regular File Read Only File System?

Jun 16, 2009

All my torrents go to my home/username/Download/ folder, I could read/write yesterday but now I cant even copy the files to a flash drive.The error i get is "Cannot create regular file '/home/username/Download/file' : Read only file system.

View 14 Replies View Related

General :: Cron Job - Display A Jpg Image File?

Jul 25, 2009

I am a windows user and am trying to display a jpg image file on linux every x hours.In Windows, if I were to perform the same task, I would just give out the path to schtasks.exe and it would open the image in the default viewer,is the case same with linux as well? Do I just execute:

crontab now + 1 hour abc.jpg ? The linux is OpenSuse or Debian I guess.

View 2 Replies View Related

General :: Command To Use To Explore Iso Image File?

Nov 1, 2010

I have used to knoppix to grab an image off a pc to my external hard drive.I then used the command dd if=/sdc1/backup.iso of sda2 bs=4096 conv=notrunc,noerror to another pc I was cloning.This process failed and the hard drive was not seen after that even using fstab.Is there any way I can verify if the iso image i grabbed is good.What command can i use to explore this iso image?

View 3 Replies View Related

General :: How To Get Kernel Version From Image File?

Mar 25, 2011

I know that it is possible to get the kernel version from a running system using "uname" command.I have a kernel image file in linux/arch/arm/boot/uImage.Is it possible to get similar information from this image file? and how?

View 6 Replies View Related

General :: The Background Image Are Not Displayed In A Php File

Apr 26, 2011

I'm programming an web system using LAMP, currently I'm using Ubuntu 10.04, so, when I load the index page the background image is not displayed, it looks like a permission file issue - I guess-, so currently all images have this permissions:

Code:
-rw-r--r--
and the permissions for the php files are:

Code:
-rwxr-xr-x

what permissions should I set to display the background image?

View 1 Replies View Related

Ubuntu / Apple :: Failed To Create File '/root/.local/share/recently-used.xbel.AC7YXV': No Such File Or Directory

Jun 22, 2011

I have iMac 2.4GHz with rEFIT installed. I installed Unity on one of the partition. Kernel is still 2.6.38.8. I am getting error message when I run the command
sudo gedit /etc/x11/xorg.conf

The error message is

(gedit:2139): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.AC7YXV': No such file or directory

(gedit:2139): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory

View 3 Replies View Related

Programming :: Create A Duplicate File Of A Text File In PHP?

Nov 11, 2010

What I plan to do is, create a duplicate file of a text file, and then append some text into the new text file.

View 1 Replies View Related

General :: Obtain The Raw Image From A Norton Ghost File?

May 19, 2010

I have a Norton Ghost .gho file, and basicly I want to extract the raw image out of this, for example to use with with tools like dd. (So using any symantec/windows tools is not an option). Is there any open source tool which can deal with these .gho files ?

(Note: the.gho file I'm using is a sector based one, and not a file-based one, which implies that things such as Ghost explorer won't work either (see this page)

View 1 Replies View Related

General :: Windows - Creating Compressed Iso Image File?

May 17, 2011

I want to create a compressed ISO image file and mount that file to one of the virtual drives and access the content (read-only) without worrying about manual decompression/extraction.For Windows and Linux (Ubuntu) OSes.

View 1 Replies View Related

General :: C - Mount NTFS Partition Image From File?

May 31, 2011

i need to mount at least for read access NTFS-based partition image on linux from a file. File is binary copy of a partition. Is there any libraries or resources for this?

View 1 Replies View Related

General :: How To Read NTFS Image File In Windows

Sep 26, 2010

I just created a NTFS image file using the following steps:

After this i want to access the contents of this image file in windows. How to do that ?

View 4 Replies View Related

General :: Boot From Disk Image File From Windows?

Mar 24, 2010

Is it possible to boot from a disk image file(containing linux) file that resides inside windows and add a bootloader entry for booting from the disk image.?

View 2 Replies View Related

General :: Change Image Of An Executable File From Commandline.

Feb 15, 2011

I want to change the icon image of the executable files from command line.

View 3 Replies View Related







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