General :: Share One Disk Image To Some Target Points?
Jan 12, 2010
I try to mount one disk image to two points.
sudo mount -o loop,user,uid=dm /home/dm/mmm/test_drive1.img /home/dm/mmm/fs
sudo mount -o loop,user,uid=dm /home/dm/mmm/test_drive1.img /home/dm/mmm/fs2
Thats done
But when i create,copy or change anything on one mount point (../fs) its not updates on second mount point (../fs2).
Does anyone know way to 'share' one disk image (.img) to some mount points?
View 3 Replies
ADVERTISEMENT
Jul 29, 2010
Since I installed 11.3 I have noticed the /srv and /local mount points are empty! I also can no longer see my hard drives that have no mount points. I couldn't mount any hot plug media either but now have that fixed. I won't go into the mess I have with my video card and getting the x server started....
I did have Xampp installed to /srv/www but don't even know where it is now!
fdisk -l
Disk /dev/sda: 36.4 GB, 36401479680 bytes
255 heads, 63 sectors/track, 4425 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
[Code]....
I had no problems with this in 11.1 until a month ago when I updated and it seemed to keep losing the permissions for these drives as once I accessed them via Dolphin they would be accessible. Now they are not even visible in a file manager!
View 2 Replies
View Related
Feb 25, 2011
I am not sure if this is the right forum but it does not really fit anywhere else. I have updated from opensuse 11.3 to 11.4 RC1. After the update, few new things appear when I use df -ah
Filesystem Size Used Avail Use% Mounted on
rootfs 11G 8.4G 1.2G 88% /
devtmpfs 996M 188K 996M 1% /dev
tmpfs 1002M 680K 1001M 1% /dev/shm
devpts 0 0 0 - /dev/pts
[Code]...
View 4 Replies
View Related
Feb 16, 2010
I wish to use my laptop to create a system for my Soekris 4801. I don't want to take the server down for the lengthy install ( took 6 hours last time, Fedora 5 ). I want to create the image on a USB drive for the 586 Soekris server on my 686 HP laptop. Then scp the image to the Soekris and reboot and configure the server.
View 3 Replies
View Related
Jul 12, 2010
I have a dual CPU Xeon machine that I have been using various versions of fedora on for years.
The machine has the following disk layout:
I currently have Fedora 10 and grub installed on hda and I had to jump through hoops to install such as disabling the promise controller and reassigning drives because that blasted /dev/mapper kept grabbing the Maxtor ATA drives although I didn't want it to.
Anyway, in the BIOS I can boot from the secondary IDE controller so I want to install Fedora 13 on hdb. Problem is, the Fedora installer won't detect the drive.
Its partition table is as follows:
There is approximately 69GB of free space on this disk but the blasted python based installer wont show the disk as a possible installation location. If I exit to a bash shell I see that the device nodes do exist and I can manually mount and manipulate the disk but the installer is brain dead where the disk is concerned.
I will mention that sdc, sdi, and sdj are used with mdadm to create high performance striped volumes. Also, sdc shows up under /dev/mapper and I don't want to use /dev/mapper at all. I want simple /dev/sd? mount points...no stinking /dev/mapper, and no stinkin volume manager wrappers...
Why I cannot get the installer to use /dev/sdb?
Is there a disk signature on /dev/hd[bc] that is causing them to be grabbed by /dev/mapper, and if so, how would I remove that signature from the drive? /dev/mapper is vacant under Fedora 10.
View 2 Replies
View Related
Feb 2, 2010
Sorry I am not a linux user at all. I have a linux image that needs to be installed. I have the image on a USB drive. Not really sure what I should be doing, but local disk seemed to make sense, however, when I select the usb drive I get an error, that the image can not be found
View 2 Replies
View Related
Dec 27, 2010
I have a large qcow2 formatted disk image, which I use as storage. Often I need to move data to and from this disk image. I mount the disk using the qemu-nbd tool as follows:
modprobe nbd max_part=63
qemu-nbd -c /dev/nbd0 /host/disk100G.img
mount /dev/nbd0p1 /home/rup/disk
But disk access fails every now and then in the midst of some I/O operation with an "Input/output error". At that point I have to manually unmount the disk and re-mount it so that I can run the program again:qemu-nbd -d /dev/nbd0umount joborkhaki/What could be the reason for this? Is there a better tool that I can use to maintain a qcow2 disk image?
View 1 Replies
View Related
Jul 28, 2010
I am new to the Linux world and I am not sure if what I am trying to do is achievable or not. I am trying to make an image of my existing drives running Linux on a USB and I want to use the same image off the USB to clone more bootable hard drives. Something like what Ghost does in windows. The problem is using 'dd' the image is too big ( I have 1tb drives ) and then I am not sure how to convert these images back on to new drives so that they boot in the OS as well. i am not sure if there is a utility that would let you do that?
View 2 Replies
View Related
Apr 5, 2010
I want diskboot.img for fedora 12. How to get it.
View 1 Replies
View Related
May 17, 2010
How to boot an iso image from hard disk. I have created a linux live cd with remastersys. I want to test it. So I want to boot it from my hard disk.
View 3 Replies
View Related
Apr 6, 2010
How do I create/boot a ram image from a disk? I'd like to create a linux installation that is booted from a USB or CF drive and after boot does not access the disk.
View 4 Replies
View Related
Apr 6, 2010
If you have a hard disk image (including partition table, multiple partitions,...), is it possible to let Linux treat it as a regular hard disk?
By "regular hard disk" I mean I would like to have the image show up as, for instance, /dev/hdx and its partitions as /dev/hdx1,...
(I know I can mount one of the partitions in the image using "mount -o loop,offset=x ..." but I don't really like this option.)
View 2 Replies
View Related
Nov 16, 2010
I downloaded an raw SD card image that has two partitions. It caused some file system errors when I tried to dd it directly into an SD card. I am not sure if the card is defective or the image. Is there a way to examine this image without writing it to a physical card? Like trying to mount the partitions separately or checking the tables?
View 2 Replies
View Related
Jan 6, 2011
I recently installed Linux to run a few Linux based tools on a disk images I have, and I can't seem to copy the disk image over to my ext3 partition.
The particular distibution I'm using is BackTrack 4 r2, which is Ubuntu based. I can't seem to find specifically which version of Ubuntu is being used. The disk image is 108GB. It is currently located on a NTFS partition on a SATA hard drive connected directly to the computer. The ext3 partition is located on a second SATA hard drive connected to the same computer. It has 200GB total. I do not remember exactly how much free space it had but "df -h" showed a lot more than 108GB. The computer has 4GB of RAM and I gave it 8GB of swap space.
At this point it has been running for more than 12 hours. This is far longer than I would expect it to take had I been copying the file under Windows. How ever I do not have much experience with Linux, so if it's supose to take this long please let me know. I am planning on letting it run until I wake up tomorrow.
"cp -v" hasn't been very verbose at all. The only sign I have that indicates the computer is still trying to do something is the HDD light on my chasis that has stayed lit this whole time.
View 4 Replies
View Related
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
Mar 9, 2010
I deleted some files on the command line and would like to learn if it's possible to recover them. It's not a terrible thing if they are gone, but I want to see what I can do. The server is configured as a hardware RAID5+1 (ext3, Debian Stable) and I *really* don't want to take a dd of the entire disk.
ls -id gets me the inode value of the directory(155655)
I'd like to create a disk image starting at that specific inode. Then there is the issue of picking an outer boundary of the disk image. I'm hoping there's a dd/ext3 genius out there to advise.
View 1 Replies
View Related
Nov 15, 2010
Suppose I have a 80 GB hard disk (sda) with 4GB of contents. Using a dd to copy to a different disk
Code:
dd if=/dev/sda of=/dev/sdb
copies all the contents (including free space). So sdb also needs to be 80GB.
You will notice that in VMWare or VirtualBox disk images, it is possible to set the disk to use only the amount of space of actual data. So a 80GB virtualbox/vmware image with 4GB of contents will be 4GB.
Is it possible to do that with an actual hard disk (sda) image? I want to create an image of an actual hard disk, copy it to DVD and transport it (in mail) for restoration on another computer (having same hard disk).
View 6 Replies
View Related
Mar 17, 2010
Let's say I'm using one of those PCs that uses a SSD flash drive in place of a more regular HDD.
Say I burn my favorite .iso distro and install it on this PC. I install my favorite applications and seek out and install any missing drivers and generally tweak the system like you do. When I am finally happy with it, I make an image of this installation to an external USB drive.
Now, say 9 months later some of those SSD blocks have gone bad because they were erased too often. They're no longer usable. Also, because I'm a sloppy person who can't be bothered to delete redundant stuff and run make-cleans and so forth, the disk is getting pretty cluttered and takes longer and longer to do stuff.
I decide the obvious solution is to remove and save any data I need to keep, then just over-write the disk with the image I made 9 months earlier.
The question is: will the firmware be smart enough to re-map my incoming image to avoid these bad blocks on the SSD? Or am I going to wind up with some parts of the image being located on bad areas of the SSD?
View 2 Replies
View Related
Aug 2, 2010
I am having a rather strange issue. I have windows 98 installed into a disk image that I use bochs to boot it with. I want to transfer some files to the image but now I am unable to mount it. I will attach the drive to the loopback device but when I go to mount I get wrong fs type bad option ... etc.
The command I used to mount was
Code:
#mount -t vfat /dev/loop0 /media/loopdisk
cfdisk shows it ok as does fdisk. shows as a fat16 file system. When I attempt to check it for errors using fsck.msdos I get
Code:
# dosfsck 3.0.6 04 Oct 2009, FAT32, LFN
# Logical sector size (64543) is not a multiple of the physical sector size.
When I boot into windows 98 in bochs and check the disk it tells me there is no problems.
View 3 Replies
View Related
Jun 13, 2011
At the Get Slackware page at the Slackware website it gives a list of addresses which when I click one of the addresses it redirects to another page with a list of mirror images. Which address and which mirror image do I need to work with Kubuntu 11.04 on my netbook so I can create a USB startup disk? With my connection speed these mirror image downloads take about an hour and a half and I cannot just be guessing which mirror image to download.
View 8 Replies
View Related
Aug 6, 2009
I need little help on live disk creation and disk image backup.
Can I create live disk using my hard drive installation? If yes then, can I restore the fedora from the live disk to the hard drive. I mean to say that from that live disk can I install fedora again in my hard drive.
Second question is, if I create the disk image of my hard drive( including ntfs & FAT32 partition) , can I restore it in a blank drive. If so , then can os will be restored also?
View 7 Replies
View Related
Jul 31, 2010
I have a bunch of disk images, made with ddrescue, on an EXT partition, and I want to reduce their size without losing data, while still being mountable. How can I fill the empty space in the image's filesystem with zeros, and then convert the file into a sparse file so this empty space is not actually stored on disk?
For example:
> du -s --si --apparent-size Jimage.image
120G Jimage.image
> du -s --si Jimage.image
121G Jimage.image
This actually only has 50G of real data on it, though, so the second measurement should be much smaller.
This supposedly will fill empty space with zeros: cat /dev/zero > zero.file rm zero.file But if sparse files are handled transparently, it might actually create a sparse file without writing anything to the virtual disk, ironically preventing me from turning the virtual disk image into a sparse file itself. :) Does it? Note: For some reason, sudo dd if=/dev/zero of=./zero.file works when cat does not on a mounted disk image.
View 4 Replies
View Related
Feb 7, 2010
I know there are many threads about recovering damaged superblocks. I've spent 3 evenings reading them and trying what they suggest. Invariably the commands do nothing except to report bad or missing superblocks. I've removed the physical disk from the machine and am working with a dd image file (/mnt/image). I can mount what used to be hdc1 and read its files with no problem. I'm trying to recover partions hdc6 and hdc7.$ mmls /mnt/image -b
DOS Partition Table
Offset Sector: 0
Units are in 512-byte sectors
[code]....
View 1 Replies
View Related
Mar 25, 2010
I wanna know how to boot a xen from grub2 ? and is there a way to boot a domU also from the grub (if it is installed in a disk image ex :- disk.img)
View 1 Replies
View Related
Oct 25, 2010
we have a Win NT4 system used for an important application used at two places. At one place it has gone bad. I want to create an image from good system and restore it at the second location. Is it possible to do this using "clonwzilla live cd"? Does it harm the good system? Can I save the created image to an USB drive?
View 3 Replies
View Related
May 8, 2009
I want to run ISCSI target on CentOS. Both "scsi-target-utils" and "iscsi-target" can be used.
They seem to have the same function.
Is there any significant difference between them, on performance or stability?
View 4 Replies
View Related
May 22, 2011
I created a VM disk image with kvm-img, but I forget what was the max size of that disk image when I created it. Currently, its size is 6.2G, I want to install some large packages in that VM, so I want to make sure the disk image can expand to an adequate size.
View 1 Replies
View Related
Mar 4, 2011
i am trying to create an image of Slackware OS but vmware is not able to detect the disk. it gives me below error, "Unable to detect disks or volumes on the source machine. Make sure that the source is a supported linux distribution." can some one tell me what do i need to do to create the image.
View 2 Replies
View Related
Dec 9, 2010
i created a db_dump from PostgreSql-8.2 and trying to dump it into PostgreSql-8.4 new install. 2 of the 3 databases are fine, except for minor issues, but the 3rd database is giving me the following error message when i start a service calling on it, assist: "database disk image is malformed"
View 1 Replies
View Related
Mar 13, 2010
I have a 8GB SD card formatted as FAT32. I would like to move this disc image onto it. If there were a way to compress this, that would be great. Or, if I could reformat the card so that it could handle files larger than 4 GB, that would be great too. But I don't know how to do either one of these. Also, when I try to mount to the iso, it fails. Attempting with Archive Manager, it says "CD-ROM is NOT in ISO 9660 format".
View 1 Replies
View Related