jf: Add dual booting support