LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-29-2022, 02:27 PM   #1
makem
Member
 
Registered: Nov 2013
Posts: 209

Rep: Reputation: Disabled
Disconnected PC for travel - Windows boots correctly but Ubuntu grub stops.


I am using Ubuntu 21.10 and wanted to take my Pc to a relatives house.

I disconnected everything, reconnected everything, booted the machine and the result was:

/dev/nvme1n1p5: recovering journal
/dev/nvme1n1p5: clean, 329326/2321984 files, 4530131/9277440 blocks
-

grub goes no further.

Selecting Windows 10 from grub boots Windows without problems.

I was thinking I would upgrade to the latest LTS version but read that it does not (maybe fixed) recognise the dual boot windows.

My /home is on a separate partition as are my data files.

Can anyone assist to get back into Ubuntu or advise whether I should take this opportunity and use the new LTS?
 
Old 04-29-2022, 02:45 PM   #2
openbsd98324
Member
 
Registered: Feb 2022
Posts: 72

Rep: Reputation: 5
--

(post deleted).

Last edited by openbsd98324; 04-29-2022 at 03:03 PM.
 
Old 04-29-2022, 03:50 PM   #3
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,368

Rep: Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592
Did you try one of the grub menu entries in advance option?
At the grub menu entry, press e for edit add to the end of the line that begins with linux:
noresume
 
Old 04-29-2022, 04:23 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,750

Rep: Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928
Before you disconnected the computer did you completely shutdown Ubuntu or was it just sleeping?

I would boot up into recovery mode or boot from a Ubuntu live USB and run fsck against all of your partition/filesystems to check for errors.
 
Old 04-29-2022, 04:28 PM   #5
uteck
Senior Member
 
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: Ubuntu based stuff for the most part
Posts: 1,174

Rep: Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501
Your grub is working fine, the error you posted was from the kernel recovering the filesystem journal, which is normal for an improper shutdown. As to why the kenrnel stops there we would need more info.

Ubuntu includes a handy recovery mode in grub in the Advanced menu. Boot from that and it will give you some recovery options.
 
Old 04-29-2022, 04:28 PM   #6
makem
Member
 
Registered: Nov 2013
Posts: 209

Original Poster
Rep: Reputation: Disabled
I tried your suggestion by adding noresume at the end of the line which started with linux /boot etc and ended with $svt_handoff after leaving a space.

I rebooted and the result was the same, grub just stopped
 
Old 04-29-2022, 04:34 PM   #7
makem
Member
 
Registered: Nov 2013
Posts: 209

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by uteck View Post
Your grub is working fine, the error you posted was from the kernel recovering the filesystem journal, which is normal for an improper shutdown. As to why the kenrnel stops there we would need more info.

Ubuntu includes a handy recovery mode in grub in the Advanced menu. Boot from that and it will give you some recovery options.
I remembered that when I restarted the machine after reconnecting everything that I found the keyboard was not lit and saw that the cable was not correctly connected the the usbc port.

I looked at the first recovery option and tried some of the things listed but one gave Download errors another completed but when I dropped to root I was lost.
 
Old 04-29-2022, 04:39 PM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,750

Rep: Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928
Then I would run live USB version.
 
Old 04-29-2022, 04:45 PM   #9
makem
Member
 
Registered: Nov 2013
Posts: 209

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
Before you disconnected the computer did you completely shutdown Ubuntu or was it just sleeping?

I would boot up into recovery mode or boot from a Ubuntu live USB and run fsck against all of your partition/filesystems to check for errors.
I disconnected the computer after it had been turned off/shutdown via the system overnight.

I used fsck from recovery mode and it suggested there were 9 obsolete file which should be removed. Other than removing those it did nothing to assist.
 
Old 04-29-2022, 04:48 PM   #10
makem
Member
 
Registered: Nov 2013
Posts: 209

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
Then I would run live USB version.
I ran a live USB but it was version 20.04 to see if I remembered how to chroot into the system to backup /home. Would it help if I had used 21.10?
 
Old 04-29-2022, 04:53 PM   #11
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,750

Rep: Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928
You don't have to chroot. Your just running a fsck and the filesystems shouldn't be mounted. Did you run fsck on your home and data partitions?

Last edited by michaelk; 04-29-2022 at 05:06 PM.
 
Old 04-29-2022, 05:08 PM   #12
makem
Member
 
Registered: Nov 2013
Posts: 209

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
You don't have to chroot. Your just running a fsck and the filesystems shouldn't be mounted.
I know I don't need to chroot to fsck, as I said, I ran fsck from advanced grub options but it did not help. I was looking considering chroot to backup /home should I have to install Ubuntu, either reinstall 21.10 or the new LTS.
 
Old 04-29-2022, 05:09 PM   #13
makem
Member
 
Registered: Nov 2013
Posts: 209

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by uteck View Post
Your grub is working fine, the error you posted was from the kernel recovering the filesystem journal, which is normal for an improper shutdown. As to why the kenrnel stops there we would need more info.

Ubuntu includes a handy recovery mode in grub in the Advanced menu. Boot from that and it will give you some recovery options.
What info would be needed to assist me?

Last edited by makem; 04-29-2022 at 05:34 PM.
 
Old 04-29-2022, 05:53 PM   #14
makem
Member
 
Registered: Nov 2013
Posts: 209

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
You don't have to chroot. Your just running a fsck and the filesystems shouldn't be mounted. Did you run fsck on your home and data partitions?
I did not see any option in the list of options to choose on which partitions to fsck. It just gave a 'run fsck' option and I assumed that was the whole system.
 
Old 04-29-2022, 06:57 PM   #15
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,750

Rep: Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928
I don't know, it has been awhile since I've played with recovery mode. I would manually check home and data.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub only boots on 2nd attempt - menu reappears a 2nd time, then it boots. LenHoff Linux - Software 1 06-28-2020 07:10 AM
Infinite Grub Loop: GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB... beeblequix MEPIS 2 11-02-2013 10:56 PM
Fedora 9 boots (long delay) as single core if I go to GRUB menu, otherwise boots fine saravkrish Fedora 1 05-27-2008 07:59 AM
boot stops at GRUB GRUB linux never boots coffeedemon Slackware 4 11-09-2004 02:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration