0

I recently experienced problems with my ubuntu 18.04 and no one couldn't actually help me out there

The Root filesystem on dev/sda1 requires a manual fsck[This one needs a different approach,others are not working]

So I want to reinstall it but I want to copy my data on the hard disk to some other drive. The problem is that after successful login, I can only work on the system for almost 1 minute before which it will end up in a black screen full of errors https://drive.google.com/open?id=11r3gaAlU9Xlcjd10ir0Z_7n9cFq2dY1f

Please help me out in this

5
  • 3
    Have you checked the health of your disk? (ie. SMART data which is from the electronics of the drive, and not disk itself). Your photo reminds me of what you see with a failing disk (which is one reason a RW media can become RO). I'd also use a 'live' system (eg. install media) to get your data off; if a 'live' system is validated & has problems, I'd do a 'cap-check' (ie. look for swollen capacitors) - ie. I'm suspicious of your hardware, and would ensure it's good before worrying about software-on-it.
    – guiverc
    Jan 29, 2019 at 12:51
  • @guivercI did run the tests and I got it was ok drive.google.com/open?id=1lHMSa5VH8YMy7O4IpOmAyLT-Zqsdm411 I do suspect the hard disk, I have plans to return it to the seller since it was bought just 5 months ago. Can you pls explain how to get the files by using the live disk
    – Jose Ben
    Jan 29, 2019 at 16:24
  • @Xen2050 that one you mentioned, is about an external hard drive, mines is an internal one and there are no weird sounds coming from it
    – Jose Ben
    Jan 29, 2019 at 16:39
  • Based on your black screen full of errors, It looks like it's getting re-mounted read-only due to errors (causing further errors) This answer in the called duplicate is what you need.
    – Elder Geek
    Jan 29, 2019 at 20:22
  • There's no effective difference between data recovery of an external or internal drive, in fact an internal is probably easier with no extra interface to worry about. And sounds or quiet, something definitely appears wrong with your drive, some fail loudly & some just quit
    – Xen2050
    Jan 30, 2019 at 3:56

2 Answers 2

0

Use a usb stick run a live os off it, transfer files, and make sure if ur gonna chekdisk it’s not an integrity checking read write heavy sort of check disk use something delicate to literally prod at the blocks of data

5
  • Dear @Curiouskangaroo I am sorry but I really didn't understand this line------ make sure if ur gonna chekdisk it’s not an integrity checking read write heavy sort of check disk use something delicate to literally prod at the blocks of data----I am a beginner and I am confused
    – Jose Ben
    Jan 29, 2019 at 17:55
  • To put it simple there are programs what have been made to check your hdd for damage some off these programs can be really heavy handed at checking the disk by writing and re-wrighting and deleting writing again and again the software will just write and read as much as it can and if your hdd hard disk drive is nearly dead anyway and you wanna pull data off it before it folds giving it a hard durability test will be to intense for it and it will just pack up, do you have 2 usb sticks il help you now get what you want off your drive. Jan 29, 2019 at 18:33
  • Do u have any other form of access to a Linux website to download an iso image and make a bootable live usb stick, soon as u get a usb or 2 or 1 usb stick and an external hdd you can do it easy literally no more then 5 steps and you’ve got your data off your drive Jan 29, 2019 at 18:37
  • I tried using the live disk to get data out, but I am not able to retrieve half of the data, It seems like half of the files don't even have permission to be viewed, It cant be copied, it ends up in error
    – Jose Ben
    Feb 1, 2019 at 3:23
  • Thank u @Curiouskangaroo, I got all the data out, Do u have any specific test I should be running other than the disks SMART test?
    – Jose Ben
    Feb 1, 2019 at 17:06
0

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
  • open a terminal window
  • type sudo fdisk -l
  • identify the /dev/XXXX device name for your "Linux Filesystem"
  • type sudo fsck -f /dev/XXXX # replacing XXXX with the number you found earlier
  • repeat the fsck command if there were errors
  • type reboot

Update #1:

To retrieve any data you'll need:

  • Ubuntu Live DVD/USB
  • some external destination to store your data

Then...

  • boot to the Ubuntu Live DVD/USB
  • open a Files window
  • open a second new Files window showing your external storage
  • single-click on your hard disk in the left window pane to mount it
  • find your Home folder in the right window pane
  • drag any important files from your Home folder to the second Files window
15
  • Dear @heynnema , i am not getting advanced options or root access option in the grub menu. Would you please also look into this askubuntu.com/questions/1113705/… because you did solve a similar one before, please...
    – Jose Ben
    Jan 29, 2019 at 16:32
  • @JoseBen then use the second method that I outlined for you. Use a Ubuntu Live DVD/USB... not a systemrescue DVD.
    – heynnema
    Jan 29, 2019 at 16:37
  • yeah, I did it now and got errors first then on the second attempt I believe there were no errors drive.google.com/open?id=1eM6GJ5ySgqN6lvneJywg8S7TZTRYu-8n drive.google.com/open?id=1k9AECu9T9LYK2zxBW8uq3UPhChdalkJx I will be rebooting it in a minute @heynnema
    – Jose Ben
    Jan 29, 2019 at 17:04
  • but what should I do after the reboot??? What if it's still back to where it was ?? Is there anything specific I should do @heynnema ?
    – Jose Ben
    Jan 29, 2019 at 17:11
  • 1
    @JoseBen Are you able to remove the disk and temporarily install it into another computer, or external case? That would eliminate a bad controller on your motherobard, or a bad cable. What brand of drive do you have? Does syslog show any disk errors?
    – heynnema
    Jan 30, 2019 at 13:53

Not the answer you're looking for? Browse other questions tagged .