Ubuntu won't login after disk migration
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I have a weird problem here. I migrated my GF's drive from HDD to SSD. I had to shrink Windows partition and move partitions around to fit 750GB HDD to 512GB SSD. I think I did everything fine. Windows and Ubuntu both boot to the login screens. Only Ubuntu doesn't let her log in (both with screen keyboard and normal keyboard). Obviously, I though this is lightdm
issue. I tried to login via shell CTRL+SHIFT+F1. That doesn't work either. I have live USB, which I can boot from to mount linux partition. I didn't see anything unusual in the kern.log or syslog.
So then I tried to start recovery mode but that ends up showing usual login screen instead of the recovery menu. I am really puzzled here. If it would be a partition issue, it wouldn't have booted at all. Her home directory is in the same partition as the system. Whole Linux system is in same partition + there is swap partition.
I don't know how to proceed from here but reinstalling Ubuntu. What else can there be? Or how can I find the cause of the issue?
Thanks!
Edit: Sorry, I didn't explain the keyboard part nicely. Keyboard works all the time. The reason for me to try to log in with on screen keyboard was to eliminate any localization issues. The keyboard is german and if Ubuntu identifies it as US for some reason, special characters and y/z would be misplaced without the user noticing it.
Edit - How did I migrate the drive:
I have reduced the windows partition and moved partitions (inluding Ubuntu) after the windows partition after the reduced Windows partition in Gparted. This was done to move every partition before the end of the target drive. I cloned the source to target with dd
. At some point as expected dd
stopped with the "no space left on the device" error. Gparted didn't show the partition table of the new drive at this point, because the partition table had a wrong device size defined (remnant from the previous device). As suggested on the internet, fdisk
corrected that part. After this, I replaced the drives on the machine and I was simply able to boot both with Ubuntu and Windows. Windows has been working fine so far. Only in Ubuntu login doesn't work.
ubuntu partition login
 |Â
show 12 more comments
up vote
0
down vote
favorite
I have a weird problem here. I migrated my GF's drive from HDD to SSD. I had to shrink Windows partition and move partitions around to fit 750GB HDD to 512GB SSD. I think I did everything fine. Windows and Ubuntu both boot to the login screens. Only Ubuntu doesn't let her log in (both with screen keyboard and normal keyboard). Obviously, I though this is lightdm
issue. I tried to login via shell CTRL+SHIFT+F1. That doesn't work either. I have live USB, which I can boot from to mount linux partition. I didn't see anything unusual in the kern.log or syslog.
So then I tried to start recovery mode but that ends up showing usual login screen instead of the recovery menu. I am really puzzled here. If it would be a partition issue, it wouldn't have booted at all. Her home directory is in the same partition as the system. Whole Linux system is in same partition + there is swap partition.
I don't know how to proceed from here but reinstalling Ubuntu. What else can there be? Or how can I find the cause of the issue?
Thanks!
Edit: Sorry, I didn't explain the keyboard part nicely. Keyboard works all the time. The reason for me to try to log in with on screen keyboard was to eliminate any localization issues. The keyboard is german and if Ubuntu identifies it as US for some reason, special characters and y/z would be misplaced without the user noticing it.
Edit - How did I migrate the drive:
I have reduced the windows partition and moved partitions (inluding Ubuntu) after the windows partition after the reduced Windows partition in Gparted. This was done to move every partition before the end of the target drive. I cloned the source to target with dd
. At some point as expected dd
stopped with the "no space left on the device" error. Gparted didn't show the partition table of the new drive at this point, because the partition table had a wrong device size defined (remnant from the previous device). As suggested on the internet, fdisk
corrected that part. After this, I replaced the drives on the machine and I was simply able to boot both with Ubuntu and Windows. Windows has been working fine so far. Only in Ubuntu login doesn't work.
ubuntu partition login
What do you mean by: "Only Ubuntu doesn't let her log in (both with screen keyboard and normal keyboard)" Keyboard doesn't work on the login screen?
â Kunal Gupta
May 27 at 10:03
I mean that in Windows she can log in and it is not a keyboard issue. Sometimes with certain languages, if keyboard is not recognized correctly, people type wrong password without realizing. I wanted to exclude that by using on screen keyboard. But keyboard works.
â Genom
May 27 at 10:22
So in ubuntu the keyboard stops working at the login screen? Is it a similar issue with the mouse?
â Kunal Gupta
May 27 at 10:25
No keyboard always works, but since you don't see the password you are typing, you might type the wrong password without knowing. That happens for instance with keyboards of other languages. Ubuntu sometimes doesn't recognize the language of the keyboard and thinks it is US. Then all the special characters, some letters rearrange. If you have a german keyboard, typing "y" would result in "z". Often people don't recognize that. On screen keyboard is a safer way to eliminate that confusion. But keyboard works all the time. It is not a keyboard issue. Sorry for not clarifying this earlier.
â Genom
May 27 at 11:14
How did you perform the migration?
â Kusalananda
May 27 at 14:08
 |Â
show 12 more comments
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have a weird problem here. I migrated my GF's drive from HDD to SSD. I had to shrink Windows partition and move partitions around to fit 750GB HDD to 512GB SSD. I think I did everything fine. Windows and Ubuntu both boot to the login screens. Only Ubuntu doesn't let her log in (both with screen keyboard and normal keyboard). Obviously, I though this is lightdm
issue. I tried to login via shell CTRL+SHIFT+F1. That doesn't work either. I have live USB, which I can boot from to mount linux partition. I didn't see anything unusual in the kern.log or syslog.
So then I tried to start recovery mode but that ends up showing usual login screen instead of the recovery menu. I am really puzzled here. If it would be a partition issue, it wouldn't have booted at all. Her home directory is in the same partition as the system. Whole Linux system is in same partition + there is swap partition.
I don't know how to proceed from here but reinstalling Ubuntu. What else can there be? Or how can I find the cause of the issue?
Thanks!
Edit: Sorry, I didn't explain the keyboard part nicely. Keyboard works all the time. The reason for me to try to log in with on screen keyboard was to eliminate any localization issues. The keyboard is german and if Ubuntu identifies it as US for some reason, special characters and y/z would be misplaced without the user noticing it.
Edit - How did I migrate the drive:
I have reduced the windows partition and moved partitions (inluding Ubuntu) after the windows partition after the reduced Windows partition in Gparted. This was done to move every partition before the end of the target drive. I cloned the source to target with dd
. At some point as expected dd
stopped with the "no space left on the device" error. Gparted didn't show the partition table of the new drive at this point, because the partition table had a wrong device size defined (remnant from the previous device). As suggested on the internet, fdisk
corrected that part. After this, I replaced the drives on the machine and I was simply able to boot both with Ubuntu and Windows. Windows has been working fine so far. Only in Ubuntu login doesn't work.
ubuntu partition login
I have a weird problem here. I migrated my GF's drive from HDD to SSD. I had to shrink Windows partition and move partitions around to fit 750GB HDD to 512GB SSD. I think I did everything fine. Windows and Ubuntu both boot to the login screens. Only Ubuntu doesn't let her log in (both with screen keyboard and normal keyboard). Obviously, I though this is lightdm
issue. I tried to login via shell CTRL+SHIFT+F1. That doesn't work either. I have live USB, which I can boot from to mount linux partition. I didn't see anything unusual in the kern.log or syslog.
So then I tried to start recovery mode but that ends up showing usual login screen instead of the recovery menu. I am really puzzled here. If it would be a partition issue, it wouldn't have booted at all. Her home directory is in the same partition as the system. Whole Linux system is in same partition + there is swap partition.
I don't know how to proceed from here but reinstalling Ubuntu. What else can there be? Or how can I find the cause of the issue?
Thanks!
Edit: Sorry, I didn't explain the keyboard part nicely. Keyboard works all the time. The reason for me to try to log in with on screen keyboard was to eliminate any localization issues. The keyboard is german and if Ubuntu identifies it as US for some reason, special characters and y/z would be misplaced without the user noticing it.
Edit - How did I migrate the drive:
I have reduced the windows partition and moved partitions (inluding Ubuntu) after the windows partition after the reduced Windows partition in Gparted. This was done to move every partition before the end of the target drive. I cloned the source to target with dd
. At some point as expected dd
stopped with the "no space left on the device" error. Gparted didn't show the partition table of the new drive at this point, because the partition table had a wrong device size defined (remnant from the previous device). As suggested on the internet, fdisk
corrected that part. After this, I replaced the drives on the machine and I was simply able to boot both with Ubuntu and Windows. Windows has been working fine so far. Only in Ubuntu login doesn't work.
ubuntu partition login
edited May 27 at 17:32
asked May 27 at 9:12
Genom
284
284
What do you mean by: "Only Ubuntu doesn't let her log in (both with screen keyboard and normal keyboard)" Keyboard doesn't work on the login screen?
â Kunal Gupta
May 27 at 10:03
I mean that in Windows she can log in and it is not a keyboard issue. Sometimes with certain languages, if keyboard is not recognized correctly, people type wrong password without realizing. I wanted to exclude that by using on screen keyboard. But keyboard works.
â Genom
May 27 at 10:22
So in ubuntu the keyboard stops working at the login screen? Is it a similar issue with the mouse?
â Kunal Gupta
May 27 at 10:25
No keyboard always works, but since you don't see the password you are typing, you might type the wrong password without knowing. That happens for instance with keyboards of other languages. Ubuntu sometimes doesn't recognize the language of the keyboard and thinks it is US. Then all the special characters, some letters rearrange. If you have a german keyboard, typing "y" would result in "z". Often people don't recognize that. On screen keyboard is a safer way to eliminate that confusion. But keyboard works all the time. It is not a keyboard issue. Sorry for not clarifying this earlier.
â Genom
May 27 at 11:14
How did you perform the migration?
â Kusalananda
May 27 at 14:08
 |Â
show 12 more comments
What do you mean by: "Only Ubuntu doesn't let her log in (both with screen keyboard and normal keyboard)" Keyboard doesn't work on the login screen?
â Kunal Gupta
May 27 at 10:03
I mean that in Windows she can log in and it is not a keyboard issue. Sometimes with certain languages, if keyboard is not recognized correctly, people type wrong password without realizing. I wanted to exclude that by using on screen keyboard. But keyboard works.
â Genom
May 27 at 10:22
So in ubuntu the keyboard stops working at the login screen? Is it a similar issue with the mouse?
â Kunal Gupta
May 27 at 10:25
No keyboard always works, but since you don't see the password you are typing, you might type the wrong password without knowing. That happens for instance with keyboards of other languages. Ubuntu sometimes doesn't recognize the language of the keyboard and thinks it is US. Then all the special characters, some letters rearrange. If you have a german keyboard, typing "y" would result in "z". Often people don't recognize that. On screen keyboard is a safer way to eliminate that confusion. But keyboard works all the time. It is not a keyboard issue. Sorry for not clarifying this earlier.
â Genom
May 27 at 11:14
How did you perform the migration?
â Kusalananda
May 27 at 14:08
What do you mean by: "Only Ubuntu doesn't let her log in (both with screen keyboard and normal keyboard)" Keyboard doesn't work on the login screen?
â Kunal Gupta
May 27 at 10:03
What do you mean by: "Only Ubuntu doesn't let her log in (both with screen keyboard and normal keyboard)" Keyboard doesn't work on the login screen?
â Kunal Gupta
May 27 at 10:03
I mean that in Windows she can log in and it is not a keyboard issue. Sometimes with certain languages, if keyboard is not recognized correctly, people type wrong password without realizing. I wanted to exclude that by using on screen keyboard. But keyboard works.
â Genom
May 27 at 10:22
I mean that in Windows she can log in and it is not a keyboard issue. Sometimes with certain languages, if keyboard is not recognized correctly, people type wrong password without realizing. I wanted to exclude that by using on screen keyboard. But keyboard works.
â Genom
May 27 at 10:22
So in ubuntu the keyboard stops working at the login screen? Is it a similar issue with the mouse?
â Kunal Gupta
May 27 at 10:25
So in ubuntu the keyboard stops working at the login screen? Is it a similar issue with the mouse?
â Kunal Gupta
May 27 at 10:25
No keyboard always works, but since you don't see the password you are typing, you might type the wrong password without knowing. That happens for instance with keyboards of other languages. Ubuntu sometimes doesn't recognize the language of the keyboard and thinks it is US. Then all the special characters, some letters rearrange. If you have a german keyboard, typing "y" would result in "z". Often people don't recognize that. On screen keyboard is a safer way to eliminate that confusion. But keyboard works all the time. It is not a keyboard issue. Sorry for not clarifying this earlier.
â Genom
May 27 at 11:14
No keyboard always works, but since you don't see the password you are typing, you might type the wrong password without knowing. That happens for instance with keyboards of other languages. Ubuntu sometimes doesn't recognize the language of the keyboard and thinks it is US. Then all the special characters, some letters rearrange. If you have a german keyboard, typing "y" would result in "z". Often people don't recognize that. On screen keyboard is a safer way to eliminate that confusion. But keyboard works all the time. It is not a keyboard issue. Sorry for not clarifying this earlier.
â Genom
May 27 at 11:14
How did you perform the migration?
â Kusalananda
May 27 at 14:08
How did you perform the migration?
â Kusalananda
May 27 at 14:08
 |Â
show 12 more comments
1 Answer
1
active
oldest
votes
up vote
0
down vote
After trying many things, I have salvaged the data and reinstalled Ubuntu (this time 18.04). Newly installed Ubuntu booted and allowed login on the freshly created user. This is not a real answer, therefore I won't accept it.
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
After trying many things, I have salvaged the data and reinstalled Ubuntu (this time 18.04). Newly installed Ubuntu booted and allowed login on the freshly created user. This is not a real answer, therefore I won't accept it.
add a comment |Â
up vote
0
down vote
After trying many things, I have salvaged the data and reinstalled Ubuntu (this time 18.04). Newly installed Ubuntu booted and allowed login on the freshly created user. This is not a real answer, therefore I won't accept it.
add a comment |Â
up vote
0
down vote
up vote
0
down vote
After trying many things, I have salvaged the data and reinstalled Ubuntu (this time 18.04). Newly installed Ubuntu booted and allowed login on the freshly created user. This is not a real answer, therefore I won't accept it.
After trying many things, I have salvaged the data and reinstalled Ubuntu (this time 18.04). Newly installed Ubuntu booted and allowed login on the freshly created user. This is not a real answer, therefore I won't accept it.
answered Jun 3 at 21:52
Genom
284
284
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f446286%2fubuntu-wont-login-after-disk-migration%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
What do you mean by: "Only Ubuntu doesn't let her log in (both with screen keyboard and normal keyboard)" Keyboard doesn't work on the login screen?
â Kunal Gupta
May 27 at 10:03
I mean that in Windows she can log in and it is not a keyboard issue. Sometimes with certain languages, if keyboard is not recognized correctly, people type wrong password without realizing. I wanted to exclude that by using on screen keyboard. But keyboard works.
â Genom
May 27 at 10:22
So in ubuntu the keyboard stops working at the login screen? Is it a similar issue with the mouse?
â Kunal Gupta
May 27 at 10:25
No keyboard always works, but since you don't see the password you are typing, you might type the wrong password without knowing. That happens for instance with keyboards of other languages. Ubuntu sometimes doesn't recognize the language of the keyboard and thinks it is US. Then all the special characters, some letters rearrange. If you have a german keyboard, typing "y" would result in "z". Often people don't recognize that. On screen keyboard is a safer way to eliminate that confusion. But keyboard works all the time. It is not a keyboard issue. Sorry for not clarifying this earlier.
â Genom
May 27 at 11:14
How did you perform the migration?
â Kusalananda
May 27 at 14:08