linux partition

houssam_ballout

New Member
Hello all,
I am newbie on using Linux, I am using Red Hat 9.0, well I have installed it yesterday again on my computer
How do I mount other partitions?
 
Welcome to the Linux club there. Once you have the root and swap partitions formatted and the packages installed you have to install a boot loader as well. Once you have chosen Grub or Lilo you then have to create a mount point like:
% mkdir /c % chmod a+rw /c
Then iyou try a command like:
% mount /dev /hda1 /c -t vfat

If the above works you can edit the /etc/fstab file to have that auto mount by adding one line to the end there.
/dev /hda1 /c vfat noauto, user 0 2 Follow that with %mount /c
The commands above work on 9X-ME partitions only. To have the partition loaded automatically change the noauto to auto in the /etc/fstab file.

For enabling read/write to NTFS partitions you do so at your own risk by basically rebuilding the kernel with the following.
# cd /user /src /Linux-2.4(2..6? 2.8? 3.1? 2.4 worked with Red Hat 7.3)
# make menuconfig (active <m> to "File systems/ NTFS file system support (read only)", exit&save)
# make modules SUBDIRS=fs/ntfs
# make modules_install SUBDIRS=fs/ntfs
# insmod /lib/modules/2.4.18-3(or current version)custom/kernel/fs/ntfs/ntfs.o

Upon finishing this mount the NTFS partition by the earlier commands. You may see the "NTFS not supported" error message unless the RH 9.0 has been improved. That was common with the earlier Red Hat distros.
 
Back
Top