Are you root?

> -----Original Message-----
> From: stm23 [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, February 10, 2004 1:02 PM
> To: [EMAIL PROTECTED]
> Subject: FAT32 SHARED DRIVE
> 
> 
> hi, i tryed the following command in a terminal window (is 
> this what u mean by 
> a "console"?)
> 
> # fdisk -l /dev/hd?
> 
> but got the reply
> 
> bash: fdisk: command not found
> 
> what am i doing wrong??
> 
> cheers, sam
> 
> 
> >===== Original Message From [EMAIL PROTECTED] =====
> >>hi, i have a 10 GB FAT32 drive which can be accessed by windows xp, 
> >>but i'd also like my redhat 9.0 OS to be able to read & 
> write to it.  
> >>how can i go about setting this up?
> >>
> >>
> >hello there
> >
> >first you need to find the device file which points to your fat32 
> >partition.
> >
> >to do this, in a console become root
> >
> >$ su -
> >Password: *****
> >
> >then type
> >
> ># fdisk -l /dev/hd?
> >
> >this will give a list of all the hard disk partitions
> >
> >hopefully you'll find the fat32 partition.
> >
> >now you'll need to make a place for the partition to be mounted to
> >
> ># mkdir /mnt/fat32
> >(for example)
> >
> >now if you want it to mount automatically on boot
> >add this to your /etc/fstab
> >
> >/dev/hd??  /mnt/fat32  vfat  umask=644  0  0
> >
> >if you want it to be able to be mounted manually add this 
> line instead
> >
> >/dev/hd??  /mnt/fat32  vfat  umask=644,noauto  0  0
> >
> >[substitute the /dev/hd?? with the device file which 
> corresponds to the 
> >fat32 partition]
> >
> >save and exit
> >now if you type as root
> >
> ># mount /mnt/fat32
> >
> >you'll be able to access the partition there
> >
> >hth
> >
> >tim
> 
> 

Reply via email to