Page 1 sur 2

[grub]nouveau système(contourné)

Publié : lun. 10 juin 2013, 19:19
par rroo
bonsoir
j'installe archlinux en chroot a partir de archbang et je voudrais savoir si je n'ai rien oublié dans mon installation grub.
J'ai fait un grub-mkconfig -o /boot/grub/grub.cfg sur mon nouveau systéme mais je ne
sais pas dans quel section ajouté mon nouveau système dans le grub.cfg de l'ancien système...
/10 linux directement a la suite ou custom car rien n'a fonctionné jusqu'a présent.

Si vous pouviez m'aider car je ne m'en sort vraiment plus.

Merci

Re: [grub]nouveau système

Publié : lun. 10 juin 2013, 19:32
par tuxce
Si ça n'a pas fonctionné, il faudrait nous dire ce qui n'a pas fonctionné.
Si tu comptes utiliser grub de ton ancien système, pourquoi installer grub sur le nouveau et lancer grub-mkconfig ?
Qu'est ce que tu appelles "ancien système" ?
rroo a écrit : /10 linux directement a la suite ou custom car rien n'a fonctionné jusqu'a présent.
"/10 linux" ?

Re: [grub]nouveau système

Publié : lun. 10 juin 2013, 19:52
par rroo
En fait grub était déja présent sur mon install en chroot de archlinux.
Ce que j'appelle ancien système est mon système arcbang actuel depuis lequel j'ai
éffectué l'installation en chroot.
J'ai ajouté une entrée a custom 40 au boot ma nouvelle entrée était bien présente
dans le grub le système commence a chargée puis me renvoie a la console de récupération tty.

Ce que je voulais dire par grub 10 c'est ajouté une entrée directement a la suite de
/etc/grub.d/10_linux.

Code : Tout sélectionner

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch GNU/Linux, avec Linux core repo kernel' --class arch --class gn$
        load_video
        set gfxpayload=keep
        insmod gzio
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos8'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint$
        else
          search --no-floppy --fs-uuid --set=root af0b2c48-20fc-4074-947a-68e6a$
        fi
        echo    'Chargement de Linux core repo kernel…'
        linux   /boot/vmlinuz-linux root=UUID=af0b2c48-20fc-4074-947a-68e6a0621$
        echo    'Chargement du disque mémoire initial…'
        initrd  /boot/initramfs-linux.img
}
menuentry 'Arch GNU/Linux, with Linux core repo kernel (Fallback initramfs)' --$
        load_video
        set gfxpayload=keep
        insmod gzio
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos8'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint$
        else
          search --no-floppy --fs-uuid --set=root af0b2c48-20fc-4074-947a-68e6a$
        fi
        echo    'Chargement de Linux core repo kernel…'
linux   /boot/vmlinuz-linux root=UUID=af0b2c48-20fc-4074-947a-68e6a0621$
        echo    'Chargement du disque mémoire initial…'
        initrd  /boot/initramfs-linux-fallback.img
}
menuentry NOUVEAU ARCHLINUX with Linux core repo kernel (Fallback initramfs)' --$
        load_video
        set gfxpayload=keep
        insmod gzio
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos8'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint$
        else
          search --no-floppy --fs-uuid --set=root af0b2c48-20fc-4074-947a-68e6a$
        fi
        echo    'Chargement de Linux core repo kernel…'
        linux   /boot/vmlinuz-linux root=UUID=af0b2c48-20fc-4074-947a-68e6a0621$
        echo    'Chargement du disque mémoire initial…'
        initrd  /boot/initramfs-linux-fallback.img
}


### END /etc/grub.d/10_linux ###

Voila ce que j'ai rajouté dans Custom 40:

Code : Tout sélectionner

menuentry "Autre Linux" {
 set root=(hd0,7)
 linux /boot/vmlinuz-linux root=UUID=5fdfee5b-28bb-4c64-bb2b-ac49dc7427c8 ro
 initrd /boot/initramfs-linux.img
}
[root@archbang rroo]# blkid
/dev/sda5: UUID="979765af-8c5e-46ae-af90-02179aa337cc" TYPE="ext4"
/dev/sda6: UUID="d44650dd-01b2-44b7-b9cd-d81c3e6bb2a6" TYPE="ext4"
/dev/sda7: UUID="5fdfee5b-28bb-4c64-bb2b-ac49dc7427c8" TYPE="ext4"
/dev/sda8: UUID="af0b2c48-20fc-4074-947a-68e6a0621551" TYPE="ext4"

