Article 52WMN Issues with booting Xubuntu from Squashfs

Issues with booting Xubuntu from Squashfs

by
xcynthos
from LinuxQuestions.org on (#52WMN)
Hi there!

Currently I am trying to create a live-bootable custom squashfs filesystem based on xubuntu.
Bootloader is GRUB-legacy.

While boot I am facing the problem, that GRUB finds the right initramfs but while boot-process it cannot find the root-filesystem which is in the squashfs on the same USB-stick.

I have tried rebuilding initramfs with the root parameter to set the root-fs but it cannot find the partition (tried with UUID, /dev/sdxX, and (hd0,msdos1)).

I have tried building the squashfs on Xubuntu same version as in the squashfs.

Grub config as follows:
Code:et default=0
set timeout=10
insmod all_video
insmod ext2
insmod search_fs_uuid
search --no-floppy --set=isopart --fs-uuid $rootuid
menuentry "boot" --class xubuntu --class gnu-linux --class gnu --class os --unrestricted {
linux /live/vmlinuz
initrd /live/initrd.img
}Trying to do Code:linux /live/vmlinuz root=UUID=$rootuid was not successful.

Do you guys have any idea what to do?

Thank you and best regards.latest?d=yIl2AUoC8zA latest?i=3igQQny8SlY:3D0XupP6k90:F7zBnMy latest?i=3igQQny8SlY:3D0XupP6k90:V_sGLiP latest?d=qj6IDK7rITs latest?i=3igQQny8SlY:3D0XupP6k90:gIN9vFw3igQQny8SlY
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments