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

Submitter:  Nadal Gonzalo García Zavala <cactus>
Submitted:  Tue 21 Feb 2017 08:20:12 AM UTC
   
 
Category:  Configuration Severity:  Major
Priority:  5 - Normal Item Group:  None
Status:  Invalid Privacy:  Public
Assigned to:  None Originator Name:  Nadal Gonzalo García Zavala
Open/Closed:  Closed Release:  2.02~beta1
Release:  Reproducibility:  None
Planned Release:  None

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>
Group 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>
Group 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>
Group 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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

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
  • -email is unavailable- added by arvidjaar (Posted a comment)
  • -email is unavailable- added by cactus (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-03-03 arvidjaar StatusNone Invalid
        Open/ClosedOpen Closed
    2017-02-28 cactus Attached File- Added RESULTS.txt, #39851
    2017-02-21 cactus Attached File- Added grub.cfg, #39803

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code