General :: Mounting - Checking Or Reading Partition ( Probably A Physical Damage )?
Mar 21, 2010
I have a problem when trying mounting, checking my ext3 partition. Is a external HD with my "portable" Linux system. Suddenly started to fail, when I try to boot it, the GRUB can't locate the config file, and show me the command line. I boot from my internal HD and try to mount it and have this messages.
Code:
sd 2:0:0:0: [sdb] Attached SCSI disk
sd 2:0:0:0: Attached scsi generic sg2 type 0
sd 2:0:0:0: [sdb] Unhandled sense code
sd 2:0:0:0: [sdb] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK
sd 2:0:0:0: [sdb] Sense Key : Medium Error [current]
sd 2:0:0:0: [sdb] Add. Sense: Unrecovered read error
[Code]...
1.- What exactly is in this first sectors (ext3 metadata?)
2.- Is there some way to fix this quickly, maybe with some "sectors relocation", Or re-create the first logical sectors.
3.- If not, who could i make a full backup (something like dd copy), of all the partition.
4.- How fix it?, even with a long prosses, i don't know, maybe backup the file structure (with forensic tools) and copy into a new (and re-located) partition. This is my last option because the forensic tools sometime can't recover all files and sometimes only parts, or very old files.
View 7 Replies
ADVERTISEMENT
Dec 28, 2010
I was in Ubuntu when I dropped my laptop, which resulted in a cracked screen. I loaded Windows (Vista), and found it and the files to be unharmed. On my attempt to load Ubuntu, it takes me to a GRUB screen, where it gives me a default message about GRUB. If I try the command "exit" it replies "No bootable device -- insert boot disk and press any key. It's installed on the same hard drive as Windows (dual boot setup), and Windows works fine. I do have files I would like to get off of Ubuntu (if it is unrecoverable),
View 7 Replies
View Related
Oct 4, 2010
Is it possible if I am only using ext3 and no LVM or anything else to re-size the partition into another physical device? I am pretty sure the answer to this is no but I was still curious as I am facing a full 1tb disk and need to add a new drive and unsure how to do this due to shared folders existing on the old drive and no way to actually expand them without linking in new files or something.
View 8 Replies
View Related
May 13, 2010
In my computer there is only one hard disk with two partitions. /dev/sda1 is mounted as /boot, while /dev/sda2 is used as LVM. In that LVM partition I have only one logic volumn group with several logic volumns. One of the logic volumns is mounted as /data, and now I want to remove this logic volumn, free up the space and make it another physical partition outside LVM as /dev/sda3. Can someone help me on this, especially the procedure of steps I should go through ?
View 7 Replies
View Related
Dec 14, 2010
i would like to determine the hard drive partition associated with a directory. ie i have a disk partition as user with mount point Home. this i think contains my Home directory. a downloaded program resides in /usr/bin. now there is a /usr/local/bin with nothing in it. my question is how can i tell what disk partition /usr/bin resides on. if it is on my user defined partition i will not lose the program on a system install i think?
View 5 Replies
View Related
Jul 4, 2010
I know now: I overwrited the mbr with a totally wrong one, and I have no backup.So far as I can recall, I had two primary partitions; the first one for xp, and there were several logical volumes for linux in the second primary partition).None of these partitions are found now, grub reports "Error 22" with the wrong mbr.Can the mbr be corrected/recovered somehow, in a way that all of the original partitions show up again?
I think, the partitions themselves are not damaged, since only the mbr was overwritten.
I suppose a fixmbr command from the recovery console of the xp installation CD would fix the mbr and make the xp system in the first primary partition bootable. Am I right? How about the second primary partition; would fixmbr find that too? (Sorry for the silly questions, but I do not want to commit more mistakes, especially irreversible ones.)
View 8 Replies
View Related
Jul 20, 2011
extended my ubuntu partition with a free space that I had on my NTFS partition. It did get any problem. However, today I couldn't boot into ubuntu ( It was loading for about half an hour ). then I reboot and I got some GRUB error, so I boot into live cd to repair the grub but then unfortunately I found out that my Linux partition is damaged.I some how managed to repair it but the only folder that is there is "lost+found". also there is written 62.8 GB free space, but this should be 112GB (unless there are some hidden files that i can access to )
View 7 Replies
View Related
May 8, 2011
I have ubuntu installed system with dual boot windows xp.I need to enlarge linux partition. I have a free disk in windows partation. I need to add some diskspaces to ubuntu part without any damage. I mean I would like to use my system as before.Windows and Ubuntu. Is there any free software that does?
View 3 Replies
View Related
Sep 3, 2011
If you have a contiguous partial piece of an ext4 file system (assuming it's perfectly clean), starting from the beginning of the partition, is there any way to check it, or to mount it to get the files whose parents, inodes and data are all completely contained inside?
Have (or maybe had) a very large 11TB RAID 6 array, filled with a single large ext4 partition. Something strange happened when a single drive failed and the array ended up failing 13 out of the 11 drives. I had trouble getting the array restarted, and got to the point where I exhausted all of the options I considered completely safe. I considered a few things that may have worked, but mdadm doesn't seem to have a definite "do not change anything" option. So I decided the only way to be absolutely safe would be to clone the disks before proceeding - then I realized how much time that would take and sent the drives off to a recovery service so they could image them and check it out.
Before doing so, I copied the first 2GB from each disk. I XORd the images from the working drives to reconstruct the data chunks that were on the failed disk, manually assembled the chunks, and am very confident that I have 22GB of "correct" data in a single file. The parity and Q syndromes all matched (with RAID 6 you can still check with only 1 missing device). I've learned the fine details of ext4 from [URL], and have looked at lots of raw data from the reconstructed partition, and it all looks good. The recovery company says that they're not finding many inodes, but I found a lot of them, exactly where they're supposed to be. I tried to mount and e2fsk, but both processes seem to be extremely unhappy that the device size doesn't match the size implied by the file system geometry.
I considered hacking the superblock to manually reduce the size, but I figure that wouldn't work because there would then be more group descriptor blocks than it would expect after the superblocks. I might try doing that and compensating by incrementing the "reserve block count" to compensate. Alternatively, if there is some way to make the file appear to be the expected size with nothing but zeroes after the end of the actual data, maybe I could mount it and not get any errors until I cause the kernel to read past the true end of the file.
View 3 Replies
View Related
Dec 12, 2009
I got an ISO from a friend and it's been sitting ontop of my desktop for ages now, and I'm not able to burn it because for some reason, Ubuntu has stopped reading any CDs in my drive.
G.B. on burning it:
Code: scsidev: '/dev/sr1'
devname: '/dev/sr1'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Wodim version: 1.1.9
code....
View 6 Replies
View Related
Jul 9, 2010
I have an external Western Digital Hard drive with two HFS partitions with journaling disabled.When I connect it to a computer running Linux (Debian or Ubuntu), frequently both partitions are mounted read-only. In the past, mounting them on my Macbook and executing the command to disable the journaling often worked (even though it would tell me that journaling was already disabled) but I would love to have a solution which works every time.
View 1 Replies
View Related
Sep 29, 2010
How to mount ntfs partitions into red hat linux. I'm trying to mount but not mounted that
View 8 Replies
View Related
Nov 1, 2010
I want to mount my all windows partition in my "Red Hat Linux", please help me to mount all my windows partition in linux.And please tell if i mount windows partition is it harmful for windows/partition?
View 3 Replies
View Related
May 16, 2010
I have created a Virtual Machine with following partitions
OS: Fedora 11
Code:
Device boot start stop blocks id system
/dev/sda1 * 1 13 102400 3 Linux
/dev/sda2 13 587 4608000 8e Linux-LVM
Then I added One more Volume group with ext3 file system
Code:
Device boot start stop blocks id system
/dev/sda1 * 1 13 102400 3 Linux
/dev/sda2 13 587 4608000 8e Linux-LVM
[code]....
After mounting I am not able to access only lock and lost+found file under /var
View 4 Replies
View Related
May 4, 2011
I don't understand the results of a simple performance test I ran using two basic scripts (running on a high end server):
perfVar.zsh :
#!/bin/zsh -f
MYVAR=`cat $1`
for i in {1..10}
[code]...
Performance test result:
> time ./perfVar.zsh BigTextFile > /dev/null
./perfVar.zsh FE > /dev/null 6.86s user 0.32s system 100% cpu 7.177 total
> time ./perfCat.zsh BigTextFile > /dev/null
./perfCat.zsh FE > /dev/null 0.01s user 0.10s system 91% cpu 0.118 total
I would have thought that accessing a VARIABLE was way faster than reading a FILE on the file system... Why this result ?Is there a way to optimize the perfCat.zsh script by reducing the number of accesses to the file system ?
View 3 Replies
View Related
Sep 4, 2010
how can it be done?
I'm running 64 bit linux mint 9.
View 3 Replies
View Related
May 15, 2010
What are the necessary packages for mounting NTFS partition on CentOS? i tried installing fuse-ntfs-3g but got a result saying its not available.
View 1 Replies
View Related
Sep 6, 2010
I have installed a new hard drive and partitioned some space that I am wanting to use for keeping my Music files on. I have entered a line into the /etc/fstab file that I believe mounts the partition properly, but it is giving root owner ship of the partition. Is there a better way of doing this? perhaps mounting the drive some where else and using a hard link? the line I have so far in my fstab is
/dev/sdb1 /home/me/Music ext4 defaults,user 0 2
But this is still sowing the drive on my desktop, it also replaces the the name of Music in my places with the fact that it is a drive of such a size.
View 1 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
Dec 26, 2009
i decided to try archlinux in my pc a while ago so i installed it... after three months i started to miss slackware so i decided to reinstall it but i wanted to save my /home partition so when i installed slackware i left my /home partition from arch hoping that i could just mount it on slackware...but now when i try to mount that /home partition this is what i get:
bash-3.1# mount /dev/sda4
mount: wrong fs type, bad option, bad superblock on /dev/sda4,missing codepage or helper program,or other error In some cases useful info is found in syslog - try dmesg | tail or so
code....
So i dont really know what is going on here but i hope somebody could help me because i really NEED to get the data from that partition.
oh and by the way i installed slackware on ext4 partitions and the /home partition from arch is ext3 so i dont know if that's maybe the problem o_O?
View 4 Replies
View Related
May 30, 2010
I have an ecryptfs partition on a usb drive, system runs Debian squeezeWhat I'd like to have is that when I connect the drive it will be auto. mounted and I'lleither have to enter the passphrase or it will already be in the keyring (even better).It seems ecryptfs can auto-mount a directory but I want to auto-mount an entire encryptd partition. Is this possible?.Also, can I have another encrypted directory, say ~/Private, at the same time or can ecryptfs handle only one at a time?
View 3 Replies
View Related
Oct 25, 2009
I need to mount my ext2 partition with write permissions for an average user. Right now, I can only write to the volume using sudo or the root account.
/etc/fstab:
Code:
# Filesystem: Mountpoint: Type: Options: Dump: FSCK:
/dev/sda1 / ext4 defaults 1 1
/dev/sda5 swap swap defaults 0 0
[code]....
can't add the options uid=500,gid=500 to the ext2 volume because it says "bad option" I have 1 question. If you have a volume listed in /etc/fstab, and you try to mount it with different options than the ones listed in fstab, will it mount with the new options, or the fstab options?(e.x. if I try to mount /dev/sda6 with: mount-o auto,user,exec,rw,async. Will it mount with async or sync?)
View 1 Replies
View Related
Aug 22, 2011
fdisk -l: Disk /dev/sda: 750.2 GB, 750156374016 bytes.
[Code]...
I've tried other installations, but I always get errors like this. /dev/sda 5, 7 and 8 are occupied by PCLinuxOs. /dev/sda 9, 10, 11 and 12 by Fedora. I made room for Linux installations by GParted (last version). Really, I made no errors. The installer of PCLOS is a bit strange: it changed the NTFS partition sda5 in sda 6! In a previous installation with Fedora and Kubuntu only the extend partition sda 4 complained about not starting on physical sector boundary. The hard disk is Western Digital with Advanced Format. Probably this is the cause of the problem. The systems are snappy and responsive. I do not encounter any problem. What to do? Ignoring the problem or reinstalling? May be it would be better to get rid of PCLOS and to dual boot Windows with Fedora?
View 5 Replies
View Related
Apr 3, 2011
The default partition manager which OpenSUSE DVD 11.4 uses (Expert Partitioner) is not creating any logic partition with / mount because another system is already using it, is there anyway to fix this?
View 9 Replies
View Related
Jul 18, 2010
I was trying to remove the physical volume from an old drive. So I opened gparted and told it to rewrite the partition table. The only problem is I targeted the wrong volume, I wiped the partition table on my 4tb raid5 array This 4tb array has everything! All my movies, tv shows, music. The only things I have backup up off site are my smaller files like documents. I was about to lose my whole media collection.
I did some research and found a solution that I will post here in the hopes that someone will google "I deleted the partition table on my lvm" and be find the solution.You should find in your filesystem a /etc/lvm/backup folder. LVM puts a copy of the crucial lvm information there every time you change the the volume group.
In this folder you will find a file for each volume group. In this file you will find the uuid for all of the physical volumes that make up that group.The first step is to recreate each physical volume with their original uuids. In my case I had only 1 physical volume, which was my raid5 array. My recreation command looked like this:
pvcreate --uuid cLrY02-zrVi-D0Vi-cIPB-6fF5-ed0c-XFF0os /dev/md0
Now I have a physical volume with the same uuid it had before. It is essential that you correctly match up the uuids with the correct physical deviecs.The recreated pv is empty, the volume group needs to be recovered. This is done by using a special tool and the backup file. For me the command looked like this:
vgcfgrestore --file /etc/lvm/backup/raid5 raid5
This tells it to recreate the volume group using the information in the backup file. The backup files looks for the uuid of the PV, which now matches the correct volume. The coordinates in the backup file match up to the data on the array an suddenly everything is back!
When I deleted my LVM partition table I did not damage any of the actual volumes on the volume group, I just wiped out the table of contents. The backup file had the information needed to rewrite this table of contents.
View 1 Replies
View Related
Oct 23, 2010
i used to have ubuntu 9.i decided to move to sabayon so i used the live cd to install it ,resize the ubuntu partition and use the remaining space for sabayon.while the resizing procedure i got an error(i dont have a copy of the error log file but i know it has something to do with an anaconda process).i aborted the installation and the result was an filesystem that couldnt be mounted.when i try to mount the hdd i get this:
Code: Error mounting: mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so and this is what i get from fsck: Code: $ sudo fsck -f /dev/sdb1
code....
View 5 Replies
View Related
May 9, 2010
I've used ext2ifs drivers to mount my ext3 partition in winxp, but I don't have write acces, it's mounted in a read-only mode, and i didn't check the rad-only box during the installation of the drivers. [URL] It's a straithfoward proces so I dont understand what I did wrong. I'm using fresh xp install with (more or less) all the updates and ubuntu 10.04 Also the partition is mounted at /home, so I dont know if that makes any difference.
View 1 Replies
View Related
Jan 19, 2011
I have come across the following statement: " When a FAT32 partition is mounted at '/media/windows', all access to '/media/windows' and everything below it is transparently handled by the Linux kernel using the 'vfat' module. Applications need not know they're dealing with anything else. However, mounting a partition at a location inside of another mounted partition is unpredictable, unstable, and generally a bad idea. "
Is it correct? Most of my partitions are mounted on /home, which is on a separate partition; and I have one "level 3" partition. I have been using Ubuntu for nearly three years so far with no problems (except for /home losing it's format once).
View 4 Replies
View Related
Jun 22, 2010
I would like to test alphas (of distros and packages), but without doing so from my everyday environment.Obviously, frequent backups are essential for maintaining important files.Apart from that, what other measures can I take to prevent catastrophic data loss?Could a well-designed partition structure the chances of an alpha blowing up data on other partitions?
View 8 Replies
View Related
Apr 1, 2011
I ran testdick on a apple hard drive to find the tables. It looks like it found it, here's the log:
Quote:
Tue Mar 29 12:02:56 2011
Command line: TestDisk
TestDisk 6.11, Data Recovery Utility, April 2009
Christophe GRENIER <grenier@cgsecurity.org>
[Code]....
How do I restore the table using fdisk? Gparted doesn't let me check the drive. It just says unallocated space, create a table and erase all data.
View 3 Replies
View Related