Tuesday, February 16, 2016

[Kindle]轉換PDF to 電子書(mobi)-Convert PDF to kindle eBook

使用Kindle看PDF檔案,字的大小無法改變,常會覺得字太小不好看,可以依下列方式將PDF檔案轉換為mobi檔,就可以很舒服在Kindle內看了。

1. 確認PDF內文的文字是可搜尋、選擇的,轉換的效果會比較好
2. 使用Solid Converter軟體(付費軟體)轉換成Word檔(.docx)
3. 使用Calibre 電子書管理軟體轉換為mobi格式

1. Confirm the text could be searched and selected in PDF file.
2. Using Solid Converter to convert PDF file to Word file (.docx)
3. Using Calibre E-Book management to convert docx to mobi format.


Sunday, January 3, 2016

[Solved]grub fail to boot Windows 10 with Ubuntu 15.10/16.04

Grub2雙重開機要進入Windows 10時,出現
error: 無法找到 'grub_efi_find_last_device_path' 符號
or
error: symbol 'grub_efi_find_last_device_path' not found

grub-efi-amd64的版本為2.02~beta2-29ubuntu0.3(Ubuntu15.10) 2.02~beta2-36(Ubuntu16.04)


解決方式
重裝前一版本2.02~beta2-29ubuntu0.2即可正常進入Windows 10
下載2.02~beta2-29ubuntu0.2版本deb檔
https://launchpad.net/ubuntu/wily/amd64/grub-efi-amd64/2.02~beta2-29ubuntu0.2
安裝
dpkg -i grub-common_2.02~beta2-29ubuntu0.2_amd64.deb
dpkg -i grub2-common_2.02~beta2-29ubuntu0.2_amd64.deb                      
dpkg -i grub-efi-amd64-bin_2.02~beta2-29ubuntu0.2_amd64.deb
dpkg -i grub-efi-amd64_2.02~beta2-29ubuntu0.2_amd64.deb
如果不要自動被升級grub,可以執行下列命令

sudo apt-mark hold grub-common grub-efi-amd64-bin grub2-common grub-efi-amd64
解除不升級
sudo apt-mark install grub-common grub-efi-amd64-bin grub2-common grub-efi-amd64

Solution:
Downgrade version of grub-efi-amd64 to 2.02~beta2-29ubuntu0.2
https://launchpad.net/ubuntu/wily/amd64/grub-efi-amd64/2.02~beta2-29ubuntu0.2
Installation:
dpkg -i grub-common_2.02~beta2-29ubuntu0.2_amd64.deb
dpkg -i grub2-common_2.02~beta2-29ubuntu0.2_amd64.deb                      
dpkg -i grub-efi-amd64-bin_2.02~beta2-29ubuntu0.2_amd64.deb
dpkg -i grub-efi-amd64_2.02~beta2-29ubuntu0.2_amd64.deb

disable upgrade grub
sudo apt-mark hold grub-common grub-efi-amd64-bin grub2-common grub-efi-amd64
enable upgrade grub
sudo apt-mark install grub-common grub-efi-amd64-bin grub2-common grub-efi-amd64



package depends on
grub-common_2.02~beta2-29ubuntu0.2_amd64.deb
grub-efi-amd64-bin_2.02~beta2-29ubuntu0.2_amd64.deb
grub2-common_2.02~beta2-29ubuntu0.2_amd64.deb                  
grub-efi-amd64_2.02~beta2-29ubuntu0.2_amd64.deb




reference:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=808366;msg=2
http://askubuntu.com/questions/737105/windows-8-stopped-booting