bugGNU GRUB - Bugs: bug #50364, Can't load kernel or initd from lvm

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #50364: Can't load kernel or initd from lvm

Submitted by:  Nadal Gonzalo García Zavala <cactus>
Submitted on:  Tue 21 Feb 2017 08:20:12 AM UTC  
 
Category: ConfigurationSeverity: Major
Priority: 5 - NormalItem Group: None
Status: InvalidPrivacy: Public
Assigned to: NoneOriginator Name: Nadal Gonzalo García Zavala
Open/Closed: ClosedRelease: 
Release: 2.02~beta1Reproducibility: None
Planned Release: None

(Jump to the original submission Jump to the original submission)

Fri 03 Mar 2017 08:00:31 AM UTC, comment #6:

*vmlinux -> vmlinuz

Nadal Gonzalo García Zavala <cactus>
Fri 03 Mar 2017 07:59:49 AM UTC, comment #5:

Hi
I was trying to load vmlinuz instead of vmlinux. I solved it by renaming the files vmlinuz -> vmlinuz.

Now it appears under "Location of files loaded by Grub".

Sorry for the wasted time and effort.

Thanks.

Nadal Gonzalo García Zavala <cactus>
Tue 28 Feb 2017 07:22:27 PM UTC, comment #4:

Note that vmlinuz is also missing in "Location of files loaded by Grub"; so it does not look like grub problem. Any chance there is some hidden character in file name? What "ls -b /boot" shows?

Andrei Borzenkov <arvidjaar>
Project Member
Tue 28 Feb 2017 06:42:32 PM UTC, comment #3:

I can't reproduce it. As you are apparently using legacy BIOS boot, could you run https://github.com/arvidjaar/bootinfoscript and attach RESULTS.txt?

Andrei Borzenkov <arvidjaar>
Project Member
Tue 28 Feb 2017 03:46:11 PM UTC, comment #2:

Tested again with 892dfbe113d08c18e51d7c27eee5094f3da530ec. Same results.

Nadal Gonzalo García Zavala <cactus>
Tue 21 Feb 2017 12:10:32 PM UTC, comment #1:

Please test with current git or at least 2.02~rc1.

Andrei Borzenkov <arvidjaar>
Project Member
Tue 21 Feb 2017 08:20:12 AM UTC, original submission:

Hi.

The version i am really using is 2.02~beta2

I'm trying to load initrd and vmlinuz from (lvm/NetCactus-Boot)

What i expect: the next menuentry working

menuentry 'Exherbo GNU/Linux' {
insmod gzio
insmod part_msdos
insmod ext2
set root='lvm/NetCactus-Boot'
linux /vmlinuz
initrd /initrd
}

What i get:

error: file '/vmlinuz' not found

What i tried:

- Put directly (lvm/NetCactus-Boot)/vmlinuz
- Put directly lvm/NetCactus-Boot/vmlinuz
- set root=(lvm/NetCactus-Boot)

If i go to command line through Ctrl+C and i do

ls /

or

ls (lvm/NetCactus-Boot)

the files are successfuly listed.

And if i do

linux (lvm/NetCactus-Boot)/vmlinuz

i can boot.

Thanks.

Nadal Gonzalo García Zavala <cactus>

 

Attached Files
file #39851:  RESULTS.txt added by cactus (10KiB - text/plain - RESULTS.txt)
file #39803:  grub.cfg added by cactus (3KiB - application/octet-stream - grub.cfg)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by arvidjaar (Posted a comment)
  • -unavailable- added by cactus (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 03 Mar 2017 09:24:12 AM UTCarvidjaarStatusNone=>Invalid
      Open/ClosedOpen=>Closed
    Tue 28 Feb 2017 07:08:27 PM UTCcactusAttached File-=>Added RESULTS.txt, #39851
    Tue 21 Feb 2017 08:35:08 AM UTCcactusAttached File-=>Added grub.cfg, #39803

    Back to the top


    Powered by Savane 3.1-cleanup1