domenica 11 gennaio 2009

How to restore Grub after Windows 7 installation

I just installed Windows 7 beta and as usual my Grub installation gone :/ (thanks)
Googling a bit... i read some topics in ubuntuforums.org about this problem and then i decided to make a how to about restoring grub correctly (tested, it works).

1. Boot Ubuntu from a Live cd (i used Ubuntu 7.04 disc, it worked anyway :p )
2. Open a terminal window and put these commands:
sudo grub
root (hd0,0) <---- Here you have to put the partition where your Ubuntu is installed, my Ubuntu partition is sda1 so it's hd0,0 for grub (if sda2, then hd0,1, etc)
setup (hd0) <---- The hard drive where you are installing Grub
quit

Someone at this point talk about changing grub menu list...updating it with Windows 7 option... but it's not needed.
I always had dual-boot with Ubuntu and Windows XP, and the option i used to boot Windows XP this time works for both Windows versions. I explain:
now i've istalled in my HD: Ubuntu, Windows XP and Windows 7. When i wanna boot WinXP or Win7, i just select the usual option (the one called Windows, in my menu.lst) cause it will show me what of two Microsoft's OS i wanna boot :)

Then this is my menu.lst:

title=Windows
rootnoverify (hd0,1)
makeactive
chainloader +1

title Ubuntu 8.10, kernel 2.6.27-11-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.27-11-generic root=UUID=6b957e6b-1539-403f-b322-38e7776f5947 ro quiet splash
initrd /boot/initrd.img-2.6.27-11-generic
quiet

title Ubuntu 8.10, kernel 2.6.27-11-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.27-11-generic root=UUID=6b957e6b-1539-403f-b322-38e7776f5947 ro single
initrd /boot/initrd.img-2.6.27-11-generic

title Ubuntu 8.10, memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin
quiet
Attention, some lines are in multiple rows because the page isn't large enough.

I hope this post will help you :) Tell me if any part isn't easy to understand (i know my english isn't best).

Bye

giovedì 30 ottobre 2008

tcl-tls (non più tcltls) per aMSN su Ubuntu 8.10

Upgradando da Hardy a Intrepid mi sono accorto che in Synaptic il pacchetto tcltls è stato rimosso. Ho notato però l'esistenza di un nuovo pacchetto parecchio simile: tcl-tls
aMSN necessita di questa libreria per connettersi via SSL.
Installate tcl-tls e riavrete aMSN funzionante :)

Questo post è strettamente legato al vecchio Far trovare TLS ad Amsn per l'autenticazione SSL su Ubuntu Gutsy. Perciò se non si capisce questo post, leggetevi anche il vecchio e avrete le idee più chiare!

martedì 12 agosto 2008

Se Firefox 3 non è completamente compatibile con Gmail, Picasa, ecc?

Con Firefox 3 ho avuto il seguente problema quando provavo ad aprire Gmail, Picasa Web, e altri:

Per usare al meglio il servizio Gmail utilizza un browser interamente supportato.

Ho risolto così facendo:
  1. Nella barra dell'indirizzo scrivete about:config e date Invio, così aprirete le impostazioni del vostro browser;
  2. in Filtro scrivete general.useragent
  3. in ognuna delle opzioncine rimaste, premete col destro quelle modificate (in grassetto) e selezionate Azzera.
Questo mi ha tolto il problema nel mio bel browser!

fonte