No recovery-function on ubuntu-cd's?

Colin Watson cjwatson at canonical.com
Sat Nov 27 06:24:04 CST 2004


On Sat, Nov 27, 2004 at 12:20:43PM +0100, Sascha Morr wrote:
> a friend installs windows after ubuntu and windows overwrite his mbr. 
> all right i think ubuntu is based on debian and boot the CD but what 
> this!?! No recovery function there. Haven't i find it or is it not existent?

You get to boot from the install CD, run through the installer up to the
start of the partitioning stage (but not further; up to this point the
installer doesn't write anything to the disk), press alt-f2, type 'mkdir
-p /target', type 'mount <wherever the Ubuntu root device is> /target',
type 'chroot /target', type 'grub-install "(hd0)"'.

Yes, this is unwieldy; I'm part-way through writing a rescue mode for
the installer that will eliminate most of these steps.

Cheers,

-- 
Colin Watson                                    [cjwatson at canonical.com]



More information about the ubuntu-devel mailing list