![]() First of all boot system into rescue mode using Live DVD which is used to install CentOS/ Redhat. # fsck -yvf /dev/sda2.By default, the inst.stage2= boot option is used on the installation media and set to a specific label (for example, inst.stage2=hd:LABEL=CentOS\x20Server.x86_64).If you modify the default label of the file system containing the runtime image, or if you use a customized procedure to boot the installation system, you must ensure this option is set to the correct value. Note: nomount directive will skip mounting so you can safely run fsck on your filesystem. Wait a while and after booting from the Installation CD type in command prompt: # linux rescue nomount. Insert the Installation CD into the drive and reboot your system with. #fscks="" It looks like /sbin/fsck * should be included by default.2) Rescue mode with install CD. The installation is # opportunistic, so non-existing tools are just ignored. If it's not specified, module's hardcoded # default is used, currently: "umount mount /sbin/fsck* xfs_db xfs_check # xfs_repair e2fsck jfs_fsck reiserfsck btrfsck". Another option is use /etc/fstab, 0 to disable fsck checking at sixth field.# A list of fsck tools to install. For example just see the following lines, Also can disable the filesystem check on boot. You need to edit grub boot configuration file and placing command files on your root device at end of the line. How to Enable or Disable File System Check (FSCK) on System booting. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |