I have encountered problems booting both AmigaOS4.1 and Linux with an EXT4 partition on my hard drive so have removed ub2lb as the bootloader and gone back to slb_v2.
ub2lb gets stuck and won't load the boot menu due to the EXT4 partition.
I now boot the kernel from USB thumb drive .
The new Uboot variables set from AmigaOS 4.1 are ( the example is with a root partition as the 8th partion on the hard drive so /dev/sdb8)
Code: Select all
nvsetvar bootargs="console ttys0,115200 console=tty1 root=/dev/sda8"
nvsetvar lb1="ext2load usb 0:3 1000000 uImage-460;ext2load usb 0:3 2000000 sam460.dtb;bootm 1000000 - 2000000"
nvsetvar bootargs_usb="setenv bootargs 'console ttys0,115200 console=tty1 root=/dev/sdb2 rootdelay=10' "
nvsetvar lb2="run bootargs_usb;run lb1"
To get to uboot command prompt quickly at boot hold down the escape key
From the uboot command prompt
To use the hard drive partition /dev/sdb8 as root
To use the usb drive partition /dev/sdb2 as root
The kernel is stored on the /dev/sdb3 partition of the usb thumb drive with the name uImage-460.
The partition type is EXT2 and you have to be root to copy on to this partition from Linux .