1

When I start guest OS which is Oracle Linux 5 running on Virtual Box 4.2, I am getting

mounting local filesystems ---  failed 

How can I resolve the issue?

Thanks

etc/fstab

/dev/VolGroup00/LogVol00 /                       ext3    defaults        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
tmpfs                   /dev/shm                tmpfs   default       0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
/dev/VolGroup00/LogVol01 swap                    swap    defaults        0 0

Update 2

Mount output

/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sda1 on /boot type ext3 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
/dev/sr0 on /media/VBOXADDITIONS_4.2.4_81684 type iso9660 (ro,nosuid,nodev,uid=1101)
4
  • Tell everybody more.....like what is not being mounted, and a copy of your /etc/fstab.
    – mdpc
    Jan 14, 2013 at 5:41
  • @mdpc I have included etc/fstab in my question. Not sure which file system is not mounted. Thanks
    – Jacob
    Jan 14, 2013 at 5:48
  • Then show us the output of the mount command after you get this message.
    – mdpc
    Jan 14, 2013 at 5:49
  • @mdpc Included mount command output
    – Jacob
    Jan 14, 2013 at 5:52

2 Answers 2

1

Based on your output, the tmpfs is not being mounted. You should investigate further, does your system have tmpfs? Is /dev/shm a valid mount point?

3
  • I am a newbie, not sure how to check /dev/shm is a valid mount point or not? Thanks
    – Jacob
    Jan 14, 2013 at 5:57
  • Use the command /dev/shm....it should be a directory.
    – mdpc
    Jan 14, 2013 at 5:57
  • I have got the following [oracledb@oel5 ~]$ /dev/shm bash: /dev/shm: is a directory [oracledb@oel5 ~]$
    – Jacob
    Jan 14, 2013 at 5:59
1

I have resolved the issue, it was quite silly.

While editing /etc/fstab I accidentally missed s in default, it should be

tmpfs                   /dev/shm                tmpfs   defaults       0 

it should not be

tmpfs                   /dev/shm                tmpfs   default       0 

Thanks

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .