Calendrier

Février 2012
L M M J V S D
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29        
<< < > >>

Recherche

Mardi 2 novembre 2004 2 02 /11 /Nov /2004 00:00
I start all over again. Indeed I faced issues with my current Gentoo. It appears that the laptop freeze after some time. Which is an issue when trying to compile XFree. In addition I updated the flash BIOS to A23. Indeed I suspect the acpi management to provoke the freeze. Finally I will go for kernel 2.6 as it provides CPU freq management.
Par Francois-Xavier Martin - Publié dans : gentoodell
Ecrire un commentaire - Voir les 2 commentaires
Mardi 2 novembre 2004 2 02 /11 /Nov /2004 00:00
I finally decided to go the hard way and went for the Stage 1 option. So I downloaded the Gentoo's minimal LiveCD and burnt it immediately.

After a nice and sexy splash screen, the first question occurs: what kernel to go for? I opt for the standard one but with pcmcia.
gentoo dopcmcia

hdparm helped me to go from 20.83Mb read to 25.88Mb read with the following options:
hdparm -d 1 -A 1 -m 16 -u 1 -a 64 /dev/hda

I creat then an additional user andgo for configuring your network.

While reinstalling I will go for the kernel 2.6 as it provides CPU freq management. I updated the flash BIOS as well to A23 *it was A12 before and the i8k modules was not able to retrieve the fan speed). In addition I suspect the acpi daemon to provoke the crash so an update could solve it.
Par Franc,ois-Xavier Martin - Publié dans : gentoodell
Ecrire un commentaire - Voir les 0 commentaires
Dimanche 24 octobre 2004 7 24 /10 /Oct /2004 00:00

I have some issue re. framebuffer. Based on the homepage of Tim Stadelmann I set up the VESA driver and it works great.

Looking at the boot messages I still have no network and no usb. I will need to fix that up.

 

Par François-Xavier Martin - Publié dans : gentoodell
Ecrire un commentaire - Voir les 1 commentaires
Dimanche 24 octobre 2004 7 24 /10 /Oct /2004 00:00

Let's go for GRUB which is the standard now:

emerge grub

I edit the grub.conf and activate as follows:

cp /proc/mounts /etc/mtab

grub-install --root-directory=/boot /dev/hda

And now I can reboot:

exit

cd

umount /mnt/gentoo/boot /mnt/gentoo/proc /mnt/gentoo

reboot

Oops, it can boot windows but not Gentoo, apparently I messed up the call to Kernel-2.4.26-r9 on /dev/hda3.

I need to reboot on the CD and correct it.

Ok, it was just a typo on the filename. But now it boots without image I guess I should include the framebuffer module in the kernel and not just as loadable!

Anyway I will create 2 entries in grub.conf, 1 with framebuffer and 1 without so I could boot anyway and get rid of the LiveCD!!

Par François-Xavier Martin - Publié dans : gentoodell
Ecrire un commentaire - Voir les 0 commentaires
Dimanche 24 octobre 2004 7 24 /10 /Oct /2004 00:00

I opt for metalog as system logger:

emerge metalog

rc-update add metalog default

After some wandering on the net I opt for dcron (see file dcron.txt for more information):

emerge dcron

rc-update add dcron default

crontab /etc/crontab

I add indexing:

emerge slocate

I add the jfs utilities:

emerge jfsutils

and a dhcp client:

emerge dhcpcd

Par François-Xavier Martin - Publié dans : gentoodell
Ecrire un commentaire - Voir les 0 commentaires
Dimanche 24 octobre 2004 7 24 /10 /Oct /2004 00:00

I edit /etc/fstab (see file fstab.txt).

I set up some networking information:

echo lulap-fmartin > /etc/hostname

echo europe > /etc/dnsdomainname

rc-update add domainname default

I edit the /etc/conf.d/net with the following line:

iface_eth0="dhcp"

and add it the default runlevel:

rc-update add net.eth0 default

and edit the /etc/hosts as follows:

127.0.0.1     lulap-fmartin.europe     lulap-fmartin

My computer is a laptop therefore I need PCMCIA support so I install it as instructed:

USE="-X" emerge pcmcia-cs

and add it to the default runlevel:

rc-update add pcmcia default

I change the root password with

passwd

and allow root to log on through the serial console:

echo "tts/0" >> /etc/securetty

I finish by editing the system information:

nano -w /etc/rc.conf

Here I change the following:

KEYMAP="fr_CH-latin1