Re: [grub]nouveau système

Publié : lun. 10 juin 2013, 20:11
par tuxce
40_custom et non custom 40.

Quel est le message d'erreur que tu as avant d'arriver en console de récupération ?

Re: [grub]nouveau système

Publié : lun. 10 juin 2013, 20:12
par rroo
j'ai les Ok en vert a gauche et puis je suis renvoyer vers tty1 d'un coup.
Je croit avoir apercu en face du dernier Ok en vert prompt mais pas sur car ca va vite.
Ca ne pourrait pas être en rapport avec la modification du prompt pour l'installation en chroot??

Code : Tout sélectionner

Pour pouvoir s'y retrouver par la suite, on va modifier le prompt du root :

echo 'PS1="(installation) \w \\$ "' > "$ARCH_SYS/root/.bashrc"

Voila ce que j'ai rajouté dans Custom_40:

Code : Tout sélectionner

menuentry "Autre Linux" {
set root=(hd0,7)
linux /boot/vmlinuz-linux root=UUID=5fdfee5b-28bb-4c64-bb2b-ac49dc7427c8 ro
initrd /boot/initramfs-linux.img
}

Code : Tout sélectionner

[root@archbang rroo]# blkid
/dev/sda5: UUID="979765af-8c5e-46ae-af90-02179aa337cc" TYPE="ext4"
/dev/sda6: UUID="d44650dd-01b2-44b7-b9cd-d81c3e6bb2a6" TYPE="ext4"
/dev/sda7: UUID="5fdfee5b-28bb-4c64-bb2b-ac49dc7427c8" TYPE="ext4"
/dev/sda8: UUID="af0b2c48-20fc-4074-947a-68e6a0621551" TYPE="ext4"

Re: [grub]nouveau système

Publié : lun. 10 juin 2013, 20:20
par tuxce
Comme on éditait en même temps et que tu as remis le 40_custom et blkid parce que j'avais pas vu que tu éditais etc., je remets un post au cas où t'aurais pas vu mon édition.
Il faudrait essayer de chopper le message juste avant la console de récupération pour savoir ce qui a planté.

Re: [grub]nouveau système

Publié : mar. 11 juin 2013, 17:08
par rroo
Pour le dernier message avant redirection vers la console tty1
je croit avoir apercu quelque chose comme search prompt...

Re: [grub]nouveau système

Publié : mar. 11 juin 2013, 17:33
par onyx67
Salut,
Je crains que cela ne soit suffisamment précis. Tu devrais poster le log de démarrage (/var/log/boot) voir aussi systemctl --failed.

Re: [grub]nouveau système

Publié : mar. 11 juin 2013, 18:27
par rroo
Je n'ai pas de dossier boot dans /var/log mais j'ai le pacman log
si vous pouvez éventuellement y voir une erreur lors de mon installation...

Code : Tout sélectionner

