LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 12-10-2023, 02:58 PM   #46
lattimro
Member
 
Registered: Jul 2021
Distribution: SOLARIS/BSD-like, some Debian-like, some Arch-like, some GENTO-like, some RH-like, some slacky-like
Posts: 386

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by colorpurple21859 View Post
show output of blkid
what flag to use with blkid?
 
Old 12-10-2023, 03:03 PM   #47
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,359

Rep: Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591
no flag
 
Old 12-10-2023, 03:54 PM   #48
lattimro
Member
 
Registered: Jul 2021
Distribution: SOLARIS/BSD-like, some Debian-like, some Arch-like, some GENTO-like, some RH-like, some slacky-like
Posts: 386

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
no flag
AFAIK the online upgrade is supported only with the official Tumbleweed repos. If you know otherwise please advise. My repos are as follow:
Code:
root@gecko:/home/brad# zypper lr
Repository priorities in effect:                                                   (See 'zypper lr -P' for details)
      90 (raised priority)  :  1 repository
      97 (raised priority)  :  1 repository
      98 (raised priority)  :  2 repositories
      99 (default priority) :  3 repositories
     115 (lowered priority) :  2 repositories

#  | Alias                  | Name                   | Enabled | GPG Check | Refresh
---+------------------------+------------------------+---------+-----------+--------
 1 | Google-chrome          | Google-chrome          | Yes     | (r ) Yes  | Yes
 2 | Google-talkplugin      | Google-talkplugin      | Yes     | (r ) Yes  | Yes
 3 | Packman_Tumbleweed     | Packman_Tumbleweed     | Yes     | (r ) Yes  | Yes
 4 | Tumbleweed_OSS         | Tumbleweed_OSS         | Yes     | (r ) Yes  | Yes
 5 | Tumbleweed_OSS-updates | Tumbleweed_OSS-updates | Yes     | (r ) Yes  | Yes
 6 | Tumbleweed_non-OSS     | Tumbleweed_non-OSS     | Yes     | (r ) Yes  | Yes
 7 | google-chrome          | google-chrome          | Yes     | (r ) Yes  | Yes
 8 | google-chrome-beta     | google-chrome-beta     | No      | ----      | ----
 9 | skype-stable           | skype (stable)         | Yes     | (r ) Yes  | Yes
10 | teamviewer             | TeamViewer - x86_64    | Yes     | (r ) Yes  | No
root@gecko:/home/brad#

Last edited by lattimro; 12-12-2023 at 10:38 AM.
 
Old 12-11-2023, 12:31 AM   #49
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,359

Rep: Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591
Did you try booting the vmlinuz-6.5.9-1-default kernel with root=/dev/sdc4?
 
Old 12-11-2023, 08:27 AM   #50
lattimro
Member
 
Registered: Jul 2021
Distribution: SOLARIS/BSD-like, some Debian-like, some Arch-like, some GENTO-like, some RH-like, some slacky-like
Posts: 386

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
Did you try booting the vmlinuz-6.5.9-1-default kernel with root=/dev/sdc4?
Yes, I did.
 
Old 12-11-2023, 12:27 PM   #51
lattimro
Member
 
Registered: Jul 2021
Distribution: SOLARIS/BSD-like, some Debian-like, some Arch-like, some GENTO-like, some RH-like, some slacky-like
Posts: 386

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by goumba View Post
Fonts have nothing to do with it. You'd just get a warning message and possibly a display that doesn't look great.
I asked that question because I noticed above "UUID blabla no-limit" message the Virtual Console Setup service failed. I masked the service but did not make any difference.
 
Old 12-11-2023, 12:37 PM   #52
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,826
Blog Entries: 1

Rep: Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068
Quote:
Originally Posted by lattimro View Post
...the Virtual Console Setup service failed. I masked the service but did not make any difference.
You should unmask it. By the time it actually becomes needed it should have become active.
 
1 members found this post helpful.
Old 12-11-2023, 06:10 PM   #53
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,359

Rep: Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591
What about chroot into the system and run dracut for one of the kernel versions to see what happens?
 
1 members found this post helpful.
Old 12-11-2023, 06:19 PM   #54
lattimro
Member
 
Registered: Jul 2021
Distribution: SOLARIS/BSD-like, some Debian-like, some Arch-like, some GENTO-like, some RH-like, some slacky-like
Posts: 386

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
What about chroot into the system and run dracut for one of the kernel versions to see what happens?
I can do that but you need to tell me the command ... I mean dracut what? and what is the expected outcome? I am not sure if I can regenerate initrd.img from a chroot

Last edited by lattimro; 12-11-2023 at 07:55 PM.
 
Old 12-11-2023, 08:00 PM   #55
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,359

Rep: Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591
mount the root partition, mount --bind appropriate directories, choot
Code:
dracut --kver 6.6.3-1-default --force
 
1 members found this post helpful.
Old 12-11-2023, 08:43 PM   #56
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,826
Blog Entries: 1

