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

Re: Removing debian from hdd



On 06/01/12 06:00, Martin Steigerwald wrote:
> Am Donnerstag, 5. Januar 2012 schrieb Guido Martínez:
>> Hi,
> 
> Hi Guido,
> 
>> I recently borrowed a hard drive and installed debian on it, alongside
>> windows. I used it for a couple of weeks.
>>
>> Later, I tried to remove debian by deleting the partitions I had
>> installed it on, but that caused grub to fail horribly, and I had to
>> reinstall debian. How can I remove debian? Can I make grub ignore that
>> partition and then delete it?
> 
> You need to install a MBR record and set the Windows partition as 
> bootable.
> 
> The package mbr should have such an MBR. It seems to have a command named 
> "install-mbr".
> 
> Should be pretty straight forward, but I never had to do it.
> 
> Otherwise you´d need some kind of Windows rescue CD/DVD and restore the 
> Windows boot loader from there.
> 
> Ciao,


The Debian Live based Rescatux will do that for you:-
http://www.supergrubdisk.org/category/download/

A Windoof/MSDOS floppy will also do the same thing:-
fdisk /mbr c:


Cheers

-- 
Iceweasel/Firefox extensions for finding answers to Debian questions:-
https://addons.mozilla.org/en-US/firefox/collections/Scott_Ferguson/debian/


Reply to: