[SLOF] Bug: SLOF and booting from grub's core.elf inside ext partition

Frederic Bonnard frediz at linux.vnet.ibm.com
Mon Mar 21 19:51:43 AEDT 2016


Hi
according to Nikunj, the following seems to be a bug.
I tried to make SLOF boot from grub's core.elf within an ext4 partition (GPT
partition table). What I thought and that Nikunj confirmed is that ext4 should be
backward compatible with ext2 which SLOF handles.
But SLOF fails to read the filesystem/device (?)

Here are the details :
---
ubuntu at vm9:~$ sudo parted /dev/sda
GNU Parted 3.2
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p                                                                
Model: QEMU QEMU HARDDISK (scsi)
Disk /dev/sda: 107GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system     Name  Flags
 1      1049kB  8389kB  7340kB                        prep
 2      8389kB  103GB   103GB   ext4
 3      103GB   107GB   4409MB  linux-swap(v1)

ubuntu at vm9:~$ ls /boot/grub/powerpc-ieee1275/core.elf 
/boot/grub/powerpc-ieee1275/core.elf
---

I used the latest SLOF release :
---
QEMU Starting
 Build Date = Mar 18 2016 10:20:04
 FW Version = ubuntu@ release 20160223

...

0 > boot /vdevice/v-scsi at 2000/disk at 8000000000000000:2,\boot\grub\powerpc-ieee1275\core.elf  
Trying to load:  from: /vdevice/v-scsi at 2000/disk at 8000000000000000:2,\boot\grub\powerpc-ieee1275\core.elf ... 
E3405: No such device
Trying to load:  from: /vdevice/v-scsi at 2000/disk at 8000000000000000:2,\boot\grub\powerpc-ieee1275\core.elf ... 
E3405: No such device

E3407: Load failed
 ok
---

Fred



More information about the SLOF mailing list