LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 11-18-2004, 07:57 AM   #1
kousik_s
Member
 
Registered: Sep 2003
Location: India
Distribution: RedHat 9, Mandrake Move2, Windows XP Pro
Posts: 54

Rep: Reputation: 15
Mount NTFS drive in Mandrake Move2


Hi,

I have got a download version of Mandrake Move2 based on MDK10. It is just superb with KDE 3.2. However, there is minor problem that it doesn't mount my hard disk on C: with NTFS (WIn XP) automatically. I am sure it can be done manually after boot.

I can view the partition exists. But no directory is there in /mnt. I connected a USB flash drive which showed up on /mnt as /mnt/windows. I then created a new directory in /mnt as /mnt/winxp. This directory is owned by root, group root with 777. I used the command mount -t ntfs /dev/hda1 /mnt/winxp. Didn't work.

Please suggest the command and other things needed.

My system config:
Laptop - IBM T40
Graphics - ATI Mobility Radeon 7500
RAM - 512MB
CPU - Pentium M 1500 Ghz
HD - 34.2 GB Intel
DVD ROM - TEAC
Modem - Agere Systems AC97 Internal Modem (not recognised)
Soundcard - Intel SoundMAX Integrated Digital Audio

Thanks,

Kousik
 
Old 11-18-2004, 08:27 AM   #2
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
hi there

i do not think u have the ntfs read support in ur kernel by default

what error u get on mouning the partiton

u have two options

1.visit linux-ntfs.sourceforge.net and install the required modules

2.compile ur kernel for ntfs support


regards
 
Old 11-18-2004, 08:38 AM   #3
kousik_s
Member
 
Registered: Sep 2003
Location: India
Distribution: RedHat 9, Mandrake Move2, Windows XP Pro
Posts: 54

Original Poster
Rep: Reputation: 15
Hi Masand,

Thanks for the reply. Mandrake 10 comes with NTFS read only support. I am not sure about Move2. I did cat /etc/fstab and ntfs was not there.

To clarify, I tried to mount as root. I don't exactly remember the error msg, something about superblock error.

Is my command OK or is this the correct one:
mount -t /dev/hda1 /mnt/winxp defaults 1 1

I am googling to find whether Move2 supports NTFS. The kernel is 2.6.3. So I think it should.

Thanks,

Kousik
 
Old 11-18-2004, 08:48 AM   #4
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
hi there

linux kernel supports ntfs FS now it dpends whther u have that option compiled in the kenrel u r using

and ur command should be

mount -t ntfs /dev/hda1 /mnt/winx

the other options are taken as defaults

and u should get a erros like"ntfs FS not supported by ur kernel"

regards
 
Old 11-18-2004, 09:47 AM   #5
kousik_s
Member
 
Registered: Sep 2003
Location: India
Distribution: RedHat 9, Mandrake Move2, Windows XP Pro
Posts: 54

Original Poster
Rep: Reputation: 15
Hi Masand,

I am at work and cannot verify the error message. However, take a look at this article on Move2:

http://www.pcstuff.dk/articles/mandrakemove/index.html

I think NTFS is compiled in the kernel. What do you think?

Thanks,

Kousik
 
Old 11-18-2004, 11:07 AM   #6
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
hi there

post ur error msg when u get back

regards
 
Old 11-18-2004, 06:42 PM   #7
kousik_s
Member
 
Registered: Sep 2003
Location: India
Distribution: RedHat 9, Mandrake Move2, Windows XP Pro
Posts: 54

Original Poster
Rep: Reputation: 15
hi masand,

i did this;

su > change to root
mkdir /mnt/winxp > create directory
mount -t ntfs /dev/hda1 /mnt/winxp > error message

error message;

mount: wrong fs type, bad option, bad superblock on /dev/hda1, or too many mounted file systems

windows has only 1 drive c: with ntfs. fstab has no entry for ntfs.

pls help.

thanks,
kousik.
 
Old 11-19-2004, 12:17 AM   #8
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
hi there

u do not ned fstab when u r mounting the partions by urself

fstab is required when u want to mount the partions to be mounted by themselves

post the O/P of

"df"

and fdisk -l /dev/hda

regards
 
Old 11-20-2004, 05:38 PM   #9
kousik_s
Member
 
Registered: Sep 2003
Location: India
Distribution: RedHat 9, Mandrake Move2, Windows XP Pro
Posts: 54

Original Poster
Rep: Reputation: 15
Hi Masand,

Here r the info u wanted. Pls suggest how to solve this. My 128MB USB FlashDrive works fine and shows up as Hard Disk.



Error:

$ mount -t ntfs /dev/hda1 /mnt/windows

mount: wrong fs type, bad option, bad superblock on /dev/hda1,
or too many mounted file systems

