Main Hard Disk Corrupted!
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
0
down vote
favorite
My main disk (with Ubuntu 16.04 on it) has gotten corrupted. It drops me into "Busy Box" instead of into the desktop. I have found (through Google) that I need to put the HD into an enclosure and USB to it, then to do an fdisk on it.
I have done all of that and I can see it, but now I am getting an error as follows:
Command I am using
fdisk /media/mike/???/ where ??? is the name of the external hard disk I want to do the fdisk on.
Error I am getting
fdisk: cannot open /media/mike/???: is a directory
Thank You,
Mike
hard-drive
add a comment |Â
up vote
0
down vote
favorite
My main disk (with Ubuntu 16.04 on it) has gotten corrupted. It drops me into "Busy Box" instead of into the desktop. I have found (through Google) that I need to put the HD into an enclosure and USB to it, then to do an fdisk on it.
I have done all of that and I can see it, but now I am getting an error as follows:
Command I am using
fdisk /media/mike/???/ where ??? is the name of the external hard disk I want to do the fdisk on.
Error I am getting
fdisk: cannot open /media/mike/???: is a directory
Thank You,
Mike
hard-drive
I don't think you had to remove the hdd & put in enclosure; you could have booted a 'live' distro from thumb or dvd & done the same checks from original hardware. As such either you're following strange instructions (maybe you should provide link) or misunderstood them. I'd check hardware (ie. your drive) first (smartctl
) and I'm not sure what they trying to do withfdisk
(you didn't display options; -l for list is about all I'd use fdisk for, thenbadblocks
maybe, or more likely ae2fsck
(ext filesystem check; changing if you used a different fs)..
â guiverc
Apr 21 at 12:08
Please provide more info. Dropping toBusy Box
doesn't mean your HD got corrupted completely. How did you reach/media/mike/...
? It's the location of mounted disks. All of the drives located in/dev/sda1, /dev/sda2, /dev/sdb1, etc.
â kenn
Apr 21 at 12:18
Use a liveusb or livedvd then check out your partition withe2fsck /dev/sd(your partition number)
, the drive must be not mounted`
â kenn
Apr 21 at 12:25
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
My main disk (with Ubuntu 16.04 on it) has gotten corrupted. It drops me into "Busy Box" instead of into the desktop. I have found (through Google) that I need to put the HD into an enclosure and USB to it, then to do an fdisk on it.
I have done all of that and I can see it, but now I am getting an error as follows:
Command I am using
fdisk /media/mike/???/ where ??? is the name of the external hard disk I want to do the fdisk on.
Error I am getting
fdisk: cannot open /media/mike/???: is a directory
Thank You,
Mike
hard-drive
My main disk (with Ubuntu 16.04 on it) has gotten corrupted. It drops me into "Busy Box" instead of into the desktop. I have found (through Google) that I need to put the HD into an enclosure and USB to it, then to do an fdisk on it.
I have done all of that and I can see it, but now I am getting an error as follows:
Command I am using
fdisk /media/mike/???/ where ??? is the name of the external hard disk I want to do the fdisk on.
Error I am getting
fdisk: cannot open /media/mike/???: is a directory
Thank You,
Mike
hard-drive
asked Apr 21 at 11:56
Michael LaPointe
1
1
I don't think you had to remove the hdd & put in enclosure; you could have booted a 'live' distro from thumb or dvd & done the same checks from original hardware. As such either you're following strange instructions (maybe you should provide link) or misunderstood them. I'd check hardware (ie. your drive) first (smartctl
) and I'm not sure what they trying to do withfdisk
(you didn't display options; -l for list is about all I'd use fdisk for, thenbadblocks
maybe, or more likely ae2fsck
(ext filesystem check; changing if you used a different fs)..
â guiverc
Apr 21 at 12:08
Please provide more info. Dropping toBusy Box
doesn't mean your HD got corrupted completely. How did you reach/media/mike/...
? It's the location of mounted disks. All of the drives located in/dev/sda1, /dev/sda2, /dev/sdb1, etc.
â kenn
Apr 21 at 12:18
Use a liveusb or livedvd then check out your partition withe2fsck /dev/sd(your partition number)
, the drive must be not mounted`
â kenn
Apr 21 at 12:25
add a comment |Â
I don't think you had to remove the hdd & put in enclosure; you could have booted a 'live' distro from thumb or dvd & done the same checks from original hardware. As such either you're following strange instructions (maybe you should provide link) or misunderstood them. I'd check hardware (ie. your drive) first (smartctl
) and I'm not sure what they trying to do withfdisk
(you didn't display options; -l for list is about all I'd use fdisk for, thenbadblocks
maybe, or more likely ae2fsck
(ext filesystem check; changing if you used a different fs)..
â guiverc
Apr 21 at 12:08
Please provide more info. Dropping toBusy Box
doesn't mean your HD got corrupted completely. How did you reach/media/mike/...
? It's the location of mounted disks. All of the drives located in/dev/sda1, /dev/sda2, /dev/sdb1, etc.
â kenn
Apr 21 at 12:18
Use a liveusb or livedvd then check out your partition withe2fsck /dev/sd(your partition number)
, the drive must be not mounted`
â kenn
Apr 21 at 12:25
I don't think you had to remove the hdd & put in enclosure; you could have booted a 'live' distro from thumb or dvd & done the same checks from original hardware. As such either you're following strange instructions (maybe you should provide link) or misunderstood them. I'd check hardware (ie. your drive) first (
smartctl
) and I'm not sure what they trying to do with fdisk
(you didn't display options; -l for list is about all I'd use fdisk for, then badblocks
maybe, or more likely a e2fsck
(ext filesystem check; changing if you used a different fs)..â guiverc
Apr 21 at 12:08
I don't think you had to remove the hdd & put in enclosure; you could have booted a 'live' distro from thumb or dvd & done the same checks from original hardware. As such either you're following strange instructions (maybe you should provide link) or misunderstood them. I'd check hardware (ie. your drive) first (
smartctl
) and I'm not sure what they trying to do with fdisk
(you didn't display options; -l for list is about all I'd use fdisk for, then badblocks
maybe, or more likely a e2fsck
(ext filesystem check; changing if you used a different fs)..â guiverc
Apr 21 at 12:08
Please provide more info. Dropping to
Busy Box
doesn't mean your HD got corrupted completely. How did you reach /media/mike/...
? It's the location of mounted disks. All of the drives located in /dev/sda1, /dev/sda2, /dev/sdb1, etc.
â kenn
Apr 21 at 12:18
Please provide more info. Dropping to
Busy Box
doesn't mean your HD got corrupted completely. How did you reach /media/mike/...
? It's the location of mounted disks. All of the drives located in /dev/sda1, /dev/sda2, /dev/sdb1, etc.
â kenn
Apr 21 at 12:18
Use a liveusb or livedvd then check out your partition with
e2fsck /dev/sd(your partition number)
, the drive must be not mounted`â kenn
Apr 21 at 12:25
Use a liveusb or livedvd then check out your partition with
e2fsck /dev/sd(your partition number)
, the drive must be not mounted`â kenn
Apr 21 at 12:25
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
1
down vote
Reinstall your hard disk back into your computer.
Then to check the file system on your Ubuntu partition...
- boot to the GRUB menu
- choose Advanced Options
- choose Recovery mode
- choose Root access
- at the # prompt, type
sudo fsck -f /
- repeat the
fsck
command if there were errors - type
reboot
If for some reason you can't do the above...
- boot to a Ubuntu Live DVD/USB
- start
gparted
and determine which /dev/sdaX is your Ubuntu EXT4 partition - quit
gparted
- open a
terminal
window - type
sudo fsck -f /dev/sdaX
# replacing X with the number you found earlier - repeat the fsck command if there were errors
- type
reboot
That seems to have worked! Thank You heynnema!
â Michael LaPointe
Apr 21 at 20:49
@MichaelLaPointe please remember to accept my answer, if it was helpful, by clicking the grey checkmark. Thanks.
â heynnema
Apr 21 at 20:54
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
Reinstall your hard disk back into your computer.
Then to check the file system on your Ubuntu partition...
- boot to the GRUB menu
- choose Advanced Options
- choose Recovery mode
- choose Root access
- at the # prompt, type
sudo fsck -f /
- repeat the
fsck
command if there were errors - type
reboot
If for some reason you can't do the above...
- boot to a Ubuntu Live DVD/USB
- start
gparted
and determine which /dev/sdaX is your Ubuntu EXT4 partition - quit
gparted
- open a
terminal
window - type
sudo fsck -f /dev/sdaX
# replacing X with the number you found earlier - repeat the fsck command if there were errors
- type
reboot
That seems to have worked! Thank You heynnema!
â Michael LaPointe
Apr 21 at 20:49
@MichaelLaPointe please remember to accept my answer, if it was helpful, by clicking the grey checkmark. Thanks.
â heynnema
Apr 21 at 20:54
add a comment |Â
up vote
1
down vote
Reinstall your hard disk back into your computer.
Then to check the file system on your Ubuntu partition...
- boot to the GRUB menu
- choose Advanced Options
- choose Recovery mode
- choose Root access
- at the # prompt, type
sudo fsck -f /
- repeat the
fsck
command if there were errors - type
reboot
If for some reason you can't do the above...
- boot to a Ubuntu Live DVD/USB
- start
gparted
and determine which /dev/sdaX is your Ubuntu EXT4 partition - quit
gparted
- open a
terminal
window - type
sudo fsck -f /dev/sdaX
# replacing X with the number you found earlier - repeat the fsck command if there were errors
- type
reboot
That seems to have worked! Thank You heynnema!
â Michael LaPointe
Apr 21 at 20:49
@MichaelLaPointe please remember to accept my answer, if it was helpful, by clicking the grey checkmark. Thanks.
â heynnema
Apr 21 at 20:54
add a comment |Â
up vote
1
down vote
up vote
1
down vote
Reinstall your hard disk back into your computer.
Then to check the file system on your Ubuntu partition...
- boot to the GRUB menu
- choose Advanced Options
- choose Recovery mode
- choose Root access
- at the # prompt, type
sudo fsck -f /
- repeat the
fsck
command if there were errors - type
reboot
If for some reason you can't do the above...
- boot to a Ubuntu Live DVD/USB
- start
gparted
and determine which /dev/sdaX is your Ubuntu EXT4 partition - quit
gparted
- open a
terminal
window - type
sudo fsck -f /dev/sdaX
# replacing X with the number you found earlier - repeat the fsck command if there were errors
- type
reboot
Reinstall your hard disk back into your computer.
Then to check the file system on your Ubuntu partition...
- boot to the GRUB menu
- choose Advanced Options
- choose Recovery mode
- choose Root access
- at the # prompt, type
sudo fsck -f /
- repeat the
fsck
command if there were errors - type
reboot
If for some reason you can't do the above...
- boot to a Ubuntu Live DVD/USB
- start
gparted
and determine which /dev/sdaX is your Ubuntu EXT4 partition - quit
gparted
- open a
terminal
window - type
sudo fsck -f /dev/sdaX
# replacing X with the number you found earlier - repeat the fsck command if there were errors
- type
reboot
answered Apr 21 at 14:26
![](https://i.stack.imgur.com/RsaTI.jpg?s=32&g=1)
![](https://i.stack.imgur.com/RsaTI.jpg?s=32&g=1)
heynnema
15.4k21945
15.4k21945
That seems to have worked! Thank You heynnema!
â Michael LaPointe
Apr 21 at 20:49
@MichaelLaPointe please remember to accept my answer, if it was helpful, by clicking the grey checkmark. Thanks.
â heynnema
Apr 21 at 20:54
add a comment |Â
That seems to have worked! Thank You heynnema!
â Michael LaPointe
Apr 21 at 20:49
@MichaelLaPointe please remember to accept my answer, if it was helpful, by clicking the grey checkmark. Thanks.
â heynnema
Apr 21 at 20:54
That seems to have worked! Thank You heynnema!
â Michael LaPointe
Apr 21 at 20:49
That seems to have worked! Thank You heynnema!
â Michael LaPointe
Apr 21 at 20:49
@MichaelLaPointe please remember to accept my answer, if it was helpful, by clicking the grey checkmark. Thanks.
â heynnema
Apr 21 at 20:54
@MichaelLaPointe please remember to accept my answer, if it was helpful, by clicking the grey checkmark. Thanks.
â heynnema
Apr 21 at 20:54
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1026925%2fmain-hard-disk-corrupted%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
I don't think you had to remove the hdd & put in enclosure; you could have booted a 'live' distro from thumb or dvd & done the same checks from original hardware. As such either you're following strange instructions (maybe you should provide link) or misunderstood them. I'd check hardware (ie. your drive) first (
smartctl
) and I'm not sure what they trying to do withfdisk
(you didn't display options; -l for list is about all I'd use fdisk for, thenbadblocks
maybe, or more likely ae2fsck
(ext filesystem check; changing if you used a different fs)..â guiverc
Apr 21 at 12:08
Please provide more info. Dropping to
Busy Box
doesn't mean your HD got corrupted completely. How did you reach/media/mike/...
? It's the location of mounted disks. All of the drives located in/dev/sda1, /dev/sda2, /dev/sdb1, etc.
â kenn
Apr 21 at 12:18
Use a liveusb or livedvd then check out your partition with
e2fsck /dev/sd(your partition number)
, the drive must be not mounted`â kenn
Apr 21 at 12:25