Ubuntu Servers :: VirtualBox - Partitions In Fstab Hosed
Jun 23, 2010
Every time my kernel is upgraded (happens often), I reboot and forget to reinstall the VirtualBox guest additions, so my partitions in fstab that use vboxsf (for shared folders) are hosed.
View 1 Replies
ADVERTISEMENT
Jan 5, 2010
What would be the best way list disk and partitions in the fstab file?
View 1 Replies
View Related
Jan 14, 2011
My Laptop has Ubuntu 9.04 and I am using it for the past one year. I have four partitions. Gparted Screen Shot attached.
/dev/sda5 was mounted as "Laptop 2"
/dev/sda6 was mounted as "Laptop 3"
But from today morning I was not able to access any of the files from my hard disk. When I press the "Computer" Menu Item from the "Places" menu I could access all the files on my hard disk. It shows an error message attached with this thread. The system boots perfectly and work perfectly. "Laptop 2" and "Laptop 3" disappeared.
I searched the net and found ways to mount the Partitions with these following commands.
sudo nano /etc/fstab
# /etc/fstab: static file system information.
# Use 'vol_id --uuid' 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) .....
Is there any way I could use "Laptop 2" and "Laptop 3" as my mount points as it was earlier.
View 9 Replies
View Related
Jun 23, 2011
I have ubuntu 10.04 LTS installed. I want to mount a windows partition. I can, of course, use fstab. However, I open nautilus and click on the windows partition in the placed panel. How do I use mount (or any other command) to emulate this?
View 6 Replies
View Related
Feb 18, 2011
I'm trying to bind a couple of LVM partitions to directories in the /export directory for NFS hosting. I just want to make it clear that the partitions I'm trying to bind are local LVM partions, the binding is to allow NFS export (they are not networked partitions).
My distro is Ubuntu 10.10 if that makes any difference.
I can bind the partitions perfectly manually using this as an example:
Code:
However fstab fails to bind when I restart, and trying to use the fstab with a mount command to check it yields:
Code:
Are their subtleties with LVM that I do not understand?
Before setting up LVM, I previously had partitions bound in fstab with no issues using regular partitions (for NFS export again).
my fstab:
Code:
View 3 Replies
View Related
Feb 21, 2010
I woke up this morning to a non-booting 9.10 computer. After my grub screen disappears, I get the familiar Ubuntu b/w logo in the center of my screen. My hard drive cranks for an abnormally long time and then I get the following error:
I booted into a live CD and opened up GPARTED and my sdb4 (my /home location) partition shows up. I do a check on it and it seems ok.
I opened the Palimpsest Disk Utility to see what it said and it shows sdb4 as Unknown or Unused. I can not mount this drive using GUI methods.
I did some research on the forums looking to recover lost partitions. here is the output from fsck
Code:
and the abbreviated output from fdisk -l
Code:
Disk identifier:
This seems ok too.
My next step was to try testdisk. When I ran it, I was able to navigate this partition and apparently see all my files. I then tried to mount the partition manually.
Code:
That also worked.
It seems to me that I practically have this thing where I need it without too many worries.
My question is: What is the next step to get this back booting again? I'm afraid of rewriting the partitions in testdisk until I get some feedback on whether this will really solve my problem. Maybe the partition isn't the problem? Is it something else and I've been going down the wrong path?
View 4 Replies
View Related
Jun 29, 2010
Using: Debian Lenny. I want to mount 2 NTFS partitions in my /etc/fstab file, so that I needn't manually mount them when I want to use them. One of the partitions is the primary partition on the same hard disk as my Debian /, /home, and /swap partitions. The other is a 2nd internal hard disk.
a) Should I use ntfs-3g instead of ntfs as the /etc/fstab filesystem? I want to be able to read and write to the partitions as a user and not just as root.
b) I have read on the forum that "mounting NTFS partitions through fstab is not a great idea" - I thought that any dangers of doing so were ancient history. Why would it not be a good idea?
c) Which options should I use?
d) If I use 'user' instead of 'users' so that one specific user (me) can use the partitions, how do I specify which user name? (The man page is annoyingly unclear about this).
View 5 Replies
View Related
Jan 9, 2010
According to a couple of different places, it's not possible for me to put a line in /etc/fstab to mount one of my partitions with owner and group not root; instead, I have to mount it in /etc/fstab, then chown & chgrp to my user. That seems ridiculously tedious and silly... is it true? I'm sure a short script could be written to get around it, but it seems obtuse for Linux not to allow that to be set in /etc/fstab.
View 9 Replies
View Related
Jan 4, 2011
Is it possible to forbid a non-root to umount a partition that was mounted via fstab-entry?
View 2 Replies
View Related
Jan 21, 2016
On my system nearly all subfolders of my home-directory are on another hard drive. I included them via /etc/fstab as shown in the example below:
UUID=12c12565-ece4-4a22-b5c5-275aba1a3fd4 /media/data ext4 defaults 0 2
/media/data/archive /home/XXX/archive none bind 0 0
etc.
View 1 Replies
View Related
Jan 14, 2011
I have a Windows partition encrypted with TrueCrypt. If I start TrueCrypt (or RealCrypt) I can mount the partition through the GUI. before I encrypted the partition I used to auto-mount it at boot using fstab and it would appear in my places bar in the file managers. Is it possible to auto-mount truecrypt partitions from fstab?
View 2 Replies
View Related
Mar 29, 2010
I'm using Kubuntu 9.10. Partitions get listed in the sidebar when I open the File Manager, but they don't get mounted under /media until I click on the entries. I do not want to use /etc/mtab and mount them under folders I create in /mnt; would prefer if there was a way to mount the partitions without Kubuntu waiting for me to click on the names.
View 5 Replies
View Related
Nov 20, 2010
How can I get access to my NTFS Partitions in VirtualBox running Windows XP Pro? I saw it somewhere once saying something about setting up shared files but it was confuseing and did not work.
View 1 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
May 11, 2010
I recently formatted my HDD and installed Ubuntu Server 10.04 x64. This is actually the 4th install in the past week because I was testing some things. But I had this problem on at least the previous install which made me want to start fresh again. The problem I'm having is Ubuntu will not boot if I add any of my drives to fstab. If I leave it with the standard proc, /, and swap lines it works fine. As soon as I add a line for one of my RAID arrays or an NTFS formatted partition the system hangs on bootup. It doesn't matter if I have the extra drives operating or not.
The last thing I see before it hangs is:
Code:
/dev/sda1: clean, 69351/4358144 files, 583945/17401600 blocks
Here is what the fstab currently looks like:
Code:
proc /proc proc nodev,noexec,nosuid 0 0
UUID=c62ac627-46a6-4fd5-87e8-4ae0d9185d53 / ext4 errors=remount-ro 0 1
UUID=c1cee1e4-f8ac-4555-a88b-f237afdedd27 none swap sw 0 0
/dev/md0 /mnt/raid5 ext4 defaults 0 0
The other two lines which also made it hang included one which was almost exactly the same as the /dev/md0 line except it was md1 with a different mount point and another which used a UUID and was ntfs-3g. I know they work because all 3 of them were mounted by "mount -a" after putting them into fstab and they're pretty much the same as what I was using with 9.04 server.
View 3 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
Aug 19, 2011
I have two mount points that used to work. I have them defined as cifs shares in fstab, and they map to a Windows machine, which I am able to ping from my Fedora machine, but for some reason I get a mount error 2, and the destination is not accessible. The man page doesn't really give any troubleshooting steps. Since I am mounting by IP address (which as I said has worked before), nothing has changed, although the IP address did change, which I updated in the fstab file to the new IP address (and since I have reserved this new IP address so it can't change again!)
I ran a test and shared a folder from another one of my computers, and added a line in fstab to auto-mount that, and I get a "permission denied" error 13, which is different than the error 2 I get on the other 2 shares. What should I be looking for as far as actual connectivity between the machines? I have verified that the windows machine is on and I can access the same shares from another computer.
Update: Added the host and IP address to my hosts file, and replaced the IP address with the name, and still get the same error. Also, the share name has a space in it, so I replace that with a "�40" space character (which worked in the past). I tried replacing that with an actual space, and putting quotes around the URL, but then I get a "bad URL" error.
[Code]..
View 5 Replies
View Related
Jan 16, 2011
I have the following two lines at the bottom of my /etc/fstab
Quote:
//172.16.6.15/e /tmp/e cifs _netdev,iocharset=utf8,credentials=/root/.smbcredentials,gid=0 0 0
//172.16.6.15/e/Public /var/www/index/pub cifs _netdev,iocharset=utf8,credentials=/root/.smbcredentials,gid=0 0 0
My server address is 172.16.6.1.
If the destination (which is my workstation desktop) 172.16.6.15 is offline when the server tries to boot, the entire boot procedure halts with the following message: Unable to find suitable address. mountall: mount <destination> terminated with status 2 The problem is that my server runs headlessly, and every time something silly like this happens where you'd normally expect the OS to continue regardless, I'm forced to plug a monitor in and diagnose on console
So my question: Is there any way to make it proceed with the boot normally despite the host being unreachable? I could probably chuck a mount command into crontab or /etc/rc.local or a /etc/network/if-up.d script, but isn't this the way it really should be done (/etc/fstab)? If so, then we shouldn't expect the entire boot to halt just because a network share can't be mounted, right? While on the topic of a headless ubuntu server 10.10 not booting without some kind of intervention, I have yet another issue: If the server goes down without proper shutdown (power failure, for example) the grub menu displays the kernel choices and there's no countdown timer. Instead, I have to manually press enter to continue the boot. Is there any way around this? Clearly this should not be the case for a server distribution
View 3 Replies
View Related
Jan 15, 2010
I've had two hd's in my box forever. for more space and backup reasons. Well I have started running the Debian Squeeze distro since December. I've had many issues, some are still unresolved. but now I'm running into major headaches with the fstab. Specifically dealing with/wondering why UUID's are used instead of the old /dev/hd? I was a little annoyed when I tried Kubuntu to find /dev/sd? used instead of /dev/hd? but that was workable. But the UUID's are a nightmare. Here's my problem.
My main box is finally giving up the ghost. The mobo is dying. So in order to do some tests I took my hd bundle (my two hard drives with their cables) physically out of the box and temp installed them in a test box. I wanted to do some benchmark and other tests. I got all kinds of errors. I found that the system wasn't recognizing the UUID's listed in fstab. My concern is when the new mobo gets here next week I won't simply be able to plug the hd's in like I always have been and just let Linux reconfigure itself (Debian used to be good about this). I really don't want to have to clean reinstall if it's not needed.
So for this I have two questions. WHY developers decided to drop using /dev/hd? or even /dev/sd? ?
And is it possible to revert fstab's listings back to the old /dev/hd? settings. In debian fstab had lines commented out showing how each partition was listed in it's /dev/hd? status during install.
I'm getting really sick of all these archane changes in ALL aspects of linux that don't seem to have any good explaination or need.
View 4 Replies
View Related
May 30, 2011
I installed OSS audio to try and get a program to quit giving me an error every time i used it. Now the software doesn't error out, but my sound devices aren't recognized anymore. Nothing in the hardware in sound preferences.
How do I fix this?
View 1 Replies
View Related
Jun 14, 2011
Fix my fonts after my upgrade. All my truetype fonts look really hazy and very off after my upgrade from 10.10 to 11.04.
This seems to only be a Firefox and Thunderbird problem.
View 3 Replies
View Related
Jan 19, 2010
I've apparently changed my fstab file and now my boot drive fails to mount. The original file is still there "fstab.BAK". How do I rename the current fstab to another name and rename the fstab.BAK to fstab? Since this is read only in the /etc directory I have not been able to make this happen from a command prompt.
View 9 Replies
View Related
Nov 5, 2010
My daughter tried to create a bootable USB-stick version of ubuntu by following the steps on this site, which included using the "universal USB installer" utility from pendrivelinux.com. She was on a windows notebook (I don't know which version, probably XP), and had saved the .iso to the desktop.She's generally pretty good about following directions, but now, with no CD or USB stick in place, the windows machine HD boots directly into the installer "Try ubuntu or Install ubuntu" screen, with no trace of windows! Naturally, her SO (it's his work machine) is more than a little upset.
View 6 Replies
View Related
Feb 24, 2010
I have installed ubuntu server in virtual box. Everything works smooth. But when setting it up with my dyndns free domain and forwarding the ports in my router I cant seem to find my internal ip. i have tried ifconfig but dont really understand, which of them is the internal ip I dont even know if it works like that.
View 2 Replies
View Related
May 25, 2010
I'm trying to install 10.04 server into a virtual machine using virtualbox. When I start the virtual machine and try to install using the server ISO, I get the following error:
Code:
This kernel requires an x86-64 CPU, but only detected an i686 CPU. Unable to boot Here is my cpuinfo from lshw:
Code:
*-cpu:0
description: CPU
product: AMD Athlon(tm) 64 X2 Dual Core Processor 5200+
[Code]...
The host OS is 32bit Lucid Lynx desktop, and virtualbox works fine with a Win7 guest. Does anyone know why this might be happening?
View 6 Replies
View Related
Dec 16, 2010
recently installed phpVirtualBox and VirtualBox on my 10.04 LTS ubuntu server it's getting annoying having to type
Code:
/usr/bin/vboxwebsrv -b --logfile /dev/null >/dev/null
every time i reboot the server
tried for hours to make an init.d script that will run it but failed..basically I just want it to automatically run the above command on every boot.
View 7 Replies
View Related
Jan 28, 2011
I've got Ubuntu 10.10 Server installed in a VirtualBox. I'm stuck in 640x480 screen resolution when I put VirtualBox in full-screen mode.
How can I change the startup resolution on Ubuntu so say, 1152x864 and make it stick upon reboot?
I found a thread here on the forums a while ago but I cannot find it anymore...
View 2 Replies
View Related
Dec 9, 2009
I've been away from computers/Linux for a while so I'm not up on the unix wrangling anymore. So what happened is I started yum extender and it wanted to update. Fine. I let it. I then notice a new kernel is going in so I decide to reboot. I notice different graphics behavior, then I go into my KDE and the graphics are hosed -- as they were when I tried Kubuntu 9.10, which made me come back to my old favorite Fedora. I freak, calm down, reboot (I don't get the old grub? screen offering me kernel boot choices, it just goes into its "ribbon run" at the bottom of the screen) and go into Gnome. Okay, Gnome works -- but no network, i.e., no eth0, i.e., no Internet to come whining to y'all. I then grab the live install disk, get Internet back -- but I don't know how to access the drive or make any changes!
I cry, dry my eyes, try rebooting and banging like a monkey on the keyboard during startup to see if I can get some sort of rescue mode or grub kernel choice list. Yes! After fifth reboot a random pawing of the F keys produces a grub list, I choose 2.6.31.6-145.fc12.i686 and get back to my previous functionality: KDE and Internet work. Culprit is no doubt 2.6.31.6-162.fc12.i686. I would therefore like to know how to boot to the grub manager and get a choice list of kernels to boot
View 11 Replies
View Related
Aug 23, 2010
I'd like to create the smallest-possible installation of Ubuntu 10.04 Server x64 as a VirtualBox OSE VM. I want to run just one service -- a Bitcoin client. The standard installation is about 800 MB. By whatever approach, what's the smallest possible installation? I find various procedures for removing unnecessary packages. However, I suspect that there's a simpler approach that I'm missing. By simpler, BTW, I don't mean compiling it myself. That's far above my current comfort level.
View 9 Replies
View Related
Oct 2, 2010
I am trying to set up Vista on my Lucid within VirtualBox so I can run 3CX IP PBX. I have installed the virtualBox and set up a virtual space called "Vista", but when I start it (Power on) I get an error message - see screenshot enclosed. If I run the command
HTML Code:
'/etc/init.d/vboxdrv setup'
as instructed in terminal I get.
HTML Code:
root@server:/home/server# /etc/init.d/vboxdrv setup
WARNING: All config files need .conf: /etc/modprobe.d/dahdi, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/dahdi.blacklist, it will be ignored in a future release.
[code]....
View 9 Replies
View Related