LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Double Mounted Partition? Help anyone? (https://www.linuxquestions.org/questions/linux-newbie-8/double-mounted-partition-help-anyone-265879/)

Boooaz 12-13-2004 07:08 AM

Double Mounted Partition? Help anyone?
 
I'm running Fedora Core 3, After my install - under "Devices" in Konquerer I've got:
CD ROM (hdc) /media/cdrecorder
CD ROM (hdd) /media/cdrom
Floppy
Hard Disk [/]
Hard Disk (hda3) [/]
Hard Disk (hda5) [/mnt/ntfs]

Clicking on "Hard Disk [/]" results in the following error:
Quote:

mount: according to mtab, /dev/hda3 is already mounted on /
mount failed
Please check that the disk is entered correctly.
My filesystem is working fine other than this annoyance - any Idea of how to get rid of it?

In case this helps - /etc/fstab:
Code:

# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/                /                      ext3    defaults        1 1
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /dev/shm                tmpfs  defaults        0 0
none                    /proc                  proc    defaults        0 0
none                    /sys                    sysfs  defaults        0 0
LABEL=SWAP-hda4        swap                    swap    defaults        0 0
/dev/hda5 /mnt/noaa ntfs ro,umask=0222                        0 0
/dev/hdd                /media/cdrom            auto    pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed 0 0
/dev/hdc                /media/cdrecorder      auto    pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed 0 0
/dev/fd0                /media/floppy          auto    pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed 0 0


ilikejam 12-13-2004 08:03 AM

Hi.

If you replace LABEL=/ with the actual device that / is on in fstab (/dev/hda3 in your case), the problem should go away.

Dave

Boooaz 12-13-2004 08:15 AM

Thanks - but before I try it - could changing that make my system unbootable if I make a mistake?

ilikejam 12-13-2004 08:31 AM

Maybe.

The entry in fstab for / isn't used at boot. Either the partition is specified in grub.conf, or the kernel uses where / was when it was compiled. You may get some weirdness when you reboot if fstab is wrong, but your system should still be bootable.

I've just done this on my machine, and had no difficulties.

Dave

P.S. Usual disclaimers apply.


All times are GMT -5. The time now is 02:12 PM.