Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to automatically mount windows Partition in fedora system

2025-01-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article introduces how to automatically mount the windows partition in the fedora system, the content is very detailed, interested friends can refer to, hope to be helpful to you.

1. Enter su at the terminal, prompt for the super account password, and enter the password when your system is installed.

2. Check the hard disk partition and type fdisk-l, but my machine doesn't know why it doesn't work. It doesn't matter if you can or can't do it in other linux systems. Enter cat / proc/partitions to check the current number of hard drives and the partition situation.

This is my machine partition situation.

[wake@vpnx ~] $cat / proc/partitions

Major minor # blocks name

8 0 156290904 sda

8 1 6297448 sda1

8 2 1 sda2

8 5 6297448 sda5

8 6 20972826 sda6

8 7 31463271 sda7

8 8 69183891 sda8

8 16 20010312 sdb

8 17 5243080 sdb1

8 18 1 sdb2

8 21 4525888 sdb5

8 22 514048 sdb6

8 23 8675068 sdb7

8 24 1044193 sdb8

3, if you are not clear about the format of each partition, mount it one by one, create a folder before mounting, enter mkdir xp to create a folder named xp, just use the cat / proc/partitions command to view the partition situation, mount it directly with mount. For example, if I want to mount the first partition of the first hard disk, that is, sda1, to the xp folder I just built, type mount / dev/sda1 / mnt/xp, and so on, and then open the "system um Monitor". In the "file system", you can view the mounted partitions, and in the "type" you can see what the mounted partition is. For example, ntfs is fuseblk,fat32 and vfat. After establishing the relevant folders and manually mounting all partitions, proceed to the next step.

4. Edit the fstab file, enter gedit / etc/fstab and then pop up the editing dialog box, and add / dev/sda1 / mnt/xp ntfs iocharset=utf8,umask=0 00 at the bottom so that the first partition ntfs can be automatically mounted to the / mnt/xp/ folder.

And then save it.

This is my setting.

/ dev/sdb1 / mnt/maxtorXP ntfs iocharset=utf8,umask=0 0 0

/ dev/sdb5 / mnt/maxtorTEST vfat iocharset=utf8,umask=0 0 0

/ dev/sda1 / mnt/seagateXP/ ntfs iocharset=utf8,umask=0 0 0

/ dev/sda5 / mnt/seagate2003/ ntfs iocharset=utf8,umask=0 00

/ dev/sda6 / mnt/seagateSOFTWARE/ ntfs iocharset=utf8,umask=0 0 0

/ dev/sda7 / mnt/seagateDOWNLOAD/ vfat iocharset=utf8,umask=0 0 0

/ dev/sda8 / mnt/seagateDATA/ ntfs iocharset=utf8,umask=0 0 0

If it is a parallel port hard disk, please send sda1,sda5,sda6... Change it to hda1,hda5,hda6.

If your partition format is fat, change ntfs to vfat.

Sda1 is the C disk of windows, and sda5 is the D disk of windows.

On how to automatically mount windows partitions in the fedora system to share here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report