Re: [OT] ¿Puede Lilo arrancar un XP instalado en disco secundario?
On 4/25/06, Iñaki <ibc2@euskalnet.net> wrote:
> Hola, tengo un asunto realmente urgente que me irrita muchísimo pero que no
> puedo evitar:
Buenas
>
> Tengo que instalar forzosamente un Windows para el calzonazos de mi hermano
> (la verdad es que lo necesita sin excusas por un tema de la universidad que
> aunque injusto no deja de ser una triste realidad).
>
> En hda sólo tengo Linux y particiones varias, pero nada de espacio libre.
> He metido un hdb secundario de 8 GB en el que pretendo instalar el XP de la
> siguiente forma:
>
> - Quito hda y dejo hdb como primario y único disco.
> - Instalo en él el XP de forma normal.
> - Vuelvo a conectar el hda como primario y el hdb como secundario.
> - Modifico lilo.conf añadiendo:
> other=/dev/hdb2
> - Ejecuto "lilo -v".
>
> ¿Funcionará esto? creo haber leído alguna vez que Lilo no puede arrancar un XP
> si éste está instalado en un disco secundario, ¿es así? ¿y Grub?
Con grub lo puedes hacer funcionar con:
[...]
title Debian GNU/Linux, kernel 2.6.11.7-mppe
root (hd0,1)
kernel /vmlinuz-2.6.11.7-mppe root=/dev/hda3 ro
initrd /initrd.img-2.6.11.7-mppe
savedefault
boot
title Debian GNU/Linux, kernel 2.6.11.7-mppe (recovery mode)
root (hd0,1)
kernel /vmlinuz-2.6.11.7-mppe root=/dev/hda3 ro single
initrd /initrd.img-2.6.11.7-mppe
savedefault
boot
### END DEBIAN AUTOMAGIC KERNELS LIST
title Microsoft Windows 2000 Professional
map (hd0) (hd1) # Tell the first hard drive to pretend to be the second
map (hd1) (hd0) # Tell the second hard drive to pretend to be the first
root (hd1,0) # Tell GRUB Windows is on /dev/hdb1
rootnoverify (hd1,0) # GRUB won't attempt to mount the Windows drive
makeactive # Sets the partition to active
chainloader +1 # Tells GRUB to load the Windows bootloader when done
> Gracias y un saludo a todos.
Salut
Reply to: