Ubuntu Installation :: Mount Exited With Code 12 - Failed To Read Last Sector
Mar 20, 2011
I am a beginner in ubuntu and only recently did i install Ubuntu 10.10 using Wubi. I am dual booting along with Windows 7 64bit. Before I got to know of Wubi, I created a free 20GB partition for installing linux. But since it was of no use, I decided to extend another partition adding this 20GB space. The problem now is that I am getting the following error while trying to access the partition.
"Error mounting: mount exited with exit code 12: Failed to read last sector (605949951): Invalid argument
HINTS: Either the volume is a RAID/LDM but it wasn't setup yet,
or it was not setup correctly (e.g. by not using mdadm --build ...),
or a wrong device is tried to be mounted,
or the partition table is corrupt (partition is smaller than NTFS),
or the NTFS boot sector is corrupt (NTFS size is not valid).
Failed to mount '/dev/sda5': Invalid argument
The device '/dev/sda5' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?"
These are the results after running sudo fdisk -l /dev/sda:
"Disk /dev/sda: 640.1 GB, 640135028736 bytes
255 heads, 63 sectors/track, 77825 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x76c4009c
Device Boot Start End Blocks Id System
/dev/sda1 1 1 992+ 42 SFS
Partition 1 does not end on cylinder boundary.
/dev/sda2 * 1 13 102400 42 SFS
Partition 2 does not end on cylinder boundary.
/dev/sda3 13 6528 52326400 42 SFS
Partition 3 does not end on cylinder boundary.
/dev/sda4 6528 42717 290694144 42 SFS
I have 2 internal drives. One is for the OS and one is for the Data. I tried to get the Data drive to mount automatically at login using some crap I found on a linux blog. Safe to say it didn't work and now I can't mount it with the OS on the OS Drive.
It mounts from a live CD and all the data is perfectly safe. When I try to mount the drive I get this error message: "Error mounting: mount exited with exit code 1: helper failed with: mount: only root can mount /dev/sdb1 on /media/data" What have I done wrong and how can I make it mount again? Preferably this time at login.
First of all: it's been more than 12 years ago since I worked with Linux, and a lot has changed in the meantime. But I considered it a challenge to install Ubuntu 9.10 and lateron upgraded to 10.04 LTS without any troubles, until now:
Except my main partition ("/") all other partitions fail to mount. All NTFS partitions from my other OS and also 2 other linux ext4 partitions I've made are not accessible anymore. and, what bothers me the most: I deleted those 2 new linux partitions in the meantime because I couldn't access them initially because Root was the owner (Duh! root is standard disabled in Ubuntu, right?). After an attempt to try to automount all partitions following the help guides I got now big grey errors on my splashscreen while booting, telling that an error occured with e.g. /media/Backup because it is missing or it cannot be mounted, with 3 options below: waiting, skipping or using a command prompt to solve this. I always choose Skip for safety.
Now if I want to see the content of all my other partitions I got a popup telling me unable to mount e.g. /media/Downloads and the message included:
I get the following message when trying to access my 1tb usb drive "Error mounting: mount exited with exit code 1: helper failed with: Error opening '/dev/sdr1': Permission denied Failed to mount '/dev/sdr1': Permission denied Please check '/dev/sdr1' and the ntfs-3g binary permissions, and the mounting user ID.More explanation is provided at [URL].. Really wierd thing is Linux Mint Debian reads it just fine
I've just made the switch from Ubuntu to Debian Squeeze and am having trouble connecting external media (be it a USB stick or an ext HD). The error I am getting when I connect anything via usb is the following:
Error mounting: mount exited with exit code 1: helper failed with: mount: wrong fs type, bad option, bad superblock on /dev/sdc1, missing codepage or helper program, or other error.
I'm trying to do an installation of Ubuntu 11.04 on my Windows 7 setup. I have another harddrive, which only has one partition. It is fresh formatted with NTFS, I launch Wubi, choose the partition, everything's fine, reboot, and when I choose Ubuntu for the first time, I get this error[URL]My Windows 7 installation is on a SSD harddrive, and my Ubuntu installation is a Western Digital WD360 SATA disk. In my BIOS I have "SATA Mode" set to "IDE".
I have been running a live version on a 8 gig stick. Played nice for a couple of months but now when I try to access the native ntfs file system, I get the following error message.... Error mounting: mount exited with exit code 21: mount: according to mtab, /dev/sda6 is already mounted on /media/c
My computer has been acting quite strange lately. It's been taking longer to boot, and my sound doesn't play anymore (Only a high pitched sound is heard, and no hardware for sound is detected). Just recently, my Windows 7 Partition returned the error of Disk Error Occured. Press CTRL+ALT+DEL to restart.
Any way I can fix my whole issue, I think my desktop is starting to die on me :O (And its only about 7 months old T_T)
my windows xp system has recently been messed up, everytime i boot, i see the windows logo and then it reboots so i decided to liveboot ubuntu in order to recover the important files on my hard drive and then reboot. Problem is when i try to click on my "500GB Filesystem" I get this message.Unable to mount 500GB FilesystemError mounting: mount exited with code 13:ntfs_attr_pread_i:ntfs_pread failed:/input/output error Failed to read NTFS $Bitmap:Input/output error NTFS is either inconsistent, or there is a hardware fault, or it's a SoftRAID/FakeRAID hardware. In the first case run chkdsk/f on Windows then reboot into Windows twice.The usage of the /f parameter is very important! If the device is SoftRAID/FakeRAID then first activate it and mount a different device under the /dev/mapper/directory(e.g./dev/mapper/nividia_eahaabcc1). Please see the 'dmraid' documentationfor more details
Today I was trying to make a LiveUSB for Fedora 15 with UNetbootin and when I inserted my USB stick, it blinked and then this error appeared: Error mounting: mount exited with exit code 1: helper failed with: 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
Accidentally the usb plug on my WD "My Book" got halfway unplugged and I didn't notice it. when I rebooted it, it wouldn't read the drive. I tried using G Parted to repair it but no success, it just runs forever accessing the drive and never finishes. (I left it running an entire weekend and it didn't finish) the drive is formated ext3.
When I try to mount the drive in Ubuntu 9.10 it gives this error message:
Strangely if I boot into Windows and use the ext driver I can access the drive just fine. is this something I can fix? if needed I can use Windows to do any repairs.
I was just reading about the whole boot process on computers and am curious as to why the BIOS can only read and execute code and data from only cylinder 0, track 0 and sector 1 of the disk being booted from? Why can't the BIOS read from any other disk location?
I slipped on my expansion drive cable and it disconnected quickly, when I reconnected I got this error: Error mounting: mount exited with exit code 13: $MFTMirr does not match $MFT (record 0). Failed to mount '/dev/sdb1': Input/output error NTFS is either inconsistent, or there is a hardware fault, or it's a SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows then reboot into Windows twice. The usage of the /f parameter is very important! If the device is a SoftRAID/FakeRAID then first activate it and mount a different device under the /dev/mapper/ directory, (e.g. /dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation for more details.
I'm trying to mount my new Western Digital Elements 2tb hard drive, but every time I try to plug it into the computer I get this error message:
Quote:
Error mounting: mount exited with exit code 12: Failed to read last sector (3907027119): Invalid argument
HINTS: Either the volume is a RAID/LDM but it wasn't setup yet, or it was not setup correctly (e.g. by not using mdadm --build ...), or a wrong device is tried to be mounted, or the partition table is corrupt (partition is smaller than NTFS),
[code].....
But when I tried opening the hard drive from nautilus I still got the same error message as above (no other volumes was connected at the time). I've also tried opening and watching it in GParted, and I can see it there as a volume that's not allocated. When I tried to allocate the hard it I got the message that it had no partition table. And that I cold make one. I tried and Ubuntu suggested to make a MS-DOS partition table for it. But there I got a little scared as I've not done this before. The external hard drive is brand new and was brought today. And I don't have the possibility to test it with Windows or Mac as I'm using Linux only on my machines.
I bought a new SD card which I intend to put some MP3s on - except that I can't write to it because it tells me the destination is Read Only. No-probs thinks I: I'll just reformat it.
"Error creating file system: helper exited with exit code 1: cannot open /dev/mmcblk0p1: Read-only file system"
Various chmod commands all result in Read-only file system. I tried umount then mount commands, but it couldn't find it to mount once I'd unmounted it using the same /media/ file path (I assume it's the only one).
using 'ntfs-config' to make ntfs partitions mount on bootup so that I can access my data partition from Ubuntu. The first time I installed ntfs-config it would not run. I uninstalled and reinstalled it and then it ran, but it didn't seem to be responding very well. I attempted to tick the partition I wanted and set it to be writeable. After I closed the app ALL my ntfs partitions were mounted, even the windows and system reserved partitions, and when I attempted to unmount them I got the following error:
Unable to unmount Data Error unmounting: unmount exited with exit code 1: helper failed with unmount /dev/mapper/isw_dfjjdefcdi_RAID5p4 is not mounted (according to mtab)
I tried rebooting. I tried uninstalling ntfs-config, then reinstalling it (now it wont run again). So I'm at a loss as to what to do. I simply want my data partition mounted on boot up and writable, not the others.
I have configured the remote installation of Fedora 13 with kickstart with nfs installation method. All work ok until I boot the Fedora 13 client system.
Fed13 client system receives the IP address from dhcp, receives the loader, loads vmlinuz and initrd.img from tftp, load anaconda, configures the network and dev eth0, mounts nfs server to load kickstart file, loads kickstart file (language...) but when it tries to mount nfs server to install from Fedora 13 installation tree it fails.
First, I thought that I had an error on my NFS configuration but I was wrong. I opened tty with ALT+F4 on the Fedora 13 client and I sew this error:
Code:
Is this a bug or can I modify anything to correct this error? How?
2 months ago, I built a dedicated backup server using 4 2TB SATA drives for software RAID5 (6TB total). A few days ago, smartd sent out mail saying it found an unreadable sector on one of the drives. I ran selftest using smartctl and the error persisted. So far, neither software RAID nor ext4fs running on top of the RAID volume have reported errors.
MOST OPTIMISTIC: It is normal to have a few bad sectors among billions. Software RAID takes care of alternatives. Keep using the system until RAID spits a more serious warning in the future.
MOST PESSIMISTIC: It is a really bad sign to lead a disaster. No good disk drive should have bad sectors especially when it is only 2 months old. The error is simply not detected by software RAID and ext4. Replace the drive immediately and return the bad drive to the supplier.
I was attempting to reformat a 16GB MicroSD card in my camera when the battery died mid-way. After that, any time I try to read the card in my camera, it gives me a "Card Error" and does not allow me to reformat it in my camera.
So, I thought I would plug the camera in to the laptop with it set to host the card as media when plugged in as USB, in an attempt to fix the formatting issue.
However, when I plug it in to my linux machine, it does not register as a device (e.g., /dev/sda) due to some errors, therefore I cannot reformat it. Essentially, I think I need to fix the partition table but I'm not sure how to when it doesn't register as a device. code...
I have an audio recorder that doubles as a music player. It can play WAV files. So I put in some WAV files and they are out of order, even if they are named numerically. Read somewhere about a little CLI software called fatsort so I installed. The device is located at /dev/sdc. So naturally I write fatsort /dev/sdc, it says something about permission. So sudo fatsort /dev/sdc. Thing is, it says:
Code: sort_fs: Device or resource busy! If I "eject" it (unmount) then it says something about cannot read boot sector or headers. On Windows there is FAT Sorter. It does not work in WINE. So every time I put something in, I have to get to a Windows computer to sort it. It seems like fatsort is the only program that sorts FAT systems in Ubuntu/Linux.
i am trying to install ubuntu from an SD card, i can run it from the card, and everything works fine, all but the install. i get to step 3 of 6. when pressing forward i get an error message ubiquity.components.partman failed exit code 141
I am re-installing Ubuntu onto my desktop PC which has Windows 7, openSUSE 11.2 and Fedora Core 12. First I tried Ubuntu 9.10. Near the end of the installation the machine reboots and the monitor shows the following message:
"Ubiquity.components.partman failed - Exit code 10. Further info in /var/log/syslog"
Tried again with Ubuntu 10.04 beta2 with same problem.
How can I view and read /var/log/syslog if Ubuntu fails to be installed and therefore I cannot access this log?
when i want copy something from dvd my debian squeeze is total slow cpu ussage is 100% and write 2.2 mb/s and musick is stop and play. This same is on burning cd /dvd the device buffer is an about 10-15% this dvd is Pionier 116D on windows xp work perfect. I try benchmark dvd form gnome-disk-utility but i got Error benchmarking: helper exited with exit code 1: Device /dev/sr0 is too slow to benchmark
[Code]....
( everything works on debian lenny on the old kernel 2.6.26 ) I instaling a few kernel and compiling 2.6.35.7 with .config file form ubuntu on finaly didn't help
I was updating from 10.04 to 10.10 earlier today when my laptop shutoff in the middle. I fixed a grub error by reinstalling it with a live-cd, and found out I had a "kernel panic-not syncing: VFS: unable to mount root fs on" waiting for me. I booted an alternative kernel and tried fixing things from there, but got "general error mounting filesystem". So, I tried a live-cd and when I mount the partition, it is read-only. I tried running fcsk to no availThe only thing I could find helpful was this."It's probably because your filesystem has suffered a failure - it is configured by default (in /etc/fstab) to remount as read-only in such cases in order to minimise the risk of data loss."
I'am using Ubuntu 10.10, and wish to install a Debian OS.I downloaded the file "debian-6.0.1a-amd64-netinst.iso.(My motherboard is a 945CG-F7 with INTEL PENTIUM DUAL CPU E2160)I recorded the file on CD as "iso" (following instructions from Internet).Grub tried to read the CD but than started Ubuntu OS.
It then says an automatic fsck failed and a manual fsck must be performed, then the system restarted. I have done a manual fsck and it did nothing. I booted up the system with knoppix and did it, nothing.