網頁

顯示具有 技術---Utility 標籤的文章。 顯示所有文章
顯示具有 技術---Utility 標籤的文章。 顯示所有文章

2018年5月19日 星期六

Systemback --- How to create systemback live system on lubuntu 16.04

Although we can get the upgrade setup of Ubuntu/Lubuntu from Browser Search, we also find out some case will fail if follow these steps. "If we can do the image snapshot or backup before upgrade begin, maybe we have chance to rollback to the initial state.", I think.

Systemback is a good utility that can be used to backup and restore Ubuntu/Lubuntu systems. I will create the complete backup of the live system including user configuration files and data as ISO, and save them in an external hard disk. That is to create the live Ubuntu system as the booted USB or ISO, and boot your system using it in-case of any problems.

It is very simple to install Systemback utility in Ubuntu 16.04 LTS.(#1)
At first, add Systemback PPA by using sudo add-apt-repository ppa:nemh/systemback command.
Next to update the software sources by using sudo apt-get update command
Finally, install Systemback using by sudo apt-get install systemback command

Once the installation is finished, Launch Systemback in Applications-> System Tools-> Systemback and supply the password to key in this dialog box.
The default interface look like as follows:

To click on "Live system create" button and supply the name of (new) live system, replacing "auto". We will set the Working directory (/home)  where you store live image and iso. This directory must be a writable linux filesystem - no fat, exfat, fat32 nor ntfs directories or partitions can be used for storage. If ready, click on "Create new" button to go ahead.
The systemback displays a progress bar

To wait for your Live system creation to finish as the following notification.

After Systemback has finished creating the new live system, we can write the system directly to a pen (USB flash) drive or DVD.

USB drive
Insert a flash drive、 click on the circleback green arrow to refresh it, the "Write target" box will display a flash drive and the "Write to target" Live operation becomes ungrayed and available.
To select a created live image and a target drive next to click on "Write to target".
The dialog box will show up and click on Start to go ahead.
Systemback will writes the selected image to your flash drive and a progress bar is displayed.
Finally, the live system image will success to be write to the Flash drive.

ISO or DVD
We also can create an .iso from the created live image if the .sblive file is not larger than 4 GB (#2). To select a new live image next to click on Convert to ISO.

So do that we can create the entire the system as live bootable ISO and write the ISO to DVD or USB drive next to boot it.

[Reference]:
(#1). systemback version limitation
https://launchpad.net/systemback
This PPA contain the stable version of Systemback.

Currently supported Ubuntu releases:
- 14.04.X LTS
- 15.04
- 15.10
- 16.04.X LTS
- 16.10
* DEVELOPMENT AND SUPPORT ENDED

newer versions of systemback
*https://launchpad.net/~sonicwalker/+archive/ubuntu/sonicos+dev

(#2).Why systemback "Convert to ISO" button is disabled?

This is a file system limitation. If the .sblive file is larger than 4 GB, the conversion to a .iso file is not possible.

How to workaround this problem to generate the ISO manually?
   1. Decompress the .sblive image:
       $ mkdir sblive
       $ tar -xf /home/BeforeUpgradeOS_1.sblive -C sblive
   2. Rename the syslinux to isolinux:
       $ ls -al sblive/syslinux/*.cfg sblive/
       $ mv sblive/syslinux/syslinux.cfg sblive/syslinux/isolinux.cfg
       $ mv sblive/syslinux sblive/isolinux
       $ ls -al sblive/syslinux/*.cfg sblive/

   3. Install mkisofs from https://sourceforge.net/projects/cdrtools/
     3-1.Install the packages via some third party PPA
       $ sudo add-apt-repository ppa:brandonsnider/cdrtools
       $ sudo apt-get update
       $ sudo apt-get install cdrecord mkisofs

     3-2.Install the packages via source compiler
       $ sudo apt install aria2
       $ aria2c -s 10 https://sourceforge.net/projects/cdrtools/files/alpha/cdrtools-3.02a09.tar.gz
       $ tar -xzvf cdrtools-3.02a09.tar.gz
       $ cd cdrtools-3.02
       $ make
       $ sudo make install

   4. Generate the ISO file:
       Normal BIOS Mode
       $ modemkisofs \
          -iso-level 3 -r -V "sblive" -cache-inodes -J -l  \
          -o /media/davidwa/MyBackup/sblive.iso \
          -c isolinux/boot.cat \
          -b isolinux/isolinux.bin \
          -no-emul-boot -boot-load-size 4 -boot-info-table \
          -no-emul-boot \
          sblive
       UEFI Mode
       $ mkisofs \
          -iso-level 3 -r -V "efisblive" -cache-inodes -J -l  \
          -o /media/davidwa/MyBackup/efisblive.iso \
          -c isolinux/boot.cat \
          -b isolinux/isolinux.bin \
          -no-emul-boot -boot-load-size 4 -boot-info-table \
          -eltorito-alt-boot \
          -eltorito-boot boot/grub/efi.img \
          -no-emul-boot \
          sblive
 
   So do that we did make a iso file over than 4GB size

2012年11月17日 星期六

View Outlook PST content

If Exchange System is your mail system in company, I think the client almost install Outlook Application as mail client to send/receive mail from/in Internet or Intranet.
If use Outlook application, the Exchange mode almost is set and mail format define PST file. In general, the PST is Microsoft private format so that just can open it by Outlook.

Whether has alternate method to view Outlook Mail but never open Outlook Application?
By Google, I find out an utility “Kernel Outlook PST Viewer” can help me to finish this target.

Down/Execute it from the Official Web Site and begin to launch the installation wizardScreenHunter_02Click Next > buttonScreenHunter_03In License Agreement page, choose I accept the agreement option next to click Next > buttonScreenHunter_04In Select Destination Location page, click Next > button if we don’t want to change the default path.ScreenHunter_05In Select Start Menu Folder page, click Next > button if we don’t want to change the program’s shortcut.
ScreenHunter_06In Select Additional Tasks page, click Next > button after we decide to create a desktop/quick launch icon or not.
ScreenHunter_07In Ready to Install page, click Install button if we have already confirmed the settings.
ScreenHunter_08When complete installation, select Launch Kernel Outlook PST Viewer check box and click Finish button
ScreenHunter_09Click Browse button for selecting source PST file
ScreenHunter_10Select one PST file from Folder Explorer
ScreenHunter_11In loading PST process…
ScreenHunter_13So do that we can view the PST content now.
ScreenHunter_15Click a folder and one mail so that the content will be viewed now.
ScreenHunter_01

2012年6月21日 星期四

Reinstall or Repair .NET Framework

Recently, my desktop always need to check .NET Framework after logon computer. I don’t understand what happen so that decide to repair it. When I do it, the result always fail.

How to resolve this problem?
To view Installation log and enable “Errors” check box
1CaptureDrag down the scrollbar to bottom, you will see some message mark red block
2.1CaptureBased on “0x80070663” error codes to search it by Google, I find out one KB can help me.
2.2CaptureBecause it have a utility “dotnetfx_cleanup_tool.zip” can be downloaded.
2.3CaptureI download/extract this tool next to execute it, click “Yes” to run the .NET Framework Setup Cleanup Utility.
2.4CaptureClick “Yes” button to accept all of the terms of the preceding License Agreement if you want to execute this utility.
2.5CaptureIn “Product to cleanup” field to select you want to be removed. In the moment, I select “.NET Framework – All Versions (Windows 7)” next to click “Cleanup Now” button.
2.6CaptureProcessing now!
3CaptureClick “Finish” button to end up the Installation if it is successful.
4Capture
If you try to reinstall or repair .NET Framework, it will be done and no any error show up now.

2011年10月10日 星期一

Blogger Backup

Today is Taiwan's holiday so that I don't need to go to Office. This is why I have time to write some articles to upload to my Blogger.

Suddenly, I worry my effort will be lose on one day if this Blogger data fail and no any backup data. Although I just am a new Blogger and the articles are not very much, it is my experience and thought to share or write down on one location for my life memory. It will be unlimited value for me!

Of course, I hope it never happen this disaster forever. But I don't want to depend on the lucky day, I just want to own a safety. So I need to find a method or utility for Blogger Backup. This is why I use Blogger Backup utility.

To download it from Official web site next to install/run it on my windows 7 system.

The first thing is a new Blogs setting by selecting it in menu.

To key in your Blogger ID and password next to click "Log into Blogger and Get Blogs" button.

You will see a new profile setting.

Select it that will show the Blogger information as the following blue word.

Click a button to change the save path.

Select a folder that will be backup location.

If finish the above steps, you can prepare to backup Blogger content.
When you choose "Save posts as Atom, one file per post" and need to sure whether the Blogger web site never is opened now,

The backup result is create more and more file and name is each blogger content.

When you choose "Save posts as Atom, all posts in a single file"

The backup result is just only one XML file.

Although I can do it by using this utility and the result did produce the related XML file,I think that need to be restored for verifying whether this procedure is normal ---- the data can be return to the original one if has any problem in the future.
Since 2010 Design by Davidwa
©Copyright Davidwa Inc. All rights reserved.