Jump to content

i want to dive into the creating of file-systems on Linux. 


malaga

Recommended Posts

 

i want to dive into the creating of file-systems on Linux. 

 

 

so i have some ideas:  can you give me some hints on these steps.  

 

can i break all down and say so: - in order to do the very first steps in creating a file system


... basically, I'm trying to do the following steps:

- create a disk image of about 500MB;
- create a GPT;
- create a FAT32 partition in the first 300MB(I'll call it UEFI);
- create a FAT32 partition in the remaining bytes(I'll call it SYSTEM);
- create the following subdirectory in the UEFI partition: /EFI/BOOT/;


that said we have the following things: 

Layouting a disk image and copying files into it

 

mkfs.vfat /dev/md3

 

# Creates an empty disk image of 33MB.

 

`dd if=/dev/zero of=uefi.img bs=1M count=330

 

# Formats the disk image as FAT32

 

mkfs.vfat uefi.img -F 32


 

# Creates the requested subdirectories.


 

mmd -i uefi.img ::/EFI
mmd -i uefi.img ::/EFI/BOOT


 

look forward to  hear from you
 

Edited by malaga
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines