If you one hardisk crashed and you replaced that hard disk but hard disk not showing in order then follow the bellow steps:-
If you one hardisk crashed and you replaced that hard disk but hard disk not showing in order then follow the bellow steps:-
#sudo fdisk /dev/sda
At the fdisk command prompt: Enter
m (for help)
Next at the prompt: Enter
x (extra functionality – experts only)
f (fix)
w (write to disk and exit)
You may get a warning that devices are in use and the new table will be used at the next boot.
If you want that the Linux Kernel reads the new partition table now , use the following command.
sudo partprobe
#sudo fdisk /dev/sda
At the fdisk command prompt: Enter
m (for help)
Next at the prompt: Enter
x (extra functionality – experts only)
f (fix)
w (write to disk and exit)
You may get a warning that devices are in use and the new table will be used at the next boot.
If you want that the Linux Kernel reads the new partition table now , use the following command.
sudo partprobe
Comments
Post a Comment