I just replaced the hard drive in my home server with a larger one, and now I get a weird not-quite-booted state. I'm running Ubuntu 16.04 LTS (yeah yeah, I know I need to update).
The procedure I used was as follows:
- Ran an update.
- Rebooted to be sure it was working.
- Shut down.
- Removed old HD from the server (called "Yemaya").
- Put old and new HD into an entirely different computer (called "Darth").
- Booted Darth off a live USB of CloneZilla.
- Did a device-to-device clone of from the old HD to the new HD.
- Shut Darth down.
- Booted Darth off a live USB of GParted.
- Expanded the partitions on the new HD to fill the available space.
- Shut down Darth.
- Removed both HDs from Darth.
- Put the new HD into Yemaya.
- Hooked it up and turned it on.
It POSTs fine:
It starts booting:
I allowed the fsck to run; no errors were reported any time I tried it.
Aaaaand at that point it switches to a blank, black screen.
The system is there. If I let it sit for about five minutes, eventually the monitor loses signal and starts searching for one. But if I tap any key on the keyboard, then the monitor finds a signal immediately and resumes displaying an empty black screen. So it's responding to keyboard input.
I tried SSH'ing into it, but it did not work. I can't ping it. Whatever is going wrong must be happening before the network gets started.
I can cause it to reboot by pressing CTRL+ALT+DELETE. When I do, it shows me the Ubuntu shutdown screen:
And then it reboots. I can boot it into recovery mode:
I checked dmesg
, but it had nothing interesting to say. All of my partitions mounted fine. Everything in the recovery mode console appears to work normally.
It feels like it must be a problem with the video driver, but how? I didn't touch that! The data on the disk is a bit-for-bit copy of the original. The only thing that changed was the disk capacity.
The system is rather elderly. Hardware:
- Mainboard: Intel D945GSEJT Johnstown
- CPU: integrated Atom processor (N270 @ 1.333 GhZ, one core, 512 KB -cache)
- RAM: 2 GB of the fastest the board would take
- Original HD: Western Digital Scorpio Black WD3200BEKT 320GB 7200 RPM
- New HD: Western Digital Scorpio Black WD7500BPKT 750GB 7200 RPM