On 2014-04-22 16:13 (GMT+0200) jdd composed:
I wonder how I can regain grub boot?
The Grub man page explains. (not to be confused with Grub2, which I do not use, and IIRC was not 12.1's default bootloader)
is it possible to install grub from an other running distro (certainly not the same version) or may I have to boot a rescue disk and chroot into the reconstructed disk?
Chroot is one way. When you want to run a script, you need the environment that provides access to it. But, installation of Grub does not require any script, or necessarily even mounting of the target. Here's the procedure I use to put a brand new or wiped disk into use: 1-boot something providing the ability to create partitions (I boot either DOS or Knoppix from removable media, and use a non-FOSS cross-platform partitioner called "DFSee") 2-create all partitions that will be required in foreseeable future 3-copy standard DOS/BIOS code to MBR 4-set boot flag appropriate to plans 5-reboot, either Win installation disk to install Windows, or Knoppix CD or DVD to prepare for Linux installation 6-for Linux, create require filesystem(s) and swap space 7-mount any filesystems that will be home to Grub 8-make a /boot/grub directory and copy Grub's *stage* files to it 9-create a /boot/grub/device.map 10-optionally create a skeleton /boot/grub/menu.lst 11-"install" Grub according to its man page, e.g.: grub> find /boot/grub/stage1 # confirm Grub's files are where they need to be grub> root (hd0,2) # provide Grub the environment it needs to proceed grub> setup (hd0,2) # this the foundation of "installing" Grub For your case, rather than creating all new filesystems, I would most likely have used DFSee to clone from the backup media to the new HD as an integral preparation step at partition creation time, so would not have needed to mount anything to copy Grub's *stage* files or create device.map or menu.lst. If say an original / partition on /dev/sda2 was once cloned to a backup disk as /dev/sdb2, I'd just reverse the process to the new HD, after which only above steps 3, 4 & 11 would be needed. If the "cloning" method had been tar or rsync or cp, the process of restoration would nevertheless still be simpler than needing all 11 steps, since it would include the content of /boot/grub, leaving little more to do than set flag, put MBR code in place, and "install" Grub via setup command from grub> prompt. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org