Hallo alle miteinander,
Ich habe meine Festplatte mit Linux (Clark Connect) mit dem Programm Acronis True Image auf eine gleiche Festplatte geklont.
Wenn ich dann die neue Festplatte anschliesse startet mein Rechner nicht,
es steht nur "Grub" da.
Was könnte da schief gegangen sein?
Wie kann ich Linux reparieren das es wieder bootet.
Kennt Ihr ein Tool das das Klonen von Linux besser beherrscht, so das dieser komplett übernommen wird und bootet.
Ich bräuchte nämlich eine 1 zu 1 Kopie zum Testen.
Danke für eure Hilfe
Mike
Linux 14.990 Themen, 106.474 Beiträge
Ich habe noch nie Acronis True Image verwendet, aber wenn dieses Programm den MBR nicht mit sichert, dann fehlt die Partitionstabelle, der First Bootloader von grub und es kann sein das die Dateien aus dem Verzeichnis /boot/grub fehlen. Die Menüs für grub sind in der Datei /boot/grub/menu.lst gespeichert (Debian / Ubuntu).
Liegt das Verzeichnis /boot auf einer eigenen Partition ?
Wenn ja, hast du die /boot Partition zurückkopiert ?
Du kannst grub noch mal neu in den MBR installieren, in dem du grub von einer aktuellen Live CD (ich nutze immer Knoppix dafür) startest. Wenn die Dateien in /boot noch verfügbar sind, kannst du so grub noch mal neu in den MBR installieren.
/boot# ls -l
insgesamt 2600
drwxr-xr-x 2 root root 4096 2008-09-22 09:53 grub
-rw-r--r-- 1 root root 94356 2005-02-02 23:41 memtest86.bin
-rw-r--r-- 1 root root 94760 2005-10-05 21:57 memtest86+.bin
-rw-r--r-- 1 root root 660357 2008-08-22 11:22 System.map-2.6.18-22etch2-K6
-rw-r--r-- 1 root root 1779178 2008-08-22 11:22 vmlinuz-2.6.18-22etch2-K6
/boot/grub# ls -l
insgesamt 192
-rw-r--r-- 1 root root 197 2007-09-22 22:35 default
-rw-r--r-- 1 root root 15 2007-09-22 22:35 device.map
-rw-r--r-- 1 root root 7584 2007-09-22 22:35 e2fs_stage1_5
-rw-r--r-- 1 root root 7424 2007-09-22 22:35 fat_stage1_5
-rw-r--r-- 1 root root 8192 2007-09-22 22:35 jfs_stage1_5
-rw-r--r-- 1 root root 3971 2008-09-22 09:53 menu.lst
-rw-r--r-- 1 root root 4264 2008-09-22 09:52 menu.lst~
-rw-r--r-- 1 root root 6848 2007-09-22 22:35 minix_stage1_5
-rw-r--r-- 1 root root 9280 2007-09-22 22:35 reiserfs_stage1_5
-rw-r--r-- 1 root root 512 2007-09-22 22:35 stage1
-rw-r--r-- 1 root root 108360 2007-09-22 22:35 stage2
-rw-r--r-- 1 root root 8904 2007-09-22 22:35 xfs_stage1_5
http://www.gnu.org/software/grub/manual/
http://www.gnu.org/software/grub/manual/grub.html#Installing-GRUB-natively
"3.2 Installing GRUB natively
Caution: Installing GRUB's stage1 in this manner will erase the normal boot-sector used by an OS.
GRUB can currently boot GNU Mach, Linux, FreeBSD, NetBSD, and OpenBSD directly, so using it on a boot sector (the first sector of a partition) should be okay. But generally, it would be a good idea to back up the first sector of the partition on which you are installing GRUB's stage1. This isn't as important if you are installing GRUB on the first sector of a hard disk, since it's easy to reinitialize it (e.g. by running `FDISK /MBR' from DOS).
If you decide to install GRUB in the native environment, which is definitely desirable, you'll need to create a GRUB boot disk, and reboot your computer with it. Otherwise, see Installing GRUB using grub-install.
Once started, GRUB will show the command-line interface (see Command-line interface). First, set the GRUB's root device4 to the partition containing the boot directory, like this:
grub> root (hd0,0)
If you are not sure which partition actually holds this directory, use the command find (see find), like this:
grub> find /boot/grub/stage1
This will search for the file name /boot/grub/stage1 and show the devices which contain the file.
Once you've set the root device correctly, run the command setup (see setup):
grub> setup (hd0)
This command will install the GRUB boot loader on the Master Boot Record (MBR) of the first drive. If you want to put GRUB into the boot sector of a partition instead of putting it in the MBR, specify the partition into which you want to install GRUB:
grub> setup (hd0,0)
If you install GRUB into a partition or a drive other than the first one, you must chain-load GRUB from another boot loader. Refer to the manual for the boot loader to know how to chain-load GRUB.
After using the setup command, you will boot into GRUB without the GRUB floppy. See the chapter Booting to find out how to boot your operating systems from GRUB. "
