Jun 23 2009

GRUB sull’altro hdGRUB on the other hd

Posted by Francesco in GNU/Linux, Howto, Tips&Tricks

Oggi ho riorganizzato un po’ il mio PC.

Il mio hp ha due hard disk da 160 gb, ho scelto di dedicarne uno a Vista+XP (purtroppo ogni tanto sono costretto ad usare windows) ed uno a GNU/Linux.

Da utonto ho optato per Ubuntu: la uso da tempo e l’ultima versione funziona egregiamente out-of-the-box.

Installata in una manciata di minuti (installazione da pendrive, ne parlerò nel prossimo articolo), procedo al riavvio.

Sgradevole sorpresa: grub non c’é! L’installer l’ha messo sull’mbr dell’hd secondario, come spostarlo?

Per foruna, l’operazione è semplicissima!

  1. Avviamo la distro in modalità live
  2. da terminale:
    sudo grub-install --root-directory=/media/disk/boot /dev/sda
    dove /media/disk è la mia partizione di sistema (quella da avviare, che contiene la sottodirectory boot)

    /dev/sda è invece il disco rigido primario.

  3. Riavviamo ed ecco il nostro GRUB!

Today I reinstalled Ubuntu on my computer.

I have a laptop with two hard-disks, so I decided to install Windows on the primary hd and GNU/Linux on the second one.

About 25 minutes and “installation completed”, but grub isn’t there! Why?

The installer puts GRUB on the mbr of the disk in which you’re installing Ubuntu (the second one in my case)

To boot GNU/Linux I need to put GRUB on the primary hd: let’s see how!

  1. Boot your live distro from its cd or pendrive
  2. Open the terminal and write this command sudo grub-install --root-directory=/media/disk /dev/sda
    where /media/disk is the system partition (the folder with the “boot” subdirectory) and /dev/sda is the primary disk.
  3. Now reboot the system, our beloved GRUB is here!

Aug 14 2008

Che bel video!

Posted by Francesco in GNU/Linux, Questione di libertà

Oggi, girovagando per la rete ho ritrovato un bel video, ormai un po’ datato, ma veramente divertente e ben fatto, eccolo:


Cosa ne pensate?Vi è piaciuto?