Pages

Saturday 25 July 2015

System backup

  • Transfer all the files to the new partition

    rsync -aAXvHS --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found","/data"} /* /mnt/backup/
    
  • Get the UUID for the new partition

    [root@archie /]# blkid /dev/sda2 
    /dev/sda2: UUID="ca2f7146-122f-4746-8725-7aeb4ca792e6" TYPE="ext4" PARTUUID="48c724bf-02"
    
  • Edit mountpoints

    [root@archie /]# vim /etc/fstab
    
  • Edit the new system's boot configuration

    [root@archie /]# vim /mnt/backup/boot/syslinux/syslinux.cfg
    
  • Enter the new system and fix booting

    [root@archie /]# arch-chroot /mnt/backup/
    sh-4.3# syslinux-install_update -i -a -m
    Syslinux BIOS install successful
    Boot Flag Set - /dev/sda2
    Installed MBR (/usr/lib/syslinux/bios/mbr.bin) to /dev/sda
    

Sunday 5 July 2015

Burning Blu Ray Discs

Look at this blog
For mkudffs, see arch: udftools

What I get is

24712708096/25000000000 (98.9%) @0.9x, remaining 1:08 RBU 100.0% UBU  76.6%
24726929408/25000000000 (98.9%) @0.9x, remaining 1:04 RBU 100.0% UBU  79.7%
24741150720/25000000000 (99.0%) @0.9x, remaining 1:01 RBU 100.0% UBU  85.9%
24755372032/25000000000 (99.0%) @0.9x, remaining 0:58 RBU 100.0% UBU  73.4%
:-[ WRITE@LBA=b87400h failed with SK=5h/END OF USER AREA ENCOUNTERED ON THIS TRACK]: Input/output error
:-( write failed: Input/output error
/dev/sr2: flushing cache
/dev/sr2: closing track
/dev/sr2: closing session
:-[ CLOSE SESSION failed with SK=5h/INVALID FIELD IN CDB]: Input/output error
/dev/sr2: reloading tray