View previous topic :: View next topic |
Author |
Message |
El_Goretto Moderator
Joined: 29 May 2004 Posts: 3169 Location: Paris
|
Posted: Wed Apr 02, 2014 1:49 pm Post subject: |
|
|
k-root wrote: | https://www.google.fr/search?q=grub+dl380g5
vous énervez pas |
Atta...
...
"boobs"
...
C'est bon maintenant, côté référencement, on va pouvoir rester pendant quelques années au top. ^^
Ok, je sors --> [ ] _________________ -TrueNAS & jails: µ-serv Gen8 E3-1260L, 16Go ECC + µ-serv N40L, 10Go ECC
-Réseau: APU2C4 (OpenWRT) + GS726Tv3 + 2x GS108Tv2 + Archer C5v1 (OpenWRT) |
|
Back to top |
|
|
El_Goretto Moderator
Joined: 29 May 2004 Posts: 3169 Location: Paris
|
Posted: Wed Apr 02, 2014 7:38 pm Post subject: |
|
|
k-root wrote: | https://www.google.fr/search?q=grub+dl380g5
vous énervez pas |
Ah tiens, la même recherche chez DDG donne un lien pas crade en 2e position.
Je dis çà, je dis rien, sdoudou306. _________________ -TrueNAS & jails: µ-serv Gen8 E3-1260L, 16Go ECC + µ-serv N40L, 10Go ECC
-Réseau: APU2C4 (OpenWRT) + GS726Tv3 + 2x GS108Tv2 + Archer C5v1 (OpenWRT) |
|
Back to top |
|
|
sdoudou306 n00b
Joined: 15 Mar 2014 Posts: 35
|
Posted: Thu Apr 03, 2014 12:27 pm Post subject: |
|
|
Bonjour et merci de votre retour je vais jeté un œil pour voir si je trouve quelque chose sur le liens.
Personne ne s'enerve mais je pense que mon adresse mail qui comprend le mot dépannage a suscité un doute sur le fait que se soit une intervention pour l'un de mes clients hors mon activité de dépannage n'est pas du tout liée à l'informatique donc voila, et le serveur que j’essaie d'assembler est basé sur une expérience personnel.
Merci en tout cas de votre aide et je ne pensais pas basculer dans de tel justification pour une installation de Gentoo pour un débutant . |
|
Back to top |
|
|
sdoudou306 n00b
Joined: 15 Mar 2014 Posts: 35
|
Posted: Thu Apr 03, 2014 12:50 pm Post subject: |
|
|
voici mon fichier grub.conf si quelqu'un à une idée l'installation est établie avec gub2 et lors de l'installation aucun message d’erreur n'est apparue.
Code: | #
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub2-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root 69d16d19-a82e-4870-829b-04a83539d842
else
search --no-floppy --fs-uuid --set=root 69d16d19-a82e-4870-829b-04a83539d842
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
insmod gettext
fi
terminal_output gfxterm
if sleep --interruptible 0 ; then
set timeout=10
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Gentoo GNU/Linux' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-69d16d19-a82e-4870-829b-04a83539d842' {
load_video
insmod gzio
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root 64344605-73ba-43f0-acb8-b8e7ee414563
else
search --no-floppy --fs-uuid --set=root 64344605-73ba-43f0-acb8-b8e7ee414563
fi
echo 'Loading Linux 3.3.8-gentoo ...'
linux /kernel-3.3.8-gentoo root=/dev/cciss/c0d0p4 ro
}
submenu 'Advanced options for Gentoo GNU/Linux' $menuentry_id_option 'gnulinux-advanced-69d16d19-a82e-4870-829b-04a83539d842' {
menuentry 'Gentoo GNU/Linux, with Linux 3.3.8-gentoo' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.3.8-gentoo-advanced-69d16d19-a82e-4870-829b-04a83539d842' {
load_video
insmod gzio
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root 64344605-73ba-43f0-acb8-b8e7ee414563
else
search --no-floppy --fs-uuid --set=root 64344605-73ba-43f0-acb8-b8e7ee414563
fi
echo 'Loading Linux 3.3.8-gentoo ...'
linux /kernel-3.3.8-gentoo root=/dev/cciss/c0d0p4 ro
}
menuentry 'Gentoo GNU/Linux, with Linux 3.3.8-gentoo (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.3.8-gentoo-recovery-69d16d19-a82e-4870-829b-04a83539d842' {
load_video
insmod gzio
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root 64344605-73ba-43f0-acb8-b8e7ee414563
else
search --no-floppy --fs-uuid --set=root 64344605-73ba-43f0-acb8-b8e7ee414563
fi
echo 'Loading Linux 3.3.8-gentoo ...'
linux /kernel-3.3.8-gentoo root=/dev/cciss/c0d0p4 ro single
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
|
|
|
Back to top |
|
|
sdoudou306 n00b
Joined: 15 Mar 2014 Posts: 35
|
Posted: Thu Apr 03, 2014 8:11 pm Post subject: |
|
|
up pas de news car moi je viens de compiler le noyau et refaire l'installation de grub2 et toujours le même problème..
je dois vraiment être trop c..n c'est pas possible
Au secours y a t'il quelqu'un qui y comprenne quelque choses ????? |
|
Back to top |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8708 Location: ~Brussels - Belgique
|
Posted: Fri Apr 04, 2014 7:19 am Post subject: |
|
|
Bonjour,
Quelles documentations as-tu suivies ?
As-tu lu les liens qu'on t'a donnés concernant ce serveur ?
PS: merci de ne pas nous relancer par MP: on n'est pas un SAV avec obligation de répondre immédiatement. C'est un forum de volontaires bénévoles, qui répondent quand ils ont le temps de le faire. _________________ Kind regards,
Xavier Miller |
|
Back to top |
|
|
sdoudou306 n00b
Joined: 15 Mar 2014 Posts: 35
|
Posted: Sat Apr 05, 2014 6:58 am Post subject: |
|
|
Bonjour donc voila les infos
pour la doc j'ai pris celle ci :
[url] https://www.gentoo.org/doc/fr/handbook/handbook-amd64.xml [/url]
pour les donné serveur:
[url] http://gentoo-en.vfose.ru/wiki/HP_ProLiant_DL380_G5 [/url]
concernant les lignes de commande les ligne de commande voici l'intégralité des données utilisées:
Code: |
Install gentoo
CONCEVOIR UN PLAN DE PARTITIONNEMENT
parted -a optimal /dev/cciss/c0d0
mklabel gpt
unit mib
mkpart primary 1 3
name 1 grub
set 1 bios_grub on
Print
mkpart primary 3 131
name 2 boot
mkpart primary 131 643
name 3 swap
mkpart primary 643 -1
name 4 rootfs
print
quit
CREATION DES SYSTEMES DE FICHIERS
mkfs.ext2 /dev/cciss/c0d0p2
mkfs.ext4 /dev/cciss/c0d0p4
mkswap /dev/cciss/c0d0p3 && swapon /dev/cciss/c0d0p3
MONTER LES PARTITIONS
mount /dev/cciss/c0d0p4 /mnt/gentoo
mkdir /mnt/gentoo/boot
mount /dev/cciss/c0d0p2 /mnt/gentoo/boot
UTILISATION D'UNE ARCHIVE TELECHARGEE DEPUIS L'INTERNET
cd /mnt/gentoo
VIA RESCUE TELECHARGER GENTOO
IL EST TELECHARGER DANS /ROOT/DOWNLOADS/
PUIS UNE FOIS TELECHARGER LE TRANSFERE AVEC EMELFM2 DANS /MNT/GENTOO/
tar xvjpf stage3-(versiontéléchargé)*.tar.bz2
tar xvjpf stage3-amd64-20140320.tar.bz2
CONFIGURER LES OPTIONS DE COMPILATION
nano -w /mnt/gentoo/etc/portage/make.confcd /usr/src/linux
ENTRER DANS LE NOUVEL ENVIRONNEMENT (CHROOT)
mirrorselect -i -o >> /mnt/gentoo/etc/portage/make.conf
mirrorselect -i -r -o >> /mnt/gentoo/etc/portage/make.conf
cp -L /etc/resolv.conf /mnt/gentoo/etc/
MONTER LES SYSTEMES DE FICHIERS REQUIS (/PROC ET /DEV)
mount -t proc none /mnt/gentoo/proc
mount --rbind /sys /mnt/gentoo/sys
mount --rbind /dev /mnt/gentoo/dev
ENTRER DANS LE NOUVEL ENVIRONNEMENT
chroot /mnt/gentoo /bin/bash
env-update
source /etc/profile
export PS1="(chroot) $PS1"
INSTALLER UN INSTANTANE DE PORTAGE
emerge-webrsync
emerge –sync
eselect news list
eselect news read
eselect profile list
eselect profile set 3
less /usr/portage/profiles/use.desc
INSTALLER LES SOURCES
emerge gentoo-sources
ls -l /usr/src/linux
configuration manuelle
cd /usr/src/linux
make menuconfig
COMPILER ET INSTALLER
make && make modules_install
cp arch/x86/boot/bzImage /boot/kernel-3.3.8-gentoo
CONFIGURER LES MODULES
find /lib/modules/ kernel-3.3.8-gentoo / -type f -iname '*.o' -or -iname '*.ko' | less
INFORMATION SUR LE SYSTEME DE FICHIERS
nano -w /etc/fstab
# /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed); notail increases performance of ReiserFS (at the expense of storage
# efficiency). It's safe to drop the noatime options if you want and to
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#
# <fs> <mountpoint> <type> <opts> <dump/pass>
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/cciss/c0d0p2 /boot ext2 noatime,noatime 1 2
/dev/cciss/c0d0p4 / ext3 noatime 0 1
/dev/cciss/c0d0p3 none swap sw 0 0
/dev/cdrom /mnt/cdrom auto noauto,ro 0 0
/dev/fd0 /mnt/floppy auto noauto 0 0
INFORMATION RÉSEAU
nano -w /etc/conf.d/hostname
nano -w /etc/conf.d/net
cd /etc/init.d
ln -s net.lo net.enp3s0
rc-update add net.enp3s0 default
nano -w /etc/hosts
INFORMATION SYSTEME
Passwd
INSTALLER LES OUTILS SYSTEME
emerge syslog-ng
rc-update add syslog-ng default
emerge vixie-cron
rc-update add sshd default
emerge ppp
CONFIGURER LE CHARGEUR DE DEMARRAGE
emerge sys-boot/grub:2
grub2-install /dev/cciss/c0d0
grub2-mkconfig -o /boot/grub/grub.cfg
REDÉMARRAGE DU SYSTÈME
exit
cd
umount -l /mnt/gentoo/dev{/shm,/pts,}
umount -l /mnt/gentoo{/boot,/proc,}
reboot
|
voila donc je pense que le problème viendrais peut être de la configuration de mon noyau ?
Merci d'avance. |
|
Back to top |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8708 Location: ~Brussels - Belgique
|
Posted: Sat Apr 05, 2014 2:10 pm Post subject: |
|
|
En effet, la configuration du noyau est importante.
Si tu hésites, utilise genkernel. _________________ Kind regards,
Xavier Miller |
|
Back to top |
|
|
boozo Advocate
Joined: 01 Jul 2004 Posts: 3193
|
Posted: Sat Apr 05, 2014 4:40 pm Post subject: |
|
|
'alute
je n'interviendrai pas sur grub2 que je n'utilise pas mais j'ai relevé une coquille dans ce que tu as mis donc a vérifier si c'est bien le cas
Quote: | (...)
CREATION SYSTEMES DE FICHIERS
mkfs.ext2 /dev/cciss/c0d0p2
mkfs.ext4 /dev/cciss/c0d0p4
(...)
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/cciss/c0d0p2 /boot ext2 noatime,noatime 1 2
/dev/cciss/c0d0p4 / ext3 noatime 0 1
(...)
|
btw, on te l'a déjà signalé précédemment mais aussi vérifier au niveau kernel en sus (i.e. si la racine est bien en ext4, est-ce que support ext4 est bien dans le noyaux?) et répondre à ce sujet car pour avoir des backtrace comme çà au boot c'est qu'il te manque une ou plusieurs options importantes dedans
XavierMiller wrote: | Pourrais-tu vérifier dans le noyau que tu as mis en dur
- le support pour le filesystem "root" ?
- le chipset du contrôleur disque ?
Sans cela, le noyau ne trouve pas la partition principale et part en sucette. |
Et si tu n'as aucune experience, il vaudrait peut-être mieux utiliser genkernel comme te le dit XavierMiller _________________ " Un psychotique, c'est quelqu'un qui croit dur comme fer que 2 et 2 font 5, et qui en est pleinement satisfait.
Un névrosé, c'est quelqu'un qui sait pertinemment que 2 et 2 font 4, et ça le rend malade ! " |
|
Back to top |
|
|
sdoudou306 n00b
Joined: 15 Mar 2014 Posts: 35
|
Posted: Tue Apr 08, 2014 9:44 pm Post subject: |
|
|
Bonsoir un grand merci à vous tous donc j'ai utilisé genkernel puis simplement grub2 tout est ok la machine boot et je me connecte sur localhosts.
Par contre pas de gestion du module carte réseau BNX2 comme signalé dans la doc [url] http://gentoo-en.vfose.ru/wiki/HP_ProLiant_DL380_G5 [/url]
Comment dois je activer le module par défaut au démarrage quelqu'un peu me dire.
dmesg annonce Code: | bnx2 : can't load firmware file "bnx2/bnx2-mips-06-6.2.3.fw" |
donc il va bien le chercher mais il ne le trouve pas ? |
|
Back to top |
|
|
USTruck Guru
Joined: 21 Aug 2005 Posts: 423 Location: La Louviere (Belgique)
|
Posted: Wed Apr 09, 2014 4:07 am Post subject: |
|
|
Bonjour,
Vérifier que le kernel est correctement configuré : CONFIG_FIRMWARE_IN_KERNEL=N
si ok, emerge sys-kernel/linux-firmware
Enjoy |
|
Back to top |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8708 Location: ~Brussels - Belgique
|
Posted: Wed Apr 09, 2014 7:18 am Post subject: |
|
|
Il faut un firmware pour cette carte. Fais un peu de recherche avec le nom du fichier mentionné par ta citation pour savoir où le récupérer (linux-firmware ou quelque chose de plus spécifique). _________________ Kind regards,
Xavier Miller |
|
Back to top |
|
|
|