Originariamente inviato da Mizar
Ecco cos'è successo:
root@ubuntu:/home/ubuntu# mkdir /mnt/linux
; hai creato una dir
root@ubuntu:/home/ubuntu# mount -t auto /dev/sda2 /mnt/linux
; hai montato la partizione 2 del disco /dev/sda su quella dir
root@ubuntu:/home/ubuntu# chroot /mnt/linux
; hai provato a cambiare root utilizzando la nuova dir appena montata, ma il comando si è lamentato dell'assenza dell'interprete bash (/bin/bash) nella directory che gli hai fornito come nuova root..
chroot: cannot run command `/bin/bash': No such file or directory
...
root@ubuntu:/home/ubuntu# grub-install
; hai provato ad installare grub ma non hai fornito la device di destinazione (/dev/sda) ..
install_device not specified.
Usage: grub-install [OPTION] install_device
Install GRUB on your drive.
-h, --help print this message and exit
-v, --version print the version information and exit
--root-directory=DIR install GRUB images under the directory DIR
instead of the root directory
--grub-shell=FILE use FILE as the grub shell
--no-floppy do not probe any floppy drive
--force-lba force GRUB to use LBA mode even for a buggy
BIOS
--recheck probe a device map even if it already exists
INSTALL_DEVICE can be a GRUB device name or a system device filename.
grub-install copies GRUB images into the DIR/boot directory specfied by
--root-directory, and uses the grub shell to install grub into the boot
sector.
************************
Ho provato ad installare grub nonstante l'errore al comando precedente.
Non ho ben capito se me lo ha installato comunque anche se non ho specificato la destinazione (che poi qual'è?).
Scusate la niubbosità, ma brancolo nel buio.