I used to run Liberte Linux off a USB, but I can't seem to make the USB bootable any more.
- Create a MBR type partition table on /dev/sdc
- Create a FAT32 partition /dev/sdc1
- Unzip the
/liberte
directory to /dev/sdc1 - Copy out
/liberte/setup.sh
and unmount - Run
sudo sh setup.sh /dev/sdc1
setup.sh includes the following command, quite near the end
sfdisk -q -A"${devpart}" "${rdev}"
which evaluates to
sfdisk -q -A1 /dev/sdc
which yields this error
sfdisk: invalid option -- '1'
I can't find this exact problem online, but other people are griping that sfdisk's command line arguments have changed.
How do I tweak this to complete installation of the MBR? (Or, how do I install Liberte to a bootable USB using modern tools?)
I've tried unetbootin, but that doesn't work either. I've dried dd
-ing the Liberte iso as-is but that isn't bootable. Please don't reccommend an alternative OS, I want to make this work.