-
Junior Member
registered user
This is a script by Carlos E. Morimoto that automates the installation of the new kernel in Kurumin Linux:
Code:
#!/bin/sh
clear
echo " "
echo "Este script vai ajuda-lo na instalação do Kernel 2.6 testing"
echo "do Kurumin. "
echo " "
echo "A instalação do novo Kernel não alterará o antigo, você passará"
echo "a poder escolher entre os dois durante o boot."
echo " "
echo "Leia mais sobre as novidades e sobre o processo de instalação"
echo "no artigo que abrirei a seguir"
echo "(Enter para continuar)"
read pausa
phoenix http://www.guiadohardware.info/linux...in/kernel-2.6/
clear
echo " "
echo "Deseja continuar com a instalação? (s/n)"
echo " "
read resposta
if [ "$resposta" = "s" ]; then
cd /packages
wget -c http://www.las.ic.unicamp.br/pub/kur...s.2.0_i386.deb
wget -c http://www.las.ic.unicamp.br/pub/kur...s.2.0_i386.deb
apt-get install module-init-tools
apt-get install initrd-tools
dpkg -i kernel-image-2.6.0-test4_Prometeus.2.0_i386.deb
clear
echo " "
echo "Em qual partição o Kurumin está instalado?"
echo "Ex: /dev/hda1"
read partroot
echo " " >> /etc/lilo.conf
echo "image=/vmlinuz" >> /etc/lilo.conf
echo " label=Kurumin-2.6" >> /etc/lilo.conf
echo " root=$partroot" >> /etc/lilo.conf
echo " read-only" >> /etc/lilo.conf
echo " initrd=/initrd.img" >> /etc/lilo.conf
echo " " >> /etc/lilo.conf
clear
echo " "
echo "Você deve agora editar o arquivo /etc/lilo.conf como descrito no artigo"
echo "que abri, verificando a nova seção que dá a opção de inicializar o novo "
echo "Kernel que adicionei no final do arquivo e substituindo a linha *vga=791*"
echo "ou *vga=788* por *vga=normal* para desativar o frame-buffer, que ainda"
echo "não é suportado pelo Kernel instalado."
echo " "
echo "Lembre-se que caso você tenha configurado o X para usar o driver *fbdev*"
echo "ou caso tenha instalado os drivers de vídeo da nvidia você precisará "
echo "alterar também o driver de vídeo, caso contrário o modo gráfico não"
echo "funcionará ao dar boot usando o novo Kernel"
echo "Caso você esteja usando o driver da nvidia, mude o driver para *nv* e"
echo "caso esteja usando o xfdev, experimente o driver *vesa*"
echo " "
kedit /etc/lilo.conf &
phoenix http://www.guiadohardware.info/linux...in/kernel-2.6/
lilo
sleep 5
kxconfig
fi
Ps. I changed myself kernel-image-2.6.0-test4_Prometeus.1.0_i386.deb ---> kernel-image-2.6.0-test4_Prometeus.2.0_i386.deb
The result: : )

Similar Threads
-
By Kowood in forum Hardware & Booting
Replies: 0
Last Post: 08-26-2004, 12:25 AM
-
By covici in forum Customising & Remastering
Replies: 0
Last Post: 07-15-2004, 12:23 PM
-
By Ish Rattan in forum General Support
Replies: 0
Last Post: 06-01-2004, 02:58 PM
-
By DodgeV83 in forum General Support
Replies: 2
Last Post: 12-19-2003, 04:14 PM
-
By thincritter in forum General Support
Replies: 4
Last Post: 07-01-2003, 03:10 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

RAM-HOL-SAM60CPU RAM USB-C Powered Dock for Samsung Tab Active5 - 3 - 2
$81.99

Samsung 2.5" 870 EVO SSD SATA III 250GB 500GB 1TB Internet Solid State Drive Lot
$60.00

Samsung Notebook 9 Pen Touchscreen 2-in-1 Motherboard NP930SBE-K01US
$111.19

Lot of 5 Samsung PM9B1 256GB M.2 2280 PCIe Gen4 x4 NVMe SSD MZVL4256HBJD SSD
$200.00

RAM-GDS-SKIN-SAM54-NG-1 RAM Mounts IntelliSkin® Next Gen for Samsung Tab Active4
$93.99

RAM-HOL-SAM52CPU RAM USB-C Powered Dock Samsung Tab Active4 Pro & Tab Active Pro
$81.99

Cell Phone Smartphone Computer repair banner poster sign iphone Samsung
$89.99

RAM-GDS-DOCK-SAM88CPU RAM GDS® Tough-Dock™ for Samsung Tab A9+
$174.99

NEW Samsung NoteBook NT930QCG touch LCD Full Screen Assembly Blue
$225.77

New Samsung 512GB FIT Plus USB 3.2 Gen 1 Type-A Flash Drive MUF-512AB/AM NEW
$120.00