Mon Mar 11, 2013 6:43 pm
I'll take a look at the patch. It might be worth doing that. Right now, if you want to make an encrypted, rw home, you have to drop to console, log in as root, and run another script. And if you want to use the uuid number for lukshome in cmdline, you have to plug the stick into a running system to edit the boot menu
Tue Mar 12, 2013 3:30 am
rsync -av "$image_mountpoint"/ "$usb_mountpoint"
mv $usb_mountpoint/isolinux $usb_mountpoint/syslinux
# no need to rename isolinux.bin.. syslinux doesn't use it
mv $usb_mountpoint/syslinux/isolinux.cfg $usb_mountpoint/syslinux/syslinux.cfg
for i in $(ls $usb_mountpoint/syslinux|grep .cfg); do
# it's only 3 files
sed -i "s:isolinux:syslinux:"g $usb_mountpoint/syslinux/$i
done
Tue Mar 12, 2013 5:39 pm
Tue Mar 12, 2013 6:54 pm
When I plugged in the stick afterward to edit the boot menu, all the files in /syslinux were read-only
I don't really want to get into unsquashing
Tue Mar 12, 2013 11:08 pm
# Rename isolinux to syslinux
isolinux2syslinux () {
if [[ -d $usb_mountpoint/syslinux.old ]] ; then
rm -rf $usb_mountpoint/syslinux
else
mv $usb_mountpoint/syslinux $usb_mountpoint/syslinux.old
fi
mv $usb_mountpoint/isolinux $usb_mountpoint/syslinux
# no need to rename isolinux.bin.. syslinux doesn't use it
mv $usb_mountpoint/syslinux/isolinux.cfg $usb_mountpoint/syslinux/syslinux.cfg
for i in $usb_mountpoint/syslinux/*.cfg ; do
sed -i "s:isolinux:syslinux:"g "$i"
done
}
Wed Mar 13, 2013 1:35 pm
rsync -av --chmod=+w "$image_mountpoint"/ "$usb_mountpoint"
Thu Mar 14, 2013 4:22 pm
Thu Mar 14, 2013 9:37 pm
~$ cat /proc/mounts
#(snip)
/dev/sdb1 /media/sdb1 vfat rw,nosuid,nodev,noexec,relatime,uid=1000,gid=1000,fmask=0177,dmask=0077,codepage=cp437,iocharset=iso8859-1,shortname=mixed,quiet,utf8,errors=remount-ro 0 0
Thu Mar 14, 2013 10:57 pm
Thu Mar 14, 2013 11:53 pm
Have you heard any talk of newer versions of live-* packages moving into wheezy?