Ubuntu :: Can't Mount Or Read Ddrescue Result File
Feb 23, 2010Can't mount or read ddrescue result file
View 1 RepliesCan't mount or read ddrescue result file
View 1 RepliesI'm trying to mount a .img file with a HFS+ partiton on it. I can't seem to get it working. I don't want to overwrite a whole partition. Just mount the filesystem to /media/directory.
sudo mount -t hfs -o loop /path/file.img /media/directory/ gives me wrong fs type, bad option, bad superblock on /dev/loop0,
Output: dmesg | tail
[665583.878826] hfs: unable to find HFS+ superblock
[690232.956830] hfs: can't find a HFS filesystem on dev loop0.
I am trying to recover some important data from a 273 gig NTFS partition that was used in windows 7. The laptop was dropped and would not boot the next day. As an external drive I could see 2 smaller partitions (30 gig and 500 meg), but the main partition was RAW and requesting to be formatted... so I came to learn about Knoppix 6.2.1 as my live boot cd and ran ddrescue to recover an almost complete image of the bad partitionddrescue -n /dev/sdc1 /media/sda1/image.img /media/sda1/logfile.logI then ran it one more time:ddrescue -r 1 /dev/sdc1 /media/sda1/image.img /media/sda1/logfile.logthe image was made with 741 errors (amounting to 160 megabytes)So Now I have my partition as image.img which I want to mount.
First I tried
sudo mount -t ntfs -o loop /media/sda1/image.img /mnt/recovered
sudo mount -t ntfs -o loop,force /media/sda1/image.img /mnt/recovered
[code]....
How do i disable the linux file cache on a xfs partition (both read an write).
We have a xfs partition over a hardware RAID that stores our RAW HD Video. Most of the shoots are 50-300gb each so the linux cache has a hit-rate of 0.001%.
I have tryed the sync option but it still fills up the cache when copinging the files. ( about 30x over per shoot :P )
/etc/fstab:
/dev/sdb1 /video xfs sync,noatime,nodiratime,logbufs=8 0 1
Im running debian lenny if it helps.
I want to simply mount an ext4 file-system onto a normal mount point in Ubuntu (/media/whereever), as read-writable for the current logged-in user, i.e. me.
I don't want to add anything into /etc/fstab, I just want to do it now, manually. I need super-user privileges to mount a device, but then only root can read-write that mount. I've tried various of the mount options, added it into fstab, but with no luck.
What are the possible problem when Windows access the file from Ubuntu got Read Only even though have a full permission to read, write and execute the file? Ubuntu to Ubuntu accessing the file there is no problem only Windows got a problem.
View 1 Replies View RelatedI face "read error " while booting. sometimes it start normally. someone told me to check hard disk for errors. i used gsmartcontrol for this. but from its result i am unable to decide is this hard disk failure or just minor errors. can somebody tell me do i require to change my hd or it just something else to cause such error.
View 5 Replies View RelatedIm using this script to save a backup to a NAS, however i want to print the result to a file that later can be mailed to me.
Code:
tar --totals -czf - /var/www | ssh user@host "cat > /backup_path/`date "+%Y-%m-%d"`.tar.gz"
i have tried just adding ">> logfile.txt" at the end of the command, but that obviously does not work. How should i do this?
I am connecting to MySQL DataBase using shellscript and writing a select statement like select attachmentid from attachments where pageid=10175 I want to store the output of the select statement into a shellvariable or a file. How can i do it using shellscript.
View 4 Replies View RelatedI have a problem in my ubuntu 10.01 that it can't load a drive/volume in ubuntu. When I tried, it said: "Unable to mount location Error mounting: mount: /dev/sda1: can't read superblock". And when I boot my pc with 'Windows', it said : "UNMOUNTABLE_BOOT_VOLUME" under a blue screen. What can I do to solve this problem?
View 9 Replies View RelatedI have installed Ubuntu on a friends laptop. He lives in a different city, and needs to move files from one somewhat quirky 1tb drive to a new 1tb drive. He needs something that reads slowly on purpose or something like that. He also needs a gui tool. He asked me, but I haven't been able to find something for Ubuntu. maybe a custom script for ddrescue would work, but i don't even think he would like that. He is very nervous when it comes to the terminal.
View 5 Replies View RelatedI am trying to write a script to access sqlplus and use the output to replace the result in another file. But I am having some issues with it (This script is just a test script and I am just trying to print the updated value.
#!/bin/bash
I am not able to post the sqlplus connection, but it works.
bb=$a
[code]....
I am trying to write a script to access sqlplus and use the output to replace the result in another file. But I am having some issues with it (This script is just a test script and I am just trying to print the updated value.
#!/bin/bash
a=`echo exit|sqlplus -S -L xxx/xxx@xxx @test.sql`
bb=$a
[code].....
I tried to clone my laptop ubuntu partition (9.10) using ddrescue into my portable harddisk.I run command "ddrescue r3 /dev/sda6 /dev/sdb6" sdb6 is my portable harddisk partition with lots of data. In my head I was thinking that it will create image file (like iso or img)that can be restored to another disk.Suddenly I relize that it delete my existing data (in sdb6) then I interrupted ddrescue.Is there a way that I could get back my data in sdb6?Partition in sdb6 is FAT32m, now when I try to open sdb6 using Windows OS, it always aks me to format
View 6 Replies View Relatedextract some data off a failing drive the other day. I plugged it in, but got no response in windows or linux (partition is ntfs), but it does appear in the bios and /dev (though the hdd hung most linux liveCDs except rescue remix 9.04). I tried to analyze the drive, and found good smart data, so I figured there were just a few bad blocks in critical places. I ran spinrite against it in level 2 mode. the process crawled (40MB after 2 hours) and it updated the smart data to reflect many many reallocated sectors, putting the drive into a failing state as far as smart is concerned. so, now, in a last ditch effort I am turning to ddrescue to try to get an image of the drive. it's been running about 17 hours now, and has done several complete passes through "Splitting error areas".
here is my current output:
Code:
Disk /dev/sdb: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
[code]....
have I done all I can? can I in good conscious declare this a lost cause? I do have an image from a prior run of ddrescue, with 826 MB of data.
edit: I resumed the task from log, and now it is reporting the err size as 9223 PB. since the drive is a 320GB, I find that a bit odd.
I'm trying to make an image of my whole hard drive (320 GB) to save on an external hard drive. I'm using Ubuntu Jaunty Live CD to do it, with this command
Code:
sudo dd if=/dev/sda | gzip -c > /media/ExpansionDrive/imagedd.img
At the beginning everything is going fine, but after few hours the transfer rate is incredibly low. After 1/2 hour, 20 Gb have been copied.
After 1 hour, 27 GB
After 2 hours, 40 GB
After 4 hours, 54 GB
After 8 hours, 71 GB
Is it normal? I've also tried to use ddrescue, but I have the same problem. Is there any other tool to clone hard drive with a constant transfer rate?
im trying to use ddrescue to clone a dying disk to a remote machine using ssh. this is my command:
Quote:
sudo ddrescue --block-size=4KiB /dev/sda1 - | ssh user@address 'cat /data/backup.img'
it returns the error "cat: can't open '/data/backup.img': No such file or directory"
I can NOT mount my CDROM. I see several under the /dev folder cdrom, cdrw, dvd, scd0, src, how do I kow which drive to mount? I would like to load KDE fom a slackware disk,
View 1 Replies View RelatedI've set up an NFS server on my MacBook, and mounted it on my Ubuntu desktop. Everything works fine, except all the files are read-only.
[Code]..
I recently formatted my memory stick in windows. It works properly in windows. I have a dual boot with ubuntu 10.04 and the usb automounts in read-only mode. I cannot write anything to the usb stick in ubuntu. sudo chomod does not work.
View 4 Replies View Relatedsudden of all all USB drives and sticks I put into a PC will not mount with read/write permissions (they did before). I can still copy to them, but only when I am root. I am on Maverick I've noticed though that if I run disk utility, then UNMOUNT the partition, Check File System, Mount the partition back, I get read/write access..
View 9 Replies View RelatedI have 4 partitions. One is Ext4 for Karmic, one is NTFS for WinXP, and the other two are Ext4 where I keep all my stuff.When I boot into Karmic and open Nautilus, none of the last three are auto mounted. When I click on one of them, instead of a window popping out asking me for a sudo password, I get a message as shown below.f I try to mount via sudo in terminal it works, but the files for me are then all read-only. Again, if I open Nautilus as root, all works fine.What I want is the following:- for all 3 partitions to automount on startup;- for all 3 partitions to be owned by me and not by root.I tried editing /etc/fstab, but to no avail. Neither did running "chown" help.
/etc/fstab:
# /etc/fstab: static file system information.
#
[code]....
I have dual boot: Ubuntu 10.04 and Opensuse 11.2.Howto mount read only ext4 partition from opensuse in /etc/fstab?
View 2 Replies View RelatedMy 10.04 64-bit desktop has been auto-mounting USB devices (flash drives and my mp3 player) as read-only for some reason. I had this issue happen once a while in the past, so I simply re-mounted it as rw.
Code:
mike@mike-desktop:~$ mount | grep -i 36CB
/dev/sdc1 on /media/36CB-D1A8 type vfat (rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,flush)
[Code].....
I want my iPod to automatically mount as read only. I am hoping this will prevent Rhythmbox from changing my playlist sort order while still allowing me to listen to my music.I've tried a number of things this morning and never got it working properly. I'll try to remember what I tried:gksu gedit fstabI added UUID=5EFC-9810 /media/ipod vfat ro,noexec,noauto,user 0 0cd /mediaudo mkdir ipodMounted the iPod and it showed up twice in Places (possibly as a result of this bug: https://bugs.launchpad.net/ubuntu/+s...fs/+bug/442130). Also, the directory iPod was always listed in Places even when I hadn't connected my iPod. So I listened to the advice there and tried:/dev/disk/by-uuid/5EFC-9810 /media/ipod vfat ro,noexec,noauto 0 0Now I couldn't get my iPod to mount at all. The error given was something like:Error mounting: mount exited with exit code 1...only root can mount media/ipodI was able to chown /ipod but it didn't solve my problem.I started over and tried:UUID=5EFC-9810 /media/ipod vfat ro 0 0
View 3 Replies View RelatedI use to be able to mount a usb and stick and copy over files to it. Now when I plug it in it mounts as read only and I cannot change it. I did not change anything on the system. I have su access and really nothing is new on this laptop. Any thoughts one what i can look at? I need to write data to usb all the time. I rebooted too. same issues.
View 3 Replies View RelatedWhat can I change in my pendrivlinux as to having it to mount an additional, mnt/win_e/, usb as read-only? I seems like if all usb thumbdrivers are mounted writable in mandriva. It must be possible to change this somewhere.....but where?
View 4 Replies View RelatedI am running Karmic x64 on a HP laptop that has a cd/dvd burner. I have a r/w cd with files on it and I wish to add/remove files to it. After it mounts automatically on insertion, I unmount it and remount with:
sudo mount /dev/sr0 -t iso9660 -w /media/cdrom
(I tried assorted other hare-brained things also) but it always says that the filesystem is read only. Do I need to use a different device than sr0? Is it even possible under Ubuntu?
We have a network with several computer. We have two file servers (don't ask why) an Ubuntu and an XP as well as many clients. Setting shares on Ubuntu was easy and all clients can see them read and write. but I can't get the Ubuntu clients to see the SMB shares on the XP properly. This is my fstab:
Code:
//192.168.0.100/resources /media/resources smbfs iocharset=utf8,credentials=/home/boss/.smbcredentials,dmask=775,gid=1009 0 0
//192.168.0.9/summer /media/summer smbfs iocharset=utf8,credentials=/home/boss/.smbcredentials1,dmask=775,gid=1009 0 0
[Code]....
how to force Ubuntu to mount a USB external drive as read only by default when you plug the USB drive in?
I know the drive /dev/...sda1 name but I have looked at editing fstab and not sure how to proceed. Is fstab the right thing to be editing?