I wanted to repurpose my old HP laptop from 2017 as a simple home server, and had planned to run it on Ubuntu Server 22.04 LTS. I did do a test install and it completed without issue and was running fine. However upon reinstallation, it ran into an error on 'probing for block devices'. I thought by just restarting the process it would be fine, but this time there was a crash at 'Use entire hard disk'. I kept restarting the installer multiple times and it just would not install. I tried Ubuntu Server 20.04 LTS and this time it went all the way to the final logs part of the installer but nothing showed up, and it remained blank for hours before I eventually killed it. I thought installing another distro and repartitioning by hard drive before going back to Ubuntu would work, and I tried installing Debian 12 but it wouldn't install. I then tried the desktop version of Ubuntu, wouldn't install. In a last ditch effort I tried installing Windows 11 back onto the system and it doesn't install either. No OS I've tried has managed to install. What should I do?
Asked
Active
Viewed 111 times
1 Answers
1
No idea how, but I fixed the problem. Changed by boot order settings and moved the boot USB below the boot manager before using the boot menu to boot into the USB. Ubuntu Server installed fine, SSH and all are working. Thanks for the help, it's my first time asking on this website, will learn as I go on.

hzq23x
- 11
fsck
commands or as a last ditch effort, you could usedd
to completely overwrite everything on the disk to start from scratch. Only use the dd command if you want to completely overwrite all data on the disk! You will lose everything. Replace/dev/sdX
with the actual drive, e.g.,/dev/sda
or/dev/sdb
, etc. The context of the linked question is kind of unimportant (bad sector) but your goal to repair the disk is the same. – mchid Jul 24 '23 at 01:14