LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-14-2007, 10:36 AM   #1
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
mount-ntfs: windows did not shut down properly.


[knoppix]
hi i am trying to mount an ntfs drive but i get the error:
Code:
[~root]# mkdir win; mount -o rw /dev/hdb2 win
couldn't mount device '/dev/hdb': operation not supported
windows did not shut down properly.  try to mount volume in windows, shut down and try again.
mount failed
// read-only works fine.
// i am trying to copy a downloaded samsrv.dll to the ntfs disk because the winxp install cd is bad.

i am unable to shutdown windows properly because when it starts all it gives me is an error saying that
Code:
lsass.exe - entry point not found
the procedure entry point samiamigc could not be located in the dynamic link library samsrv.dll.
is there any way to force knoppix to mount this drive ?
how can i properly shutdown windows when it wont even start (fdisk/ dos/ 3rd party bootable-cd) ?
[/knoppix]

thanks for your help.

Last edited by schneidz; 11-14-2007 at 10:38 AM.
 
Old 11-15-2007, 03:10 AM   #2
dont_stop_me
Member
 
Registered: Sep 2005
Location: Romania
Distribution: Slackware 12
Posts: 42

Rep: Reputation: 15
You could take out your hard drive, put it in an other machine with proper windows and run checkdisk on it
 
Old 11-15-2007, 03:37 AM   #3
Geronimo
Member
 
Registered: Aug 2004
Location: Zurich, Switzerland
Distribution: Gentoo
Posts: 52

Rep: Reputation: 15
I would not use the kernel driver. It is old, and AFAIK not longer developed.
try the newer ntfs-3g driver.

Code:
ntfs-3g <device> <mountpoint> --force
OR
Code:
mount -t ntfs-3g <device> <mountpoint>
cheers
G.
 
Old 11-15-2007, 06:22 AM   #4
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Original Poster
Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
good ideas, i'll try them out later and let you know how far i get...
 
Old 11-15-2007, 08:06 AM   #5
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Original Poster
Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
i just restarted knoppix live-cd 5.0 (fresh install after every reboot) and i got this:
Code:
root@2[~]# mount -t ntfs-3g /dev/hdb2 winnt
mount: unknown filesystem type 'ntfs-3g'
root@2[~]#  ntfs-3g
-su: ntfs-3g: command not found

Last edited by schneidz; 11-15-2007 at 08:11 AM.
 
Old 11-15-2007, 11:15 AM   #6
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Original Poster
Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
i switched to redhat-9 and installed fuse and ntfsprogs.

these are my options:
Code:
[root@hyper root]# ntfsmount /dev/hdb2 winnt
Failed to mount '/dev/hdb2': Operation not supported.
Access is denied because the NTFS journal file is unclean. Choices are:
 A) Shutdown Windows properly.
 B) Click the 'Safely Remove Hardware' icon in the Windows taskbar
    notification area before disconnecting the device.
 C) Use 'Eject' from Windows Explorer to safely remove the device.
 D) If you ran chkdsk previously then boot Windows again which will
    automatically initialize the journal.
 E) Submit 'force' option (WARNING: This solution it not recommended).
 F) ntfsmount: Mount the volume read-only by using the 'ro' mount option.
Mount failed.
[root@hyper root]# ntfsmount -o ro /dev/hdb2 winnt
fuse: device not found, try 'modprobe fuse' first
fuse_mount failed.
Unmounting /dev/hdb2 ()
[root@hyper root]# modprobe fuse
modprobe: Can't locate module fuse
[root@hyper root]# uname -a
Linux hyper 2.4.20-31.9 #1 Tue Apr 13 18:04:23 EDT 2004 i686 i686 i386 GNU/Linux[root@hyper root]# apt-get install fuse-source


thanks,

Last edited by schneidz; 11-15-2007 at 05:51 PM.
 
Old 11-25-2007, 02:29 PM   #7
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Original Poster
Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
didnt work

Quote:
Originally Posted by dont_stop_me View Post
You could take out your hard drive, put it in an other machine with proper windows and run checkdisk on it
during my thanksgiving break i took my hard drive to my parents house in florida (they have winxp) and was able to boot up with it as a secondary hard drive, browse the directories and shut it down properly. i reconnected it to my hard drive at home and was able to mount it read-write in knoppix. i backed up and copied the file that it errored on but i still get the same error as my original post (i.e.- lsass.exe - entry point not found...) :
Code:
root@1[~]# mkdir winnt
root@1[~]# mount /dev/hdb2 winnt
Couldn't mount device '/dev/hdb2' : Operation not supported
Windows did not shut down properly.  Try to mount volume in windows, shut down and try again.
Mount failed.
root@1[~]# mount -o ro /dev/hdb2 winnt
root@1[~]# cd winnt/winnt/system32/dll*
root@1[dllcache]# ll samsrv*
-rw------- 1 root root 415744 Nov 24 18:58 samsrv.dll
-rw------- 1 root root 390416 Apr  8  2005 samsrv.dll.bak
root@1[dllcache]# strings samsrv.dll.bak | grep -i samiam
root@1[dllcache]# strings samsrv.dll | grep -i samiam
SamIAmIGC
root@1[dllcache]#
so the entry point does exist in the new copy of the file; what is windows talking about ?
now im back to knoppix not being able to mount the drive in read-write anymore - and flying back to my parents house to reset the drive would be excessive.

puzzled

Last edited by schneidz; 11-25-2007 at 02:47 PM.
 
Old 11-27-2007, 02:24 AM   #8
dont_stop_me
Member
 
Registered: Sep 2005
Location: Romania
Distribution: Slackware 12
Posts: 42

Rep: Reputation: 15
Then my advice is to look for a boot floppy disk image, not necessarily floppy disk, that supports NTFS and has checkdisk on it. When you shut down knopix unmount the ntfs partition first.
 
Old 12-01-2007, 09:08 AM   #9
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Original Poster
Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
solved

fyi:
hi, the original problem was only due partially to a bad cd. my hardrive setup is:
hda1 - ext2-boot
hda2 - ext3
hda3 - swap
hdb1 - fat32
hdb2 - ntfs

since windows wants the c-drive to be the first partition on the first disk it basically crashed on the setup because it cant read a linux harddrive.

i physically unplugged the first harddrive (as well as mess with a few jumpers and updated the bios). reformat ntfs.

i then booted up with knoppix live-usb (live-cd/ dvd should also work) i clicked on the penguin icon and did 'services -> start ssh server' and mount the ntfs drive.

i got my brothers laptop that came with xp preinstalled and used winscp to copy the i386 directory to the machine running knoppix. (i didnt try to use wine to execute winnt.exe, i thought the xp cd's recovery console would allow me to do it but for some reason it wouldnt let me in that directory -- access denied). whatever, i used bart-pe to start the install with winnt32.exe.
ironically my cd-key didnt work, i used the product key under my brothers laptop. is this illigal ? amways, i own a legit copy so im ok.

so after a restart the remainder of the install program went fine.

now hopefully i wont have any more complications when i re-attach my redhat disk and use grub to boot windows.

hope this helps...
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mount: unknown filesystem type 'ntfs' when trying to mount windows drive... DiZASTiX Linux - Hardware 12 09-28-2008 07:29 PM
How to properly mount NTFS partitions please help!!! Roni_G Ubuntu 11 06-06-2007 04:15 PM
Can't mount hda /ntfs/ with RUSSIAN files properly jesternorth Linux - Newbie 1 10-26-2004 04:18 AM
how to mount windows ntfs FS oradev Linux - Hardware 2 09-28-2004 05:33 PM
Redhat 7.2 (When not properly shut down) ederts Linux - Newbie 7 11-12-2001 01:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:20 PM.

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