Rep: Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068
To be sure of a reasonable answer (before colorpurple21859's post #55), I booted Slowroll, where the newest installed kernel is 6.5.9, and chrooted into TW 20231121, where the newest installed kernel is also 6.5.9. It had a corresponding 16,704,252 byte initrd with a 22 November timestamp. I issued:
Code:
dracut -f
It resulted in a currently timestamped 16,596,340 byte 6.5.9 initrd. If you're actually running Tumbleweed, and chrooting from a TW rescue media of close enough matching date, I would expect an equivalent result for you.

I dumped output from lsinitrd from each of the two initrds to files. I diff'd the two files and the result was 987 lines.

I then saved the new initrd, restored the original initrd, and booted TW directly to run dracut -f again. This one came out to 16,702,240 bytes. I saved it too. Then I successfully rebooted directly into TW, restored the 1st initrd rebuild, and rebooted successfully again. A diff between the 1st and 3rd initrds was 994. Between 2nd and 3rd was 981.

I suppose it could somehow become necessary to run dracut specifically identifying the version to get the correct kernel rebuilt. So, I booted Ubuntu 22.04 and chrooted into TW. Next I ran dracut -f -k 6.4.12-1-default, which resulted in error messages and no new initrd. So did dracut -f -k /usr/lib/modules/6.4.12-1-default, which also failed. Next I followed one of the error message instructions: export DRACUT_KMODDIR_OVERRIDE=1, but it didn't help. Next try, without thinking to first nullify DRACUT_KMODDIR_OVERRIDE=1, worked, 16,019,264 bytes:
Code:
dracut -f --kver 6.4.12-1-default
Thus I can't say whether DRACUT_KMODDIR_OVERRIDE=1might have been necessary. I suppose not. The 6.4.12 boots with its new initrd too.

Chroot process used:
  1. mount the target filesystem: mount /dev/foo /mnt
  2. mount -o bind /dev /mnt/dev
  3. mount -o bind /sys /mnt/sys
  4. mount -o bind /proc /mnt/proc
  5. chroot /mnt

Last edited by mrmazda; 12-11-2023 at 08:52 PM.
 
Old 12-11-2023, 09:37 PM   #57
lattimro
Member
 
Registered: Jul 2021
Distribution: SOLARIS/BSD-like, some Debian-like, some Arch-like, some GENTO-like, some RH-like, some slacky-like
Posts: 386

Original Poster
Rep: Reputation: Disabled
a chrooted and zypper up solved the issue. Rebooted and the issue solved, I can't understand, maybe you can.
6.5.9-1 and recovery also works fine.

I deleted root=UUID=... from grub and also booted OK. I wish I had done this before.

Last edited by lattimro; 12-11-2023 at 10:24 PM.
 
Old 12-11-2023, 10:17 PM   #58
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,826
Blog Entries: 1

Rep: Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068
If you are in the habit of using zypper up without also using zypper dup, that explains any number of problems. Only dup should be used, or if up is used, it needs to be done with the awareness of the possible consequences. TW is a rolling release. Each edition of TW is an upgrade. Thus, only dup can complete the process, so required package changes can be left undone by doing only up.
 
Old 12-11-2023, 11:39 PM   #59
goumba
Senior Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Fedora, OpenSUSE, FreeBSD, OpenBSD, macOS (hack). Past: Debian, Arch, RedHat (pre-RHEL).
Posts: 1,335
Blog Entries: 7

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
Quote:
Originally Posted by lattimro View Post
a chrooted and zypper up solved the issue. Rebooted and the issue solved, I can't understand, maybe you can.
6.5.9-1 and recovery also works fine.
Likely a new kernel was installed and therefore your initrds were rebuilt for you.

As mrmazda and pretty much every source of documentation says for TW, use zypper dup with Tumbleweed.

Quote:
I deleted root=UUID=... from grub and also booted OK. I wish I had done this before.
Leave that alone, it's there for a reason.

Last edited by goumba; 12-11-2023 at 11:54 PM.
 
Old 12-12-2023, 07:59 AM   #60
lattimro
Member
 
Registered: Jul 2021
Distribution: SOLARIS/BSD-like, some Debian-like, some Arch-like, some GENTO-like, some RH-like, some slacky-like
Posts: 386

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by goumba View Post
Likely a new kernel was installed and therefore your initrds were rebuilt for you.

As mrmazda and pretty much every source of documentation says for TW, use zypper dup with Tumbleweed.



Leave that alone, it's there for a reason.
I just wanted to replicate the initial issue with booting because so far we do not know why the root partition "was not found". I expected you can explain why was able to boot without that line I temporarily removed for testing purpose.

Last edited by lattimro; 12-13-2023 at 11:26 AM.
 
  


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
[SOLVED] dracut disk /dev/disk/by-uuid/blah missing when its not rustyz82 Linux - Software 7 12-20-2017 05:50 PM
[SOLVED] /dev/disk/by-uuid/<uuid here> does not exist and initramfs shell Mitt Green Linux - Kernel 4 08-03-2015 11:56 AM
[SOLVED] How to mount by-uuid if the device won't show in /dev/disk/by-uuid untill after blkid /dev/sd* ? masmddr Linux - General 4 01-10-2011 07:38 PM
Volume has problems including no uuid in /dev/disk/by-uuid abejarano Linux - Hardware 3 12-31-2008 08:41 PM
/dev/disk/by-uuid on install disk? randomsel Slackware 6 06-29-2008 08:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 09:06 AM.

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