Results 1 to 6 of 6

Thread: What is this mkinitrd warning message?

  1. #1
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default What is this mkinitrd warning message?


    Code:
    
    > minas-tirith:~ # mkinitrd
    >
    > Kernel image:   /boot/vmlinuz-3.0.80-52-desktop
    > Initrd image:   /boot/initrd-3.0.80-52-desktop
    > KMS drivers:     i915
    > Root device:    /dev/disk/by-id/ata-ST9500325AS_5VEWWGEY-part7 (/dev/sda7) (mounted on / as ext4)
    > Resume device:  /dev/disk/by-label/Swap (/dev/sda5)
    > Kernel Modules: thermal_sys thermal processor fan crc16 jbd2 ext4 video button i2c-algo-bit drm drm_kms_helper i915
    > Features:       kms block usb resume.userspace resume.kernel
    > Bootsplash:     openSUSE (1024x768), openSUSE (1366x768)
    > 50932 blocks
    >
    > Kernel image:   /boot/vmlinuz-3.0.93-66-desktop
    > Initrd image:   /boot/initrd-3.0.93-66-desktop
    > KMS drivers:     i915
    > Root device:    /dev/disk/by-id/ata-ST9500325AS_5VEWWGEY-part7 (/dev/sda7) (mounted on / as ext4)
    > Resume device:  /dev/disk/by-label/Swap (/dev/sda5)
    > Kernel Modules: thermal_sys thermal processor fan crc16 jbd2 ext4 video button i2c-algo-bit drm drm_kms_helper i915
    > Features:       kms block usb resume.userspace resume.kernel
    > Bootsplash:     openSUSE (1024x768), openSUSE (1366x768)
    > 50934 blocks
    > Perl-Bootloader: 2014-01-06 00:43:00 WARNING: GRUB::GrubDev2UnixDev: No partition found for /dev/disk/by-id/ata-ST9500325AS_5WEWWGEY with 6.
    > Perl-Bootloader: 2014-01-06 00:43:00 WARNING: GRUB::GrubDev2UnixDev: No partition found for /dev/disk/by-id/ata-ST9500325AS_5WEWWGEY with 6.
    > Perl-Bootloader: 2014-01-06 00:43:00 WARNING: GRUB::GrubDev2UnixDev: No partition found for /dev/disk/by-id/ata-ST9500325AS_5WEWWGEY with 6.
    > Perl-Bootloader: 2014-01-06 00:43:00 WARNING: GRUB::GrubDev2UnixDev: No partition found for /dev/disk/by-id/ata-ST9500325AS_5WEWWGEY with 6.
    The system is running correctly. In fact, I'm posting from it.

    And those partitions do exist.


    Situation.

    This is an 11.4 openSUSE Evergreen system. Grub is version 1.

    / reiserfs
    /boot ext2
    /home reiserf


    I have reformatted "/" as ext4 (because I intend to upgrade to 13.1). I
    modified fstab to reflect the change, then run mkinitrd so that initrd
    archive also knows about it. The operation has been successful, as the
    system boots.

    I thought the message could be a side effect of using a chrooted system
    to recreate initrd, but the real system also shows it.


    Another possibility could be related that a year ago I had to replace
    the hard disk, cloning the old one into the new one. That operation was
    also a success.

    But perhaps there is somewhere an incorrect partition reference :-?

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4, with Evergreen, x86_64 "Celadon" (Minas Tirith))

  2. #2
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    15,685
    Blog Entries
    3

    Default Re: What is this mkinitrd warning message?

    Quote Originally Posted by robin_listas View Post
    The system is running correctly. In fact, I'm posting from it.
    The warning messages seem to be about partition 6.

    The messages come from rebuilding "grub.cfg", after the "initrd" has been made. They are from probing for other operating systems to add to the grub2 menu. I often see messages which don't seem to cause problems. I'm not sure if I see the same messages that you are seeing -- probably not. In any case, it seems safe to ignore them.
    openSUSE Leap 15.3; KDE Plasma 5.18.6;

  3. #3
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: What is this mkinitrd warning message?

    On 2014-01-06 02:26, nrickert wrote:
    >
    > robin_listas;2614016 Wrote:
    >> The system is running correctly. In fact, I'm posting from it.

    >
    > The warning messages seem to be about partition 6.


    Huh. Well, actually, there were more messages below, I think about every
    partition. I should have kept a copy on a file, I forgot.


    > The messages come from rebuilding "grub.cfg", after the "initrd" has
    > been made. They are from probing for other operating systems to add to
    > the grub2 menu.


    It is grub 1 what is there, not grub2 :-)

    > I often see messages which don't seem to cause
    > problems. I'm not sure if I see the same messages that you are seeing
    > -- probably not. In any case, it seems safe to ignore them.


    In any case, I'm proceeding with the upgrade to 13.1 right now.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.3 x86_64 "Dartmouth" at Telcontar)

  4. #4
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: What is this mkinitrd warning message?

    On 2014-01-06 02:43, Carlos E. R. wrote:
    > On 2014-01-06 02:26, nrickert wrote:


    ....


    > In any case, I'm proceeding with the upgrade to 13.1 right now.


    It popped an error at the very end:

    Code:
    grub> setup --stage2=/boot/grub/stage2 --force-lba (hd0) (hd0,5)
    
    Error 21: Selected disk does not exist
    Something must be wrong on the grub definitions. Perhaps the device map
    file :-? I had a look at it earlier and it seemed correct.

    I'm going to sleep. I'll leave the laptop running till tomorrow, then
    I'll think it over, or perhaps somebody has an idea.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.3 x86_64 "Dartmouth" at Telcontar)

  5. #5
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: What is this mkinitrd warning message?

    On 2014-01-06 03:43, I wrote:

    > Something must be wrong on the grub definitions. Perhaps the device map
    > file :-? I had a look at it earlier and it seemed correct.


    I saw the error. The device.map has:

    (hd1) /dev/disk/by-id/usb-ST350041_8AS_6B5188888888-0:0
    (hd0) /dev/disk/by-id/ata-ST9500325AS_5WEWWGEY

    which I edited by hand earlier, it was pointing to the old disk I
    replaced a year ago (the hd0 entry). I just noticed that it is not
    _5WEWWGEY but _5VEWWGEY

    I must edit it back and retry grub install command.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.3 x86_64 "Dartmouth" at Telcontar)

  6. #6
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: What is this mkinitrd warning message?

    On 2014-01-06 03:53, Carlos E. R. wrote:

    > I must edit it back and retry grub install command.


    Success! Not at the first attempt, though. System booted. Tomorrow,
    more. :-)

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.3 x86_64 "Dartmouth" at Telcontar)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •