LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-04-2004, 03:58 AM   #1
1racerx
LQ Newbie
 
Registered: Sep 2004
Location: Perth, Australia
Posts: 11

Rep: Reputation: 0
mount questions


Well, as the title says, I have a few questions regarding mounting my NTFS partition.

I installed Mandrake 10 on /dev/hdb1

The primary HD I had installed at the time was divided into 3 fat32 drives and mandrake did the following:

-Made a mount point icon on the desktop called "harddisk" that was /mnt/hd and had nothing in it.
-Mounted /dev/hda1 hda2 & hda3 as win_c win_d win_e

These 3 as it would happen didnt work either. I then replaced the hda1 with my current XP install and booted into mandrake. It would not let me make anychanged to mounts in the Mandrake control center, it said it was in use or something.

I then edited /etc/fstab and made it look like the following:

Code:
/dev/hdb1 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hdb6 /home ext3 defaults 1 2
/dev/hdc /mnt/cdrom auto umask=0,user,iocharset=iso8859-15,codepage=850,noauto,ro,exec 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso8859-15,sync,codepage=850 0 0
/dev/hda1 /mnt/windows ntfs umask=0,nls=iso8859-1,ro 0 0
none /proc proc defaults 0 0
/dev/hdb5 swap swap defaults 0 0
none /mnt/hd supermount dev=/dev/ide/host0/bus0/target0/lun0/part1,fs=ext2:vfat,--,umask=0,iocharset=iso8859-15,kudzu,codepage=850 0 0
The /dev/hda1 now mounts perfect as a readonly NTFS as /mnt/windows . . .

BUT:
/mnt/win_c
/mnt/win_d
/mnt/win_e
/mnt/hd
are all still created and are empty!! how do i make them stop??

also since playing with the fstab file my icon on the desktop that says home now goes to /mnt/windows NOT to the home directory!!

Can anyone shed some light on what im doing wrong? I woudl like the hardisc icon to go to my /mnt/windows and the home icon to work as usual.

Thanks
 
Old 10-04-2004, 05:03 AM   #2
Baldrick65
Member
 
Registered: Aug 2003
Location: Dunedin NZ
Distribution: Mint 13 Cinnamon
Posts: 653

Rep: Reputation: 31
Here is the relevant line from my fstab to mount fat32 partitions for all users:
Code:
/dev/hde5 /mnt/windata vfat users,umask=000,rw,auto 0 0
Just change the partition and mount point to suit.

Baldrick
 
Old 10-04-2004, 06:26 AM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,704

Rep: Reputation: 1749Reputation: 1749Reputation: 1749Reputation: 1749Reputation: 1749Reputation: 1749Reputation: 1749Reputation: 1749Reputation: 1749Reputation: 1749Reputation: 1749
Quote:
BUT:
/mnt/win_c
/mnt/win_d
/mnt/win_e
/mnt/hd
are all still created and are empty!! how do i make them stop??
I do not understand. You do not have an entry for these mount points in your fstab file.

To see how the drive is partitioned log in as root and use the following command:
fdisk -l /dev/hda (that is a small L)

I would not use supermount on a nonremovable filesystem. BTW your trying to mount hda1 to /mnt/hd but it is already mounted to /mnt/windows.
 
Old 10-04-2004, 11:48 PM   #4
1racerx
LQ Newbie
 
Registered: Sep 2004
Location: Perth, Australia
Posts: 11

Original Poster
Rep: Reputation: 0
sorry for my lack of understanding:

can you advise what changes i should make to the fstab file?? is this acceptable?


Code:
/dev/hdb1 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hdb6 /home ext3 defaults 1 2
/dev/hdc /mnt/cdrom auto umask=0,user,iocharset=iso8859-15,codepage=850,noauto,ro,exec 0 0
none /mnt/floppy auto dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso8859-15,sync,codepage=850 0 0
/dev/hda1 /mnt/hd ntfs umask=0,nls=iso8859-1,ro 0 0
none /proc proc defaults 0 0
/dev/hdb5 swap swap defaults 0 0
what i was saying is even though the fstab file has NO referance to creating /mnt/win_c it still appears after every reboot!
as does /mnt/win_d & /mnt/win_e
What i want to know is what is creating these directories if there is no listing for them in fstab anymore??
 
Old 10-05-2004, 07:09 AM   #5
Baldrick65
Member
 
Registered: Aug 2003
Location: Dunedin NZ
Distribution: Mint 13 Cinnamon
Posts: 653

Rep: Reputation: 31
If there is nothing in /mnt/win_c etc, just delete the empty directories (as root) and they shouldn't re-appear. Also, post the output of
Code:
fdisk -l
as root, just so we can see what partitions you actually have.

Baldrick
 
  


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
Questions about what 'mount' does Mr Smokin Joe Linux - Newbie 15 03-27-2005 07:47 PM
3 mount questions aze Linux - Software 8 01-29-2005 04:33 PM
How to mount cdrom? And another questions hemmelig Linux - Software 5 12-15-2004 03:50 AM
HD Mount and Partition Questions grcbheax Linux - Newbie 1 08-11-2004 09:05 AM
mount questions ..... purpleburple Linux - General 7 08-07-2002 09:42 PM


All times are GMT -5. The time now is 08:40 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration