10.11.2015 01:49, Juan R. de Silva пишет:
I've install openSUSE Leap 42.1 on my multiboot Dell Precision M4800.
Leap is installed as follows:
root - Btrfs on /dev/sda9, home - XFS on /dev/sda10 with all default options.
Grub is installed on /dev/sda9.
My current main system is Debian Jessie residing on /dev/sda6 (root) and / dev/sda7 (home).
The first problem to overcome was that running update-grub in Jessie did not pick up openSuse at all. Only after I mounted /dev/sda9, were root of Leap resides, Jessie's update-grub found it.
However, when I try to boot Leap, I am greeted with an infamous error:"File '/boot/vmlinuz-4.1.12-1-default' not found. You need to load kernel first."
So get into grub> prompt. 'ls' shows all devices correctly. 'ls /' shows '@/' as expected. I can see all subvolumes on the partition, but here my luck ends. When I try to list files in @/boot or @/boot/grub2 my grub does not see any files.
I tried to search for grub.cfg, vmlinuz, etc., Jessie's GRUB does not see any files on /dev/sda9 except its subvolumes and folders in them. Yes GRUB does sees all folders but doesn't see any files in them
I've browsed /dev/sda9 when mounted in Jessie and everything seems to be in perfect order, all expected files are in their respected directories.
Have I missed something here? Any help, please?
To support booting from immutable snapshots SUSE modified GRUB2 to use default subvolume. Upstream GRUB always works with full btrfs, starting from filesystem root. I installed test VM with 42.1 yesterday for another reason, and after installation it has default subvolume pointing at @/.snapshots/1/snapshot. Check there from GRUB2 - I am sure you find files you are looking for in /@/.snapshots/1/snapshot/boot. To complicate things even further, SUSE GRUB2 also adds patches to "mount" subvolumes. End effect is, grub.cfg used by openSUSE GRUB2 is not compatible with anything else because upstream GRUB2 will see different filesystem tree than openSUSE GRUB2. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org