General :: Make A Mountable Image Of Directories?

Sep 22, 2010

I have a couple of directories that I want to turn into an image. For example:

Quote:

/usr/dir1
/usr/dir2

I want to end up with two imgs (dir1.img and dir2.img). I wanna be able to type in:

Quote:

mkdir /usr/dir1
mount dir1.img /usr/dir1

How can I do that? If I can't use mount than what should I use?

View 3 Replies


ADVERTISEMENT

General :: Make A List Of Directories And Files?

Jun 3, 2011

My system is centos 5.5, and I need nobody:nobody's directories and files under data.

There is a directory named "data, and this directory has so many directories and files generated by web program. Most of them is nobody:nobody.

I want to to make a list of these nobody:nobody directories ans files.

Is it possible to make a list of these directories and files?

View 1 Replies View Related

General :: Make All Files Non-executable Recursively Using Find Without Affecting Directories?

Sep 26, 2010

I need to strip the executable flag from all files within a certain directory and sub directories. Right now I'm doing it with a 2 step process

find /dir/ -type f -exec chmod ugo-x {} ;
find /dir/ -type d -exec chmod ugo+rx {} ;

Is it possible to modify the first line so that I can strip exec flag from all non-directory files? Since this needs to be done on a fairly regular basis across a lot of directories and files, I'd prefer not to use a bash script which would slow it down.

View 1 Replies View Related

General :: Best To Make A Image Of Backup?

Mar 3, 2010

What is best to make a image or a backup.
Whit what for program.
By a image form what partion do i have to make a image.
By backup what directory to backup.

so that when by linux is corrupt i can do a reinstall.

View 7 Replies View Related

General :: How To Make CD Image From Installed OS

Dec 23, 2010

I have recently upgraded RHEL 4.8 to RHEL 4.9 Beta.Since 4.9 ISO are unavailable and has to be fetched through update from RHEL 4.8.Can I anyhow create ISO of RHEL 4.9 Beta?Why Beta..becoz my team test pre-releases too.

View 1 Replies View Related

General :: Make A Floppy Image And Overwrite The MBR?

Aug 15, 2011

I am trying to make a floppy image with a working file system so that I can test a 2 stage boot loader. When I attempt to mount the floppy and then cp the second binary over to it, mount gets all unhappy. Here are the steps I am trying to use:

dd if=/dev/zero of=floppy.img bs=512 count=2948
mkfs.vfat floppy.img
dd if=boot1.bin of=floppy.img bs=512 count=1

[Code]....

View 2 Replies View Related

General :: Program To Make Image Of Partition

Mar 1, 2010

What is good program and that is easy to use to make a image of a linux partition

View 3 Replies View Related

General :: Extract Cloned Image From Hdd Make Live-cd

Dec 22, 2010

I recently used clonezilla to make a backup image of hdd, before doing factory restore, now the image is of not necessary as I can image the restored computer (Acer Aspire 3620).Is it possible to extract image to blu-ray and make bootable as in live-cd?

View 8 Replies View Related

General :: Create A Filesystem Mountable By Windows?

Mar 5, 2010

I have attached an external USB disk to my debian gnu/linux system. The disk showed up as device /dev/sdc, and I prepared it like this:created a single partition withfdisk /dev/sdc (and some more commands in the interactive session that follows)formatted the partition withmkfs.msdos /dev/sdc1If I then attach the USB disk to a Windows XP or Vista system, then no new drive becomes available. The disk and its partition show up fine in the disk managment tool under "computer management", but apparently the file system in the partition is not recognized.How do I create a FAT32 file system which can actually be used in windows?edit:I've given up on this and went with a NTFS file system created by windows. In debian lenny this can be mounted read-write but apparently it requires you to install the "ntfs-3g" package and explicitly pass the -t ntfs-3g option to the mount command.

View 2 Replies View Related

General :: Why Are File Systems Mountable And Unmountable

Oct 5, 2010

I'm familiar with the software and hierarchy of the mount command but I can't find any info on why it is needed or preferred. What are the physical aspects of it? What is the burden of having files accessible all the time?

View 14 Replies View Related

General :: Possible Too Use DD Command To Make Image File Of Blackberry 8330?

Feb 26, 2010

i was wondering if it is possible too use the DD command to make an image file of my blackberry 8330?i need it of the onboard memory and not the external memory card.

View 1 Replies View Related

General :: Best Script To Have Rsync Make Image File Of Hard Drive

May 9, 2011

