Pages

Monday 29 November 2010

Restore Linux (Ubuntu 10.04) MBR after Windows installation/重灌暈到死後復原Linux開機

Restore Linux (Ubuntu 10.04) MBR after Windows installation/重灌暈到死後復原Linux開機

  1. Boot with Ubuntu LiveCD
  2. Mount the partition containing /boot to a directory. For example:
    sudo mount /dev/sda6 /mnt
  3. Reinstall grub:
    sudo grub-install --root-directory=/mnt/ /dev/sda

  1. 用烏邦托安裝光碟開機
  2. 把含有 /boot 的分區掛載到一個檔案夾。比方說:
    sudo mount /dev/sda6 /mnt
  3. 重裝grub:
    sudo grub-install --root-directory=/mnt/ /dev/sda
free counters

No comments:

Post a Comment

Related Posts with Thumbnails

Popular Posts (All Time)/滿堂紅

Popular Posts (7 Days)/七日紅