LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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?

Notices

Reply
 
Search this Thread
Old 06-07-2005, 07:06 AM   #1
sohmc
Member
 
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:
Code:
        /dev/sda
             -->/dev/sda1  (ntfs)
             -->/dev/sda2  (ext3 -- linux root partition)
             -->/dev/sda1  (swap)
        /dev/hda
             -->/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:
Code:
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=192.168.1.200)
homer:/fs/disks/pyro on /fs/imports/homer/pyro type nfs (rw,rsize=8192,wsize=8192,timeo=14,nfsvers=2,intr,addr=192.168.1.200)
homer:/home on /fs/imports/homer/home type nfs (rw,rsize=8192,wsize=8192,timeo=14,nfsvers=2,intr,addr=192.168.1.200)
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:
Code:
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.

thanks!


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


Reply


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


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

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