→ Power On The system/server hardware or firmware either UEFI (Unified Extensible Firmware Interface) Or BIOS (Basic Input Output System) runs Power On Self Test (POST) when system gets powered-on. → BIOS/UEFI gets executedBIOS/UEFI get executed and checks for proper connectivity of devices and then it would check for memory availability, and finally locates a boot device.BIOS/UEFI locates the boot device & loads MBR/GPT (GUID Partition Table) from an active partition.

This is a small demonstration on how to backup and restore partition table data in a Linux system. For this demo, I've taken '/dev/sde' hard drive as an example. So, in the first part, I'd backup the drive partition table and later part we'd destroy the data, hence, we'd restore it finally using the backup copy.

- To achieve this, one would need to add the users and respective commands to '/etc/sudoers' file.- Run the command : visudo - This command would open up '/etc/sudoers' file in edit mode and doesn't allow another user to open the file and edit in any other terminal. - Say for example, we'd need to allow user 'bkp' to run the 'mke2fs' command then we could add the below line in '/etc/sudoers' to accomplish this task:bkp ALL=/sbin/mke2fs- After this change, the user 'bkp' would need to run the command with 'sudo' as given below: $ sudo /sbin/mke2fs -n /dev/sdb1 << this would prompt for password, so after successful authentication, it would run the administrative command by the user bkp >>- Other users except 'root' cannot execute commands under /sbin

PageViews

About Me.

This is just about me, my experience, my interest, my passion.... I am from Mysuru which is so popularly known as Cultural Capital of Karnataka(India). I started my carrier as a technical support person, my interest grew on Linux, started working on Linux operating system, currently working as Infrastructure Lead in a private company. Although I got enough experience in this Linux world I still feel there is some empty space which needs to be filled up every day, so, every day there is a new learning, that is what we say, learning is a never ending path. We are all here to share/learn/spread the knowledge. There is much more to learn/gain in this open-source world. Happy Learning.....