Results 1 to 6 of 6

Thread: redhat el 4.0

  1. #1

    redhat el 4.0


    how can i permanently mount windows partition in redhat enterprise linux 4.0.
    with rgds,


  2. #2
    Administrator Advisor peter's Avatar
    Join Date
    Apr 2004
    Try this old RedHat 9 link on Accessing a Windows Partition

    There is a line there that says:

    mount -t vfat /dev/hda1 /mnt/windows
    This works for Windows file systems using FAT. For NTFS, use:

    mount -t ntfs /dev/hda1 /mnt/windows
    How to do you find out which one you have? Run fdisk on your drive. Press "p" to print a list of your partitions, then print "L" to list the various types of partitions fdisk is aware of. Then press "q" to quit.

    In this example, the partitions are of type 82 (Linux swap), 83 (Linux) and 5 (Extended).

    [root@server etc]# fdisk /dev/hda
    The number of cylinders for this disk is set to 30401.
    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)
    Command (m for help): p
    Disk /dev/hda: 250.0 GB, 250059350016 bytes
    255 heads, 63 sectors/track, 30401 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
       Device Boot      Start         End      Blocks   Id  System
    /dev/hda1   *           1         131     1052226   83  Linux
    /dev/hda2             132        2824    21631522+  83  Linux
    /dev/hda3            2825        3085     2096482+  82  Linux swap / Solaris
    /dev/hda4            3086       30401   219415770    5  Extended
    /dev/hda5            3347       30401   217319256   83  Linux
    /dev/hda6            3086        3346     2096419+  83  Linux
    Partition table entries are not in disk order
    Command (m for help): L
     0  Empty           1e  Hidden W95 FAT1 80  Old Minix       be  Solaris boot   
     1  FAT12           24  NEC DOS         81  Minix / old Lin bf  Solaris        
     2  XENIX root      39  Plan 9          82  Linux swap / So c1  DRDOS/sec (FAT-
     3  XENIX usr       3c  PartitionMagic  83  Linux           c4  DRDOS/sec (FAT-
     4  FAT16 <32M      40  Venix 80286     84  OS/2 hidden C:  c6  DRDOS/sec (FAT-
     5  Extended        41  PPC PReP Boot   85  Linux extended  c7  Syrinx         
     6  FAT16           42  SFS             86  NTFS volume set da  Non-FS data    
     7  HPFS/NTFS       4d  QNX4.x          87  NTFS volume set db  CP/M / CTOS / .
     8  AIX             4e  QNX4.x 2nd part 88  Linux plaintext de  Dell Utility   
     9  AIX bootable    4f  QNX4.x 3rd part 8e  Linux LVM       df  BootIt         
     a  OS/2 Boot Manag 50  OnTrack DM      93  Amoeba          e1  DOS access     
     b  W95 FAT32       51  OnTrack DM6 Aux 94  Amoeba BBT      e3  DOS R/O        
     c  W95 FAT32 (LBA) 52  CP/M            9f  BSD/OS          e4  SpeedStor      
     e  W95 FAT16 (LBA) 53  OnTrack DM6 Aux a0  IBM Thinkpad hi eb  BeOS fs        
     f  W95 Ext'd (LBA) 54  OnTrackDM6      a5  FreeBSD         ee  EFI GPT        
    10  OPUS            55  EZ-Drive        a6  OpenBSD         ef  EFI (FAT-12/16/
    11  Hidden FAT12    56  Golden Bow      a7  NeXTSTEP        f0  Linux/PA-RISC b
    12  Compaq diagnost 5c  Priam Edisk     a8  Darwin UFS      f1  SpeedStor      
    14  Hidden FAT16 <3 61  SpeedStor       a9  NetBSD          f4  SpeedStor      
    16  Hidden FAT16    63  GNU HURD or Sys ab  Darwin boot     f2  DOS secondary  
    17  Hidden HPFS/NTF 64  Novell Netware  b7  BSDI fs         fd  Linux raid auto
    18  AST SmartSleep  65  Novell Netware  b8  BSDI swap       fe  LANstep        
    1b  Hidden W95 FAT3 70  DiskSecure Mult bb  Boot Wizard hid ff  BBT            
    1c  Hidden W95 FAT3 75  PC/IX          
    Command (m for help): q
    [root@server etc]#

  3. #3

    redhat el4.0

    i know those commands which can mount temporarily .if we reboot i have to remount those partitions.i want to mount it permanently,so that whenever i reboot those partitions should mount automatically like the cdrom recorder and i want access the partitions from the gui mode.i know the way to automatically mount,that those things should be configured in /etc/fstab.what to write here.

    with rgds,


  4. #4
    Administrator Advisor peter's Avatar
    Join Date
    Apr 2004
    ramjimh, the link gave the /etc/fstab file example:

    /dev/hda1 /mnt/windows vfat auto,umask=0 0 0
    You can modify it to meet your needs. Use the "man fstab" command for further details.

  5. #5

    Thumbs up Mounting Windows Partition Permanently on Linux

    All u need to do is that u need to append the lines in the /etc/fstab file and then type in mount -a which will remount all the partitions and they are permanent, won't get deleted even if you reboot the machine.

  6. #6
    This question gets asked fairly often. We have a PET written many years ago to do just this.

    Perhaps we should sticky it somewhere?
    My crime is that of curiosity. My crime is that of judging people by what they say and think, not what they look like. My crime is that of outsmarting you, something that you will never forgive.

Similar Threads

  1. redhat 9
    By pinehead in forum Linux - General Topics
    Replies: 7
    Last Post: 06-12-2003, 11:23 AM
  2. Redhat 9.0 is out
    By babbing in forum Redhat / Fedora
    Replies: 9
    Last Post: 04-03-2003, 03:02 PM
  3. new guy needs help with Redhat 8.0
    By bdmst16 in forum Linux - General Topics
    Replies: 15
    Last Post: 11-08-2002, 12:01 AM
  4. ip in redhat
    By pinehead in forum Linux - General Topics
    Replies: 2
    Last Post: 12-16-2001, 02:35 PM
  5. redhat and a 133
    By agar in forum Linux - General Topics
    Replies: 7
    Last Post: 12-08-2001, 02:49 AM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts