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=/