Sat Feb 09, 2013 4:32 pm
tar -xvzf refracta2usb.tar.gz
cd refracta2usb
bash refracta2usb.sh
dmesg | tail
dd if=/dev/zero of=/dev/sdX bs=512 count=4096
install-mbr /dev/<sdX> (do this if you zeroed the device)
Sat Feb 09, 2013 4:41 pm
cryptsetup luksFormat /dev/sdx2
cryptsetup luksOpen /dev/sdx2 <label>
mke2fs -t ext2 /dev/sdx2
mount /dev/mapper/<label> /mnt
(optional) e2label /dev/mapper/<label> <disk-label>
(slash)etc/init.d/lightdm stop
rsync -av /home/ /mnt/
/sbin/blkid
label with_hooks
menu label Refracta (use hooks)
kernel /live/vmlinuz quiet
append initrd=/live/initrd.img boot=live ip=frommedia union=aufs config=hooks hooks=file:///lib/live/mount/medium/live/hooks/hookscript lukshome=728B-0851728B-0851728B-0851
Sat Feb 09, 2013 7:45 pm
USBDEV=sdb1
USBMOUNTPOINT=/media/refracta-usb
# must exist and iso already mounted
ISOMOUNTPOINT=/media/isomount
pmount $USBDEV $USBMOUNTPOINT
cp -a $ISOMOUNTPOINT/isolinux $USBMOUNTPOINT/syslinux
mv $USBMOUNTPOINT/syslinux/isolinux.cfg $USBMOUNTPOINT/syslinux/syslinux.cfg
# -I stops grep processing binaries
ISOLINUX_REFS=$(grep -Ir isolinux $USBMOUNTPOINT |awk -F ":" '{print $1}')
for i in $ISOLINUX_REFS; do sed -i 's:isolinux:syslinux:'g $i; done
pumount $USBDEV
syslinux -d syslinux /dev/$USBDEV
Sun Feb 10, 2013 8:46 pm
Mon Feb 11, 2013 6:40 pm
root (fd0)
linux /live/vmlinuz boot=live union=aufs
initrd /live/initrd.img
boot
Mon Feb 11, 2013 7:36 pm
Tue Feb 12, 2013 2:54 am
dzz wrote:Must be an ancient machine or a misconfigured bios setting..
Tue Feb 12, 2013 3:59 pm
Mon Mar 11, 2013 5:22 am
install-mbr
ROOT# install-mbr
bash: install-mbr: command not found
ROOT# which install-mbr
ROOT# apt-cache search install-mbr
ROOT# apt-file show install-mbr
ROOT# apt-cache search install mbr
libembryo-dbg - Debugging symbols for libembryo
p7zip-full - 7z and 7za file archivers with high compression ratio
ROOT#
Mon Mar 11, 2013 6:43 am