Ubuntu :: Mount: Can't Find /dev/sdb1 In /etc/fstab Or /etc/mtab
Sep 28, 2010
I just installed pysdm so I could configure what drives mount on boot, and now when I go to access my external harddrive, this is what I get:
Unable to mount Hard Drive
Error mounting: mount exited with exit code 1: helper failed with:
[mntent]: line 11 in /etc/fstab is bad
[mntent]: line 12 in /etc/fstab is bad
[mntent]: line 13 in /etc/fstab is bad
[mntent]: line 14 in /etc/fstab is bad
mount: can't find /dev/sdb1 in /etc/fstab or /etc/mtab
View 7 Replies
ADVERTISEMENT
Nov 9, 2010
I tried to mount my CD Rom drive and got this response: "mount: can't find cdrom in /etc/fstab or /etc/mtab"
I did see the CD Rom drive briefly after I upgraded from 10.04 to 10.10 but I couldn't access the drive and when I logged back in.
View 5 Replies
View Related
Sep 22, 2010
I've observed a problem which stops me from mounting my external hard disk into my machine. I used a bash script to perform the mounting operation; but the script faced error, Whereas the mount command works properly correct when I use it directly in command line.
#!/bin/bash
mount_point= fdisk -l | sed -n '$p' | cut -c1-9
mount $mount_point /mnt
the code should have split the mount location of external hard disk in /etc/fstab and pass the mount_point' variable to mount command, but it doesn't.
ERROR:can't find /mnt in /etc/fstab or /etc/mtab
View 4 Replies
View Related
Jul 6, 2010
My HD contains a Windows, Fat32, two Linux & swap partitions. Recently, I had to recover my partition table with "testdisk", due to a foolish attempt to resize a partition.I recovered all partitions, with the exception of my root partition. I left that unallocated, then reformatted it with GParted, to be of a larger size.All data has been recovered & the PC works fine, just as it always has.The wierd thing is that the original "root" partition seems to co-exist on the same partition as my Fat32 data(???)GParted shows my root partition as almost full, when it should only be about half full....then my Fat32 partition shows empty, when it should be about 3GB full. Root should only be about 5GB, not almost 9GB.I believe that my mtab & fstab are corrupt relative to the partitions that GParted lists, and need to be fixed. However, I don't know where to start.?
View 9 Replies
View Related
Apr 21, 2011
I am trying to get a mount in my root directory to a folder on a remote machine so that a log in is not required to access it. I seem to be having some problems with permissions though.
So far I have:
- added the machine to my /etc/hosts file
- added remotemachine:/data /auto nfs ro,soft 0 0 to my /etc/fstab
- added remotemachine:/data /auto nfs rw,soft,addr=10.112.33.4 0 0 to my /etc/mtab file
- added /hostmachinefolder mymachineip(rw) to the host /etc/exports file
However when I mount -a on my machine I get:
mount: remotemachine:/folder failed, reason given by server: Permission denied
View 4 Replies
View Related
Apr 27, 2011
I used the ntfs-config utility to mount my windows drives automatically at startup. While doing so, I had my USB-HDD still attached, and after making changes and rebooting, it did something unknown I didn't expect and I cannot mount my USB-HDD again, and it gives me the following error message:
Error mounting: mount exited with exit code 1: helper failed with:
mount: only root can mount /dev/sdb1 on /media/MyUSBDrive
I did manage to open it somehow, but then all the data was erased apart from ~3 GiB [edit: it's got some kind of extra drive built-in which is mounted as a CD-ROM drive, and when I open that one first all the files are missing in the actual drive, otherwise I get the message above]. I don't know what information I should include here, but my fstab looks like this:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
[code]....
This line in terminal:
sudo mount -t ntfs-3g /dev/sdb1 /media/sdb1
Gives:
fuse: failed to access mountpoint /media/sdb1: No such file or directory
What should I do to recover my files and fix the mount error? [edit: at the very least, how do I backup my files onto my internal HDD so I can format it and recover it in this manner]
View 6 Replies
View Related
Jan 13, 2010
Gateway m275 laptop with builtin smartcard reader. I've done modeprobe - <mmc module of all types> after having removed modprobe.conf file. I see that there is a pcmcia rules, Do I add all modules to this list so hat it can be probed. Once pccardctl is working, how do I find the volume and mountit or set fstab to create the mount point or to have it automatically mounted in media.
View 1 Replies
View Related
May 23, 2011
I just discovered that you can automount an ext4 filesystem with acl enabled by running "tune2fs -o acl". (I knew about tune2fs but did not dare to use it until now). However, the acl mount option does not show up in /etc/mtab and /proc/mounts. Can I ignore this, or is there a way of telling the system about the actual mount options?
Edit: I can do "tune2fs -l <device> | grep acl | awk '{print $4}'" and if that isn't empty I can update /etc/mtab with "mount -f -o remount,acl <device>", but like the udev rule I previously messed with this seems lumberingly unelegant to me.
View 2 Replies
View Related
Jun 4, 2010
I'm trying to get some data off of an external harddrive. I get a few errors:Unable to mountError mounting: mount: /dev/sdb1: can't read superblock.I then tried to run a read disk benchmark on disk utility and that seemed okay.I then tried
Code:
ubuntu@ubuntu:~$ sudo fdisk -l /dev/sdb
Disk /dev/sdb: 320.1 GB, 320072933376 bytes
[code]....
View 4 Replies
View Related
Feb 6, 2010
I run a headless Ubuntu 8.04 server, which acts as a web, email and file server. I am sticking with 8.04 as it is a LTS release and will upgrade to the next LTS when it is released.
I have two external USB drives, that I need to mount at boot. I have been using /etc/fstab up until now, with the following entries:
Code:
However, as I gather from doing searches is quite common, occasionally I get an error during boot (causing the system to drop to a recovery shell) because the USB drives take time to wake up and the system hasn't found them by the time it reads /etc/fstab.
From doing searches, it seems there is nothing you can do to fstab to fix this, so you need to mount them using an rc.local script instead, using:
Code:
The problem is, as I have two USB drives, their /dev/sdxx location changes between boots. I thus want to use UUID codes as I do in fstab, however I haven't found anything about this.
Does anyone know how I can use the mount command and UUID to mount a drive in rc.local and what options I have to use the mount the drive with the same options that I am using in my fstab entry? Obvisouly, I can't refer back to fstab using the mount command, because then I will still get the boot error issue if they are listed in fstab. And there is no space internally for the USB drives as there is already two internal drives.
View 3 Replies
View Related
Feb 10, 2010
I am trying to setup fstab to automatically mount my NTFS partitions. I have used various Mount managers to create the entries in fstab. The fstab seems fine, but when mounting at boot or even via Nautilus I get the error message that I do not have permission to mount the disk.
1) Can this permission be set in the fstab file? If so what is the syntax of the fstab entry?
2) If not, is there a tool i.e. GUI to set the mount permissions?
View 14 Replies
View Related
Jan 4, 2011
I have 10.10 installed and working OK. The Home directory is located on a second 1TB disk (sdb1). Recently, I've started to experience random boot failures where the start-up routine gets as far as showing the '10.10' logo with the progress dots underneath, but then throws up an error message saying that it cannot mount sdb1. I then have an option to Quit or drop into the shell to do a manual restart.
If I then do a Ctrl/Alt/Del, the system reboots, but usually fails again. Powering off and on, sometimes more than once, is the only way to eventually get a clean boot. The drive causing the problem is fairly new and all the diagnostic checks seem to indicate that it's healthy, so I'm not sure what causes the problem.
View 2 Replies
View Related
Feb 13, 2010
Just moved to Ubuntu from XP. Whole process has gone very smoothly, but left with a small problem (i.e. it isn't actually affecting usability) that I don't seem to be able to fix and can't find on forums/internet. I also have a problem with the Floppy drive, but I've seen that problem elsewhere in the forums.
It's a dual boot system with both NTFS and Ext4 drives. All are visible and fully accessible. I decided to convert one of the NTFS drive to Ext4. That appeared to be successful and was successfully remounted as an Ext4 drive. The drive label is "Data". I did have a bit of a problem getting it remounted so that I could see/use it under my log-in as opposed to just under root. It's at this point I think that I did something to create the problem.
I now have two entries for "Data" in drop down menu for Places. The true one is shown as a standard hard drive icon, but the false one is shown as a different icon - possibly an external drive icon (note that the floppy drive is also showing as the same icon and I can't access that, but I've seen that's a problem elsewhere in the forums).
I can write and read to the true "Data" hard drive. If I click on the other false "Data" icon, I get the message "mount: /dev/sdd1 already mounted or /media/Data busy mount: according to mtab, /dev/sdd1 is already mounted on /media/Data". If unmount the true drive and try to mount the false drive, the system mounts the true drive instead. If I log into nautilus as root, neither the false data drive or the floppy appear in the left hand panel.
View 9 Replies
View Related
May 22, 2010
I'm really tired of having to umount under root, then mount again as a user for my external hard disk. When I'm in firefox, I like to save pages alot onto my external but I constantly have to remount because my user has no write permissions for the drive. What can I do for my device in fstab so that it mounts automatically under my user and not root?
View 9 Replies
View Related
Sep 3, 2010
I have a router that supports NAS; that is, you can plug a USB drive directly into the router, and it becomes a Windows share. I can manually mount the NAS share and use it properly. But, I would like to have it automatically mount on startup. The main reason for this is to assign it a proper mount point so that I can access it from the command line, since I'm having trouble doing that after I mount it manually.
To mount it manually, I go to Places > Connect to Server, select the "Windows Share" service type, and enter "//192.168.1.1/USB_Storage" as the server name. The server name is supposed to be "//readyshare/USB_Storage," but that does not work, so I used the IP address.
I would like to mount this drive at /mnt/readyshare. So, I followed (I thought) the instruction in this document. I created the directory /mnt/readyshare I assigned myself a samba password with smbpsswd I created a group "readyshare" with the GID 1010 I created a .smbcredentials file in my home directory I modified my /etc/fstab file.The .smbcredentials file reads:
Code:
username=<my username>
password=<the password I created with smbpsswd
The line I added to my /etc/fstab is:
Code:
//192.168.1.1/USB_Storage /mnt/readyshare smbfs iocharset=utf8,credentials=/home/<my username>/.smbcredentials,dir_mode=0775,gid=1010 0 0
But, no dice. The share does not mount.What am I doing wrong?
View 9 Replies
View Related
May 5, 2010
I have a problem with one of my partitions, that used to be automounted trough fstab, before my upgrade to Lucid.
The partitions is used for storing all things related to virtualization. It's purpose is not relevant to the error, I think.
The affected part of the fstab file looks as follows:
Code:
# backuppartition on sdb
UUID=b623c9a2-8d4a-4399-be07-b8b1c74d23fd /backup ext4 defaults 1 3
# Virtualization Partition
[Code].....
P.S. I tried editing the fstab for the virtual parition, to
UUID=a56a9445-d375-45b4-abb5-d3512da0a3e6 /home/***/virtual ext4 defaults,auto 1 3
View 3 Replies
View Related
Aug 18, 2010
Installed ubuntu 10.4 on a formatted hard drive IDE. desktop has two other drives , one SATA drive and one SCSI drive. SCSI drive has windows.
Both windows and ubuntu load fine through GRUB2 etc
I had installed WUBI before on the SATA drive and then i uninstalled it.
problem is that when i log in to Ubuntu i see on fdisk
But i cannot access the SATA drive /dev/sda i tried mounting the drive but i get an error saying this is mounted as /dev/sdb5
How do i mount the SATA drive to get access to the drive ? i messed around with this drive when i was using WUBI. i.e. tried to mount it to recover grub but never got it working. Now somehow it seems that this old mounted drive is messing with my current Ubuntu install.
How to recover my fstab is shown below:
Changed the connect sequence in BIOS and mounted the volume using sudo mount /dev/sdb1 /media/sdb1
View 1 Replies
View Related
Mar 21, 2010
I have a command line that mounts the disk of my mobile
Code:
It works, but there is a problem with it. Every folder and file has root:root ownership, so I am unable to change anything. Even when I change permissions manually, it does not work.
Now, I want to move this to fstab but have no idea how an fstab line should look like. Obviously, I want to also have rw access to the disk.
View 7 Replies
View Related
May 9, 2010
I have since quite a long time the problem that files using special characters in their filenames are not displayed in various applications. In console or Thunar I have a special "white questionmark in a rhombus" sign for every special character. It is an XFS partition. I have read a few times that this can be solved by using the iocharset=utf8 option in /etc/fstab, but this option is not recognized and the mount inhibited.
I used other options: utf8 as well as nls=utf8, but that was not recognized neither. What option do I need to specify to enable utf8 for XFS ? Samba works. That means I can play an MP3 file in Windows exported from the XFS disk using Samba, although the special character is then shown as "_" in Windows..
View 4 Replies
View Related
Jul 29, 2010
I'm trying to add a line to fstab to mount a share on every boot. I can mount the share manually using
sudo mount -t nfs 192.168.2.1:/x_machine /mnt/test
I've added the line
192.168.2.1:/x_machine /mnt/test nfs rw,hard,intr 0 0
to my /etc/fstab file, but it doesn't seem to mount on boot. What am I missing. I tried looking in the log files for an error, but couldn't find anything. Ubuntu 10.04 x64 desktop edition.
View 7 Replies
View Related
Nov 27, 2010
I installed 10.10 yesterday and all seemed fine. Now I made an NFS mount in /etc/fstab like I use to in 10.04
Kaapstad:/admin /mnt/Kaapstadadmin nfs defaults 0 0
but get this:
# mount -a
mount: wrong fs type, bad option, bad superblock on Kaapstad:/admin,
missing codepage or helper program, or other error
(for several filesystems (e.g. nfs, cifs) you might
[Code]....
In /mnt, /etc/hosts everything is set as should be. In other posts I'm reading other problems with nfs as well. Is there a bug?
View 2 Replies
View Related
May 1, 2011
I've recently installed Natty and now I've got a problem mounting two of my partitions via fstab. This is what my fstab file looks like:
Code:
proc /proc proc nodev,noexec,nosuid 0 0
UUID=2ea65813-a227-405f-90d2-69598120808e / ext4 defaults,errors=remount-ro 0 1
UUID=6e4f2339-b796-484e-9473-804b4db1531e /home ext4
[Code].....
I CAN mount them by first executing sudo umount -a (which tells me that the two partitions in question cannot be unmounted, because they are not mounted) and then sudo mount -a (which correctly mounts the two partitions). The mount does not work, if I omit the umount command.
View 3 Replies
View Related
Oct 28, 2009
I can access the files I need by using the telnet command, but I need to have access to the files in my local file system. Is it possible to mount a shared drive over telnet in the fstab file?
View 8 Replies
View Related
Sep 25, 2009
On my Suse 11.1 computer, I'm only able to run 'mount' as root, but this screws up the permissions somehow, in that my external drives are now read only when I am normal user. I can plug my external drives to my mac osx laptop via usb or firewire, and I can read,write, and execute. As su, I can mount the drives using usb on my suse computer, but only as read only.
Optimally, I want to edit the fstab file to auto mount these external drives, and then have samba run to make the drives available (i.e. rw) on laptop.
NOTE:
1. I created the file systems on a laptop (mac osx) which has different user name than my suse 11.1 computer.
2. I tried to use chown to manually force user:group to be Mike:users instead of root:root, but the external drives still are 'read only.' Trying different options in column 4 fstab file kept giving same trouble, but I can now get user:group = 99: 99 (not sure what that means).
View 9 Replies
View Related
Sep 8, 2009
Can I mount ftp server in fstab? I have a ftp server and I want to mount it in fstab to /mnt/myftp. Is that possible?
View 8 Replies
View Related
Mar 20, 2010
how do i give group write permissions in fstab? i'm trying to mount a virtualbox shared folder. currently my fstab looks like this Code: Share_Name /mnt/point vboxsf rw,uid=1000,gid=1000 0 0 i want to give both the owner and group, write permissions. currently, only the owner has write permissions, and group read with these mount options.
View 3 Replies
View Related
Apr 30, 2010
I have the following line in my fstab:
Code:
//192.168.0.242/websites /mnt/supercube cifs rw,user=XXX,pass=XXX,iocharset=utf8,file_mode=0777,file_mode=0777,dir_mode=0777,uid=XXX 0 0
But it doesn't auto mount with everything and disconnects whenever I suspend my computer. The only way to get it to mount is with
Code: sudo mount -a and it mounts fine with no error.
Did lucid change the way it uses fstab or something? Obviously writing mount -a isn't a huge concern, but it kind of destroys the point of putting it in my fstab.
View 9 Replies
View Related
Mar 15, 2011
One entry I have put in fstab results in the failure of a partition to be mounted at boot time. I get the message:
Code: The disk drive for /media/WinXP is not ready yet or not present. Continue to wait; or Press S to skip mounting or M for manual recovery If I choose M and enter the command: Code:mount -t ntfs /dev/sdb1 /media/WinXP then I get no error message, but the partition still doesn't seem to be mounted, when boot completes.
I don't understand this failure. I have created my fstab file using UUIDs to boot Ubuntu on my dual boot machine. It works fine, booting from the hard-disk which is Master on my Secondary IDE channel. For Ubuntu booting the MBR and grub menu are on this disk. The default is to boot Ubuntu , but with an option to select Windows Xp.
As an aside, I can set an option in my BIOS to make the Master disk on the Primary IDE channel the first disk, rather than the second disk. Then the system boots from the MBR on this Primary IDE channel and boots only to WinXP. That works fine.
When running Ubuntu I use space on the Windows disk (on the Primary IDE channel) to hold backups of key Ubuntu files in case I loose Ubuntu - as I did for the past few days. So, to mount this partition I inserted this line into my fstab:
Code:
UUID=0e4851c44851ab6b/media/WinXPntfsnosuid, nodev, allow_other00 I know the UUID is correct because I have checked it with blkid. But the partition is not mounted at boot time. I don't even get an icon for the partition on my desk top. It appears in the 'places' menu, as unmounted, but mounts as soon as I click on it. However, this causes some of my linux apps, which want to load and save to this partition, to post an error message until I have manually mounted it via clicking on it in the Places menu. I want to avoid this manual step by having the partition automatically loaded at boot time. What am I doing wrong?
View 9 Replies
View Related
Feb 2, 2016
On my debian jessie "testing" I have set in fstab some line to mount folder located on my pc server...
When pc boot up the error is
Code:
Select allFailed to mount /mnt/Web
See 'systemctl status mnt-web.mount' for details...
CIFS VFS: cifs_mount failed w/return code = -101
Then, after logging in, if I run mount -a all works correctly...
Maybe error was LAN that is not started? In this case how to resolve?
View 11 Replies
View Related
Mar 13, 2011
/dev/sda1: UUID="1ABC9F967605D379" TYPE="ntfs"
View 2 Replies
View Related