sebanc / brunch

Boot ChromeOS on x86_64 PC - Supports Intel CPU/GPU from 8th gen or AMD Ryzen
GNU General Public License v3.0
3.72k stars 394 forks source link

error: disk loop,7 not found #2148

Open olevenets2 opened 1 month ago

olevenets2 commented 1 month ago

Hi, i installed the latest Brunch near to Ubuntu 24.04.1 and Windows 11 on a separate partition /dev/nvme0n1p4. I then added the entry suggested by the script to my grub.cfg:

menuentry "Brunch" --class "brunch" { rmmod tpm img_path=/chromeos.img img_uuid=210c3149-04 search --no-floppy --set=root --file $img_path loopback loop $img_path source (loop,12)/efi/boot/settings.cfg if [ -z $verbose ] -o [ $verbose -eq 0 ]; then linux (loop,7)$kernel boot=local noresume noswap loglevel=7 options=$options chromeos_bootsplash=$chromeos_bootsplash $cmdline_params \ cros_secure cros_debug img_uuid=$img_uuid img_path=$img_path \ console= vt.global_cursor_default=0 brunch_bootsplash=$brunch_bootsplash quiet else linux (loop,7)$kernel boot=local noresume noswap loglevel=7 options=$options chromeos_bootsplash=$chromeos_bootsplash $cmdline_params \ cros_secure cros_debug img_uuid=$img_uuid img_path=$img_path fi initrd (loop,7)/lib/firmware/amd-ucode.img (loop,7)/lib/firmware/intel-ucode.img (loop,7)/initramfs.img }

menuentry "Brunch settings" --class "brunch-settings" { rmmod tpm img_path=/chromeos.img img_uuid=210c3149-04 search --no-floppy --set=root --file $img_path loopback loop $img_path source (loop,12)/efi/boot/settings.cfg linux (loop,7)/kernel boot=local noresume noswap loglevel=7 options= chromeos_bootsplash= edit_brunch_config=1 \ cros_secure cros_debug img_uuid=$img_uuid img_path=$img_path initrd (loop,7)/lib/firmware/amd-ucode.img (loop,7)/lib/firmware/intel-ucode.img (loop,7)/initramfs.img }

Unfortunately this doesn't work for me and I get errors when loading Brunch:

error: no such module error: no such device: /chromeos.img error: file ./chromeos.img not found error: disk loop,7 not found error: you need to load the kernel first...

My computer has efi-bios and mbr partition type. Any solutions please? I also tried this a couple of years ago and still got the same error that hasn't been fixed for years