foxpup wrote:The 2 lines that intrest us are the kernel (linux) line and the init line. They are at the end. A lot of the lines above are about the graphical interface, not important.
The kernel and init line should translate into this for menu.lst:You need to specify the full path from the root of the partition for the kernel and init.Code: Select all
title Ubuntu find --set-root --ignore-floppies /boot/vmlinuz-4.15.0-43-generic kernel /boot/vmlinuz-4.15.0-43-generic root=UUID=02e098cf-29db-44b8-b51c-f96d466019de ro initrd /boot/initrd.img-4.15.0-43-generic
First you have to find the partition, set the root.
I personally prefer searching a file, the kernel or the init, and not the UUID. In case it does not work, you could try it with the uuid anyway, like in the grub2 menuentry.I also wonder whether the root=UUID=.... boot parameter on the kernel line is really necessary. That seems redundant. You could try leaving it out, out of curiosity.Code: Select all
title Ubuntu uuid 02e098cf-29db-44b8-b51c-f96d466019de kernel /boot/vmlinuz-4.15.0-43-generic root=UUID=02e098cf-29db-44b8-b51c-f96d466019de ro initrd /boot/initrd.img-4.15.0-43-generic
I tried this : title Ubuntu 18.04 (sda5)
uuid 02e098cf-29db-44b8-b51c-f96d466019de
kernel /boot/vmlinuz-4.15.0-43-generic root=/dev/sda5 ro
initrd /boot/initrd.img-4.15.0-43-generic
but it does the same thing, it says error 13 I think, unsupported format or something like that