Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 06-07-2005, 07:06 AM   #1
Registered: Aug 2002
Location: Alexandria
Distribution: ubuntu 12.04.2
Posts: 217

Rep: Reputation: 30
weird mount behavior

I just moved an ide-ata hard drive from an old computer to my current one. It joins another hard drive, but it's a SATA.

Here is what it looks like:
             -->/dev/sda1  (ntfs)
             -->/dev/sda2  (ext3 -- linux root partition)
             -->/dev/sda1  (swap)
             -->/dev/hda1  (ext3 -- has a linux root partition, but not booting with it)
             -->/dev/hda2  (swap)
The system boots fine, after some minor adjustments[1]. However, when I type the command "mount", this is what I get:
sohmc@bart:~> mount
/dev/hda1 on / type ext3 (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw)
none on /dev/shm type tmpfs (rw)
/dev/sda1 on /mnt/ntfs type ntfs (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
homer:/fs/disks/foothill on /fs/imports/homer/foothill type nfs (rw,rsize=8192,wsize=8192,timeo=14,nfsvers=2,intr,addr=
homer:/fs/disks/pyro on /fs/imports/homer/pyro type nfs (rw,rsize=8192,wsize=8192,timeo=14,nfsvers=2,intr,addr=
homer:/home on /fs/imports/homer/home type nfs (rw,rsize=8192,wsize=8192,timeo=14,nfsvers=2,intr,addr=
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
Notice that mount says /dev/hda1 is mounted on /, not /dev/sda2

However, / is ACTUALLY /dev/sda2!! All my files are there, everything is the same. Mount seems like it's either reporting inaccurate data or /dev/hda1 is actually mounted on / but then /dev/sda2 mounted on top of it.

here is my fstab:
sohmc@bart:~> cat /etc/fstab 
LABEL=/                 /               ext3    defaults        1 1
#none                    /dev/pts                devpts  gid=5,mode=620  0 0
devpts                  /dev/pts                devpts  defaults        0 0
none                    /dev/shm                tmpfs   defaults        0 0
none                    /proc                   proc    defaults        0 0
none                    /sys                    sysfs   defaults        0 0
/dev/sda3               swap                    swap    defaults        0 0
/dev/cdrom              /mnt/cdrom              udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/sda1               /mnt/ntfs               auto    defaults        0 0

# NFS Mounts
homer:/fs/disks/foothill                /fs/imports/homer/foothill             nfs      rsize=8192,wsize=8192,timeo=14,nfsvers=2,intr
homer:/fs/disks/pyro            /fs/imports/homer/pyro  nfs     rsize=8192,wsize=8192,timeo=14,nfsvers=2,intr
homer:/home     /fs/imports/homer/home          nfs     rsize=8192,wsize=8192,timeo=14,nfsvers=2,intr

# End of NFS Mounts
I know I'm going to get some people to say "if it ain't broke, don't fix it" but I want things to look accurate so I know what is mounted, where it's mounted, and what isn't.

any help would be appreciated.


[1]: For the curious, I had to edit /boot/grub/grub.conf to boot explicitly from /dev/sda2, instead of label=/


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Weird behavior Bassy Linux - Software 2 10-20-2005 01:32 PM
iptables ... weird behavior, please help! matrixcubed Linux - Networking 0 05-09-2005 09:44 AM
weird behavior in firefox sether *BSD 5 09-06-2004 04:05 PM
Weird Knode behavior PapaNoHair Mandriva 0 11-09-2003 06:39 PM
Weird kernel behavior helloworld Linux - Software 9 06-12-2001 02:40 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:13 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration