How to install OpenWrt as a new os in the grub menu?

menuentry "OpenWRT" {
	linux /boot/vmlinuz root=PARTUUID=b3ade79d-02 rootfstype=ext4 rootwait console=tty0 console=ttyS0,115200n8 noinitrd
}
menuentry "OpenWRT (failsafe)" {
	linux /boot/vmlinuz failsafe=true root=PARTUUID=b3ade79d-02 rootfstype=ext4 rootwait console=tty0 console=ttyS0,115200n8 noinitrd
}

the root= value will probably be incorrect, you'll need to adjust it.
And you'll need to redirect the boot to sdb, since it's where you put OpenWRT.

1 Like