The easiest way is to format it as FAT32 or NTFSand use it as a data disk shared between windows and ubuntu.