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 mount Ext3 extended partition in Ubuntu Linux system

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

Share

Shulou(Shulou.com)05/31 Report--

This article mainly explains "how to mount Ext3 extension partition in Ubuntu Linux system". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to mount the Ext3 extended partition on the Ubuntu Linux system.

First, let's take a look at the hard disk resources that the system can find:

Sudo fdisk-l Disk / dev/sda: 160.0 GB, 160041885696 bytes 255heads, 63 sectors/track, 19457 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0xf0b1f0b1 Device Boot Start End Blocks Id System / dev/sda1 * 12339 18787986 83 Linux / dev/sda2 2340 19457 137500335 f W95 Ext'd (LBA) / dev/sda5 2340 2432 746991 82 Linux swap / Solaris / dev/sda6 2433 19457 136753281 83 Linux

From the above output, the system has found the new hard disk partition, device name: / dev/sda6

All right, you're ready to edit fstab to have ubuntu mount the ext3 extension partition. Make a backup of fstab first, just in case.

Sudo cp / etc/fstab / etc/fstab.bak

Because the ubuntu system treats all hardware resources as files, we first have to make a folder and use this folder as an access point after mounting the hard disk partition in the future.

Sudo mkdir / mnt/ext

OK, and then start editing the fstab file.

Sudo gedit / etc/fstab # / etc/fstab: static file system information. # # proc / proc proc defaults 0 0 # / dev/sda1 UUID=1e72243f-f5d6-4ee4-856a-08165d718803 / ext3 defaults,errors=remount-ro 0 1 # / dev/sda5 UUID=3c643717-331b-433b-a48a-febe474f95cf none swap sw 00 / dev/scd0 / media/cdrom0 udf,iso9660 user,noauto 0 0 / dev/sda6 / mnt/ext ext3 defaults 0 0

* one line is the content to be appended, that is, first the file system name, then the mount point, then the format type, and then several parameters, all of which are scribbled.

This step is critical. If you don't do it, the partition will be mounted but not writable.

Sudo chmod-R 777 / mnt/ext

Remount all partitions.

Sudo mount-a

Check that it is mounted correctly.

Sudo df

File system 1K-Block used available used% mount point

/ dev/sda1 18492940 3848448 13705096 22% / varrun 127936 240 127696% / var/run varlock 127936 0 127936% / var/lock udev 127936 64 127872% / dev devshm 127936 0 127936 0% / dev/shm lrm 127936 34696 93240 28% / lib/modules/2.6.22-14-generic/volatile / dev/sda6 134606216 192140 1275764121% / mnt/ext so far, I believe you have a better understanding of "how to mount Ext3 extended partitions in Ubuntu Linux system" You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

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