| |
| |
| |
|
Page: 1 2 3
Comments:
<0> p3nguin: Because something like /mnt/windows would be better. <1> Hobo: are you root? <2> If you had read the man page for `mount' you would know that mounting NTFS, by default, makes files owned by root and not readable by someone else. <3> i am root for the moment <2> Mount it like I said and it should work like you want. <3> um...the icon disappeared <3> there was the hda5 icon on desktop and now its gone <3> is that a good thing? <2> We don't need a desktop to be able to mount a device. <3> oh foak... <1> umm.. /mnt is usually used for temporary filesystem mounts <3> i mounted the wrong partition <3> lol <1> such as if you're cloning a filesystem or doing a restore <3> mannn i **** <1> anyway, i'd say it's not recommended to put a mount to /mnt in /etc/fstab
<2> You're saying this is not going to be a temporary mount? <1> unless that's part of your mounting scheme <1> as /mnt/floppy /mnt/cdrom /mnt/diska and so on <2> I said not to put an entry in fstab, but mount it to /mnt. This seems proper to me. <1> p3nguin, The above was NOT directed to you <2> Oh, I thought you were correcting my procedure. <3> p3nguin: i mounted hda1 instead of hda5 <4> last time i mount windows partition i broke it heh <3> p3nguin: then i mounted hda5 as u told me to without the /mnt <0> HoboTurtle: Why without? <2> HoboTurtle: I think you should be more careful to do the right thing. <1> Alright, France plays tonight <1> in about 30 min <2> HoboTurtle: You come in here wanting help, then can't follow instructions? <1> I need to get ready :) later <2> Later. <3> ummm you guys were talking about how its unneccesary <0> HoboTurtle: No... <0> You need a mountpoint. <0> We didn't say unnecessary at any point. <2> HoboTurtle: unmount everything you don't need to have mounted at this time. <2> HoboTurtle: Then follow instructions to mount the device you intend to use. <2> HoboTurtle: What I said was: It is not necessary to make an entry in the fstab to mount a device. <3> ohhhh i seee <3> my bad folks <2> HoboTurtle: You also have to define a mount point to mount a device. Either in fstab or on the command line. <2> Use the umount command to unmount all the unneeded devies, then start again. <3> okay <2> Clean out your fstab from debris if you added things that are not needed or not following correct syntax. <2> Then let's mount that device the right way. <2> I'll collect a little information from you so I can output the proper commands. <3> thanks alot <2> What is the device you want to mount, hda5? <3> yes <2> Is this mount going to be temporary or permanent? <3> perm <2> If you are sure you want it to be permanent then it is a good idea to make that fstab entry. <3> okay <2> Do you know where you want to mount the device? Possibly /mnt/ntfs or /mnt/windows? <3> what about /media/hda5? <0> /media is usually used for removable media <2> Do you want all users on the system to be able to read the NTFS drive after it is mounted, or only your user or root? <0> Such as cd-roms or flash cards/ <3> xarius: roger that p3nguin: all users <2> Do you want the NTFS drive to be mounted automatically at boot time or only after you tell it to be mounted? <3> autmatically preferably <2> Okay, let me compute this information and see about making an appropriate fstab entry. <3> thank you <2> Become root with the switch user "su" command. <3> done <2> Open /etc/fstab in your favorite text editor, such as vim, pico, or joe. <3> okay <3> in with pico <2> Add the following line in the fstab. <2> /dev/hda5 /media/hda5 ntfs iocharset=utf8,umask=0222 1 0 <2> Save the file and exit the editor. <3> u mean create a new line? <2> Yes, on a new line. <5> /msg NickServ@services.dal.net ACC tyrael
<5> ooops... <3> done <2> Still as root, run the following command to create the mount point: mkdir -p /media/hda5 <3> done <2> Still as root, run the following command to mount the device according to the entry we just made in the fstab: <2> mount /dev/hda5 <3> okay <2> Exit from root and read the NTFS filesystem as your regular user. <3> You do not have the permissions necessary to view the contents of "hda5". <3> -_- ??? <2> Were there any other errors or warnings during any of the other commands? <3> not at all <2> Let's check the mtab to see if it mounted with the proper umask. Run this command: mount|grep hda5 <3> hoboturtle@ubuntu:~$ mount|grep hda5 <3> /dev/hda5 on /media/hda5 type ntfs (rw) <6> Shalom everyone. Whats the kernel header file name for 2.6.16-1.2133_FC5smp (not the plain, the SMP, i need it for VMware) <2> Did you remove every other entry in the fstab for that device? <3> no <3> whatever it was there i left it <3> i just created another line <2> Remove all other entries in the fstab pertaining to hda5 and leave only the new one we just put in. <3> okay <2> su to root before opening the editor. ;) <3> /dev/hda5 /media/hda5 ntfs defaults 0 0 <3> <--that line right? <2> Remove that one. <3> k done <2> After you remove the other conflicting lines, save and exit. <2> Then we have to remount it. Use this command as root: mount -o remount /dev/hda5 <3> root@ubuntu:/home/hoboturtle# mount -o remount /dev/hda5 <3> mount: /media/hda5 not mounted already, or bad option <2> Okay, do it in two steps. umount /dev/hda5 <2> Then mount /dev/hda5 <3> done and done <2> Before we exit from root, let's check the mtab again to make sure it is mounted right. mount|grep hda5 <3> root@ubuntu:/home/hoboturtle# mount|grep hda5 <3> /dev/hda5 on /media/hda5 type ntfs (rw,iocharset=utf8,umask=0222) <2> Now you can exit from root and read the NTFS as your user. <3> wooohooo <3> its works! <3> thank you soo much <3> i appreciate it veeeery <3> ive been trying to learn ubuntu for months <3> and i still havent figured this out <2> I see that by default your system made that partition rw instead of ro. We can change that by modifying the fstab entry in you want to do so. <3> oh btw.. are u familiar with scim? <3> eh...nvm ill figure that out <3> thank you very much for helping me <2> To correct that little problem, simply become root again, open the fstab in the editor and add "ro" to the options to make it read like this: /dev/hda5 /media/hda5 ntfs iocharset=utf8,umask=0222,ro 1 0 <3> rw and ro? <2> I use a 2.4 kernel so ro is default for me. <2> rw is read/write ro is read-only <3> what's the difference between those two? <3> ohh <2> With a umask of 0222 I don't think you can write to it, but I think it would be better to be safe than to be sorry. <3> :) <2> You only have to add ro to the options in the fstab entry to fix it. <3> i did <3> things look the same tho <3> :) <2> I would go ahead and umount /dev/hda5 then mount /dev/hda5 again. <3> okay <2> That way when you check it with the mount command it will show /dev/hda5 on /media/hda5 type ntfs (ro,iocharset=utf8,umask=0222) <2> You would be really unhappy to accidently damage the NTFS with Linux writing to it. <3> that's exactly what it looks like <2> Now it will mount that for you next time you boot up. <3> its automatically mounted on every boot? <2> Yes. <3> awesome! <2> If you wanted to keep it from automatically mounting it for you at boot time, you would have to also add "noauto" in the options in the fstab. <2> noauto means not automatic. <3> :) <2> All this information is in the man page for mount and fstab. <3> i see
Return to
#linux or Go to some related
logs:
takse.org #chat-world #india ask me no questions and I tell you no lies
#kl #php #allnitecafe 85.108.94 #php chromemox
|
|