Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 20-06-2008, 12:34 AM   #1 (permalink)
Married!
 
Rahim's Avatar
 
Join Date: Apr 2007
Location: Calcutta
Posts: 1,524
Default Help Me to Edit FSTAB File


Bought 300 GB IDE and created 3 Partitions:
/dev/sdb1 ext3
/dev/sdb2 ext3
/dev/sdb3 vfat

Here is my fstab file
Quote:
# /etc/fstab: static file system information.
#
# -- This file has been automaticly generated by ntfs-config --
#
# <file system> <mount point> <type> <options> <dump> <pass>

proc /proc proc defaults 0 0
/dev/sda1 /media/WinXP ntfs-3g defaults,locale=en_IN 0 0
/dev/sda5 /media/Songs ntfs-3g defaults,locale=en_IN 0 0
/dev/sda6 / ext3 errors=remount-ro 0 1
/dev/sda7 /home ext3 defaults 0 2
/dev/sda8 none swap sw 0 0
/dev/scd1 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/scd0 /media/cdrom1 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
/dev/sdb1 /media/Linux ext3 auto,user,exec,rw 0 0
/dev/sdb2 /media/Dump ext3 auto,user,exec,rw 0 0
/dev/sdb3 /media/Multi vfat auto,user,exec,rw 0 0
But whenever i try to copy to sdb1/2/3 it sayd "You DOnt Have The Permission to write to the destination".
So how can i edit the parameters to anble me to create/delete(read/write) in the 2nd Hard Disk?
__________________
|| GNU/Linux User || PCLOS KDE 4.6 || 17" DELL Studio ||

topdocumentaryfilms.com
Rahim is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 20-06-2008, 01:20 AM   #2 (permalink)
Wahahaha~!
 
Faun's Avatar
 
Join Date: Dec 2006
Location: Pune/there
Posts: 7,676
Default Re: Help Me to Edit FSTAB File

first edit ur fstab as given below
Quote:
/dev/sdb1 /media/Linux ext3 defaults 0 0
/dev/sdb2 /media/Dump ext3 defaults 0 0
then

do
Quote:
sudo mount -a
do a chown to the directory where the sdb1 and sdb2 are mounted
e.g.
Quote:
sudo chown -R username:username /media/Linux
sudo chown -R username:username /media/Dump
where username is your user account name, it is displayed in terminal.

for fat i dunno wats the problem, but it should be writeable
/dev/sdb3 /media/Multi vfat relatime 0 2
them
sudo mount -a
then
try to do the chown method with fat too
__________________
Blog | Flickr | Battlelog
Spoiler:
Asus Z68 V-Pro|i5 2500k|TRUE Black|Ripjaws X|U2311H|N560GTX|D7000|XONAR STX|RE272|RE0|CC51|XE200PRO Walnut| TD II V2| Ultraphile|N5800

Mono

Last edited by Faun; 20-06-2008 at 01:26 AM.
Faun is offline  
Old 20-06-2008, 01:31 AM   #3 (permalink)
Married!
 
Rahim's Avatar
 
Join Date: Apr 2007
Location: Calcutta
Posts: 1,524
Default Re: Help Me to Edit FSTAB File

Here is the error for fat partition
"chown: changing ownership of `/media/Multi/': Operation not permitted"
__________________
|| GNU/Linux User || PCLOS KDE 4.6 || 17" DELL Studio ||

topdocumentaryfilms.com

Last edited by Rahim; 20-06-2008 at 01:54 AM.
Rahim is offline  
Old 20-06-2008, 01:42 AM   #4 (permalink)
Wahahaha~!
 
Faun's Avatar
 
Join Date: Dec 2006
Location: Pune/there
Posts: 7,676
Default Re: Help Me to Edit FSTAB File

use
/dev/sdb3 /media/Multi vfat umask=000 0 0

and then
sudo mount -a

see if now u can write on fat partition
else reboot to effect changes
__________________
Blog | Flickr | Battlelog
Spoiler:
Asus Z68 V-Pro|i5 2500k|TRUE Black|Ripjaws X|U2311H|N560GTX|D7000|XONAR STX|RE272|RE0|CC51|XE200PRO Walnut| TD II V2| Ultraphile|N5800

Mono
Faun is offline  
Old 20-06-2008, 02:00 AM   #5 (permalink)
Married!
 
Rahim's Avatar
 
Join Date: Apr 2007
Location: Calcutta
Posts: 1,524
Default Re: Help Me to Edit FSTAB File

^That did the trick. thanks again.
__________________
|| GNU/Linux User || PCLOS KDE 4.6 || 17" DELL Studio ||

topdocumentaryfilms.com
Rahim is offline  
Old 20-06-2008, 02:01 AM   #6 (permalink)
Wahahaha~!
 
Faun's Avatar
 
Join Date: Dec 2006
Location: Pune/there
Posts: 7,676
Default Re: Help Me to Edit FSTAB File

anytime
__________________
Blog | Flickr | Battlelog
Spoiler:
Asus Z68 V-Pro|i5 2500k|TRUE Black|Ripjaws X|U2311H|N560GTX|D7000|XONAR STX|RE272|RE0|CC51|XE200PRO Walnut| TD II V2| Ultraphile|N5800

Mono
Faun is offline  
Old 20-06-2008, 02:19 AM   #7 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: Help Me to Edit FSTAB File

Why not let the VFS do it's stuff? Why live with old age tech? What you need in fstab is just your / and swap. All else can be handled by auto mounters.
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 20-06-2008, 09:40 AM   #8 (permalink)
Married!
 
Rahim's Avatar
 
Join Date: Apr 2007
Location: Calcutta
Posts: 1,524
Default Re: Help Me to Edit FSTAB File

Now everything has been setup properly thanks to T159.
The 2 ext3 partitions in 2nd drive (sdb1 & sdb2), are both named as 83 GB Media & 21 GB Media respectively on the Desktop. I want to give a label to both like "Songs" & "Videos" like it has been given for ntfs partitions or my vfat partitons(sdb3) as "Multi"(I named it through XP).
How can i do it?
Remember i have no problem with the mount points and permissions.
__________________
|| GNU/Linux User || PCLOS KDE 4.6 || 17" DELL Studio ||

topdocumentaryfilms.com
Rahim is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to easily edit a .vob file ayushman9 Software Q&A 3 02-12-2007 09:39 AM
how to edit a PDF file yrakesh78 Software Q&A 3 24-07-2007 02:28 PM
Edit swf file possible Techmastro QnA (read only) 6 18-12-2006 01:33 AM
How To Edit A CHM File??? go4saket QnA (read only) 1 27-09-2006 11:06 PM
Help me to create and edit (.icon) file jitu_mania QnA (read only) 5 09-10-2005 07:51 AM

 
Latest Threads
- by Sujeet
- by soumya
- by clmlbx
- by Charan

Advertisement




All times are GMT +5.5. The time now is 01:29 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2