Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: disk loop,7 not found #2148

Open
olevenets2 opened this issue Oct 9, 2024 · 0 comments
Open

error: disk loop,7 not found #2148

olevenets2 opened this issue Oct 9, 2024 · 0 comments

Comments

@olevenets2
Copy link

olevenets2 commented Oct 9, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant