Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-18-2004, 07:57 AM
|
#1
|
Member
Registered: Sep 2003
Location: India
Distribution: RedHat 9, Mandrake Move2, Windows XP Pro
Posts: 54
Rep:
|
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
|
|
|
11-18-2004, 08:27 AM
|
#2
|
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
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
|
|
|
11-18-2004, 08:38 AM
|
#3
|
Member
Registered: Sep 2003
Location: India
Distribution: RedHat 9, Mandrake Move2, Windows XP Pro
Posts: 54
Original Poster
Rep:
|
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
|
|
|
11-18-2004, 08:48 AM
|
#4
|
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
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
|
|
|
11-18-2004, 09:47 AM
|
#5
|
Member
Registered: Sep 2003
Location: India
Distribution: RedHat 9, Mandrake Move2, Windows XP Pro
Posts: 54
Original Poster
Rep:
|
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
|
|
|
11-18-2004, 11:07 AM
|
#6
|
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
hi there
post ur error msg when u get back
regards
|
|
|
11-18-2004, 06:42 PM
|
#7
|
Member
Registered: Sep 2003
Location: India
Distribution: RedHat 9, Mandrake Move2, Windows XP Pro
Posts: 54
Original Poster
Rep:
|
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.
|
|
|
11-19-2004, 12:17 AM
|
#8
|
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
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
|
|
|
11-20-2004, 05:38 PM
|
#9
|
Member
Registered: Sep 2003
Location: India
Distribution: RedHat 9, Mandrake Move2, Windows XP Pro
Posts: 54
Original Poster
Rep:
|
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
|
|
|
11-21-2004, 04:11 PM
|
#10
|
Member
Registered: Sep 2003
Location: India
Distribution: RedHat 9, Mandrake Move2, Windows XP Pro
Posts: 54
Original Poster
Rep:
|
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
|
|
|
11-22-2004, 01:39 AM
|
#11
|
Senior Member
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090
Rep:
|
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.
|
|
|
11-22-2004, 02:30 PM
|
#12
|
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
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
|
|
|
11-22-2004, 04:53 PM
|
#13
|
Member
Registered: Sep 2003
Location: India
Distribution: RedHat 9, Mandrake Move2, Windows XP Pro
Posts: 54
Original Poster
Rep:
|
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.
|
|
|
11-23-2004, 07:12 PM
|
#14
|
Member
Registered: Sep 2003
Location: India
Distribution: RedHat 9, Mandrake Move2, Windows XP Pro
Posts: 54
Original Poster
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 05:16 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|