Redhat Linux 7 BOOT ISSUE and troubleshoot step | control-d prompt-part1

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello and welcome guys today's topic is about Linux booting issues I'm going to show you two booting issue in Red Hat Enterprise Linux 6 and how to troubleshoot that and how you're going to bring your system back online quickly ok so as you can see I have one system which is RHEL 6 and if I just do a release you can see it is six point eight so I'm going to reboot the system first and see what is the error ifs I usually use in it's six command to reboot my system you can also use the boot command and I just press escape to see what is running background so I can see my system is going down and now it is in the process of booting up again I press escape key to see what is running background and it had landed into here and given some error and it is unable to go beyond and it is unable to boot the system so let me read the error here the last line where you can see here it says the reply tomate expired or the network connection was broken so when you face this error then how you're going to troubleshoot it so first thing when you see this error you probably think the network connection was broken and there is something in my network or if it is a VM there could be an issue with my VM profile but let me tell you guys this is nothing to do with your networking so what I'm going to do now is I'm just going to reboot the system so to reboot my system let me just go to my profile in VMware Workstation and do a restart and once you can see this login or menu screen you just have to go inside single is your mod I believe you know already how to go into single is your mod if you are not then just press e in menu prompt and here you just need to go to kernel line and press e again and type in it equal to bin assets then enter and to boot the system in single your mod press B it should give me a cell prom and now I can see a cell from here okay so first thing if you are do if you are trying to do something and trying to make some changes in single is your mod you need to make your read make your root partition in read read mod so example now if I just do a touch and try to create a file it says read only mode so what I have to do is I need to remount my root partition with readwrite so now I would be able to write it so the error which I have showed you that error is regarding whenever you face this issue you need to check to file the file is less it is a password and the other file is less it is e and SS which dot-coms if you have any issues or discrepancy in this to file you would lend up or end up with this error which I have short so now in this demo what I have done is I have nullify or make the password file 0kb in order to get that error so what I'm going to do is I'm going to revert back and I have a password file backup I'm going to just make that back up in slice EDC password file right so I just move that file and now if I just do cat and password I can see there is a contained inside this file so this is what you have to do and also you need to and share your NSS which dot Khan file whether there is a contain and there is no syntax error in this file right so once you are done with this you just need to reboot your system let me just clear the screen and initiate a reboot so now it is trying to again boot up the system it is currently checking the UM and now I can see my error which was related to network card broken is not showing currently and now I have a different issue so first issue which I had that is resolved and now I can see there is something with related file system why because whenever you see the control D prompt here that is that means there is something in your file system you do not have your /e d c-- a festive file created properly or some syntax error in that file or you may have inconsistency in the file system so here when it is trying to check my road file system which is long wall zero zero zero zero and it was unable to check or he was unable to run it to fsck and it was aborted and that is why it gives me control D prompt here so what I have to do to correct this is I need to give the root password so I just press the root password and now I am in a prom I mean a cell prom so now the next thing what I have to do is I have to run eto fsck against this file system so to run that first thing what I have to do is I need to unmount my root filesystem probably I can run like this unmount slash or you can also specify maple VG like this so it is already unmounted that is why it gives it is already it is not mounted or not found correct so now once you have done that you just need to run e to fsck and specify the device so device is VG this is the VG and my volume is long while zero zero so once I run this it says now my file system is clean and this is the file block size from here to here so now it looks good and my filesystem consistency looks good so I am good to reboot my system and see whether my system is boot up or not and let me just press SK pig again to see what's running in the background and it looks like I do not have any issues because it's it takes the data VG and also Road VG so it doesn't it did not find any error here you can see it is clean here there's Tier one and also the other file system and it is going to give me a login from here it is so let me just login here we go so my system is back and the error which I had while rebooting my system is no longer there so my system is healthy now so this is how you have to troubleshoot your booting issue if you have faced the issues which I have showed you regarding file system and also network card broken that there are two types of error which I have shored and how to troubleshoot it and probably you need to follow the procedure which I have showed you so that's it guys for this video I will show you some more but related issues in my coming video thank you so much for watching my video have a good day [Music] I go whatever I say I remember yo if you remember me
Info
Channel: Tune To Linux
Views: 24,334
Rating: 4.9358974 out of 5
Keywords: redhat linux boot, redhat linux boot issue, redhat linux 6 boot issue, redhat linux control d prompt, redhat linux control d prompt in boot, redhat linux control d prompt and troubleshoot, redhat linux 7 boot issue, redhat linux 7 control d boot issue, redhat linux kernel panic issue, redhat linux superblock currupt, redhat linux superblock issue, redhat linux boot process, redhat linux7 booting, linux boot issues
Id: elYHmPv8xxA
Channel Id: undefined
Length: 10min 28sec (628 seconds)
Published: Mon Mar 05 2018
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.