Ubuntu Server 18.04.1 LTS - no password prompt












0















I cannot log into my server.



I cannot SSH into the server; PuTTY fails with the message "Server unexpectedly closed network connection" if I am outside my own network, or "Software caused connection abort" if I am inside my network.



So I plugged a monitor and keyboard into it and got a login prompt. But when I enter my user name and press enter, I am not given a password prompt. It sits for a moment, then the screen goes black, and when I tap a key to wake it up I have a fresh login prompt.



I could reboot the server but I'm mildly leery of doing so. I recently cloned an existing installation of Ubuntu 16.04 LTS over to a new hard drive (changing to SSD), and it worked, so I also upgraded to 18.04.1. That went well also; but then shortly afterwards I had to reboot it and it died with the error "error: invalid arch independent ELF magic", indicating that something was screwed up with the MBR.



The hardware is old; it's not compatible with the amd64 instruction set, only i386, and they stopped making live CDs for i386. So in order to fix it I had to download a 16.04 live CD and correct the MBR issue (and also run a fsck which found and corrected errors on two partitions).



This sucker was rock solid for years before I put this SSD in it. I'm annoyed that a simple hard drive swap has caused me such grief.



Any suggestions? How do I log in when I can't get a password prompt?










share|improve this question


















  • 1





    Note: they still make installer images for i386, but just the Network installer type, not the Live installer type.

    – thomasrutter
    Jan 15 at 2:52











  • Correct. Which, sadly, didn't help in my case, since the live version is what I needed.

    – Will Martin
    Jan 15 at 3:15











  • I gave up and tried rebooting. It's definitely something with the hard drive -- it failed to unmount any of the file systems during power off, and I got a kernel panic when I tried booting again. ARGH. What is messing with the file system?

    – Will Martin
    Jan 15 at 7:00











  • After failing to correct the issue -- a fsck found thousands upon thousands of errors in two of my partitions -- I gave up. Either the hard drive is a lemon, there's a hardware incompatibility between the SATA3 drive in a SATA2 port, or there's some weird bug in 18.04 LTS that affects my specific hardware. I have restored the old HD that still had 16.04 on it, and it's working fine now.

    – Will Martin
    Jan 15 at 16:53
















0















I cannot log into my server.



I cannot SSH into the server; PuTTY fails with the message "Server unexpectedly closed network connection" if I am outside my own network, or "Software caused connection abort" if I am inside my network.



So I plugged a monitor and keyboard into it and got a login prompt. But when I enter my user name and press enter, I am not given a password prompt. It sits for a moment, then the screen goes black, and when I tap a key to wake it up I have a fresh login prompt.



I could reboot the server but I'm mildly leery of doing so. I recently cloned an existing installation of Ubuntu 16.04 LTS over to a new hard drive (changing to SSD), and it worked, so I also upgraded to 18.04.1. That went well also; but then shortly afterwards I had to reboot it and it died with the error "error: invalid arch independent ELF magic", indicating that something was screwed up with the MBR.



The hardware is old; it's not compatible with the amd64 instruction set, only i386, and they stopped making live CDs for i386. So in order to fix it I had to download a 16.04 live CD and correct the MBR issue (and also run a fsck which found and corrected errors on two partitions).



This sucker was rock solid for years before I put this SSD in it. I'm annoyed that a simple hard drive swap has caused me such grief.



Any suggestions? How do I log in when I can't get a password prompt?










share|improve this question


















  • 1





    Note: they still make installer images for i386, but just the Network installer type, not the Live installer type.

    – thomasrutter
    Jan 15 at 2:52











  • Correct. Which, sadly, didn't help in my case, since the live version is what I needed.

    – Will Martin
    Jan 15 at 3:15











  • I gave up and tried rebooting. It's definitely something with the hard drive -- it failed to unmount any of the file systems during power off, and I got a kernel panic when I tried booting again. ARGH. What is messing with the file system?

    – Will Martin
    Jan 15 at 7:00











  • After failing to correct the issue -- a fsck found thousands upon thousands of errors in two of my partitions -- I gave up. Either the hard drive is a lemon, there's a hardware incompatibility between the SATA3 drive in a SATA2 port, or there's some weird bug in 18.04 LTS that affects my specific hardware. I have restored the old HD that still had 16.04 on it, and it's working fine now.

    – Will Martin
    Jan 15 at 16:53














0












0








0








I cannot log into my server.



I cannot SSH into the server; PuTTY fails with the message "Server unexpectedly closed network connection" if I am outside my own network, or "Software caused connection abort" if I am inside my network.



So I plugged a monitor and keyboard into it and got a login prompt. But when I enter my user name and press enter, I am not given a password prompt. It sits for a moment, then the screen goes black, and when I tap a key to wake it up I have a fresh login prompt.



I could reboot the server but I'm mildly leery of doing so. I recently cloned an existing installation of Ubuntu 16.04 LTS over to a new hard drive (changing to SSD), and it worked, so I also upgraded to 18.04.1. That went well also; but then shortly afterwards I had to reboot it and it died with the error "error: invalid arch independent ELF magic", indicating that something was screwed up with the MBR.



The hardware is old; it's not compatible with the amd64 instruction set, only i386, and they stopped making live CDs for i386. So in order to fix it I had to download a 16.04 live CD and correct the MBR issue (and also run a fsck which found and corrected errors on two partitions).



This sucker was rock solid for years before I put this SSD in it. I'm annoyed that a simple hard drive swap has caused me such grief.



Any suggestions? How do I log in when I can't get a password prompt?










share|improve this question














I cannot log into my server.



I cannot SSH into the server; PuTTY fails with the message "Server unexpectedly closed network connection" if I am outside my own network, or "Software caused connection abort" if I am inside my network.



So I plugged a monitor and keyboard into it and got a login prompt. But when I enter my user name and press enter, I am not given a password prompt. It sits for a moment, then the screen goes black, and when I tap a key to wake it up I have a fresh login prompt.



I could reboot the server but I'm mildly leery of doing so. I recently cloned an existing installation of Ubuntu 16.04 LTS over to a new hard drive (changing to SSD), and it worked, so I also upgraded to 18.04.1. That went well also; but then shortly afterwards I had to reboot it and it died with the error "error: invalid arch independent ELF magic", indicating that something was screwed up with the MBR.



The hardware is old; it's not compatible with the amd64 instruction set, only i386, and they stopped making live CDs for i386. So in order to fix it I had to download a 16.04 live CD and correct the MBR issue (and also run a fsck which found and corrected errors on two partitions).



This sucker was rock solid for years before I put this SSD in it. I'm annoyed that a simple hard drive swap has caused me such grief.



Any suggestions? How do I log in when I can't get a password prompt?







server






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 15 at 1:52









Will MartinWill Martin

1214




1214








  • 1





    Note: they still make installer images for i386, but just the Network installer type, not the Live installer type.

    – thomasrutter
    Jan 15 at 2:52











  • Correct. Which, sadly, didn't help in my case, since the live version is what I needed.

    – Will Martin
    Jan 15 at 3:15











  • I gave up and tried rebooting. It's definitely something with the hard drive -- it failed to unmount any of the file systems during power off, and I got a kernel panic when I tried booting again. ARGH. What is messing with the file system?

    – Will Martin
    Jan 15 at 7:00











  • After failing to correct the issue -- a fsck found thousands upon thousands of errors in two of my partitions -- I gave up. Either the hard drive is a lemon, there's a hardware incompatibility between the SATA3 drive in a SATA2 port, or there's some weird bug in 18.04 LTS that affects my specific hardware. I have restored the old HD that still had 16.04 on it, and it's working fine now.

    – Will Martin
    Jan 15 at 16:53














  • 1





    Note: they still make installer images for i386, but just the Network installer type, not the Live installer type.

    – thomasrutter
    Jan 15 at 2:52











  • Correct. Which, sadly, didn't help in my case, since the live version is what I needed.

    – Will Martin
    Jan 15 at 3:15











  • I gave up and tried rebooting. It's definitely something with the hard drive -- it failed to unmount any of the file systems during power off, and I got a kernel panic when I tried booting again. ARGH. What is messing with the file system?

    – Will Martin
    Jan 15 at 7:00











  • After failing to correct the issue -- a fsck found thousands upon thousands of errors in two of my partitions -- I gave up. Either the hard drive is a lemon, there's a hardware incompatibility between the SATA3 drive in a SATA2 port, or there's some weird bug in 18.04 LTS that affects my specific hardware. I have restored the old HD that still had 16.04 on it, and it's working fine now.

    – Will Martin
    Jan 15 at 16:53








1




1





Note: they still make installer images for i386, but just the Network installer type, not the Live installer type.

– thomasrutter
Jan 15 at 2:52





Note: they still make installer images for i386, but just the Network installer type, not the Live installer type.

– thomasrutter
Jan 15 at 2:52













Correct. Which, sadly, didn't help in my case, since the live version is what I needed.

– Will Martin
Jan 15 at 3:15





Correct. Which, sadly, didn't help in my case, since the live version is what I needed.

– Will Martin
Jan 15 at 3:15













I gave up and tried rebooting. It's definitely something with the hard drive -- it failed to unmount any of the file systems during power off, and I got a kernel panic when I tried booting again. ARGH. What is messing with the file system?

– Will Martin
Jan 15 at 7:00





I gave up and tried rebooting. It's definitely something with the hard drive -- it failed to unmount any of the file systems during power off, and I got a kernel panic when I tried booting again. ARGH. What is messing with the file system?

– Will Martin
Jan 15 at 7:00













After failing to correct the issue -- a fsck found thousands upon thousands of errors in two of my partitions -- I gave up. Either the hard drive is a lemon, there's a hardware incompatibility between the SATA3 drive in a SATA2 port, or there's some weird bug in 18.04 LTS that affects my specific hardware. I have restored the old HD that still had 16.04 on it, and it's working fine now.

– Will Martin
Jan 15 at 16:53





After failing to correct the issue -- a fsck found thousands upon thousands of errors in two of my partitions -- I gave up. Either the hard drive is a lemon, there's a hardware incompatibility between the SATA3 drive in a SATA2 port, or there's some weird bug in 18.04 LTS that affects my specific hardware. I have restored the old HD that still had 16.04 on it, and it's working fine now.

– Will Martin
Jan 15 at 16:53










0






active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1109786%2fubuntu-server-18-04-1-lts-no-password-prompt%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1109786%2fubuntu-server-18-04-1-lts-no-password-prompt%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

Mangá

 ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