Software

[tips] Ripristinare Grub su un sistema dual boot Linux/Windows

A seguito della reinstallazione di Windows in un sistema dual boot, può accadere  che grub venga rimosso e sostituito dal bootloader di Windows. A questo punto, usando una distribuzione Live (Ubuntu per esempio) è possibile ripristintare Grub e il menù di boot originale Linux / Windows.

Una volta avviato il sistema live, aprire un terminale e quindi entrate nella shell di GRUB lanciando il seguente comando:

sudo grub

Nota: In Ubuntu va usato il sudo, in altre distribuzioni occorre assicurarsi di possedere i privilegi di root

Digitare il seguente comando per recuperare la posizione originale della partizione di boot:

find /boot/grub/stage1

Dovrebbe venir restituito un valore tipo (hd0,2) che dovrà essere riusato nei comandi successivi. Nel caso esistano più partizioni in cui sono presenti differenti sistemi Linux basati su grub, saranno restituiti più risultati.  A questo punto, per completare il la reinstallazione:

root (hd0,2)
setup (hd0)
quit

A questo punto, riavviando il sistema, Grub dovrebbe essere ripristinato.

Dal post pubblicato sul blog Trevino’s Blog GRUB, We Have (had) a problem

18/09/2008 Tips
No Comments

[exchange] Come modificare i limiti di dimensione del database

[how-to] Mount di directory remote via NFS con Debian 4.0/Etch

Lascia un commento

Devi essere connesso per inviare un commento.

Giugno 2025
L M M G V S D
 1
2345678
9101112131415
16171819202122
23242526272829
30  
« Giu    

Categorie

  • Access
  • Asp
  • Cyberoam
  • Dell
  • ESX / vmWare
  • Exchange
  • Exchange 2007
  • How-To
  • IIS
  • iPhone
  • Linux
  • Mac
  • Office 365
  • Outlook
  • plesk
  • Sophos XG
  • SQL Server
  • TeamSystem
  • Tips
  • Trend Micro
  • Vb.NET
  • VB6
  • Windows 10
  • Windows 7
  • Windows SBS
  • Windows Server
  • Windows Vista
  • Windows XP
  • WSUS

How-To

  • Configure SMTP O365 Migration Using TLS 1.2 For SQL Database Mail
  • Debian anti-spam and anti-virus e-mail gateway
  • How to install Small Business Server 2003 in an existing Active Directory domain
  • Sophos XG Firewall and Firebox Branch Office VPN Integration Guide
  • Squid, SquidGard, NTLM Authentication con Samba 3.x su Debian Sarge
  • Troubleshoot high-CPU-usage issues in SQL Server

Utili

  • Chip Grafici per portatili – Benchmark
  • Il blog su Microsoft Access
  • Processori per portatili – Benchmark
  • Sophos Wireless: Wi-Fi Fundamentals
  • Zentyal – Linux Small Business Server

Meta

  • Accedi
  • Feed dei contenuti
  • Feed dei commenti
  • WordPress.org
Proudly powered by WordPress | Theme: Neblue by NEThemes.