[ltp] "debian update-grub script" and thinkpad hidden recovery

Julien Leproust linux-thinkpad@linux-thinkpad.org
Tue, 18 Oct 2005 00:36:39 +0200


Hello,

On Mon, Oct 17, 2005, Jiang Qian wrote :
> One word of advice: you certainly do NOT want to install linux 
> bootloader, grub or lilo, in MBR. I did that and as far as I know 
> there's no known way to boot back to recovery partition. Install on the 
> boot record of the linux partition and use windows bootloader to boot 
> linux.

Yes it works, I've always lived with grub in the MBR of my thinkpad
T40p, and did reinstall windows from recovery partition. It erased the
windows partition but kept everything else. I remember some side-effects
of defaulting to linux making the reinstall process not completely
automatic ;) but it worked perfectly else. I can't remember more
precisely but it did not seem too difficult to me. Reinstall process is
loaded in directly by bios setup utility, right ?

I assume Lilo would work the same, as long as you keep the entry to boot
to windows. With grub, even without windows in the configuration file,
you can boot manually to the right partition. Of course grub relies on
the right file in the right partition, so you can't keep grub and erase
linux. I think you can keep lilo and erase linux, as lilo completely
lives in the MBR (correct me if I'm wrong, I'm not too familiar with
lilo).

Regards,

-- 
Julien