Nach eine reparatur von Windows Sieben oder eine reinstallation von irgendwelches Microsoft Windows wird die Grub entfernt
Mit gparted Live CD starten oder irgendwelches Live CD GNU/Linux Betriebsystem, daß RAID automatisch erkennt und einbindet... sonst ist ein bisschen mehr an Befehle zum einbinden von dem mapper
Einmal alles erkannt und bereit
Hier ist die root-Partition 7 und die boot-Partition 2 (nicht im root-Partition... benutz eine eigene Partition)
Der Partition Manager gparted starten
Die Partitionen erkennen im richtigen Laufwerk und sicher sein, daß die passende Partitionen gewählt werden
Eine root terminal starten
Im Ubuntu [Alt + F2] und eingeben:
gnome-terminal
Dann die folgende Befehle eingeben und Eingabe Taste hinzudrücken
sudo mount /dev/mapper/nvidia_edabbdgc7 /mnt
sudo mount /dev/mapper/nvidia_edabbdgc2 /mnt/boot
Dann wird Grub2 auf die Master Boot Record des Laufwerks re-installiert (nicht auf irgendwelche Partition, deswegen auf boot- oder root-Partition nicht empfehlenswert)
sudo grub-install --root-directory=/mnt /dev/mapper/nvidia_edabbdgc
reboot
Nach dem Neustart hat man wieder das Menü mit den verschiedenen Betriebsysteme und zusätzliche Anwendungen
Falls die Windowsinstallationen nicht erkannt wurden:
Im Linux wieder ein TerminalFenster öffnen und
sudo update-grub
eingeben.
Empfehlenswert ist eine Aktualisierung des Betriebsystems
Der Befeht dafür (ubuntu):
sudo do-release-upgrade
et voilà, Genosse!
====================
Repair grub
The legacy grub (0.97) was used by older versions of Linux.
Ubuntu is now
using grub2. Ubuntu 11.04 is grub2 (1.99)
Ubuntu 10.04 user grub2
1.97
Error 15 is from grub legacy and is usually a conflict between grub & grub2.
How to restore the Ubuntu/XP/Vista/7 bootloader (Updated for Ubuntu 9.10)
http://ubuntuforums.org/showthread.php?t=1014708
Reinstall grub2 - Short version & full chroot version
https://help.ubuntu.com/community/Gr...ing%20GRUB%202
Grub2 info & full chroot version - see METHOD 3 - CHROOT:
https://wiki.ubuntu.com/Grub2#Recove...20via%20LiveCD
http://bootinfoscript.sourceforge.net/
Error 15 is from grub legacy and is usually a conflict between grub & grub2.
How to restore the Ubuntu/XP/Vista/7 bootloader (Updated for Ubuntu 9.10)
http://ubuntuforums.org/showthread.php?t=1014708
Reinstall grub2 - Short version & full chroot version
https://help.ubuntu.com/community/Gr...ing%20GRUB%202
Grub2 info & full chroot version - see METHOD 3 - CHROOT:
https://wiki.ubuntu.com/Grub2#Recove...20via%20LiveCD
http://bootinfoscript.sourceforge.net/
__________________
No RAID
For those who are having a dual (triple or quad) boot system in your computer, chances are, your bootloader might break when you update one OS to a newer version. If you are using Ubuntu (with the new Grub 2 bootloader) and you installed Windows. The Windows bootloader will erase your Grub 2 and you won’t be able to boot in your Ubuntu. As such, you will need to restore your bootloader to Grub 2.
Note: If you are still using the Grub legacy, check out this post to restore your Grub.
Requirement: Ubuntu (Karmic or Lucid) LiveCD (download it from Ubuntu.com)
Start your computer and boot into your Ubuntu LiveCD.
The first thing that we need to do is to mount your existing Ubuntu partition. If you already know your partition number (of the form sda1, sdb2 etc), you can easily mount using the following command:
If however, you have completely no idea of your partition number, launch GParted (System -> Administration -> gParted). Locate your Ubuntu partition and record down the partition number.
If you are are using different partitions for the root and the home folder, make sure you record the root partition instead of the home.
Close the GParted. Open a terminal and type in the following command:
Next, all you need to do is to reinstall Grub 2 with the following command:
Reboot.
You should be able to boot into your Ubuntu now.
Run the following to update your Grub 2 to include the bootloader of Windows (or other OS).
You should be able to boot into your Ubuntu and Windows (or other OS) now.
No RAID
For those who are having a dual (triple or quad) boot system in your computer, chances are, your bootloader might break when you update one OS to a newer version. If you are using Ubuntu (with the new Grub 2 bootloader) and you installed Windows. The Windows bootloader will erase your Grub 2 and you won’t be able to boot in your Ubuntu. As such, you will need to restore your bootloader to Grub 2.
Note: If you are still using the Grub legacy, check out this post to restore your Grub.
Requirement: Ubuntu (Karmic or Lucid) LiveCD (download it from Ubuntu.com)
Start your computer and boot into your Ubuntu LiveCD.
The first thing that we need to do is to mount your existing Ubuntu partition. If you already know your partition number (of the form sda1, sdb2 etc), you can easily mount using the following command:
sudo mount /dev/sda1 /mnt #replace sda1 with your partition number
If you are are using different partitions for the root and the home folder, make sure you record the root partition instead of the home.
Close the GParted. Open a terminal and type in the following command:
sudo mount /dev/sda1 /mnt #replace sda1 with your root partition number
sudo grub-install --root-directory=/mnt/ /dev/sdX #replace the X in sdX with your partition alphabet
You should be able to boot into your Ubuntu now.
Run the following to update your Grub 2 to include the bootloader of Windows (or other OS).
sudo update-grub
No comments:
Post a Comment