SETWINDOWKEYS="yes"

CLOCK="local"

DISPLAYMANAGER="gdm"

Par François-Xavier Martin - Publié dans : gentoodell
Ecrire un commentaire - Voir les 0 commentaires
Dimanche 24 octobre 2004 7 24 /10 /Oct /2004 00:00

First I set the timezone with the following command (I am in Continental Europe):

ln -sf /usr/share/zoneinfo/Europe /etc/localtime

I chose the gentoo sources for the kernel. I did not read the Gentoo Kernel Guide and will do it later on:

emerge gentoo-sources

Let's go for the manual configuration of the kernel.

I used all the default settings + the recommendations from Gentoo. I added though NTFS support read/write.

make dep && make bzImage modules modules_install

cp arch/i386/boot/bzImage /boot/Kernel-2.4.26-gentoo-r9

cp System.map /boot/System.map-2.4.26-gentoo-r9

cp .config /boot/config-2.4.26-gentoo-r9

I add the ati-drivers extra module:

emerge ati-drivers

I do not edit the autoload and run modules-update.

Par François-Xavier Martin - Publié dans : gentoodell
Ecrire un commentaire - Voir les 0 commentaires
Dimanche 24 octobre 2004 7 24 /10 /Oct /2004 00:00

I initially went for the mirrorselect option but later on the bootstrap process failed so I cleaned-up the make.conf file and therefore use the standard servers.

Several standard instructions later:

cp -L /etc/resolv.conf /mnt/gentoo/etc/resolv.conf

mount -t proc none /mnt/gentoo/proc

chroot /mnt/gentoo /bin/bash

env-update

source /etc/profile

I update the portage tree:

emerge --sync

I want to progress quickly so I do not take the time to investigate the USE variable. I'll do it later or for the next installation.

Finally it happens, the real work starts by Bootstrapping the system. I start it at 0:06 so we will see how much time this laptop requires:

cd /usr/portage

scripts/bootstrap.sh

It was finished when I woke up this morning so no exact time but less than 8 hours.

I launch now the system packages generation. We will see how long it will take:

emerge system

It ends at 12:14 so 2 hours.

Par François-Xavier Martin - Publié dans : gentoodell
Ecrire un commentaire - Voir les 0 commentaires
Dimanche 24 octobre 2004 7 24 /10 /Oct /2004 00:00

With a working network and a 2Mb broadband connection I intend to use the net intensively so with the help of links2 I download the stage1 for x86, release 2004.2:

cd /mnt/gentoo

links2 http://www.gentoo.org/main/en/mirrors.xml

Obviously I check the md5 signature:

md5sum -c stage1-x86-2004.2.tar.bz2.md5

And unpack the full set:

tar -xvjpf stage1-x86-2004.2.tar.bz2

I have the network so no portage snapshot for me, I will directly configure the compile options. Here I have to admit that I surfed a bit on the net to collect the right settings for my Dell (which is equipped with a pentium 3, 751Mhz):

CHOST="i686-pc-linux-gnu"

CFLAGS="-march=pentium3 -O3 -pipe -fumit-frame-pointer"

CXXFLAGS="{CFLAGS}"

MAKEOPTS="-j2"

Par François-Xavier Martin - Publié dans : gentoodell
Ecrire un commentaire - Voir les 0 commentaires
Dimanche 24 octobre 2004 7 24 /10 /Oct /2004 00:00

I already have 2 primary partitions created, 1 small for some unknown Dell utilities and the other one for Windows XP. After some clean-up I have been able to free up 8Go for Gentoo.

I follow the recommendations and create 3 additional partitions with fdisk as follows:

  • /dev/hda3 - 32Mb, type linux for Boot
  • /dev/hda4 - logical partition
  • /dev/hda5 - 512Mb, type swap for Swap
  • /dev/hda6 - the rest, type Linux for /

I will go for ext3 for the time being and might think about reiserFS for my next installation. So I execute the following commands:

mke2fs /dev/hda3

mke2fs -j /dev/hda6

mkswap /dev/hda5

swapon /dev/hda5

mount /dev/hda6 /mnt/gentoo

mkdir /mnt/gentoo/boot

mount /dev/hda3 /mnt/gentoo/noot

Par François-Xavier Martin - Publié dans : gentoodell
Ecrire un commentaire - Voir les 0 commentaires
Créer un blog gratuit sur over-blog.com - Contact - C.G.U. - Rémunération en droits d'auteur - Signaler un abus