フォーラム: ヘルプ (スレッド #39108)

cm-x86-14.1-rc1: Unable to set up dual boot on a fedora system (2018-01-14 00:52 by edgarmat #80607)


I'm trying to set up a dual boot on a fedora 26 system. I've created an ext2 partition and the following grub2 configuration:

menuentry "Android-X86" {
insmod part_gpt
insmod ext2

set hint='(hd0,gpt5)'
echo "start search"
search --no-floppy --file --set=root --hint ${hint} /cm-x86-14.1-rc1/system.sfs
echo "search done (${root})"
linux /cm-x86-14.1-rc1/kernel \
DATA=/cm-x86-14.1-rc1/data SRC=/cm-x86-14.1-rc1 \
root=/dev/ram0 ro \
androidboot.selinux=permissive \
initrd /cm-x86-14.1-rc1/initrd.img

The kernel gets load and starts, but I always get a kernel panic:

No filesystem could mount root tried: ext2 ext3 ext4 vfat
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown block (1,0)

And if I replace /dev/ram0 with /dev/sda5, a different message appears about a non-working init.

After creating the partition, I copied the files from cm-x86-14.1-rc1.x86_64.rpm to it. The fedora system uses LVM, but /dev/sda5 isn't part of LVM.

Kind regards, Edgar,