0

I cannot boot Ubuntu 19.10 on my HP laptop suddenly. When I try to, it freezes on the booting screen. I do not know if this is related, I changed the user password before it won't boot anymore. Is there a solution to this? By the way I boot the OS via a USB hardrive.

Edit:

It actually used to boot and it worked smoothly until I cannot boot it anymore.I had upgraded it from 18.04 a few weeks ago.

Edit2: I am using hp 240 G4. I cannot reset as I have stored a lot of work in it. When I booted it in recovery mode the last output is 'Stopped read required files in advance.'And it won't advance further. how can I solve this?

Edit3: The hard drive I am using to boot is /dev/sdb2.Should I run fsck /dev/sdb2 -v in root shell in recovery mode?

Edit4: I cannot enter my root password in the root shell prompt.it says password incorrect.How can I change my root password?

  • 1
    I am sorry,but how do you access those options?I have searched these in the BIOs setup using f10.Thank you for your suggestion. – Deva SalilSony Rani Jan 13 at 17:35
  • 1
    How to set the BIOS/firmware to disable Quick Boot, disable Secure Boot, and use ACPI, are explained in your user manual, which also explains how to change the BIOS password. If you don't have it, flip your laptop over, and find the serial number sticker. On that sticker, there's also a model number. Click edit and add your model number to the original question. Please do not use any other number from anyplace else; only the model number on the serial number sticker will help find the correct manual.. Please don't put that into a Comment; please use edit instead. – K7AAY Jan 13 at 19:15
  • 1
    I bought this laptop a few years ago,so I lost the user manual.Can I get it online? – Deva SalilSony Rani Jan 14 at 13:55
  • You sure could... if you provide the model number from the serial number sticker. There are many different 240 G4 models listed at HP support: www8.hp.com/us/en/search/search-results.html?ajaxpage=1#/… - so please find the serial number sticker. On that sticker, there's also a model number. Click edit and add your model number to the original question, as was asked before. Please do not use any other number from anyplace else; only the model number on the serial number sticker will help find the correct manual.. – K7AAY Jan 15 at 0:52
  • @K7AAY How is the User Manual going to help in this situation? – heynnema Jan 15 at 15:22
0

You probably have multiple problems.

  • what is on /dev/sda? I notice that you're booting to sdb

  • the root password is not the same as your user password, unless you set it that way previously

  • you may have a problem with readahead... left over from 18.04

But first, let's check your file system...

For 18.04 or newer... (or if the above steps don't work for you)...

  • boot to a Ubuntu Live DVD/USB
  • open a terminal window by pressing Ctrl+Alt+T
  • type sudo fdisk -l
  • identify the /dev/sdXX device name for your "Linux Filesystem"
  • type sudo fsck -f /dev/sdXX, replacing sdXX with the number you found earlier
    • sudo fsck -f /dev/sdb2
  • repeat the fsck command if there were errors
  • type reboot
  • You mean I should install another ubuntu on another pen drive /CD?And then should I enter into terminal and type these commands?By the way on sda5 there is windows 10.Thank you for your time. – Deva SalilSony Rani Jan 17 at 14:18
  • @DevaSalilSonyRani no, you don't need to build another Ubuntu Live DVD/USB if you already have one. Just do the fsck in my answer, and let me know how it goes... if you can boot again, etc. – heynnema Jan 17 at 15:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.