0

How to recover the corrupted OS in linux

I run the below command and suddenly the OS got corrupted...

dd if=/dev/zero of=/dev/sda bs=1 count=446

Once the system is rebooted, the OS is corrupted. What could do next..??

alexander
asked Feb 17, 2017
1 Answer
0

Load the Operating system .iso image in CD and insert it. Once boot screen appears, Run the below command in GRUB mode and hit enter.

boot: linux rescue

Now the temp OS will be loaded and run the below commands.

# chroot /mnt/sysimage
# grub-install /dev/sda
View More
jagannatharumugam
answered Feb 19, 2017
Your Answer
||||
x
 
100:0