help me on these problems

Status
Not open for further replies.

saurabh kakkar

D i s t i n c t l y Ahead
hi
every time i log into ubuntu 7.04 i have to mount my FAT32 partions from
PLACES->COMPUTERS is there any way so that these partions will mount automatically after ubuntu stars.
also
is there any download meter for ubnutu cos i have 400mbs per month conne.

Code:

sudo fdisk -l

gives this results

Code:
Disk /dev/sda: 80.0 GB, 80060424192 bytes
255 heads, 63 sectors/track, 9733 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 2550 20482843+ c W95 FAT32 (LBA)
/dev/sda2 2551 9130 52853850 f W95 Ext'd (LBA)
/dev/sda3 9131 9733 4843597+ 83 Linux
/dev/sda5 2551 5100 20482843+ b W95 FAT32
/dev/sda6 5101 7650 20482843+ b W95 FAT32
/dev/sda7 7651 9095 11606931 b W95 FAT32
/dev/sda8 9096 9130 281106 82 Linux swap / Solaris
_________________
 
Last edited:

mehulved

18 Till I Die............
1. Add the required entry to fstab. But, actually it should do it automatically. Did you disable hal or pmount of something?
2. If you use DataOne, there are scripts like dobs and such which have bandwidth meters. Else conky is really nice for that. I use conky for few other things too.
 
OP
saurabh kakkar

saurabh kakkar

D i s t i n c t l y Ahead
mehulved said:
1. Add the required entry to fstab. But, actually it should do it automatically. Did you disable hal or pmount of something?
2. If you use DataOne, there are scripts like dobs and such which have bandwidth meters. Else conky is really nice for that. I use conky for few other things too.

sir i am new in linux i have disabled nothing i have also tried to mount the drives as stated in ubuntu giude but all in vain

also i am interesred in using conky can u tell me will conky maintain a data

base of my daily usage like Dumeter( in windows)

@Akshay i will try this
 

cynosure

UbuntuUser
Do this in a terminal:

1) sudo gedit /etc/fstab
2) Add some lines
The common format is
File System (The /dev/sd* of your drive)
Mount point (This is the folder in which you drive appears to be present, this has to be made by you.)
type (The type of partition you have, like in windows its fat32 and/or ntfs. Use vfat for windows partitions and ext2/3 etc for linux)
options:: Leave it as "defaults"
dump:: I dont really understand what is this but a value of 0 (zero) works for me.
pass:: same as above.

so its like of you are adding a win partion in you box then do this.
Make a folder where you want your partition to be mounted. Let it be your sda drive in /XYZ.<= This is the location from where you can access your drive. This can be anywhere as long as you are root.;)
So edit the fstab file with sudo gedit and add the "isse neeche waali line" under
/dev/sda3 / ext3 *whatever option you have* 0 1 << This line is default and you will find it there in fstab.

So your line that you need to add should be::
/dev/sda1 /XYZ vfat defaults 0 0

this should add your sda1 folder in XYZ folder under root directory. Then save the file ( You should be root or *sudo*)
 

praka123

left this forum longback
saurabh kakkar said:
hi
every time i log into ubuntu 7.04 i have to mount my FAT32 partions from
PLACES->COMPUTERS is there any way so that these partions will mount automatically after ubuntu stars.
Code:

sudo fdisk -l

gives this results

Code:
Disk /dev/sda: 80.0 GB, 80060424192 bytes
255 heads, 63 sectors/track, 9733 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 2550 20482843+ c W95 FAT32 (LBA)
/dev/sda2 2551 9130 52853850 f W95 Ext'd (LBA)
/dev/sda3 9131 9733 4843597+ 83 Linux
/dev/sda5 2551 5100 20482843+ b W95 FAT32
/dev/sda6 5101 7650 20482843+ b W95 FAT32
/dev/sda7 7651 9095 11606931 b W95 FAT32
/dev/sda8 9096 9130 281106 82 Linux swap / Solaris
_________________
for this do as below:
press ALT+F2 to get run dialog.run below commands to open /etc/fstab in gedit:
when prompted,give ur passwd.
Code:
gksudo gedit /etc/fstab
then paste below list to it and save.
Code:
/dev/sda1   /media/sda1     vfat     defaults    0    0
/dev/sda5   /media/sda5     vfat     defaults    0    0
/dev/sda6   /media/sda6     vfat     defaults    0    0
/dev/sda7   /media/sda7     vfat     defaults    0    0
save and exit editor.
then,
open a terminal(in menu Applications>Accessories>Terminal or simply right clik select-n-open):
run below commands:
Code:
sudo  mkdir  /media/sda1 /media/sda5 /media/sda6 /media/sda7
^ make sure there is space left.execute the command by pressing enter key.
now execute below command:
Code:
sudo mount  -a
Now open Nautilus File Manager and go to /media directory to browse ur fat directories mounted.this is automatically mounted each time booting.



saurabh kakkar said:
also
is there any download meter for ubnutu cos i have 400mbs per month conne.
that can be a possibility if someone writes such a script.
there is even a script to find dataone usage/month,but that is when except IE no other browsers were supported in Dataone admin website.
For this time,
using Opera browser seems the easiest way,it works with dataone admin site.
 
OP
saurabh kakkar

saurabh kakkar

D i s t i n c t l y Ahead
i am thankfull to all for there suggestions

@praka123 thanks buddy Ur method solved my mounting problem . can u tell

me the source ?

i am still in search of some meter cos i am a noob in Linux word . i am having

mtnl connection :)

also cos of 400 mbs/month i have disabled all the multimedia support (opens

when needed ) like photos , animation in I.E in windows .what should i do in

firefox in ubuntu ?
 

Pathik

Google Bot
Get Opera for ubuntu... it works real fast...
btw the source for praka's solution is his brain. Its filled with linux stuff.. :D
 

anantkhaitan

Burning Bright
Well
Code:
/dev/sda1   /media/sda1     vfat     defaults    0    0
will not give you "Read and Write" permission in vfat partition as local user.. so the parameter(s) I prefer
Code:
/dev/sda1   /media/sda1     vfat users,rw,umask=000 0 0
Source ;)

As for disabling/enabling multimedia contents in browser (Firefox) in concerned
Edit> Preference> Content
 
Last edited:
Status
Not open for further replies.
Top Bottom