Re: Lilo ou Grub?
Gabriel Elias de Aquino <gea-sk8@bol.com.br> writes:
Gabriel, mantenha a discussão na lista, para que todos possam aproveitá-la e/ou corrigir minhas dicas.
> mas tipo, o lilo já sobrescreveu o grub, e meu kernel e meu sistema root ta
> tudo no /dev/hda2, e pra voltar ao sistema antigo só reinstalando mesmo
>
>
Não. Faça o seguinte. Acesse o sistema via lilo (o kernel antigo tá funcionando né?)
Crie um disco de boot:
3.1 Creating a GRUB boot floppy
To create a GRUB boot floppy, you need to take the files `stage1' and
`stage2' from the image directory, and write them to the first and the
second block of the floppy disk, respectively.
Caution: This procedure will destroy any data currently stored on the
floppy.
On a UNIX-like operating system, that is done with the following
commands:
# cd /usr/lib/grub/i386-pc
# dd if=stage1 of=/dev/fd0 bs=512 count=1
1+0 records in
1+0 records out
# dd if=stage2 of=/dev/fd0 bs=512 seek=1
153+1 records in
153+1 records out
#
The device file name may be different. Consult the manual for your OS.
Note que records in e records out devem ser iguais. Se não, tente com outro floppy!
Reinicialize o sistema pelo floppy
No prompt do grub, digite
setup hd0
O grub estará no MBR. Aí faça os ajustes que já lhe expliquei nas mensagens anteriores.
té +
--
Marcio Teixeira
Usuário "tchê" Debian/GNULinux
Porto Alegre - RS - Brasil
"A vida é como uma boa prova escolar: é curta, com múltiplas escolhas."
O "world" não é o Word. Uso LaTeX: viva o código aberto!
Reply to: