![]() |
Stuck at Grub cannot login - Printable Version +- Linux Lite Forums (https://www.freecinema2022.gq/forums) +-- Forum: Software - Support (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=5) +--- Forum: Installing Linux Lite (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=17) +--- Thread: Stuck at Grub cannot login (/showthread.php?tid=6135) |
Stuck at Grub cannot login - Lambda-User - 04-14-2019 Hello Lite community, I have a broken machine. Initially it was a dual boot windows-linux-lite (32 bit). The machine worked well. But the partition for linux was small. With Gparted I erased the old windows partition to have more space and... all hell broke loose. I am not a complete newbie but my expertise level not sky high. Here is what I got from grub repair… https://paste.ubuntu.com/p/2mndMvS8qW/ I should probably add that I do recommended repair from grub. But after repair I see the lite OS selector -now XP is gone from options as it should - but whatever I choose (latest installed or previous versions of LLite, regular or advance boot ) it won't boot. When I look at the various OS available options range from vmlinux 440 generic 140, 141 and 146 If I go with more verbose version of startup I see it reaches swap then: ============================================ [** ]A start job is running 1m 30 seconds ============================================ Then black then ============================================ Welcome to emergency mode! After login type « journalctl -xb » to view logs […] ============================================ And I cannot login. I try enter, ‘root’, 'linux' or my own ‘admin-pass’ but it won’t work. As I can see nothing I type, an interface issue cannot be ruled out. Is it possible it lost the fact this is a 32-bit i386? Best, lambda user Re: Stuck at Grub cannot login - Lambda-User - 04-14-2019 Hello All, Okay just to say I have re-booted with Grub-repair 32-bit and got to tools GUI with hispter looking lady jumping (not so easy after a couple crashes). So now I could do more advanced repair of grub or do some terminal with a working keyboard, etc. Hopefully some kind soul will have some advice going from here... Best, Lambda-user Re: Stuck at Grub cannot login - Lambda-User - 04-14-2019 This being the weekend, I will try something. I have looked at the partions and saw /sda1/ (former xp) had a boot flag. I removed it and put one the sda2 where I have my working os. I will also ask bootrepair to do its thing. Before I will also try an fsck.ext4 on /sda1/ thing. Any opinion on the matter is still welcomed! Best, lambda-user Re: Stuck at Grub cannot login - Jocklad - 04-14-2019 If you are going to have Linux lite as your only o/s I would boot into the live environment and then into Gparted. Delete all partitions and then Re-partition the drive. Then a full reinstall. Might be quicker. Jocklad Re: Stuck at Grub cannot login - Lambda-User - 04-14-2019 Did as I had planned: Same difference. Here is ubuntu paste from grub-repair: https://paste.ubuntu.com/p/5wxjGD5q8y/ I only see looking into grub-repair advance options as a way out now. + Lamba-User Re: Stuck at Grub cannot login - Lambda-User - 04-14-2019 Hello Jocklad, You are right. But I got Ardour working there with an Edirol and firewire etc. : my kids music shop. I would hate to loose that set up, which took a while to get working. Other than that, yes I would wipe the thing. And I might as well used advanced options on grub repair before I do... Lamda-user Re: Stuck at Grub cannot login - DeepThought - 04-14-2019 Hi [member=9237]Lambda-User[/member] I'm assuming the windows partition was first and then your linux lite partiton, so having deleted windows you have an empty partition at the beginning of the disk. You could move the linux lite partition to where the windows partition was, this might help: Code: https://help.ubuntu.com/community/MovingLinuxPartition Re: Stuck at Grub cannot login - Lambda-User - 04-14-2019 [member=7644]DeepThought[/member] this is definitively worth a try. Anyway this was 2nd down the line of possible improvements for the thing. And if I read it right, seems like it could be done from grub-repair, if I can get grub repair to load again... a difficult task right now. As there are many steps in this looks like a multi day process. I will give it a try and let you know. Best! lambda-user Re: Stuck at Grub cannot login - Lambda-User - 04-15-2019 Hi [member=7644]DeepThought[/member] I looked into MovingLinuxPartition.
I did the copy with Gparted, and then I did lsblk to check where we were. Code: lubuntu@lubuntu:~$ lsblk WHERE sda1 IS THE COPY sda5 IS ORIGINAL sda6 IS SWAP HERE IS A GRAB OF GPARTED https://tinyurl.com/yxdsoom2 You can see I flagged sda1 as boot. As recommanded on the suggested page I checked UUID and then tried to assign a new UUID on my cloned partition. blkid said this about the partitions: Code: lubuntu@lubuntu:~$ blkid I did a fsck and then asked a random UUID from tune2fs like so: Code: lubuntu@lubuntu:~$ sudo fsck.ext4 /dev/sda1 After 30 minutes... Why this? How long is long? Code: lubuntu@lubuntu:~$ blkid :'( Re: Stuck at Grub cannot login - Lambda-User - 04-15-2019 OK twisted stuff. Went on to find someone saying you need to e2fsck the partition just before you tune2fs . So did. Code: lubuntu@lubuntu:~$ sudo e2fsck /dev/sda1 You would think if you blkid as suggested in the reference page you would see a difference but no... Code: lubuntu@lubuntu:~$ blkid This is debian bug apparently which would be closed, but maybe not on the version used in grub-repair... https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=857336 Anyhow, blkid used on grub-repair 32-bit doesn't give you the straight dope. But if you do a tune2fs -l you get Code: lubuntu@lubuntu:~$ sudo tune2fs -l /dev/sda1 The short of it is Filesystem UUID have been changed by tune2fs regardless of what blkid says. Beware false negatives.... So I can mark 4 as done I guess. And proceed to 5.
Lambda-user |