Ubuntu :: Fstab Entry For 2nd Disk Fails To Mount - Can't See Any Error
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
ADVERTISEMENT
Feb 5, 2010
I am running SUSE 11.1 on a 80Gig IDE HDD, I have added a 160 SATA HDD which I wish to use as storage.
fdisk reports it as /dev/sda1 - W95 fat 32 LBA. What would the fstab entry be to make the disk mount automatically on boot, so that it shows on the desktop ready for use.
View 5 Replies
View Related
Jul 28, 2011
Code:
192.168.0.133:/openils /openils nfs4 rw,_netdev,auto 0 0
fails to mount the nfs4 share, however
[code]...
View 6 Replies
View Related
May 20, 2011
i want to mount NTFS by normal users so i used the following entry in fstab /dev/sda6 /media/Mostafa ntfs-3g noauto,exec,rw,user 0 0 however when i try to mount the partition i get the following error Unable to mount Mostafa
Error mounting: mount exited with exit code 1: helper failed with:
Error opening '/dev/sda6': Permission denied
Failed to mount '/dev/sda6': Permission denied
Please check '/dev/sda6' and the ntfs-3g binary permissions,
and the mounting user ID. More explanation is provided at
NTFS-3G Questions at Tuxera
[Code]...
View 6 Replies
View Related
Dec 15, 2010
I spent all day learning some concepts of Samba which I left while preparing for RHCE.One of them is how to permanently mount (fstab entry) windows shared folder.Manually mount command is running fine for me.
View 6 Replies
View Related
May 26, 2010
I was able to successfully create a small, fixed-size "ram disk" just for kicks, via:
Code:
sudo mkfs -t ext3 -q /dev/ram1 65536
sudo mkdir -p /media/ramdisk
sudo mount /dev/ram1 /media/ramdisk -o defaults,rw
However, I wanted it to auto-boot, so I added the line to fstab:
Code:
/dev/ram1 /media/ramdisk ext3 defaults 0 0
This, however, rendered Ubuntu unbootable and I had to repair the fstab by removing the line via a Live CD. I had enough patience to boot through the CD an extra time to see if just deleting "ext3" would work, but it did not. What would cause this to make the system unbootable and how I could make it work?
View 5 Replies
View Related
Jan 5, 2010
What would be the best way list disk and partitions in the fstab file?
View 1 Replies
View Related
Sep 13, 2011
I mount a device mount /dev/xvdf /mnt/mongo and verify the mount using df-h:
Filesystem Size Used Avail Use% Mounted on
/dev/xvda1 7.9G 955M 6.9G 12% /
tmpfs 299M 44K 299M 1% /dev/shm
/dev/xvdf 20G 589M 19G 4% /mnt/mongo
But now I'm trying to figure out how to make it auto mount on boot. I understand I need to add a new entry to /etc/fstab, so I perform: $ sed -i '$ a/dev/xvdf /mnt/mongo xfs defaults 1 1' /etc/fstab But, after reboot, it seems that the auto mount didn't work. The device didn't appear in the df -h list.
View 2 Replies
View Related
Mar 29, 2010
How do I make an entry in fstab for my mp3 player if connected but won't cause errors if not connected. If I plug the player in after boot it mounts on /dev/sdd, but if it's plugged in before boot it mounts on /dev/sda. I would like it to always mount on /dev/sdd. Plus if I reboot into my Natty install, from maverick, with the player plugged in it won't even boot. When mp3 player connected after boot.
Code:
glen@MavMusic:~$ sudo blkid
/dev/sda1: LABEL="XP" UUID="F0D4A588D4A55220" TYPE="ntfs"
/dev/sda2: LABEL="Storage" UUID="E0D8480AD847DE02" TYPE="ntfs"
/dev/sda5: LABEL="UBUP" UUID="9c04ea8b-889a-4b40-989a-dcb51cba0db7" TYPE="ext3"
/dev/sdb1: UUID="610db18d-a68f-4d23-aa48-117044d6492d" TYPE="ext4"
[code]...
View 9 Replies
View Related
Nov 11, 2010
I just went from Jaunty to Maverick. I booted Maverick and manually mounted my Windows Network drives by clicking on the appropriate "mount" command in the directory /media.I then created an fstab file like I did in Jaunty. Here is the smb mount command that I had in the fstab file. I had a file with the user id and password in the credentials file.Code://???.???.??.?public_p/media/servername smbfs credentials=root,dmask=0777,fmask=0777 0 0This provided me access to my server for the past 18 months.I modified the fstab file for Maverick which was working fine for 3 days so I would automatically mount the server drives.
View 1 Replies
View Related
Jul 24, 2011
I have a disk that is formatted as NTFS (from Windows 7 - dual boot with Ubuntu Studio). This is not a boot disk, just an extra disk for data. I would like it to be available to both OS's. In Ubuntu, I went to System -> Administration -> Disk Utility and saw the disk. I clicked on the volume name and clicked Mount. I would like this always mounted when I restart Ubuntu. It was mounted as /media/Data2 (/dev/sdc5).What is the best/preferred way to format the entry in /etc/fstab?
View 5 Replies
View Related
Apr 16, 2011
I am trying to mount a smb share on an ubuntu machine and for the life of me I can't figure out the fstab entry. The server is running fine and the windows machines can map their shares fine, I just cant figure out the fstab entry for an ubuntu box.at this point the fstab looks like this(although I have tried many variations)
Code:
//server/path/share /path/mount/point smbfs credentials=/root/.credentials, uid=1000, gid=1000 0 0
[code]....
View 3 Replies
View Related
Feb 2, 2010
I run a mediaserver on Archlinux, working perfectly (or almost). I have set up NFS v3 and that worked for me on these clients:
- Debian Lenny
- Archlinux 64bit
Now I've upgraded my Lenny-box to squeeze and I see that 2 of my 3 shared folders (tdone and twatch) are mounted like they should and the third one (media) doesn't come up. A 'mount -a' as root gives this error: mount.nfs4: access denied by server while mounting (null) My relevant fstab-lines:
[Code]....
how I can go about debugging this?
View 1 Replies
View Related
Nov 13, 2010
is it safe to change fstab UUID entry for the system to /dev/sdb4? and after editing fstab, is there a script or command I need to run to release lock or update mount information? edit: I see not correct, and therefore not safe,but is there a format to tell linux to use /dev/sda1 instead of UUID= or label= .
View 9 Replies
View Related
Jun 15, 2011
when i starting the server..it is coming to maintenence mode and saying repair file system...because /home1 was not found in /etc/fstab.. when i tried to remove the entry from fstab for /home..it is read only!!
View 5 Replies
View Related
Nov 13, 2009
I have centos 5.3 installed. I plugged in a WD usb external HD, Icon is showing up on desktop everything is working formatted with ext3. I would like to have an entry for this in my /etc/fstab file, and I need to know how to enable Quotas on some files on it.
View 3 Replies
View Related
Jul 10, 2010
I just did a fresh install of Lucid, and while I was at it decided to expand my RAID 5 Storage array. Everything seems to have gone fine and I've been able to format the array without an issue. When I reboot,the array automatically appears to mount. However, whenever I try to move a file to the array,I get an error sayingdon't have the right permissions. If I right click on theray and go to the"Permissions" tab,I get an error saying the permissions can't be determined. If I run the mount command in a terminal, I can see the storage array listed, but if I open the /etc/fstab file, I don't see it listed there. So my question is two fold: I don't understand how the array is automounted if it is not in fstaband:how can I change the permissions so I can copy files to the array?
View 8 Replies
View Related
Jun 28, 2010
I have an SiI hardware SATA RAID card, with two 500GB disks in mirrored RAID configuration. When I first plugged them in and set it up, things seemed to work ok, but on boot the raid controller told me that the RAID needed rebuilding, and it would happen automatically after POST. So I didn't worry about it, and the drive mounted fine, and it's been that way for years. I just went in and manually on-line rebuilt the RAID in the controller's BIOS, and now when I boot into Ubuntu, both disks show up in fdisk, but neither show up in /dev/disk/by-uuid. Am I missing something?
View 9 Replies
View Related
Jul 18, 2010
I've installed Ubuntu Server V9.10 (64-bit) on a brand new server I built with no previous OS installed. The drives are two Hitachi 1 Tbyte hdd's configured as RAID1, an ASUS M4A78T-E motherboard with an AMD Phenom-II cpu with 8 Gbyte of memory. I updated the bios following building the computer. The Ubuntu 9.10 server installation appears to go without error. However, on reboot I get the message:
Grub loading
error: no such disk
grub rescue
I suspect the MBR is missing or Linux is not pointing to the correct drive in the grub.cfg.I've made sure the boot order is correct, but other than that I don't really know the commands or syntax to troubleshoot this problem. The only CD I have is the Ubuntu 9.10 server ISO I downloaded and burned to dvd.
View 1 Replies
View Related
Feb 1, 2010
I've installed Ubuntu Server V9.10 (64-bit) on a brand new server I built with no previous OS installed. The drives are two Hitachi 1 Tbyte hdd's configured as RAID1, an ASUS M4A78T-E motherboard with an AMD Phenom-II cpu with 8 Gbyte of memory. I updated the bios following building the computer.
The Ubuntu 9.10 server installation appears to go without error. However, on reboot I get the message:
Grub loading
error: no such disk
grub rescue
I suspect the MBR is missing or Linux is not pointing to the correct drive in the grub.cfg.
I'm a noob to Linux. I've made sure the boot order is correct, but other than that I don't really know the commands or syntax to troubleshoot this problem.
The only CD I have is the Ubuntu 9.10 server ISO I downloaded and burned to dvd.
View 1 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
Aug 9, 2010
My computer has become quite strange the last days, last week grub stopped working and just halted at the grub prompt.
I can manually start the system by writing
insmod /boot/grub/linux.mod
linux /vmlinuz root=/dev/sda1 ro
initrd /initrd.img
boot
[Code].....
Note:
The system is a Ubuntu 10.04 based system on a old HP laptop.
Related questions:
grub2 error: out of disk
View 1 Replies
View Related
Dec 27, 2010
Downloaded Ubuntu 10.04.1 Desktop AMD64, tried to install it to a cleand HDD using the whole HDD, i.e. gave it permission to use the whole HDD. Installation process appeared to run OK but when it came to the restart it just fired up the message
error: out of disk
grub rescue>
I've searched this forum and found numerous references to these error messages but cannot make head nor tail of the diagnostic suggestions. Apart from anything else they suggest strings of command lines which I don't understand and can't enter anyway since they don't correspond to my keyboard layout (if I hit > or ) something completely different appears on the screen). Is there someone here who can provide a step-by-step solution in lay language? Or is there such a thing as a bootable file which can be downloaded and inserted into my CD drive to correct this problem?
View 9 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
Jul 13, 2011
Downloaded Ubuntu 10.04.1 Desktop AMD64, tried to install it to a cleand HDD using the whole HDD, i.e. gave it permission to use the whole HDD. Installation process appeared to run OK but when it came to the restart it just fired up the message
error: out of disk
grub rescue>
I've searched this forum and found numerous references to these error messages but cannot make head nor tail of the diagnostic suggestions. Apart from anything else they suggest strings of command lines which I don't understand and can't enter anyway since they don't correspond to my keyboard layout (if I hit > or ) something completely different appears on the screen). Is there someone here who can provide a step-by-step solution in lay language ? Or is there such a thing as a bootable file which can be downloaded and inserted into my CD drive to correct this problem ?
View 3 Replies
View Related
Apr 13, 2010
I want to use Access Control Lists (ACLs) on a removable usb hard drive. I don't know how to set up /etc/fstab for usb drives. Every time I try to make an fstab entry for the usb drive I get an error, when I plug in the usb drive and the system tries to automatically mount it. The drive isn't mounted. If I delete the fstab entry for the usb drive, the drive automatically mounts with no problem. However, ACLs are not enabled, because no fstab entry exists to enable ACLs.
The error message states that "only root can mount the drive". However, as far as I can tell, automatic usb mounting is being done by root. When I plug in the drive (with no fstab entry) and it automatically mounts, Nautilus Properties shows the drive is owned by root and has permissions of rwxr-xrwx.
View 1 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
Mar 29, 2010
I am trying to mount an external hard disk using a USB docking station
I can see the entries for different partitions of the hard disk in fdisk -l but there is no node file created in /dev folder. So, I am not able to mount.
Something like this -
#sudo fdisk -l
Disk /dev/sdd: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xf5bdf0ff
[Code]....
View 3 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