Utilizando um PC com um linux já instalado, utilizaremos o grub para chamar as imagens do LiveCD.
Using a PC with Linux already installed, we will use grub to call the images of the LiveCD.
no meu exemplo usei o Open SuSE 10.3.
in my example I used the Open SuSE 10.3.
usei as distros de teste:
used the test distros:
Thinstation
DSL - Damn Small Linux
Crie no linux atual instalado no HD alguns diretórios.
Create the current Linux installed on the HD's directory.
#mkdir /boot/kernels/thinstation
#mkdir /boot/images/thinstation
#mkdir /boot/kernels/dsl
#mkdir /boot/images/dsl
Thinstation
copie os arquivos initrd para pasta /boot/images/thinstation/
copy the initrd to /boot/images/thinstation/
depois copie o arquivo vmlinuz para /boot/kernels/thinstation/
then copy the vmlinuz to /boot/kernels/thinstation/
Dentro da do LiveCD tem um arquivo isolinux.cfg, com as informações para incluirmos no grub.
Within the LiveCD isolinux.cfg have a file with the information to include in the grub.
DSL
copie os arquivos minirt24-dsl.gz para pasta /boot/images/dsl/
copy the files minirt24-dsl.gz to /boot/images/dsl/
depois copie o arquivo linux24 para /boot/kernels/dsl/
then copy the file to linux24 /boot/kernels/dsl/
Modificações no Grub
Changes in Grub
Abra o arquivo /boot/grub/menu.1st e inclua as linhas abaixo:
Open the file / boot/grub/menu.1st and include the following lines:
---------------------------------------------------------------------------
title ThinStation 2.2.2
root (hd0,1)
kernel /boot/kernels/thinstation/vmlinuz load_ramdisk=1 ramdisk_blocksize=4096 root=/dev/ram0 ramdisk_size=524288 splash=silent vga=791 console=ttyS3
initrd /boot/images/thinstation/initrd
title DSL - Damn Small Linux :D
root (hd0,1)
kernel /boot/kernels/dsl/linux24 ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 nomce noapic quiet BOOT_IMAGE=knoppix bootfrom=/boot/iso/current dsl.iso
initrd /boot/images/dsl/minirt24-dsl.gz
-------------------------------------------------------------------------------
se necessário mude o tempo que aparecerá o menu na flag, exemplo:
if necessary change the time that appears in the menu flag, eg
timeout 10
Pronto é só reinciar e se divertir.
Reboot and have fun.
Nenhum comentário:
Postar um comentário