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?
|
Doesn't look it. Could you give us the output of
Code:
cat /etc/fstab |
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 |
What happens if you run `mount -a`? Also, if that doesn't work `mount /dev/had7`?
Regards, Alunduil |
Code:
dmesg|grep mount |
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:~# |
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 |
Has this ever been mounted? Does it mount anywhere else? What does
Code:
lsmod|grep ntfs |
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:~# |
root@bluegospel:~# lsmod|grep ntfs
root@bluegospel:~# |
RedHat?
|
Not RedHat, Slackware.
|
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.
|
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!
|
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.
|
All times are GMT -5. The time now is 06:46 AM. |