Вы пробовали update-grub2
?
Теперь я не могу понять, что произошло, ведь UUID диска/раздела должен остаться прежним даже после замены mb?
Но новый mobo мог прописать hdds по-другому, так что теперь невозможно запустить даже GRUB.
Я установил guile
и смог заставить его выполнять код четырьмя способами:
$ guile <<< "(+ 1 1)"
GNU Guile 2.0.9
Copyright (C) 1995-2013 Free Software Foundation, Inc.
Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.
Enter `,help' for help.
$1 = 2
$
$ echo "(+ 1 1)" | guile
GNU Guile 2.0.9
Copyright (C) 1995-2013 Free Software Foundation, Inc.
Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.
Enter `,help' for help.
$1 = 2
scheme@(guile-user)>
$
$ echo "(+ 1 1)" > guile.script
$ guile < guile.script
GNU Guile 2.0.9
Copyright (C) 1995-2013 Free Software Foundation, Inc.
Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.
Enter `,help' for help.
$1 = 2
$
Спасибо GAD3R за этот:
$ guile -c "(display (+ 1 1)) (newline)"
2
$
Во всех случаях я возвращаюсь к исходному приглашению оболочки (на что указывают голые строки $
).