LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-30-2010, 03:35 PM   #1
bluegospel
Member
 
Registered: Jan 2010
Distribution: centOS
Posts: 404

Rep: Reputation: 53
trouble mounting main partition


Hi. My /etc/fstab file includes /dev/hda7 (my largest partition) at /home, but when I run df -h, this partition is not listed as an active partition? So is this partition actually mounted?
 
Old 05-30-2010, 03:40 PM   #2
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 70
Doesn't look it. Could you give us the output of

Code:
cat /etc/fstab
cat /etc/mtab
df
 
Old 05-30-2010, 04:40 PM   #3
bluegospel
Member
 
Registered: Jan 2010
Distribution: centOS
Posts: 404

Original Poster
Rep: Reputation: 53
fstab:
/dev/hda5 / ext4 defaults 1 1
/dev/hda2 /windowspartition ntfs-3g umask=022 1 0
/dev/hda7 /home ntfs-3g umask=000 1 0
#/dev/cdrom /mnt/cdrom auto noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0

mtab:
/dev/root / ext4 rw,barrier=1,data=ordered 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
usbfs /proc/bus/usb usbfs rw 0 0
/dev/hda2 /windowspartition fuseblk rw,allow_other,default_permissions,blksize=4096 0 0
tmpfs /dev/shm tmpfs rw 0 0
 
Old 05-30-2010, 04:43 PM   #4
alunduil
Member
 
Registered: Feb 2005
Location: San Antonio, TX
Distribution: Gentoo
Posts: 684

Rep: Reputation: 62
What happens if you run `mount -a`? Also, if that doesn't work `mount /dev/had7`?

Regards,

Alunduil
 
Old 05-30-2010, 04:44 PM   #5
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 70
Code:
dmesg|grep mount
dmesg|grep ntfs
 
Old 05-30-2010, 04:47 PM   #6
bluegospel
Member
 
Registered: Jan 2010
Distribution: centOS
Posts: 404

Original Poster
Rep: Reputation: 53
root@bluegospel:~# mount -a
NTFS signature is missing.
Failed to mount '/dev/hda7': Invalid argument
The device '/dev/hda7' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount: devpts already mounted or /dev/pts busy
root@bluegospel:~# mount /dev/hda7
NTFS signature is missing.
Failed to mount '/dev/hda7': Invalid argument
The device '/dev/hda7' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
root@bluegospel:~#
 
Old 05-30-2010, 05:00 PM   #7
alunduil
Member
 
Registered: Feb 2005
Location: San Antonio, TX
Distribution: Gentoo
Posts: 684

Rep: Reputation: 62
Have you done an fsck in windows on that partition lately or did Windows not shutdown cleanly last time? If it's not either of those I would make sure windows can read it before continuing to troubleshoot on the Linux side.

Regards,

Alunduil
 
1 members found this post helpful.
Old 05-30-2010, 05:00 PM   #8
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 70
Has this ever been mounted? Does it mount anywhere else? What does
Code:
lsmod|grep ntfs
give?
 
Old 05-30-2010, 05:06 PM   #9
bluegospel
Member
 
Registered: Jan 2010
Distribution: centOS
Posts: 404

Original Poster
Rep: Reputation: 53
root@bluegospel:~# dmesg|grep mount
EXT3-fs: hda5: couldn't mount because of unsupported optional features (240).
EXT2-fs: hda5: couldn't mount because of unsupported optional features (240).
EXT4-fs: mounted filesystem hda5 with ordered data mode
GFS2: gfs2 mount does not exist
GFS2: gfs2 mount does not exist
root@bluegospel:~# dmesg|grep ntfs
root@bluegospel:~#
 
Old 05-30-2010, 05:11 PM   #10
bluegospel
Member
 
Registered: Jan 2010
Distribution: centOS
Posts: 404

Original Poster
Rep: Reputation: 53
root@bluegospel:~# lsmod|grep ntfs
root@bluegospel:~#
 
Old 05-30-2010, 05:21 PM   #11
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 70
RedHat?
 
Old 05-30-2010, 05:26 PM   #12
bluegospel
Member
 
Registered: Jan 2010
Distribution: centOS
Posts: 404

Original Poster
Rep: Reputation: 53
Not RedHat, Slackware.
 
Old 05-30-2010, 05:30 PM   #13
bluegospel
Member
 
Registered: Jan 2010
Distribution: centOS
Posts: 404

Original Poster
Rep: Reputation: 53
The other day it shutdown abruptly and I don't recall whether it was running Windows or Linux. I usually run Linux on that PC but I'm not sure.
 
Old 05-30-2010, 06:14 PM   #14
bluegospel
Member
 
Registered: Jan 2010
Distribution: centOS
Posts: 404

Original Poster
Rep: Reputation: 53
You were right Alunduil. I went into Windows and found that this drive had not yet been formatted. I've formatted it in Windows and now I can view it in Linux. Thanks!
 
Old 05-30-2010, 06:22 PM   #15
bluegospel
Member
 
Registered: Jan 2010
Distribution: centOS
Posts: 404

Original Poster
Rep: Reputation: 53
Okay, now I've mounted that drive to my home directory, but now I cannot run startx as barth because /home/barth is obscured by the partition. chown -R barth /home/barth fails.
 
  


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
changed distro's, having trouble with mounting old partition icepack Linux - Newbie 3 10-12-2005 04:33 AM
Trouble mounting ntfs partition. tin can Linux - General 4 12-16-2004 10:05 PM
Trouble mounting an ext2fs partition tseven *BSD 2 12-13-2004 05:12 PM
trouble mounting fat32 partition miner Linux - Newbie 7 04-19-2004 10:23 PM
Having a bit of trouble mounting a NTFS partition... Can anyone help? drumlinuxuser Linux - Hardware 1 10-22-2003 09:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:54 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration