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

Paul RIVIER linux-thinkpad@linux-thinkpad.org
Mon, 17 Oct 2005 21:22:50 +0100


great, thank you very much.
Sorry to ask such a question here I didn't think it was so ... :)
anyway, now it is fix thank you.

paul



Paul RIVIER wrote:

> Hello there,
>
> When I installed ubuntu on my thinkpad, the partition table was the 
> following :
> 0) partition hard-hidden by my bios (thinkpad, "recoverey partition")
> 1) /
> 2) /home
> 3) swap
>
> So my system (and my kernel by the way) was installed on hda1.
>
> Then I managed to unhide the hidden '0' partition, and I use now this 
> space for the swap. So today it is :
>
> 1) swap
> 2) /
> 3) home
>
> after fixing 1 or 2 things all went allright ...
> BUT !! :)
>
> The "debian update-grub script" (and maybe some others stuffs) STILL 
> believe that hda1 is my '/', and each time there is a kernel or module 
> update my menu.lst is regenerated with the incorrect partition number, 
> and I have to manually fix it.
>
> Any idea where to find this data and fix it at the root please ? Thanx :)
>
>
> Paul