[2013-06-04 22:47] installed filesystem (2013.05-2)
[2013-06-04 22:47] installed glibc (2.17-6)
[2013-06-04 22:47] installed ncurses (5.9-5)
[2013-06-04 22:47] installed readline (6.2.004-1)
[2013-06-04 22:47] installed bash (4.2.045-4)
[2013-06-04 22:47] installed bzip2 (1.0.6-4)
[2013-06-04 22:47] installed gcc-libs (4.8.1-1)
[2013-06-04 22:47] installed db (5.3.21-1)
[2013-06-04 22:47] installed zlib (1.2.8-1)
[2013-06-04 22:47] installed cracklib (2.8.22-3)
[2013-06-04 22:47] installed libgssglue (0.4-1)
[2013-06-04 22:47] installed libtirpc (0.2.3-1)
[2013-06-04 22:47] installed pambase (20130113-1)
[2013-06-04 22:47] installed pam (1.1.6-4)
[2013-06-04 22:47] installed attr (2.4.46-2)
[2013-06-04 22:47] installed acl (2.2.51-3)
[2013-06-04 22:47] installed gmp (5.1.2-1)
[2013-06-04 22:47] installed libcap (2.22-5)
[2013-06-04 22:47] installed coreutils (8.21-2)
[2013-06-04 22:47] installed run-parts (4.3.4-1)
[2013-06-04 22:47] installed cronie (1.4.9-4)
[2013-06-04 22:47] installed libgpg-error (1.11-1)
[2013-06-04 22:47] installed libgcrypt (1.5.2-1)
[2013-06-04 22:47] installed shadow (4.1.5.1-6)
[2013-06-04 22:47] installed util-linux (2.23.1-2)
[2013-06-04 22:47] installed expat (2.1.0-2)
[2013-06-04 22:47] installed dbus (1.6.10-1)
[2013-06-04 22:47] installed pcre (8.33-1)
[2013-06-04 22:47] installed libffi (3.0.13-3)
[2013-06-04 22:47] installed glib2 (2.36.2-1)
[2013-06-04 22:47] installed kbd (1.15.5-4)
[2013-06-04 22:47] installed kmod (13-2)
[2013-06-04 22:47] installed hwids (20130512-1)
[2013-06-04 22:47] installed xz (5.0.4-1)
[2013-06-04 22:47] Initializing machine ID from random generator.
[2013-06-04 22:47] ln -s '/usr/lib/systemd/system/getty@.service' '/etc/systemd$
[2013-06-04 22:47] :: Append 'init=/usr/lib/systemd/systemd' to your kernel com$
[2013-06-04 22:47]    bootloader to replace sysvinit with systemd, or install s$
[2013-06-04 22:47] installed systemd (204-3)
[2013-06-04 22:47] installed device-mapper (2.02.98-4)
[2013-06-04 22:47] installed popt (1.16-6)
[2013-06-04 22:47] installed cryptsetup (1.6.1-2)
[2013-06-04 22:47] installed dhcpcd (5.6.8-3)
[2013-06-04 22:47] installed diffutils (3.3-1)
[2013-06-04 22:47] installed e2fsprogs (1.42.7-2)
[2013-06-04 22:47] installed file (5.14-1)
[2013-06-04 22:47] installed findutils (4.4.2-5)
[2013-06-04 22:47] installed mpfr (3.1.2-1)
[2013-06-04 22:47] installed gawk (4.1.0-1)
[2013-06-04 22:47] installed gettext (0.18.2.1-1)
[2013-06-04 22:47] installed grep (2.14-2)
[2013-06-04 22:47] installed gzip (1.5-3)
[2013-06-04 22:47] installed gdbm (1.10-1)
[2013-06-04 22:47] installed perl (5.18.0-1)
[2013-06-04 22:47] installed openssl (1.0.1.e-3)
[2013-06-04 22:47] installed libsasl (2.1.26-4)
[2013-06-04 22:47] installed libldap (2.4.35-4)
[2013-06-04 22:47] installed keyutils (1.5.5-5)
[2013-06-04 22:47] installed krb5 (1.11.2-4)
[2013-06-04 22:47] installed heirloom-mailx (12.5-3)
[2013-06-04 22:47] installed inetutils (1.9.1-6)
[2013-06-04 22:47] installed iptables (1.4.19.1-1)
[2013-06-04 22:47] installed iproute2 (3.9.0-2)
[2013-06-04 22:47] installed sysfsutils (2.1.0-8)
[2013-06-04 22:47] installed iputils (20121221-2)
[2013-06-04 22:47] installed jfsutils (1.1.15-4)
[2013-06-04 22:47] installed less (458-1)
[2013-06-04 22:47] installed licenses (20130203-1)
[2013-06-04 22:47] installed linux-firmware (20130528-1)
[2013-06-04 22:47] installed mkinitcpio-busybox (1.20.2-1)
[2013-06-04 22:47] installed lzo2 (2.06-1)
[2013-06-04 22:47] installed libarchive (3.1.2-1)
[2013-06-04 22:47] installed mkinitcpio (0.14.0-1)
[2013-06-04 22:47] >>> Updating module dependencies. Please wait ...
[2013-06-04 22:47] >>> Generating initial ramdisk, using mkinitcpio.  Please wa$
[2013-06-04 22:47] ==> Building image from preset: /etc/mkinitcpio.d/linux.pres$
[2013-06-04 22:47]   -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot$
[2013-06-04 22:47] ==> Starting build: 3.9.5-1-ARCH
[2013-06-04 22:47]   -> Running build hook: [base]
[2013-06-04 22:47]   -> Running build hook: [udev]
[2013-06-04 22:47]   -> Running build hook: [autodetect]
[2013-06-04 22:47]   -> Running build hook: [modconf]
[2013-06-04 22:47]   -> Running build hook: [block]
[2013-06-04 22:47]   -> Running build hook: [filesystems]
[2013-06-04 22:47]   -> Running build hook: [keyboard]
[2013-06-04 22:47]   -> Running build hook: [fsck]
[2013-06-04 22:47] ==> Generating module dependencies
[2013-06-04 22:47] ==> Creating gzip initcpio image: /boot/initramfs-linux.img
[2013-06-04 22:47] ==> Image generation successful
[2013-06-04 22:47] ==> Building image from preset: /etc/mkinitcpio.d/linux.pres$
[2013-06-04 22:47]   -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot$
[2013-06-04 22:47] ==> Starting build: 3.9.5-1-ARCH
[2013-06-04 22:47]   -> Running build hook: [base]
[2013-06-04 22:47]   -> Running build hook: [udev]
[2013-06-04 22:47]   -> Running build hook: [modconf]
[2013-06-04 22:47]   -> Running build hook: [block]
[2013-06-04 22:47] ==> WARNING: Possibly missing firmware for module: aic94xx
[2013-06-04 22:47] ==> WARNING: Possibly missing firmware for module: bfa
[2013-06-04 22:47]   -> Running build hook: [filesystems]
[2013-06-04 22:47]   -> Running build hook: [keyboard]
[2013-06-04 22:47]   -> Running build hook: [fsck]
[2013-06-04 22:47] ==> Generating module dependencies
[2013-06-04 22:47] ==> Creating gzip initcpio image: /boot/initramfs-linux-fall$
[2013-06-04 22:48] ==> Image generation successful
[2013-06-04 22:48] installed linux (3.9.5-1)
[2013-06-04 22:48] installed logrotate (3.8.4-2)
[2013-06-04 22:48] installed lvm2 (2.02.98-4)
[2013-06-04 22:48] installed groff (1.22.2-3)
[2013-06-04 22:48] installed libpipeline (1.2.3-1)
[2013-06-04 22:48] it's recommended to create an initial
[2013-06-04 22:48] database running as root:
[2013-06-04 22:48] "/usr/bin/mandb --quiet"
[2013-06-04 22:48] installed man-db (2.6.3-3)
[2013-06-04 22:48] installed man-pages (3.51-1)
[2013-06-04 22:48] installed mdadm (3.2.6-4)
[2013-06-04 22:48] installed nano (2.2.6-2)
[2013-06-04 22:48] installed openresolv (3.5.4-3)
[2013-06-04 22:48] installed netctl (1.1-1)
[2013-06-04 22:48] installed sed (4.2.2-3)
[2013-06-04 22:48] installed ca-certificates (20130119-2)
[2013-06-04 22:48] installed libssh2 (1.4.3-1)
[2013-06-04 22:48] installed curl (7.30.0-1)
[2013-06-04 22:48] installed pth (2.0.7-4)
[2013-06-04 22:48] installed libksba (1.3.0-1)
[2013-06-04 22:48] installed libassuan (2.1.0-1)
[2013-06-04 22:48] installed pinentry (0.8.3-1)
[2013-06-04 22:48] installed dirmngr (1.1.1-1)
[2013-06-04 22:48] installed gnupg (2.0.20-2)
[2013-06-04 22:48] installed gpgme (1.4.1-1)
[2013-06-04 22:48] installed pacman-mirrorlist (20130601-1)
[2013-06-04 22:48] installed archlinux-keyring (20130525-2)
[2013-06-04 22:48]  >>> Run  `pacman-key --init; pacman-key --populate archlinu$
[2013-06-04 22:48]  >>> to import the data required by pacman for package verif$
[2013-06-04 22:48]  >>> See: https://www.archlinux.org/news/having-pacman-verif$
[2013-06-04 22:48] installed pacman (4.1.1-1)
[2013-06-04 22:48] installed pciutils (3.2.0-3)
[2013-06-04 22:48] installed pcmciautils (018-7)
[2013-06-04 22:48] installed libnl (3.2.21-1)
[2013-06-04 22:48] installed libusbx (1.0.15-1)
[2013-06-04 22:48] installed libpcap (1.4.0-1)
[2013-06-04 22:48] installed ppp (2.4.5-6)
[2013-06-04 22:48] installed procps-ng (3.3.8-1)
[2013-06-04 22:48] installed psmisc (22.20-1)
[2013-06-04 22:48] installed reiserfsprogs (3.6.22-2)
[2013-06-04 22:48] installed sysvinit-tools (2.88-11)
[2013-06-04 22:48] installed systemd-sysvcompat (204-3)
[2013-06-04 22:48] installed tar (1.26-4)
[2013-06-04 22:48] installed texinfo (5.1-1)
[2013-06-04 22:48] installed usbutils (006-1)
[2013-06-04 22:48] installed vi (1:050325-3)
[2013-06-04 22:48] installed which (2.20-6)
[2013-06-04 22:48] installed xfsprogs (3.1.11-1)
[2013-06-04 22:48] installed freetype2 (2.4.12-1)
[2013-06-04 22:48] installed fuse (2.9.2-3)
[2013-06-04 22:48] Generating grub.cfg.example config file...
[2013-06-04 22:48] This may fail on some machines running a custom kernel.
[2013-06-04 22:48] done.
[2013-06-04 22:48] installed grub-common (2.00-2)
[2013-06-04 22:48] installed grub-bios (2.00-2)
[2013-06-11 17:51] [PACMAN] Running 'pacman -S grub bios'
[2013-06-11 17:51] [PACMAN] Running 'pacman -S grub-bios'
[2013-06-11 18:02] [PACMAN] Running 'pacman -S grub-bios'
[2013-06-11 18:06] [PACMAN] Running 'pacman -S grub-bios'
[2013-06-11 18:08] [PACMAN] Running 'pacman -S grub-bios'

systemctl --failed ne donne rien non plus

Code : Tout sélectionner

(installation) / # systemctl --failed
Running in chroot, ignoring request.
Voici l'entrée grub a tout hasard:

Code : Tout sélectionner

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch Linux, with Linux core repo kernel' --class arch --class gnu-li$
        load_video
        set gfxpayload=keep
        insmod gzio
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos7'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint$
        else
          search --no-floppy --fs-uuid --set=root 5fdfee5b-28bb-4c64-bb2b-ac49d$
        fi
        echo    'Loading Linux core repo kernel ...'
        linux   /boot/vmlinuz-linux root=UUID=5fdfee5b-28bb-4c64-bb2b-ac49dc742$
        echo    'Loading initial ramdisk ...'
        initrd  /boot/initramfs-linux.img
}
menuentry 'Arch Linux, with Linux core repo kernel (Fallback initramfs)' --clas$
        load_video
        set gfxpayload=keep
        insmod gzio
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos7'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint$
        else
          search --no-floppy --fs-uuid --set=root 5fdfee5b-28bb-4c64-bb2b-ac49d$
        fi
        echo    'Loading Linux core repo kernel ...'
        linux   /boot/vmlinuz-linux root=UUID=5fdfee5b-28bb-4c64-bb2b-ac49dc742$
        echo    'Loading initial ramdisk ...'
        initrd  /boot/initramfs-linux-fallback.img
}
et l'entrée grub que j'ai rajouté au cfg l'ancien système (depuis lequel je chroot):

Code : Tout sélectionner

### 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.



menuentry archlinux sda7 {
 set root=(hd0,7)
 linux /boot/vmlinuz-linux root=UUID=5fdfee5b-28bb-4c64-bb2b-ac49dc7427c8 ro
 initrd /boot/initramfs-linux.img
}





### END /etc/grub.d/40_custom ###
Faut'il que je supprime le grub.cfg du nouveau sytème pour ne garder
que l'entrée ajouté dans l'ancien ??

Autrement comme je croit avoir vu une histoire de prompt avant la redirection vers tty1
comment inversé cette commande si c'est la cause du problème ?

Code : Tout sélectionner

echo 'PS1="(installation) \w \\$ "' > "$ARCH_SYS/root/.bashrc"

Re: [grub]nouveau système

Publié : mar. 11 juin 2013, 18:44
par rroo
Autrement esque ca pourrait être le gestionnaire de fenêtre en cause car je
ne sais pas si l'installation par défault en contient un ?
Voici ce que me renvoie pacman lors de l'installation de netctl(par exemple):

Code : Tout sélectionner

(installation) / # pacman -S netctl
warning: netctl-1.1-1 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...

Packages (1): netctl-1.1-1

Total Installed Size:   0.16 MiB
Net Upgrade Size:       0.00 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                     [#######################] 100%
(1/1) checking package integrity                   [#######################] 100%
error: GPGME error: Inappropriate ioctl for device
error: netctl: missing required signature
:: File /var/cache/pacman/pkg/netctl-1.1-1-any.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.

error: segmentation fault
Please submit a full bug report with --debug if appropriate.
J'ai pourtant mis a jour pacman key esque ce problème vient de la mise a jour pacman sur la page d'acceuil archlinux.
Désolè d'être un peut confut mais je ne sais pas du tout d'ou vient mon problème...

Re: [grub]nouveau système

Publié : mar. 11 juin 2013, 19:13
par Fork Bomb
J’ai eu ce problème récemment.
J’ai corrigé en installant et ntp en le réglant.

Re: [grub]nouveau système

Publié : mar. 11 juin 2013, 19:20
par benjarobin
@Fork Bomb, peut de rapport... Il suffit de lire le Wiki sur Chroot. La réponse est dedans...
Astuce: Si vous obtenez cette erreur lors de l'utilisation de pacman :

Re: [grub]nouveau système

Publié : mar. 11 juin 2013, 19:24
par tuxce
rroo a écrit :Pour le dernier message avant redirection vers la console tty1
Si j'ai bien compris, en fait, tu te retrouves sur tty1 avec "login:", c'est ça ?
rroo a écrit :je croit avoir apercu quelque chose comme search prompt...
Et ça ne serait pas un truc du genre:
Starting Login Prompts.
Parce que si c'est ça, c'est tout ce qu'il y a de plus normal et franchement :chinois: (je m'explique pas comment tu peux rater une ligne de commande et arriver à installer en chroot :shock:, mais :chinois:)
Bon j'attends quand même la confirmation, si ça se trouve, j'y suis pas du tout.
rroo a écrit : Ca ne pourrait pas être en rapport avec la modification du prompt pour l'installation en chroot??
non.

Re: [grub]nouveau système

Publié : mer. 12 juin 2013, 16:47
par rroo
oui effectivement je croit bien que c'est ca:

Code : Tout sélectionner

Starting Login Prompts
Autrement oui je me retrouve bien sur loggin

sinon j'ai une autre question concernant le multiboot (un autre système archbang+le archlinux en cours d'installation) Esqu'il serra possible rediriger ces deux systèmes sur le mbr de mon archbang actuelle
sachant qu'il ne posséde pas de partition boot séparé(tout est sur une seul partition)?
Si oui esque je doit supprimer le fichier grub.cfg sur ces deux système?

Re: [grub]nouveau système

Publié : mer. 12 juin 2013, 16:51
par widapit
Salut !
rroo a écrit :Autrement oui je me retrouve sur login
et bêtement; tu as essayé de te loguer (root ou user) ? ça donne quoi !?
:copain: :pastaper:

Re: [grub]nouveau système

Publié : mer. 12 juin 2013, 16:57
par rroo
Non je n'ai pas assayer de me loguer car je ne sais pas quoi faire...
mais bon j'ai configurer mon passwd et users donc ca devrai être possible.
Toute facon je peut efféctué les mêmes opération depuis le chroot non ??!

Re: [grub]nouveau système

Publié : mer. 12 juin 2013, 17:09
par widapit
Non je n'ai pas assayé de me loguer car je ne sais pas quoi faire...
te loguer !! :mrgreen:
mais bon j'ai configuré mon passwd et users donc ca devrait être possible.
en principe, oui ! en fait c'est le but...
Toute facon je peux effectuer les mêmes opérations depuis le chroot non ??!
Oui . mais à choisir entre: "rentrer un identifiant et un mot de passe" ou "faire la manip pour passer en chroot", j'hésites pas longtemps !! :P

Re: [grub]nouveau système

Publié : mer. 12 juin 2013, 17:34
par rroo
Oui c'est sur mais bon j'ai accées au net quand je chroot...
Autrement j'ai un autre problème j'ai des paquets a installer via chroot mais
j'ai cet erreur:

Code : Tout sélectionner

(installation) / # pacman -S dialog
resolving dependencies...
looking for inter-conflicts...

Packages (1): dialog-1.2_20130523-2

Total Download Size:    0.18 MiB
Total Installed Size:   0.71 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages ...
error: failed retrieving file 'dialog-1.2_20130523-2-x86_64.pkg.tar.xz' from archlinux.mirror.kangaroot.net : Could not resolve host: archlinux.mirror.kangaroot.net
error: failed retrieving file 'dialog-1.2_20130523-2-x86_64.pkg.tar.xz' from mirror.archlinux.ikoula.com : Could not resolve host: mirror.archlinux.ikoula.com
error: failed retrieving file 'dialog-1.2_20130523-2-x86_64.pkg.tar.xz' from mirror.brainfork.me : Could not resolve host: mirror.brainfork.me
error: failed retrieving file 'dialog-1.2_20130523-2-x86_64.pkg.tar.xz' from distrib-coffee.ipsl.jussieu.fr : Could not resolve host: distrib-coffee.ipsl.jussieu.fr
error: failed retrieving file 'dialog-1.2_20130523-2-x86_64.pkg.tar.xz' from mir.archlinux.fr : Could not resolve host: mir.archlinux.fr
error: failed retrieving file 'dialog-1.2_20130523-2-x86_64.pkg.tar.xz' from miroir.ezvan.fr : Could not resolve host: miroir.ezvan.fr
error: failed retrieving file 'dialog-1.2_20130523-2-x86_64.pkg.tar.xz' from archlinux.polymorf.fr : Could not resolve host: archlinux.polymorf.fr
error: failed retrieving file 'dialog-1.2_20130523-2-x86_64.pkg.tar.xz' from mirror.1favre.de : Could not resolve host: mirror.1favre.de
error: failed retrieving file 'dialog-1.2_20130523-2-x86_64.pkg.tar.xz' from archlinux.limun.org : Could not resolve host: archlinux.limun.org
error: failed retrieving file 'dialog-1.2_20130523-2-x86_64.pkg.tar.xz' from artfiles.org : Could not resolve host: artfiles.org
error: failed retrieving file 'dialog-1.2_20130523-2-x86_64.pkg.tar.xz' from mirror.fluxent.de : Could not resolve host: mirror.fluxent.de
warning: failed to retrieve some files
error: failed to commit transaction (download library error)
Errors occurred, no packages were upgraded.
(installation) / # pacman-Syu - debug
bash: pacman-Syu: command not found

Re: [grub]nouveau système

Publié : mer. 12 juin 2013, 17:45
par Anghirrim
Pour le net... il suffit de te loguer (même en root, le temps de te créer ton utilisateur), puis de lancer dhcpcd (si tu es connecté en filaire).

Tu peux aussi (une fois logué en root) établir le service dhcpcd pour systemd.

Si tu es en Wifi. Le wiki t'aidera pour configurer ta connection.

Astuce: pour tester ta connection après le dhcpcd, tu peux lancer un ping.

Edit: Ça me fait penser à un post de Tuxce qui s'étonnait que les gens maîtrisaient le chroot et pas les commandes de base :lol:

Re: [grub]nouveau système

Publié : mer. 12 juin 2013, 17:46
par tuxce
Donc pour le coup, le topic est résolu. (en fait, il n'y avait pas de souci)
Bon, je suis content de la page chroot, elle fonctionne bien en fait :)
Par contre, tu l'as suivi sans comprendre ce que ça fait, c'est dommage :|
rroo a écrit :Oui c'est sur mais bon j'ai accées au net quand je chroot...
rroo a écrit :error: failed retrieving file 'dialog-1.2_20130523-2-x86_64.pkg.tar.xz' from archlinux.mirror.kangaroot.net : Could not resolve host: archlinux.mirror.kangaroot.net
Tu chroot mais sûrement sans copier le resolv.conf -> chroot
rroo a écrit :(installation) / # pacman-Syu - debug
bash: pacman-Syu: command not found
1. pourquoi tu veux lancer un pacman avec debug ??!? Could not resolve host: archlinux.mirror.kangaroot.net est explicite comme message, non ?
2. tu le fais exprès de ne pas t'appliquer dans ce que tu lances comme commande ?