Jump to content

[Guida] Ripristinare Linux Grub Boot Loader


principino1984

Recommended Posts

Siccome tutte le volte me ne dimentico...ecco dei semplici passi per ripristinare il boot loader GRUB du ubuntu e kubuntu

 

 

1. Boot from a Live CD, like Ubuntu Live, Knoppix, Mepis, or similar.

 

2. Open a Terminal. Go SuperUser (that is, type "su"). Enter root passwords as necessary.

 

3. Type "grub" which makes a GRUB prompt appear.

 

4. Type "find /boot/grub/stage1". You'll get a response like "(hd0)" or in my case "(hd0,3)". Use whatever your computer spits out for the following lines.

 

5. Type "root (hd0,3)".

 

6. Type "setup (hd0,3)". This is key. Other instructions say to use "(hd0)", and that's fine if you want to write GRUB to the MBR. If you want to write it to your linux root partition, then you want the number after the comma, such as "(hd0,3)".

 

7. Type "quit".

 

8. Restart the system. Remove the bootable CD.

Link to comment
Share on other sites

  • 1 month later...


OK, i tuoi passi sono ottimi, ma purtroppo capita che non funzionino... ad esempio io ieri ho installato win7, il quale ha spippolato l'mbr e non funzionava più un tubo... ho provato con i passi sopra descritti e non ha funzionato... quindi che fare?:muro:

 

non c'è problema!!

C'è Super Grub!!:ave:

 

Super Grub è una iso avviabile con un programma di recupero per il grub, molto ben fatta.. la potete scaricare da qui

basta maserizzalra, inserirla e avviare da cd.. poi seguire i seguenti passi:

 

1) scegliere la lingua italiana e IGNORARE... pardon... LEGGERE ATTENTAMENTE tutto quel che dice fino al primo menù selezionabile..

 

2) Scegliere GNU/Linux tra i sistemi operativi proposti

 

3) Leggere Ancora e al prossimo menu scegliere "Fix Boot of Linux (Grub)"

 

4) Selezionare la partizione Linux che non parte più (nb dovrebbe essere la stessa hdx,y che si diceva sopra)

 

5) Tornare indietro fino alla scelta dell' OS

 

6) Quit

 

7) Reboot you PC

 

8) Togliere il cd di SuperGrub

 

9) Mandate 5 euro per la consulenza al buon DragontearS..:coolsmiley:

 

Potete stare tranquilli che il vostro grub è tornato a funzionare... se nn funziona neanche così.. beh forse la prossima volta che installate windows dovreste evitare di sovrascrivere linux... ;):asd:

 

 

ciao Ciao!!O0

Edited by principino1984
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...