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 |
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.
|
|
10-21-2004, 05:14 PM
|
#1
|
LQ Newbie
Registered: Oct 2004
Posts: 24
Rep:
|
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.
|
|
|
10-21-2004, 06:15 PM
|
#2
|
Member
Registered: Aug 2004
Location: New York
Distribution: --------- Gentoo-2004.2 [2.6.8] Redhat-9 [2.6.6]
Posts: 545
Rep:
|
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...
|
|
|
10-21-2004, 08:16 PM
|
#3
|
LQ Newbie
Registered: Oct 2004
Posts: 24
Original Poster
Rep:
|
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?
|
|
|
10-21-2004, 08:20 PM
|
#4
|
Member
Registered: Aug 2004
Location: New York
Distribution: --------- Gentoo-2004.2 [2.6.8] Redhat-9 [2.6.6]
Posts: 545
Rep:
|
set ur umask-->0000
/dev/hdb1 /mnt/ntfs_disk1 ntfs ro,umask=0000 0 0
|
|
|
10-21-2004, 08:37 PM
|
#5
|
LQ Newbie
Registered: Oct 2004
Posts: 24
Original Poster
Rep:
|
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?
|
|
|
10-21-2004, 09:41 PM
|
#6
|
Member
Registered: Aug 2004
Location: New York
Distribution: --------- Gentoo-2004.2 [2.6.8] Redhat-9 [2.6.6]
Posts: 545
Rep:
|
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 ..
|
|
|
10-22-2004, 03:06 PM
|
#7
|
LQ Newbie
Registered: Oct 2004
Posts: 24
Original Poster
Rep:
|
Alright, that worked great. Thanks for the help!
|
|
|
All times are GMT -5. The time now is 04:30 AM.
|
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
|
|