Ubuntu :: 9.04 - Mounted Partitions Disappeared (Fstab Is Bad)
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.
I'm totally new with linux and Ubuntu. I've just installed 10.10 yesterday and since then it's been an uphill struggle These forums has helped me out quite a bit already so I hope you can continue doing it with this problem I have.I got a single drive where the bootpartition is ext4 and the other "storage" partition is a remenant from a windows 7 installation I had, with NTFS. Decided I wanted to give Ubuntu a try! Now i've run into permission trouble though, mainly because I wanted to set up an FTP server (oh what a struggle THAT's been, I have some stories... ). I've done a "mount --bind" so that I can reach different resources directly from my chroot. It turns out though that the mounted partition isn't giving anyone except the owner (me) permission to see the resources. FTPing into the server gives the mount points but gives a 550 error and can't list anything inside of them.It works perfectly for me just running it at the prompt or using the mount points directly in the Ubuntu GUI though (since I'm the owner/admin/whatever).
My intended solution that I've found was that people with NTFS drives did a few magic tricks with the line of text in Fstab so they could access their NTFS drives. Problem for me is that my sda3 mount isn't showing up at all in fstab, even though fstab is supposed to (as far as I know) show all mounted devices on there. All the while, I have my sda3 totally accessible from /media/Storage/. Any pointers as to why this is?After I installed Ubuntu, I just mounted the sda3 with the Disk Utility from System->Administation and didn't think much of it afterwards until now.What's the best course of action here? remount the ntfs partiton using fstab? Convert the ntfs partition into an ext4? I have a lot of data on there I want to keep as well.
I "upgraded" to Karmic and now my computer won't start. It shows the grub menu, I select the first Ubuntu option, and it shows the white logo. Underneath the logo these words appear, and it does nothing:Quote:One or more of the mounts listed in /etc/fstab cannot yet be mounted: /boot: waiting for UUID=338c820e..Press ESC to enter a recovery shell
I want to have a shared folder mounted on startup and I put the following in my fstab: Code: VMShare /media/VMShare vboxsf defaults,gid=1001,dmask=002 0 0 Where did 1001 corresponds to the virtual share group.
When I boot up the permissions are as follows(from ls -l): Code: drwxr-xr-x 1 root virtualshare 68 2010-10-27 15:45 VMShare/
So I'm curious why it's group permissions aren't the same as owner? In the fstab I put dmask=002 which should lead to rwxrwxr-x so basically full permissions for owner and group and read/execute for public. However thats not what I'm getting. Also once I get this working correctly am I going to have an issue if the virtualshare group isn't a users primary group? On some older unix servers I ran into this issue, hopefully it won't matter as long as the user in in the group.
ubuntu 9.10. Won't boot. Not a new installation, no new hardware. When I boot it up into 2.5.31-22-generic safemode it says: One or more of the mounts listed in etc/fstab cannot yet be mounted: /home: wating for UUID...
Booted up w/ live CD, fsck says that /dev/sda3 is clean I have a 320 GB hard drive, 20 GB is the linux boot, 2 GB is swap, and the rest is /home. Palimpset Disk Utility can recognize the 20 & swap, but says the rest is unrecognized.
I'm trying to understand the last few hours... I installed slackware 13 yesterday in a multiboot system. On a seperate hdd from all the OS's I have my mp3 collection......I could play the mp3's as root after manually mounting sdb, but as a user I was unable to play them even though I chown'ed and chmod'ed 777 until I mounted sdb in fstab. The second drive was formatted ntfs by vista.
I currently have Windows 7 and Ubuntu 10.10 in my computer, and I was booting normally with grub until last night. I tried to install Adobe Photoshop into Windows and after that I went on to reboot my system. When it restarted, grub showed a message like this:
error: no such partition grub rescue>
I've followed some advice regarding this issue and I got this running the bash script (boot_info_script0555.sh) mentioned in some related posts. Here is my RESULTS.txt output. After a quick view, I think the biggest problem is that one of my Linux partitions has disappeared, and I don't know how to recover it.
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?
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:
However fstab fails to bind when I restart, and trying to use the fstab with a mount command to check it yields:
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).
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
and the abbreviated output from fdisk -l
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.
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?
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).
I'm just wondering because I'm going to to test out just how many partitions I can make and mount on GPT. Is there a theoretical limit on the amount of partitions or mounts allowed? I was thinking there would be depending on if you were running i386 or x86_64 because both can only handle up to a certain interger.
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.
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?
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.
Does anybody know how to have partitions (not removable media) auto-mounted at boot?It would be great so I do not have to click them for first use.By the way, may it be pre-configured in ubuntu to do that for everyone?
I've decided to give ubuntu another test drive now that I got a bigger and better desktop. I downloaded the latest version of ubuntu, loaded it into my usb stick and booted from it. I then clicked on the install icon on the desktop to start the installation. Everything was going ok, until I came to the partitioning part. I had already (on windows 7) created a separate partition for ubuntu which is 56GB. So I chose "manual partitioning" and selected the ubuntu partition as /home and began the installation.
Everything seemed to have went well, the window suddenly closed and then nothing happened. I waited for 15mins and still nothing happened. I decided to restart and see what happened, but I discovered that I couldn't boot into windows anymore. It said something about intel boot manager cannot find filesystem. So I decided to boot back from the usb and see if I can reinstall ubuntu, I came to the partitioning part and all the drives were gone, I couldn't see anything, it was blank.
Created partitions, some of them LVM, in a server, say A. Did the same for another server, B, but created one more LVM partition.
Installed RHEL in A, and some other applications. Made dump files for each partition of A and restored all of them them in B. No error in that process, except B wouldn't boot. Did chroot /mnt/sysimage and grub-install /dev/sda--still no good. B came to a halt with GRUB> dispalyed. <tried many things many times.. searching Googles..but w/o luck) Gave up, and restored the bootloader part using OS CD -- I say restored because now B boots ok and I can see application that I had installed in A. So far so good.
Problem: that extra LVM partition is missing! I did not knowingly overwrite it, so where did it go? Somebody is keeping it from being displayed!
Is it the grub.conf that tells the OS what to mount and what not to? If yes, problem is , grub.conf is missing in B. In A, it is in /boot/grub/. df -kh shows other partions (some of them LVM) just fine.. what is going on?
I tracked a file called menu.lst in a strange place, in /usr/share/doc/grub-0.97.. but I didn't see any entry that loads partitions.
* Prevent the sdb1 + sdb2 ext4 partitions from being shown in Nautilus/Thunar Places sidebar.
* Prevent the Western Digital SmartWare VirtualCD, sdr1, from being shown in Nautilus/Thunar Places sidebar. It is just a VCD that is part of the firmware of the external (sdb) hard drive. *GAG!*
I don't care if they are mounted or not, though I prefer if they aren't. As long as they don't show up on the Places sidebar AT ALL, I'll be happy. I never use them, but keep mounting them by accident.
Here's my fstab, can you tell me why it's not doing the above?
no idea what went wrong. computer was apparently shutdown halfway through installing major system updates. now booting into terminal(gnome?), and displaying error messages: one or more of the mounts listed in fstab cannot yet be mounted: (esc for recovery shell) /: waiting for /dev/disk/by-uuid/[loooooong string of aplha-numeric(a/#) babble] /tmp: waiting for (null) swap: waiting for uuid-[another (diffrent-but-similar) string of A/# babble]~~user input: esc (the phrase: '^] pops up)
i'm over my head. i tried everything from chmod on 'lock' to gethost (which turned out to not be installed.) nothing is working yet.
i reinstalled opensuse yesterday.when i turn on my system every time i need to enter my root password to mount my partitons.please see the following image.i want to automount all partitions on startup without giving root password(before reinstalling opensuse it didn't ask root password to mount my partitions)
I am using direct mounts because I like being able to cd to the directory and use tab completion..versus indirect mounts where you can not do that since the directories are virtual.But, why does the /proc/mounts show these directories mounted(I have not cd to them)? Are they technically mounted? The reason why I use automount is because if I ever have power failures at least not all filesystems that are not being used will be unmounted and not corrupted.
I have two partitions in LVM. They are added in /etc/fstab to mount automatically. But, they are not working. The process to mount partitions seems to be happening before the service /etc/init.d/lvm2 is started. I can get it mounted using "mount -a" command, but not during the boot time. What should I do get it automatically mounted on every boot?
I know I do fdisk -l /dev/sda and see all the partitions on that disk, and I know I can do mount and see all the mounted partitions. Is there a way to do both at the same time? Ideally what I'd like to see is the output of fdisk -l but with an additional column that shows if a partition is mounted or not.