I have never used rsync before, only DD. But from what I have been reading, rsync is better becasue it will basically mirror your hard drive, thus being able to run the cloned software from the new hard drive. My problem is I do not know what is the best commands or even the basic commands to use in rsync. I am trying to make an image from a external hard drive to a usb drive. That way my chances of messing up he original software is not as risky becasue I'll just restore the image onto another hard drive. Does anyone know the best script to have rsync make an image file of a hard drive and place it on a usb drive and then restore it?

View 8 Replies View Related

General :: Create A Backup Directory And 3 Directories Within That And Some Files Within The 3 Directories And Then Back Them Up Ot Restore Them?

Dec 19, 2009

i am in need of linux help. iam at college and i need this back/restore script to pass this final part of an assessment. i require a backup script that will not only backup but also restore files to the relevent directories. e.g. users are instructed to store all wordprocessor files in a directory named wp. so i am needing to create a backup directory and 3 directories within that and some files within the 3 directories and then back them up ot restore them. l know i should/have to do this myself by been trying to get/understand info for the last few days and came up with zero.

View 14 Replies View Related

General :: Multiple Users To Create Directories Over SFTP So The New Directories Keep The Same Permissions?

May 15, 2011

I want to make a webserver with multiple users allowed to login through SFTP to a specific folder, www.Multiple users are added, lets say user1 and user2, and all of them belonging to the www-data group. The www directory has an owner www-data and a group www-data.

I have used chmod -R 775 on the www folder, but after I try to create a folder test through my SFTP server (using Filezilla) the group of the directory created has only r and x permissions, and I am not able to log in with the second user user2 and create a directory within www/test due to a lack of w permission to the group.

I also tried using chmod 2775 on www directory, but without luck. Can somebody explain to me, how can I make it so that a newly created directory inherits the root directory group permissions?

View 2 Replies View Related

General :: How To Store Files / Directories In Different Different Directories?

Mar 23, 2011

I am writing a script, in that my requirement is, if all the fill types stored in one directory from that we need to separate different different directories based on the file types.

for example in a directory(anish). 5 different types files
1- directory
2- .txt files
2- .sh files

like that and my requirement is the (1- directory is moved to one new directory(dir) which we are given in the script)and (2 .txt files are moved to another new directory(test) which we are given in the script)and ( 2 .sh files are moved to another new directory(bash) which we are given in the scrip)finally the directory anish should be empty..using bash script.how it is possible !!

View 7 Replies View Related

Software :: Make Different Directories For Datatype

May 17, 2010

I'm trying to create a script that will:

1. Make different directories for a datatype.
2. Then create an HTML page for that specific datatype. So that users can access that data for that datatype.

Here is the script for the first part:

[code]....

View 2 Replies View Related

Ubuntu :: Make Blahblah.conf File In One Directories?

Jun 28, 2011

I need to create a startup file. As far as I've been able to find out the best locations to do this are the /etc/init and /etc/init.d directories. Two questions about that:

1) Can I just make blahblah.conf file in one of these directories and then it will be automatically read at boot-time or do I need to create a line that directs to the right file and location in again some other file?

2) Does it matter which of the directories (init of init.d) directories I use, ie., what's the difference?

View 5 Replies View Related

Programming :: Make List Of Directories Which Contain Files Other Than Subdirs?

Oct 17, 2009

I need to, through a bash script, go through a given directory (given as argument 1) to list out the relative path in this directory (including $1) for eact subdirectory which contains files. Directories which only contain . .. and eventually only subdirectories SHALL NOT be listed. It is this last requirement that makes it difficult for me.

I have been using the tree command for now, but I have not found a way to ignore paths to directories which only contains other subdirs or nothing at all in any easy way. I may offcourse test each directory after they are listed but this gives an extra loop to go through and I beleive it should be possible to do it directly when creatring the list. I guess by using find or ls in conjuntion with the tree command or by itself it should be possible but I am not to conversant of nested script commands.

View 9 Replies View Related

Debian :: Make Nautilus Show Directories In Text Form?

Jun 1, 2010

When I try to view my home folder (for instance), I press the icon on the left of my name (/home/...) and it doesn't do what I accustomed to which is to show the text form of the directory. Is this a bug or am I missing something?

View 8 Replies View Related

OpenSUSE :: Create Saome Variables To Make Shortcut To Some Directories?

May 25, 2010

Here is the issue:I create saome variables to make shortcut to some directories I go frequently (so, I then I type, e.g. cd $P_DIR). Of Course before that I put a valid value into P_DIR variabe.Also, alias, asalias cls=clearSo, I type cls, and is the same as the commando clear (but shorter)What I want to do is that those variables as aliases stay in the computer when I reboot or turn off and turn on.So, I put "somewhere" (this is the place(s) maybe one for variables, and other for aliases, turn of the computer, and when I turn on, the aliases and variables are still there

View 9 Replies View Related

General :: Error - "no Mountable File Systems"

Jun 11, 2010

I downloaded and burned Mandriva one to a cd. When I tried to open the cd on an old-ish Mac PowerPC I received a message saying "no mountable file systems". Is there a way to get around this problem?

View 4 Replies View Related

Fedora :: Make An ISO Image Of 8 System?

Mar 22, 2011

how can I make an ISO image of my current Fedora (8) system? I need it in order to create a virtual machine with it.

View 3 Replies View Related

OpenSUSE :: How To Make ISO Image From Distro?

Apr 17, 2011

i am a new user on opensuse 11.4, i want to make an iso image from my current distro without my personal data,to share it with my Friends,just like "remastersys" program on Ubuntu,how can i do this? but please use a simple Language,because i am a Arabic user and i do not speak English very well.

View 9 Replies View Related

Ubuntu :: How To Make An Image Transparent!

May 21, 2010

I am trying to add border to the 1.jpg. It is the map that I want to add the first image.

how to make map transparent, so I can overlap them.

View 2 Replies View Related

Hardware :: CD-ROM Not Mountable In XFCE4?

May 6, 2011

After I upgraded from Lenny to Squeeze, Thunar (in Xfce4) can't seem to detect when a CD is placed in the CD-ROM drive. When I put a USB in the USB port, Thunar adds an icon to the desktop, but with data CDs this isn't happening, and I must mount them from the terminal. However, CDs made from an ISO, for example, my Debian install CD, are detected and appear on the desktop.

View 1 Replies View Related

Slackware :: USB Devices Not Mountable From Kde?

Dec 17, 2010

i booted up this morning and got a surprise. when i plug in a usb drive normally, it pops up in the k message box, and i can choose too mount it. then it mounts no problem.

when i turned on the computer today, however, i plugged in my usb drive, and clicked to mount it, and lo and behold, i got a strange message:
'Could not mount the following device: USB 8GB'

when i choose more information, i get this:

Code:

org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 1 matched rules; type="method_call", sender=":1.12" (uid=8691 pid=2415 comm="kdeinit4: plasma-desktop [kdeinit]) interface="org.freedesktop.Hal.Device.Volume" member="Mount" error name="(unset)" requested_reply=0 destination="org.freedesktop.Hal" (uid=0 pid=1887 comm="/usr/sbin/hald))

im not entirely sure what this means. i can mount the drive manually through the terminal if it's running as root, but thats not a particularly practical way to do things, as i am a student and often have to switch USB drives and ipods many times a day.

View 7 Replies View Related

Debian :: Make An Image Of Configuration For Install From It?

Aug 27, 2010

I configure my system in a long time and now I have a suitable system! But I install all directories in one partition and now I like install again, but I need make an image of my configuration for install from it and after install I don't spend time for again configuration.

View 2 Replies View Related

OpenSUSE :: Can't Make Conky To Display Any Image

Jun 6, 2010

Recently I succesfully installed conky. I managed to get a lot of things work with more or less effort but I can't make conky to display any image.Images path and permissions had been checked. Imlib2 support too but conky won't display a thing.

View 4 Replies View Related

OpenSUSE :: [mkisofs] Make An Image Bootable?

Jun 29, 2010

I have an image with a autorun.inf file on it and wanted to make it bootable on a simple cd (700Mb). Untill now I tried and failed to make it bootable. The image is on the cd but the cd won't boot.I tried also under windows (with n?r0) and failed again... no way to boot on this cd with the image I created.I need more informations or how toes ^^ to use the "El-Torito" features for the mkisofs utility that I use to create my .iso files

View 3 Replies View Related

Ubuntu Installation :: Make A Disk Image?

Oct 27, 2010

I need to make a disk image of Jaunty. Something like Acronis True Image or Norton Ghost in the Windows contingence. I have tried Remastersys and Ghost 4 Linux. The former simply created an ISO file, which is 1/10th of the size of my hard drive and I do not know how to restore my computer using the ISO. The latter seems to be stuck at 0% even after leaving my PC on for 4 hours and verifying that all the settings are correct.

View 3 Replies View Related







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