วันอาทิตย์ที่ 10 พฤศจิกายน พ.ศ. 2556

Boot-Repair

Boot-Repair is a simple tool to repair frequent boot issues you may encounter in Ubuntu like when you can't boot Ubuntu after installing Windows or another Linux distribution, or when you can't boot Windows after installing Ubuntu, or when GRUB is not displayed anymore, some upgrade breaks GRUB, etc.
Boot-Repair lets you fix these issues with a simple click, which (generally reinstalls GRUB and) restores access to the operating systems you had installed before the issue.
Boot-Repair also has advanced options to backup table partitions, backup bootsectors, create a Boot-Info (to get help by email or forum), or change the default repair parameters: configure GRUB, add kernel options (acpi=off ...), purge GRUB, change the default OS, restore a Windows-compatible MBR, repair a broken filesystem, specify the disk where GRUB should be installed, etc.
Boot-Repair is a free software, licensed under GNU-GPL. Boot-Repair should be soon included in Ubuntu official repositories, until then use it at your own risks.
http://pix.toile-libre.org/upload/original/1335260967.png

Getting Boot-Repair

1st option : get a CD including Boot-Repair

The easiest way to use Boot-Repair is to burn one of the following disks and boot on it.
Remark : you can also install the ISO on a live-USB (eg via UnetBootin or LiliUSB or Universal USB Installer).

2nd option : install Boot-Repair in Ubuntu

- choose "Try Ubuntu"
- connect internet
- open a new Terminal, then type:
sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update
- Press Enter.
- Then type:
sudo apt-get install -y boot-repair && (boot-repair &)
- Press Enter

Using Boot-Repair

  • launch Boot-Repair from either :
    • the Dash (the Ubuntu logo at the top-left of the screen)
    • or System->Administration->Boot-Repair menu (Ubuntu 10.04 only)
    • or by typing 'boot-repair' in a terminal
  • Then click the "Recommended repair" button. When repair is finished, note the URL (paste.ubuntu.com/XXXXX) that appeared on a paper, then reboot and check if you recovered access to your OSs.
  • If the repair did not succeed, indicate the URL to people who help you by email or forum.

Advanced options

Warning: the default settings are the ones used by the "Recommended Repair". Changing them may worsen your problem. Don't modify them before creating a BootInfo URL, and asking advice on this thread.
http://pix.toile-libre.org/upload/img/1335263156.png http://pix.toile-libre.org/upload/img/1335263804.png http://pix.toile-libre.org/upload/img/1357337899.png http://pix.toile-libre.org/upload/img/1335263417.png http://pix.toile-libre.org/upload/img/1357348203.png

External Links

วันเสาร์ที่ 9 พฤศจิกายน พ.ศ. 2556

ปรับเวลา windows และ Ubuntu ให้ตรงกัน


time-diff-ubuntu-windows
หลายคนคงเคยเจอปัญหาเรื่องของ เมื่อเราลง ubuntu และ windows เป็นแบบ dual boot จะเกิดปัญหาเรื่องเวลาที่ไม่ตรงกัน ปัญหานี้แก้ได้อย่างไร ผมลองนั่ง search ใน google ก็เจอครับเกิดจากการใช้งาน UTC ทำให้เวลาที่ได้ไม่ตรงกัน การแก้คือการ ปิดการใช้งานส่วนนี้ครับ

1.แก้ไขไฟล์ /etc/default/rcS
sudo gedit /etc/default/rcS
2.แก้ไข้ค่าของ UTC=no
TMPTIME=0
SULOGIN=no
DELAYLOGIN=no
UTC=yes
VERBOSE=no
FSCKFIX=no
RAMRUN=yes
RAMLOCK=yes

3.save และ restart เป็นอันว่าใช้งานได้เลย