Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
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.
i want to mount 60GB seagate harddisk formated as Fat32 filessytem with seagate diskmanager and connected to adapetc raid card.
i was working fine and mounted as NTFS but now i want to mount is as fat32 drive which is hardware mirror to another 60GB segate driver also formated as Fat32 filessytem with seagate diskmanager and connected to adapetc raid card
there is not any problem about mirroing or raid ,
juts tell me how i can mount it
with fdisk -l command give following paramets
Disk /dev/hde: 60.0 GB, 60022480896 bytes
16 heads, 63 sectors/track, 116301 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
/dev/hde1 1 116301 58615672+ 83 Linux
and i amd using this following command
mount /dev/hde1 /mnt/Data-Drive -t vfat -r -o umask=0222
with NTFS it was working fine with this command
mount /dev/hde1 /mnt/Data-Drive -t ntfs -r -o umask=0222
and please tell me its auot mount command for fstab
Device Boot Start End Blocks Id System
/dev/hde1 1 116301 58615672+ 83 Linux
yes File system id is 83 , but how i format this drive by win98 disk and it should be fat32, ok any way , i want to use it as fat32 file system. i am using fdisk, should di fdisk /dev/hde1 or fdisk /dev/hde for changing id of drive, i want only 1 partitions and please see following information with thses 2 commands
1- fdisk /dev/hde1 (its view of partition table)
Disk /dev/hde1: 60.0 GB, 60022448640 bytes
16 heads, 63 sectors/track, 116300 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
/dev/hde1p1 ? 540117 1080622 272414512+ 64 Novell Netware 286
Partition 1 does not end on cylinder boundary.
/dev/hde1p2 ? 1319628 1854326 269488144 20 Unknown
Partition 2 does not end on cylinder boundary.
/dev/hde1p3 ? 534712 1921977 699181456 53 OnTrack DM6 Aux3
Partition 3 does not end on cylinder boundary.
/dev/hde1p4 ? 1383560 1383581 10668+ 49 Unknown
Partition 4 does not end on cylinder boundary.
2- fdisk /dev/hde
The number of cylinders for this disk is set to 116301.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
after changing id should i format partition if yes then tell me how but dont forget i want fat32 filesystem
Command (m for help): p
Device Boot Start End Blocks Id System
/dev/hde1 1 116301 58615672+ b Win95 FAT32
then use following command recomend by SKY line
mount –t vfat –o rw /dev/hde1 /mnt/Data-Drive
giving this massege
[root@Omar-Pc root]# mount –t vfat –o rw /dev/hde1 /mnt/Data-Drive
Usage: mount -V : print version
mount -h : print this help
mount : list mounted filesystems
mount -l : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
mount -a [-t|-O] ... : mount all stuff from /etc/fstab
mount device : mount device at the known place
mount directory : mount known device here
mount -t type dev dir : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
mount --bind olddir newdir
or move a subtree:
mount --move olddir newdir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using -L label or by uuid, using -U uuid .
Other options: [-nfFrsvw] [-o options].
For many more details, say man 8 mount
hello
with this following command drive has sucessfully mount
mount /dev/hde1 /mnt/Data-Drive -t vfat -r -o umask=022
but when i tried to write any thig or want to ceart new folder it gives read only error.
i just chang its id 83 to b (win95 fat32)
whats wrong now , may its requier format i dont know in microsoft aftre every creation of new partition formating is requied, in linux i dont know even proper way of formating for specifid id
finaly i used this command get help from man mount
now i can read and write
mount /dev/hde1 /mnt/temp -t vfat -w -o umask=02
now what command should i type in fstab
any one know how can unmount any mount drive , mean
[root@Omar-Pc root]# unmount /dev/hde1
bash: unmount: command not found
[root@Omar-Pc root]# unmount /mnt/Data-Drive
bash: unmount: command not found
, is it any methord any new entry start work without restart in fstab
i am using following command in fstab, # sign is ok for remark and what is diffirence umask=000 0 and umast=0222
Yes u are right command is umount.
I have done almost all issue regarding my raid and mounting problem with 60GB hard disk connected with card.
Now both 60 GB hard dirves are connected with Adaptec raid 1200A , and hardware mirror has eshtablished (stiil have to check that working or not) .
Drives are formated with Fat32 filesystem , ID type c in fdisk.
Auto mount with this following entry in /etc/fstab
/dev/hde1 /mnt/Data-Drive vfat user,umask=000 0 0
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.