[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Reinstallare GRUB - questo sconosciuto



Il 09/10/2012 10:45, GiancFir ha scritto:
Il 09/10/2012 09:24, masxio ha scritto:
Ho un'installazione di debian 6.0 che conviveva con windows 7 e ubuntu
12.04.
Quindi grub a suo tempo *si* configurò per lanciare tutti e 3 i s.o.
in questione.
Ora ho spostato l'hdd dove è installata debian in un computer dove c'è
solo lei.
*Ma* tutti i tentativi di riconfigurare grub nella speranza rimuovesse
le entry per windows e ubuntu sono falliti.
Qualche buon'anima mi saprebbe indicare il comando giusto?


I am my thoughts... ...and you are not me!



update-grub non ha funzionato? dovrebbe rifare il menu iniziale


dipende dove è grub. update-grub reinstalla grub dove esisteva prima, ma se cambi disco di partenza devi installarla (grub) su quella.

leggi qui:

root@squeeze:/home/valerio# grub-install
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
  --modules=MODULES       pre-load specified modules MODULES
  --boot-directory=DIR    install GRUB images under the directory DIR/grub
                          instead of the /boot/grub directory
  --grub-setup=FILE       use FILE as grub-setup
  --grub-mkimage=FILE     use FILE as grub-mkimage
  --grub-mkrelpath=FILE   use FILE as grub-mkrelpath
  --grub-mkdevicemap=FILE use FILE as grub-mkdevicemap
  --grub-probe=FILE       use FILE as grub-probe
  --no-floppy             do not probe any floppy drive
  --allow-floppy          Make the drive also bootable as floppy
(default for fdX devices). May break on some BIOSes.
  --recheck               probe a device map even if it already exists
  --force                 install even if problems are detected
  --disk-module=MODULE    disk module to use

INSTALL_DEVICE can be a GRUB device name or a system device filename.

grub-install copies GRUB images into /boot/grub, and uses grub-setup
to install grub into the boot sector.


ciao
valerio


Reply to: