LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-06-2006, 06:29 AM   #1
ju_medea
LQ Newbie
 
Registered: Feb 2006
Posts: 23

Rep: Reputation: 15
mounting C and E. very close but stuck:))


hi,

i installed debian, but i didn't mount my windows partitions. so, a googled a little and i got as close as /etc/fstab (i'm loaded as root, so can edit), but i failed to find out what line i should insert. i found s.th. that looks like

"/dev/hda1 /mnt/c ntfs noauto,user 0 0" in a linux newbie site, but it didn't work. well, a "C" icon emerged in the Computer, but an error msg said c/ doesn't exist, so it's wrong.

thanks
 
Old 02-06-2006, 06:46 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
You need to create the mount point. Do this with "mkdir /mnt/c" as root.
 
Old 02-06-2006, 07:39 AM   #3
ju_medea
LQ Newbie
 
Registered: Feb 2006
Posts: 23

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Nylex
You need to create the mount point. Do this with "mkdir /mnt/c" as root.
it didn't work. maybe i'm doing it wrong, where exactly should i create it? what i did was edit the line at mount point, but i guess that's not it.

thanks
Ju
 
Old 02-06-2006, 07:40 AM   #4
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Leave the mount point as "/mnt/c" in your fstab and run "mkdir /mnt/c" as root in a terminal.
 
Old 02-06-2006, 10:31 AM   #5
enemorales
Member
 
Registered: Jul 2004
Location: Santiago, Chile
Distribution: Ubuntu
Posts: 410

Rep: Reputation: 31
Before editing /etc/fstab, make sure you can mount the partitions manually.

1) Create a mount point. As Nylex says, something like "mkdir /mnt/c" will do.
2) Find what are the partitions. How many harddisk do you have? If it is only one and it is IDE, Run "fdisk -l /dev/hda". Looking at output you should manage to find out which partition is C. Let's assume that "/dev/hda1" is C.
3) Mount: "mount -t auto /dev/hda1 /mnt/c".

If the mount worked, the root folder of C would be /mnt/c in your linux system. BUT notice that it may not work.

If your partition is formatted as NTFS, for instance, you may not be able to mount it unless you load some module (this may happen even if it is FAT). Also, remember that NTFS are supported only for reading (writting is unsecure), so you may want to mount it as "mount -t auto -o ro /dev/hda1 /mnt/c" to be sure.

Once you succeed to mount the partition(s), you can go to /etc/fstab and add the good line. For the last command, for instance, it will be something like

/dev/hda1 /mnt/c auto ro 0 0

HTH!
 
Old 02-07-2006, 03:44 AM   #6
lcornea
LQ Newbie
 
Registered: Dec 2005
Location: Onesti Romania
Distribution: fedor core 4
Posts: 24

Rep: Reputation: 15
You can learn a lot fom this site about mounting: http://www.linux-ntfs.org/content/view/127/63/
It is intented to help you instal a rpm to suport NTFS and mount such a partition. It should not be hard to learn how to mount from there.
 
  


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
Please help... I am so close MrBill2U Linux - Software 5 12-20-2005 10:01 PM
mplayer 'close all' doesn't close anything allelopath Linux - Software 2 12-08-2005 09:40 AM
Installing LAMP with MySQL 4.1 - close but stuck with Apache problem David Mann Linux - Software 2 11-10-2004 08:19 PM
oh so close jasonmantey Linux - Newbie 1 04-13-2004 08:25 AM
Mounting mounting extended partition and its Logical drives desbyleo Linux - Newbie 10 02-18-2002 03:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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