Friday, March 30, 2012

Clone with VirtualBox


I want to test severeal configuration like kde with gentoo or other test configuration.That's why, I create a common gentoo virtual machine and I clone it.
You can clone your virtual machine like that :

VBoxManage clonevdi ${HOME}/.VirtualBox/HardDisks/Gentoo_common.vdi ${HOME}/.VirtualBox/HardDisks/Gentoo_kde.vdi

Then, Clic add and after when you add you hard drive, choose your vdi file.

Monday, March 5, 2012

EXT3-fs couldn't mount because unsupported option No file system could mount root




I decide to update my Gentoo Virtual machine on my VirtualBox.
I configured my /etc/fstab like that :

/dev/sda1   /boot        ext4    defaults,noatime     1 2
/dev/sda2   none         swap    sw                   0 0
/dev/sda3   /            ext4    noatime              0 1
/dev/cdrom  /mnt/cdrom   auto    noauto,user          0 0

proc        /proc        proc    defaults             0 0
shm         /dev/shm     tmpfs   nodev,nosuid,noexec  0 0

I also apply the EXT4 filesystem with mkfs.ext4

When I ran my Virtual machine, I have a kernel panic with the following message : EXT3-fs couldn't mount because unsupported option No file system could mount root
In fact, I forgot to add EXT4 support to my kernel. See this link to add EXT4 support on your kernel : EXT4_kernel

Friday, August 19, 2011

Sound card Intel Corporation 82801JI configuration



  • Sound card model :

lspci -v | grep -i audio
00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller


  • Kernel 's configuration :

Device Drivers
---> Sound card support
(Assurez-vous qu'OSS est désactivé.)
---> Open Sound System   --->
   < > Open Sound System (DEPRECATED)


---> Advanced Linux Sound Architecture  --->
   Sequencer support
    OSS Mixer API
[*]     OSS PCM (digital audio) API - Include plugin system (NEW)



  • Configuration of make.conf
/etc/make.conf : USE doit contenir alsa

  • Configuration of alsa.conf


/etc/modprobe.d/alsa.conf
options snd-hda-intel index=0

Friday, August 12, 2011

Configuration of language


There is two files you have to change :

  • vi /etc/locale.gen
You have to enable the language you choose by removing the #:

fr_FR@euro ISO-8859-15
  • vi /etc/conf.d/keymaps


KEYMAP="fr"
SET_WINDOWKEYS="yes"

Tuesday, August 9, 2011

KDE 4.6.3

I installed KDE 4.6.3 with no problem.
To see which version of KDE is installed you can type the following command :

  kded4 --version

Monday, August 8, 2011

ASUS P5Q PRO : configuration of Ethernet card



I use an ethernet card integrated of the ASUS P5Q PRO mother board.
To identify my ethernet card, I did :

lspci | grep Ethernet
02:00.0 Ethernet controller: Attansic Technology Corp. Atheros AR8121/AR8113/AR8114 PCI-E Ethernet Controller (rev b0)

In my kernel, I check the following :

[*] Network device support  --->
[*]   Ethernet (10 or 100Mbit)  --->    Atheros L2 Fast Ethernet support
[*]   Ethernet (1000 Mbit)  --->    Atheros L1E Gigabit Ethernet support (EXPERIMENTAL)
[*]   Ethernet (10000 Mbit)  --->


After that, I modify the following in my configuration :

  • hostname
vi /etc/conf.d/hostname
HOSTNAME="damitux"



  • Configuration of eth0 (DHCP)

touch /etc/conf.d/net.eth0
vi  /etc/conf.d/net.eth0

config_eth0=( "dhcp" )
dhcp_eth0="nodns nontp nonis"

cd /etc/init.d/
ln -sfn net.lo net.eth0
rc-update add net.eth0 default


  • DHCP
emerge dhcpcd

My configuration !

Hi all,

I decided to put articles on my Gentoo configuration ! I wish it will help you and I wish you will post comments about better configuration.