LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-21-2004, 05:14 PM   #1
LJT
LQ Newbie
 
Registered: Oct 2004
Posts: 24

Rep: Reputation: 15
Recognize Windows Partitions in Ubuntu


I just installed Ubuntu. It went off without a hitch, except that I had problems with my video card (this is on a custom-built laptop, so I expected it). However, I want to pull some files off of my Widows partitions and I don't know how to get Ubuntu to recognize them. I am really new to Linux, and I was happy to see SUSE 9.1 set this up automatically. But Ubuntu doesn't. So, what do I need to do? I have heard that I may need a package to recognize NTFS. If thats all I need I shouldn't have any trouble, but I am going to guess its harder than that.
 
Old 10-21-2004, 06:15 PM   #2
UsualTuxpect
Member
 
Registered: Aug 2004
Location: New York
Distribution: --------- Gentoo-2004.2 [2.6.8] Redhat-9 [2.6.6]
Posts: 545

Rep: Reputation: 31
HI,

I dont know if Ubuntu's default kernel has the NTFS drivers built into into it...

do this ----> #fdisk -l [if u cant find where fdisk is do-->#whereis fdisk]

that should list ur ntfs partitions if recognized...

in the following example i ma assuming ntfs to be on hdb1 --> so make changes accordingly..


mkdir /mnt/ntfs_disk1
mount -t ntfs /dev/hdb1 /mnt/ntfs_disk1 [this should tell u if ntfs is supported by ur kenel]

chmod -R 777 /mnt/ntfs_disk1

If every thing goes well..... ie. if u see ur windows partition mounted...


You will have to edit the /etc/fstab file to mount it automatically... from next reboot


/dev/hdb1 /mnt/ntfs_disk1 ntfs ro,umask=0222 0 0

ro ---> read-only
rw---->read-write


If u wanna write into ntfs partition Captive ntfs is a better option...
 
Old 10-21-2004, 08:16 PM   #3
LJT
LQ Newbie
 
Registered: Oct 2004
Posts: 24

Original Poster
Rep: Reputation: 15
I guess Ubuntu does support NTFS because I managed to mount my Windows partition. However, I can only access it as root. I read the man on chmod and realize that was supposed to change the permission on the files. When I ran the command I got a bunch of lines moving too fast for me to read, but the first part read something along the lines of "set permission." Is it possible it set the permission for all the sub files and not ntfs_disk1?
 
Old 10-21-2004, 08:20 PM   #4
UsualTuxpect
Member
 
Registered: Aug 2004
Location: New York
Distribution: --------- Gentoo-2004.2 [2.6.8] Redhat-9 [2.6.6]
Posts: 545

Rep: Reputation: 31
set ur umask-->0000

/dev/hdb1 /mnt/ntfs_disk1 ntfs ro,umask=0000 0 0
 
Old 10-21-2004, 08:37 PM   #5
LJT
LQ Newbie
 
Registered: Oct 2004
Posts: 24

Original Poster
Rep: Reputation: 15
The fstab file does not show the partition I am trying to mount (hda5). However, I can see it when I run fdisk -l. I also have the problem of not knowing how to modify fstab because only root has permission, and I can't log in as root and use a text editor because of the way ubuntu is set up. The only way I can access it is from the console using sudo. So, any thoughts?
 
Old 10-21-2004, 09:41 PM   #6
UsualTuxpect
Member
 
Registered: Aug 2004
Location: New York
Distribution: --------- Gentoo-2004.2 [2.6.8] Redhat-9 [2.6.6]
Posts: 545

Rep: Reputation: 31
you have to edit the /etc/fstab [it wont by default have the entry..]

use sudo to go into root mode..

u will have a command line text editor like nano, vi or emacs
#nano or #vi or #emacs

use it to edit the /etc/fstab and put the following enty

/dev/hda5 /mnt/ntfs_disk1 ntfs ro,umask=0000 0 0

make sure u save it ..and reboot the system ..
 
Old 10-22-2004, 03:06 PM   #7
LJT
LQ Newbie
 
Registered: Oct 2004
Posts: 24

Original Poster
Rep: Reputation: 15
Alright, that worked great. Thanks for the help!
 
  


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
XP doesn't recognize Ubuntu, Ubuntu installed first. MonkeyBusiness Linux - Newbie 9 06-21-2006 04:58 AM
"Ubuntu corrupt windows partitions" - True? J_K9 Ubuntu 3 06-21-2005 12:02 PM
mount windows xp partitions in ubuntu newbieSC Linux - Newbie 8 04-20-2005 10:47 PM
Linux does not recognize partitions psybertron Linux - Newbie 2 11-29-2003 12:12 AM
windows does not recognize (some) fat32 partitions all of a sudden cmsenthil Linux - General 1 10-09-2002 06:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:30 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
Open Source Consulting | Domain Registration