Solutions:

$ df

Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 257232 2408 254824 1% /
none 257232 2408 254824 1% /
none 671198 671198 0 100% /cdrom
/dev/loop0 35474 35474 0 100% /image_boot
/dev/loop1 42050 42050 0 100% /image_always
/dev/loop2 14442 14442 0 100% /image_totem
/dev/loop3 1141500 1141500 0 100% /image
/dev/loop/4 55276 55276 0 100% /image_i18n_en
/dev/loop/5 3850 3850 0 100% /image_always_i18n_en

$ fdisk -l /dev/hda

Disk /dev/hda: 36.7 GB, 36787708928 bytes
240 heads, 63 sectors/track, 4752 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 4751 35917528+ 7 HPFS/NTFS

Other:

$ cat/etc/fstab

/dev/hdc /cdrom auto umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec 0 0
none /dev/pts devpts mode=0620 0 0
none /proc proc defaults 0 0
none /mnt/removable supermount dev=/dev/scsi/host0/bus0/target0/lun0/part4,fs=ext2:vfat,--,umask=0,iocharset=iso8859-1,kudzu,codepage=850 0 0

$ uname -r

2.6.3-15mdk


Thanks,

Kousik
 
Old 11-21-2004, 04:11 PM   #10
kousik_s
Member
 
Registered: Sep 2003
Location: India
Distribution: RedHat 9, Mandrake Move2, Windows XP Pro
Posts: 54

Original Poster
Rep: Reputation: 15
Did further research and found this.

If superblock not found for ntfs then etc/filesystems will be searched. If that file does not exist, then proc/filesystems will be read. In my distro (Mandrake Move2), etc/filesystems exist but does not have an entry for ntfs. Hence, I guess that, when superblock is not found, this file is read, and then the search halts.

I tried to edit etc/filesystems using vi as root. When I try to save the edited file, a message comes up that .filesystems.swp is there which is linked and cannot be modified. Even if this file is deleted, it is created if attempted to edit /etc/filesystems.

How to edit this file? This may/may not solve the problem. But, is this normal behaviour to lock this file for editing.

Thanks in advance,
Kousik
 
Old 11-22-2004, 01:39 AM   #11
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Mandrake Move is a LiveCD based Linux distro.

You CANNOT edit the files on the CD without remastering the disk altogether.

So you are stuck with what MandrakeMove sets up initially.

However you can usually mount the drives manually if the partition table structure is properly recognized.
 
Old 11-22-2004, 02:30 PM   #12
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
hi there

i remeber one such problem when i cam across Linux for U (LFY) Cd
whcih was remastered from knoppix
there also i could not mount my partitons
i think this problem will be there in this CD and as opjose said u need to remaster that CD

my word of advice
try out Knoppix for Live CD ,,it is nice

regards
 
Old 11-22-2004, 04:53 PM   #13
kousik_s
Member
 
Registered: Sep 2003
Location: India
Distribution: RedHat 9, Mandrake Move2, Windows XP Pro
Posts: 54

Original Poster
Rep: Reputation: 15
i understand that whatever changes are made cannot be saved. but all files are loaded in RAM memory. isn't it possible to edit files in RAM memory, to mount ntfs manually.

any other suggestions to solve this. i don't favour debian, hence would not like to try knoppix. move2 looks nice and has many useful programs.

also, can anyone explain me what "magicdev" in mandrake actually does?

anyway, is there is useful help file (pdf) for mandrake configuration, other than the official ones, which i think are very basic. pls give the link.
 
Old 11-23-2004, 07:12 PM   #14
kousik_s
Member
 
Registered: Sep 2003
Location: India
Distribution: RedHat 9, Mandrake Move2, Windows XP Pro
Posts: 54

Original Poster
Rep: Reputation: 15
Hi guys,

Learnt something more. Some manufacturers have a sort of copy of rescue windows preinstalled on the harddrive in case of an emergency. IBM calls it predesktop area or something like that. This is a hidden partition in windows.

For more on this:
http://mandrakeusers.org/index.php?showtopic=20629
 
  


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
mount: unknown filesystem type 'ntfs' when trying to mount windows drive... DiZASTiX Linux - Hardware 12 09-28-2008 08:29 PM
How to mount an external NTFS USB drive on Mandrake 10.0?? mannyjazz Linux - Hardware 6 05-29-2006 08:13 PM
Mount Imaged NTFS Drive quentusrex Linux - General 1 05-25-2005 06:05 PM
How do I mount an NTFS drive? esv5454 Linux - Hardware 4 10-07-2003 09:25 PM
mount ym NTFS Drive kbhadsten Linux - General 2 09-11-2002 02:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 05:16 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