I have a HDD that I was using as temporary storage (ext4) though I knew it was close to failing. Upon retrieval of the data, I found some of it was corrupted.
I unmounted and ran gddrescue on the whole device (/dev/sdd) using this command:
The image took ~24 hours to complete, and I can mount it using:
Of course, some of the files are still slightly corrupted, so I would like to fsck on the image to try and correct anything that can be. However, when trying this on the image, I get:
Here are some other interesting pieces of info:
gpart finds no useful info it seems, and trying to fsck using the -b option and the backups suggested by mke2fs results in the message above or (using a very high block):
As I said, the image can be mounted and the filesystem accessed. Many of the files seem ok and can be directly copied off of the mount, but I'd like see if some can be recovered or at the very least copy everything off the image, skipping the corrupted files (perhaps with a log of those skipped).
None of the data is critical and will be ok if lost, but I'd still like to try recovering it just as a proof of concept. The original disk can still be used (very slowly), but I'd rather recover the data only using the image if possible.
I have a vfat partition under RedHat RHEL5 that I currently must mount manualy after each boot. I would like it to auto-mount but I cannot find a way to do this without it becoming ro except for root. My other partitions auto-mount just fine. I have tried the vfat as a separate partition and as a VLM logical drive (as it currently is).
is what I use for other VLM partitions, but for the vfat it seems to only allow root access. Manually mount this partition is OK, it's just that I have sometimes forgotten and then it is not included in backups. What do I need to do to make the vfat auto-mount as accessible for a user?
Found a raw device for my card when reading through the /proc/partition list but got a "no device" message when mounting the card - mount -t vfat /dev/sda1 /var/card though there is sda in the list.How to know if sda1 exists?
Does anyone know if there's a way to create an ext4 image on top of a vfat volume? I know how to create a disk image file and mount it on the loopback device, but a vfat volume allows a max file size of 4 GB so is there a way to make a spanning disk image?For example you'd have disk1.img through disk3.img where each one is 4 GB, but when mounted via loopback it would appear as one complete 12 GB ext4 volume. Is this possible?
I have a large NFS share with a variety of software ISOs on it. I've only tried this on Red Hat Enterprise Linux, but when trying to do the following, the mount comes back with an error indicating no permissions to mount. Why would this be happening?NFS is mounted thusly:mediaserver:path/to/isos /media/nfsThis is the mount call that failsmount -o loop /media/nfs/product.iso /tmp/productIf I copy the ISO, there is no issue. The NFS share is mounted rw.How can I loop mount the ISO from the NFS share without copying it first?
How can i mount a dev (/dev/sdb1) of type vfat so i as a user can use it at boot. if i change /video to owner david i can use it at boot. But if fstab says mount /dev/sdb1 at /video it becomes owned by root and wont let root change owners. even if fstab says rw,user i still cant mount or unmount /dev/sdb1 at /video
how do i mount a drive that motion can use to store files on? firstname.lastname@example.org
How to mount vfat partition automatically after boot? After login it it will mount all vfat partition and the icon of those parition will be at desktop. How can it be done. udisks is installed. If i click a vfat partition from pcmanfm it prompts for password to mount.I don't want to click. It will be automatically mounted and i will get the icon of that mounted vfat partition at desktop
I backed up my windows hard drive using dd and turned it into one huge image file. I didn't realize this beforehand, but this image is not an ISO equivalent type. However, it would be nice if I could access everything on the image just by mounting it instead of having to transfer it back to /dev/sda or something.
I want to change the default mount options for removable devices, especially vfat devices, to have shortname=lower instead of the default shortname=mixed mount option. I googled around, and found references to /system/storage/default_options/vfat/mount_options gnome configuration option, but I don't seem to have this option set, actually, I don't seem to have a /system/storage tree in gconf-editor at all. searching in gconf-editor doesn't really yield any results.
I had burned a DVD in Windows Vista from a friends home and then tried to brows it on my Ubuntu 10.4 System. But as soon as i pop in the DVD I get an error alert saying:
Unable to mount UDF Volume Error mounting: mount: block device /dev/sr0 is write-protected, mounting read-only mount: wrong fs type, bad option, bad superblock on /dev/sr0, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so
So i later tried to mount from command line and got the error.
Code: sudo mount -t udf /dev/cdrom1 /media/cd mount: block device /dev/sr0 is write-protected, mounting read-only mount: wrong fs type, bad option, bad superblock on /dev/sr0, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so
recently my HP Pavilion's Western Digital (WD2500JS) HDD has begun failing (bluescreens, slow, etc...). I was able to attach it to another computer using a IDE to USB adapter and save my personal files (pics, music, etc...), so the drive has not yet completely died. So I bought a SATA Seagate Barracuda 500GB HDD and wanted to use my restore discs that HP made me purchase off of them to reinstall my Windows Vista Home Premium Edition, which OF COURSE didn't work. So after researching a bit I found the best idea would be to make and Image copy of the original HDD and put it on the new one. So I tried using Clonezilla which ran in an endless loop giving error after error for hours while trying to image the disk. Fortunately my work has a ImageMASSter 4004i which is a piece of hardware that does a direct, drive to drive image from the Master drive to the destination drive.
But unfortunately this didn't work either. It was telling me that their was an error within the destination drive, something like "0x84 URMWT Sequencer failed to complete". Does the drive need to be completely empty?Should I reformat it before I try this (if so which FS?)? I plugged it into my laptop with USB to SATA adapter and was unable to mount it (this was after I had it in the Imaging Hardware Device, not sure if that could have screwed something up). The strange thing is that the last couple of days the new drive did work, I was using it for temporary storage of some files.
I was given a forensic Image which I now know is a DD image of the drive (Vista) and am trying to mount the image or extract the image to another drive. I'm not sure of the extention type or if the image is a partition or the entire drive. I think it is the entire drive.
Is it possible to mount a DD image to a device. If I can't do that I just want to extract the files to run some programs against the drive. Can I view the files under Ubuntu or do I have to remove the drive and stick it into a Vista computer.
I purchased a second drive today and was hoping the command line would be something simple.
Or am I on the wrong track, should I be doing this all in a windows environment. The reason I picked ubuntu was because of the reporting tools.
I have problem to mount a compressed (ISZ) image under Linux, which was created by e.g. UltraISO? I am aware about user-space fuseiso, but it fails to mount these images, as I have reported in Debian bugtracker (correct me if I ddi something wrong). I ask the community for a help: I need a proved solution to mount these images without decompressing them.I believe that CONFIG_ZISOFS kernel option cannot help, as it refers a special RockRidge extension (per-file compression with mkisofs -z or mkzftree).
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?
I have a dd image of a full drive (as a file) that was using Truecrypt system encryption under windows. I want to mount the main partition from that image using Linux's Truecrypt. I am familiar with dd loopback devices and have the partition offset, but I don't know how I can mount it like this because I need to use the truecrypt command.
Is there perhaps some way to create a fake device file for the disk image that I can mount from within Truecrypt?
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.
I'm having a problem accessing files via nfs where an iso has been mounted through the loop device on the nfs server. Basically what I am attempting to do is access the 6 CentOS 5.2 ISO's via NFS from one of my client machines. The client is able to mount the share and see its sub directories leading up to the mount point of the ISO, but the contents of the mounted ISO image are simply not visible (on the client, they are visible on the server).
I mount a few locations from a VMware virtual machine, but currently every time I start up VMware I need to re-mount the locations once the VMware image has started up fully, which gets tedious. I'd like to be able to mount them automatically when VMware is started.
I generally double-click the .VMX file (which is associated with VMware Player) to launch the virtual machine, but once it has finished loading I would need to run the mount commands manually or execute a bash script that does it.
Is there any way you can think of to have it done automatically? One way I can think of is to start my virtual machine by running a script that starts VMware player, sleeps for a minute or so, then runs the mount command - but setting the right sleep interval would be difficult because this varies a fair bit - and overall, it's a solution that's kinda icky and that I'd like to avoid if there's some better option.