I just installed ubuntu and im completly new with ubuntu.   I am trying to get my second harddrive to work but it won't. I've used some guides like  But still no success.   The problem is that it doesn't see my ntfs as a valid one. I don't really understand what this means. this is the message the terminal gives me when trying to mount the hard drive:  robert@Robert-Linux:~$ sudo mount -a   NTFS signature is missing.   Failed to mount '/dev/sdb1': Invalid argument    The device '/dev/sdb1' 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?   robert@Robert-Linux:~$     Hopefully someone can help me out.  Greetings Robert  EDIT   /etc/fstab file content:  # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # &lt;file system&gt; &lt;mount point&gt;   &lt;type&gt;  &lt;options&gt;       &lt;dump&gt;  &lt;pass&gt; # / was on /dev/sda1 during installation UUID=d91f5c8b-30d0-4bc7-85cb-e3b26d2e9c1d /               ext4    errors=remount-ro 0       1 # swap was on /dev/sda5 during installation UUID=81cc1c05-8435-4d18-8af5-049d092294cb none            swap    sw              0       0 /dev/fd0        /media/floppy0  auto    rw,user,noauto,exec,utf8 0       0  /dev/sdb1 /media/disk2   ntfs   defaults        0    0
123283
I've upgraded from 12.04 to 14.04 via command-line when my system froze, had to do REISUB and dpkg --configure -a to recover from crash after rebooting.  Now everything seems to work except automatically mounting external thumb drives and external hard disk drives. After plugging in said drives, they fail to show up on the left pane and remains unmounted. I can see the device if I run lsusb and fdisk though, so it's possibly to manually mount it but I'd rather resolve why it's not automatically mounting.
3468
I've set up fstab to auto mount media drives on a Linux Mint machine. The OS is installed on a IDE/ATA Disk while 3 SATA disks hold data to share. The BIOS has the ATA disk as first boot device. All SATA drives are NTFS non bootable with a single partition.    When I installed the OS: The ATA disk was seen as sda and the other drives as sdb, sdc and sdd. The problem is that every so often when I reboot, the drives are changing: sda becomes sdd, sdb becomes sda, etc... It doesn't seem to affect the OS, but obviously my fstab config sends errors.   All the drives seem fine, and none of them is ever missing.  So, question: can I force to map the drives with fixed path? I tried using Labels but it didn't seem to work.  Also, I don't know if it is abnormal and/or relevant but my ATA drive has four partitions: - sda1 => OS - sda2 => Empty EX4 partition, maybe concurrent OS in the future - sda4 => Extended partition - sda5 => Swap - sdb4 => SATA HDD 1 - sdc1 => SATA HDD 2 - sdd1 => SATA HDD 3    Isn't there something weird? I'd have thought I would get sda1 to 4, then sdb1, sdc1, and sdd1.  Thanks for your help!
75323
I have a 1TB external hard drive that I recently formatted to NTFS. It was mounting on my Ubuntu 11.10 fine until just now. I didn't make any changes to affect my OS or my exhdd.  The error that I get is:  Error mounting: mount exited with exit code 13: $MFTMirr does not match $MFT (record 0). Failed to mount '/dev/sdb2': 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 did read  and . But neither helped.  I tried installing ntfsfix but no such package exists anymore. I have never used this HDD on a windows machine. If I need to use an other machine to do stuff to fix this, I have access to a mac.  Any advice?   This is my sudo fdisk -l output: What in the world is GPT? I didn't do that. It used to be NTFS.  Disk /dev/sda: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000586fb     Device Boot      Start         End      Blocks   Id  System /dev/sda1   *        2148   961320312   480659082+  83  Linux /dev/sda2       961320313   976773167     7726427+   5  Extended /dev/sda5       961320314   976773167     7726427   83  Linux  WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.   Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0xcfd88605     Device Boot      Start         End      Blocks   Id  System /dev/sdb1               1  1953525167   976762583+  ee  GPT
17507
How can I mount a NTFS partition so that all user accounts on my machine have write access? My mount options are  nosuid,nodev,nofail,x-gvfs-show,nobootwait,uid=1000,gid=1002,fmask=113,dmask=002   This gives me write access but when other users try to delete a file the error message pops up  Cannot move file to trash, do you want to delete immediately?    As I understand this is because they don't have write access which is what I want to change.  I created a new group (with gid=1002) and assigned it as primary group to both user accounts but that didn't help. I also tried mounting without the fmask, dmask and uid options.
97886
I'm not even sure if i worded my question right but, I'm familiarizing myself with Ubuntu and want to install it on a new desktop I just finished putting together so I'm trying it on my laptop via live usb first.    I had trouble mounting my NTFS windows partitioned disks, solved that problem but I also see a disk that has the exact amount of memory I alloted for persistence. I try to access it but it shows the same ACL error I got when my NTFS disks weren't mounting.    I've already downloaded some stuff and made some things with LibreOffice and want to know if those things have been save automatically or if I have to mount the usb disk for it to be persistent.
26572
In order to mount my /dev/sda4  under /mnt/ufs_mount on Debian Testing , i have tried the following commands (it works fine under Debian Jessie):  modprobe ufs mount -r -t ufs -o ufstype=ufs2 /dev/sda4 /mnt/ufs_mount   and:  mount -t ufs -o ufstype=ufs2 /dev/sda4 /mnt/ufs_mount   But i get this error:  mount: /dev/sda4 is write-protected, mounting read-only 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.   The output of: dmesg | tail :  [ 1136.965142] ufs: ufs_fill_super(): bad magic number [ 1255.758946] ufs: ufs_fill_super(): bad magic number [ 2098.945757] ufs: ufs was compiled with read-only support, can't be mounted as read-write [ 2098.946045] ufs: You didn't specify the type of your ufs filesystem        mount -t ufs -o ufstype=sun|sunx86|44bsd|ufs2|5xbsd|old|hp|nextstep|nextstep-cd|openstep ...        &gt;&gt;&gt;WARNING&lt;&lt;&lt; Wrong ufstype may corrupt your filesystem, default is ufstype=old [ 2098.967212] ufs: ufs_fill_super(): bad magic number [ 2927.982112] perf: interrupt took too long (2504 &gt; 2500), lowering kernel.perf_event_max_sample_rate to 79750   Edit My sources.list:  deb http://httpredir.debian.org/debian/ stretch main deb-src http://httpredir.debian.org/debian/ stretch main  deb http://security.debian.org/debian-security stretch/updates main deb-src http://security.debian.org/debian-security stretch/updates main   And uname -a:  Linux debian 4.6.0-1-amd64 #1 SMP Debian 4.6.4-1 (2016-07-18) x86_64 GNU/Linux   How to mount ufs file system under Debian testing?
8651
I have a desktop computer with Ubuntu Desktop 14.04.4 LTS 64-bit with an attached HDD USB 3.0 4TB Intenso 1 partition ext4 data drive only (no OS or Apps). After a sudden power failure, I am unable to mount the drive (checked different host Linux machines with no result).  error message:  sudo mount /dev/sdd1 /mnt mount: wrong fs type, bad option, bad superblock on /dev/sdd1,        missing codepage or helper program, or other error        In some cases useful info is found in syslog - try        dmesg | tail  or so   Tried with fsck, e2fsck with no result. The error message says "Get a newer version of e2fsck".  Tried with all available superblocks backups with no result.  Tried offline file/drive Linux checkers on the offline and UNmounted volume with no result.  Finally, I received the following error message for which I couldn't find any help online:   "has unsupported feature(s): metadata_csum". e2fsck 1.42.9 (4-Feb-2014) /dev/sdd1 has unsupported feature(s): metadata_csum e2fsck: Get a newer version of e2fsck!   Can anyone help me take my data back?
80678
I've got this error and I can't access my files located in a different partition when I'm using Ubuntu, but when I'm using Windows 8 my files are accessible. I'm using Ubuntu as my main OS. I tried shutting down Windows 8 properly but still nothing happened. Is there any way where this can be fixed?  Error mounting /dev/sda4 at /media/kris/BackUp Files:  Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sda4" "/media/kris/BackUp Files"' exited with non-zero exit status 14:  The disk contains an unclean file system (0, 0). Metadata kept in Windows cache, refused to mount. Failed to mount '/dev/sda4': Operation not permitted The NTFS partition is in an unsafe state. Please resume and shutdown Windows fully (no hibernation or fast restarting), or mount the volume read-only with the 'ro' mount option.
72087
When I installed Ubuntu 10.04, I installed it on a single 16GB partition which includes /, /boot, /home etc.  I have another partition on the system (ext3). It is easily accessible from the GNOME desktop Places menu: I just click that Filesystem HDD icon on the Places menu and it is automatically mount as '/media/1326f40a-45df-4ec'.  How do I make that partition re-mount as /home instead? (permanently, that is)
16319
I have a formatted 55GB partition as NTFS, the other part of the hard disk has Windows 7.  Is NTFS the right format for Ubuntu? If not how should I format it and with what format?  Once I finish preparing the partition, how do I install Ubuntu on that partition? I'm not sure how to set up dual-boot Ubuntu and Windows.
60565
I've installed Ubuntu, but when it is loading it gives following error:  mount:can't read proc/mounts. Can't fount such file or directory   However, OS continues loading but when I try to enter system using my login/password, which I entered during installation, it fails to login.  Does someone know what is problem here? I've tried reinstall ubuntu several times, but problem still occurs.  Medium from I installed: Windows 7. Installed Ubuntu with wubi, where I chose separate disk G(NTFS file format), set installation size: 18GB, chose Ubuntu in dropdownlist, language English(GB) and set username and password.
84943
I want to mount a directory on a file server at startup. This is my /etc/fstab entry:  # mount the fileserver https://fsrv.company/ /mnt/fileserver davfs user,auto 0 0   Manually mounting it with mount /mnt/fileserver works fine. However, because of an outdated certificate this issues a prompt which I always have to answer with yes:  /sbin/mount.davfs: the server certificate does not match the server name /sbin/mount.davfs: the server certificate is not trusted [...] Accept certificate for this session? [y,N] y   This device should be mounted when starting Ubuntu (due to the auto option). However, the device is not mounted, probably because of the required input. The owner of the fileserver wont update its certificate.   How can I automate this process, such that the device is mounted at startup with the answer being always y\n?  EDIT: I did download and place the certificate in .davfs2/certs/ and edited the entry in .davfs2/davfs2.conf (as hinted below by @Oli), but the interactive input remains.
25477
I have a Laptop with 1TB hard disk space. I can allocate 100GB for Ubuntu. Currently there is only Windows 7 installed. I am new to Ubuntu &amp; am confused by terms like mount point, root partition, swap partition, etc. The doc over  gives some details, but I dont know what they mean. For installing Ubuntu I have shrunk 100GB from a drive &amp; now that space is unallocated. So what should I do now? In how many partitions should I divide that space &amp; what conventions should be followed. Should I do this in the Ubuntu installer or should I do all this before installing Ubuntu? Please I dont understand the terminologies used on that doc so please tell me in simple language. Thank You.
46995
I 've unmounted a disk /dev/vdc1 on my machine, after I format it into xfs file system, I didn't mount it again, either didn't add the adequate line to fstab file.  Now when i want to mount this partition, but I can't access to it: mount: can't find dev/vdc1 in /etc/fstab or /etc/mtab.  So how should I put in fstab file so the system recognizes it again ? the partition was mounted on /Data
43370
we need to add disks on more then 100 redhat machines,  therefore we need to update also the /etc/fstab on each machine  the problem is that some machines configured with UUID and other with ordinary dev in fstab  so I want to make a bash script that will identify the fstab configuration as the following   in case fstab configured with UUID add new UUID lines for each additional disk in case fstab configured with ordinary dev then add new dev lines for each additional disk   so my question is - what is the best approach to identify what configured in fstab  UUID or ordinary dev ?  remark - not include the OS , we talk here only on additional disks in HW machines   here is example of linux machine with UUID conf in fstab  /dev/mapper/vg00-loov_root /                    xfs     defaults      00  UUID=7de1dc5c-b605-4a6f-bdf1-f1e869f6ffb9 /boot                   xfs      defaults        0 0 /dev/mapper/vg00-loov_var /var                    xfs     defaults       00  /dev/mapper/vg00-loov_swap swap                    swap    defaults      00  UUID="fcb73644-4ad3-4b19-85f8-dbb9ed53a871"   /data/sdb                        ext4 defaults,noatime 0 0 UUID="5f56c1d6-266f-4ea2-a8f7-df06f08e01c0"   /data/sdc                        ext4 defaults,noatime 0 0 UUID="4c908671-4045-41e8-a396-a5198978e3ac"   /data/sdd                        ext4 defaults,noatime 0 0 UUID="d44fe62a-72dc-4674-91ac-5a1962797e22"   /data/sde                        ext4 defaults,noatime 0 0 UUID="ee3d8fa8-e000-4abb-a26c-da99499e630c"   /data/sdf                        ext4 defaults,noatime 0 0 UUID="61e9e16f-eb49-4c97-aaf0-0ed2dc3f3007"   /data/sdg                        ext4 defaults,noatime 0 0 UUID="ada12394-0e0b-4657-a148-d85548d7bc75"   /data/sdh                        ext4 defaults,noatime 0 0
50841
I intend to use fsck for checking my Linux partition of the main disk, because its file system is suspicious of being not unmounted cleanly by shutting down the system. I have searched in my environment variables: none of them except of PATH should control the fsck program. But the program apparently needs to be used during a boot: :~$ fsck -V fsck from util-linux 2.20.1 Checking all file systems. [/sbin/fsck.ext4 (1) -- /] fsck.ext4 /dev/sda6  e2fsck 1.42 (29-Nov-2011) /dev/sda6 is mounted. WARNING!!!  The filesystem is mounted.   If you continue you WILL cause SEVERE filesystem damage. Do you really want to continue? no check aborted.  (There is no /forcefsck file in my root according to  . My etc/fstab file contains    # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # #                 proc            /proc           proc    nodev,noexec,nosuid 0       0 # / was on /dev/sda6 during installation UUID=1ac55d8d-c112-4bc7-9e79-921d196f9f79 /               ext4    errors=remount-ro 0       1 # swap was on /dev/sda7 during installation UUID=54f7e314-50e2-419b-a45d-47c3058ecc00 none            swap    sw              0       0 /dev/fd0        /media/floppy0  auto    rw,user,noauto,exec,utf8 0       0   ). According to an answer to  I have tried tune2fs hoping that I'll get the present value of the max_mounts_count parameter to be able to set it to 1 for checking the partition during the next boot. But after sudo rm /var/lib/update-notifier/fsck-at-reboot and a restart I have only got a response  :~$ tune2fs -l /dev/sda6 tune2fs 1.42 (29-Nov-2011) tune2fs: Permission denied while trying to open /dev/sda6 Couldn't find valid filesystem superblock. Can I use sudo tune2fs -l /dev/sda6 safely? Thanks.
103752
Presently in the install (USB stick) for 32-bit Ubuntu 12.04.1.  Want to have dual-boot capabilities between Windows 7 and Ubuntu.  Have partitioned hard drive with Windows System (sda1), Windows OS (sda2), Ubuntu (sda3 - with ext4 file system and a "/" mount point), swap (sda4) and need to know what file system to select for the remaining free space (storage) partition with a /home mount point?  I presume it to be either FAT32 or ext4, yet I need to be sure that it enables cross-sharing of documents/directories with both Windows 7 and Ubuntu operating systems.  Also, is FAT32 an NTFS type of system?  Thanks in advance.