Add ext3 space for mss

Source: Internet
Author: User
Add the ext3 space for mss-Linux general technology-Linux programming and kernel information. The following is a detailed description. 1./sbin/reiserfsck/dev/discs/disc0/part3 enter Yes and press ENTER

2./sbin/resize_reiserfs-s 1G/dev/discs/disc0/part3

3. insmod loop. o

4./opt/sbin/losetup-o 1084227584/dev/loop/0/dev/discs/disc0/part3

5. ipkg install e2fsprogs

6./opt/sbin/mkfs. ext2-r 0/dev/loop/0 (or/opt/sbin/mkfs. ext2-I 128/dev/loop/0)

7. insmod ext2.o

8. mount-t ext2/dev/loop/0/mnt

In step 6, an error is reported if mkfs. ext3/dev/loop/0 is used directly. To use ext3, continue with the following steps:

9./opt/sbin/tune2fs-j/dev/loop/0

10. umount/mnt

11. insmod jbd. o

12. insmod ext3.o

13. mount-t ext3/dev/loop/0/mnt

In step 2, if the size of the original partition exceeds 2 GB after modification, you need to use loop64.o in step 3:

3. insmod loop64.o

3.1. ipkg install util-linux (replace losetup of busybox; otherwise, the reiser partition data will be damaged)

The offset in Step 4 is to add a certain offset based on the original partition capacity in step 2. In this example, a 10 m increment is used.

1084227584 = 1024*1024*1024 (1G) + 1024*1024*10 (10 M)

The final result is preferably divisible by 512, that is, the offset is on the boundary of the hard disk sector.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.