Carlos E. R. composed on 2016-11-13 03:53 (UTC+0100):
Felix Miata wrote:
Will it boot if you try to load the new kernel and initrd directly from 13.1's Grub instead of chainloading?
title openSUSE TW default kernel on sda9 root (hd0,8) kernel /boot/vmlinuz showopts root=/dev/sda9 splash=0 initrd /boot/initrd
Good idea. So I added the entry and rebooted. Fails:
Error 17: Cannot mount selected partition
17 : Cannot mount selected partition This error is returned if the partition requested exists, but the filesystem type cannot be recognized by GRUB.
Maybe XFS is not supported? I thought it was.
I guess not. If you need it booted before reinstalling to EXT4, or whatever else it takes, you could copy the kernel and initrd to a supported partition and use Grub to load the copies. On host gx62b I created a new XFS partition, rsync'd its 42.2 installation to it, updated target's fstab, grub.conf and menu.lst, created master partition boot entries for direct, configfile and chainload, and tried booting it from whatever grub package was created 2012-07-16 and installed on the host's master boot partition. I'm guessing it's 12.2RC1 or 2. Interesting difference in space usage for identical 5600.8 MiB partition sizes: /dev/sda27 5655815 4057708 1311350 76% /disks/s422 (EXT3) /dev/sda30 5724932 4274664 1450268 75% /mnt (XFS) Booting loading directly from Grub failed, initializing, but dumping at emergency shell unable to mount /sysroot. I guessed initrd needed XFS support that wouldn't have been included, since xfsprogs was not installed, so via chroot I installed it, rebuilt initrd and tried again. Success (with root=LABEL=30xfstst on cmdline). From there I ran grub 0.97-208.3 setup on sda30, without noticing anything that looked like an unexpected error message (I'm used to seeing 2 "embed...failed...this is not fatal" messages from every setup command), then rebooted to try chainloading. That dumped me back at the text version of the master Grub boot menu, but configfile works as expected. I upgraded my master grub to 13.1's, but chainloading to the XFS from it still doesn't work. Instead of dumping me back to the master's text menu, I get a grub> prompt. :-p Worse, loading directly as previously no longer works, dumping me back to the master grub text menu. Same with configfile. Trying directly via the text menu instead of gfxboot, I get the Error 17: Cannot mount selected partition you got. :-( Looks like trying to setup Grub on sda30 from 13.1 destroyed it. Nothing seems to be able to find any filesystem on it. blkid simply says /dev/sda30: PTTYPE="dos". Too bad I didn't see Andrei's replies first. :-p But, it was only a test. Not sure the lesson here. At least its original 42.2 and 13.1 still work as expected. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org