Page 1 sur 1

[installation]archbang(résolu)

Publié : sam. 08 juin 2013, 10:53
par rroo
Bonjour

je voudrais installer archbang sur une carte sd,clé usb, ou disque dur externe.
J'ai donc lancer mon iso(sur clé usb et lancé l'install sur mon disque dur externe
pour obtenir une installation en dur mais ca ne marche pas.
je ne comprend pas pourquoi l'installation ne prend pas sur media externe alors que ca marche trés bien en interne ??
Avez-vous une idée d'ou vient cette différence?

Merci

Re: [installation]arcbang

Publié : sam. 08 juin 2013, 11:43
par benjarobin
Il faudrait plus de détail que cela ne marche pas. Qu'est ce qui " ne prend pas " ?

Re: [installation]arcbang

Publié : sam. 08 juin 2013, 12:37
par Xorg
Je ne comprends pas. Tu arrives donc à booter sur l'ISO, tu es dans la console ?

Re: [installation]arcbang

Publié : dim. 09 juin 2013, 14:29
par rroo
je démarre l'installation depuis le live cd archbang puis je lance l'installation de la même
facon que pour un disque dur interne sauf que j'utilise un autre media externe a la place.
J'ai déja essayé sur une carte sd 2 Go et sur mon disque dur externe.
En fait je voulais plutôt savoir s'il n'y a pas une limitation spécifique a ce type de média ?

Re: [installation]arcbang

Publié : dim. 09 juin 2013, 14:45
par benjarobin
On ne sait toujours pas ce qui ne fonctionne pas...

Re: [installation]arcbang

Publié : dim. 09 juin 2013, 14:55
par rroo
Mon disque dur boot le grub apparait et ensuite je suis redirigé vers la console de récupération
avec ce message d'erreur:

Code : Tout sélectionner

unable to find root device 6019a753-f402-4a0a-a4ea-35f208c643f8 
Voici mon partionement sdb6 partition boot sdb7 /racine:
http://hpics.li/943a1c5

Re: [installation]arcbang

Publié : dim. 09 juin 2013, 15:12
par benjarobin
Drôle d'idée de mettre en ext4 /boot, mais peut importe...
Peux tu donner la sortie de

Code : Tout sélectionner

blkid
ls -l /dev/disk/by-uuid/
Comment as tu configurer Grub ? Peut on avoir ton grub.cfg ?

Re: [installation]arcbang

Publié : dim. 09 juin 2013, 15:42
par rroo
Le message exacte est

Code : Tout sélectionner

ERROR: unable to find root device UUID=6019a753-f402-4a0a-a4ea-35f208c643f8  
You are being dropped to a recovery shell 
Type 'exit' to try and continue booting
sh: can't access tty;job control turned off 
[rootfs/]#
Voici mes sorties:

Code : Tout sélectionner

[root@arch rroo]# blkid
/dev/sda5: UUID="979765af-8c5e-46ae-af90-02179aa337cc" TYPE="ext4" 
/dev/sda6: UUID="d44650dd-01b2-44b7-b9cd-d81c3e6bb2a6" TYPE="ext4" 
/dev/sdb5: UUID="17FD-3094" TYPE="vfat" 
/dev/sdb6: UUID="6ddfc1cb-5c83-40e0-88ca-0709fe63af59" TYPE="ext4" 
/dev/sdb7: UUID="6019a753-f402-4a0a-a4ea-35f208c643f8" TYPE="ext4" 
[root@arch rroo]# ls -l /dev/disk/by-uuid/
total 0
lrwxrwxrwx 1 root root 10  4 juin  19:40 17FD-3094 -> ../../sdb5
lrwxrwxrwx 1 root root 10  4 juin  19:40 6019a753-f402-4a0a-a4ea-35f208c643f8 -> ../../sdb7
lrwxrwxrwx 1 root root 10  4 juin  19:40 6ddfc1cb-5c83-40e0-88ca-0709fe63af59 -> ../../sdb6
lrwxrwxrwx 1 root root 10  4 juin  19:06 979765af-8c5e-46ae-af90-02179aa337cc -> ../../sda5
lrwxrwxrwx 1 root root 10  4 juin  19:06 d44650dd-01b2-44b7-b9cd-d81c3e6bb2a6 -> ../../sda6
Mon boot est totalement vide apparement!? :shock:
je précise commême que sous archbang il y a un assistant d'installation donc le grub
est généré automatiquement normalement

Re: [installation]arcbang

Publié : dim. 09 juin 2013, 16:05
par lekaf974
Si ton dossier /boot est vide, ce n'est pas forcément qu'il n'y a rien d'installer. Ta partition n'est peut-être pas montée au démarrage. Que renvoie la commande

Code : Tout sélectionner

$ cat /etc/fstab

Re: [installation]arcbang

Publié : dim. 09 juin 2013, 16:11
par rroo
je vient de me rendre compte que le contenue du répertoire boot est dans
/dev/sdb6: UUID="6ddfc1cb-5c83-40e0-88ca-0709fe63af59" TYPE="ext4"

Code : Tout sélectionner

[root@arch rroo]# cat /etc/fstab
# 
# /etc/fstab: static file system information
#
# <file system>	<dir>	<type>	<options>	<dump>	<pass>
UUID=979765af-8c5e-46ae-af90-02179aa337cc /boot ext4 defaults 0 1
UUID=d44650dd-01b2-44b7-b9cd-d81c3e6bb2a6 / ext4 defaults 0 1
[root@arch rroo]# 

Re: [installation]arcbang

Publié : dim. 09 juin 2013, 18:01
par Xorg
Drôle de façon de partition un disque dur avec uniquement une partition étendue... Puis je rejoins l'avis de Benjarobin, le boot est Ext4 c'est pas ce qu'il se fait le plus, enfin bref.

Si je résume :

Code : Tout sélectionner

/dev/sdb6, UUID=6ddfc1cb-5c83-40e0-88ca-0709fe63af59 ==> /boot
/dev/sdb7, UUID=6019a753-f402-4a0a-a4ea-35f208c643f8 ==> /
Donc ton fstab ne va pas du tout. Il devrait ressembler à ceci :

Code : Tout sélectionner

#
# /etc/fstab: static file system information
#
# <file system>   <dir>   <type>   <options>   <dump>   <pass>
UUID=6ddfc1cb-5c83-40e0-88ca-0709fe63af59 /boot ext4 defaults 0 2
UUID=6019a753-f402-4a0a-a4ea-35f208c643f8 / ext4 defaults 0 1
EDIT : Hé, tu nous a donné le fstab de ton Arch actuelle. Donc ce que j'ai écris s'applique à l'Arch installée sur ta partition /dev/sdb7. :faq2:

Re: [installation]arcbang

Publié : dim. 09 juin 2013, 19:05
par rroo
Oui en effet c'est le fstab de mon systéme actuelle :roll:
Le fstab du disque dur externe est bien le bon:

Code : Tout sélectionner

# 
# /etc/fstab: static file system information
#
# <file system>	<dir>	<type>	<options>	<dump>	<pass>
UUID=6019a753-f402-4a0a-a4ea-35f208c643f8 / ext4 defaults 0 1
UUID=6ddfc1cb-5c83-40e0-88ca-0709fe63af59 /boot ext4 defaults 0 1

Re: [installation]archbang

Publié : dim. 09 juin 2013, 20:09
par rroo
j'installe aussi archlinux en 'chroot' sur mon disque dur interne et dans le grub.cfg
le grub.cfg du nouveau système j'ai un uuid inconnue (uuid=ad4103fa-d940-47ca-8506-301d80)ainsi que set (root='hd0,msdos5')qui pointe sur la même partition que mon système actuel du coup j'ai un peu de mal a m'y retrouver

Sortie blkid:

Code : Tout sélectionner

[root@arch 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" 
grub.cfg du nouveau système:

Code : Tout sélectionner

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch Linux, with Linux core repo kernel' --class arch --class gnu-lin$
        load_video
        set gfxpayload=keep
        insmod gzio
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos5'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-$
        else
          search --no-floppy --fs-uuid --set=root ad4103fa-d940-47ca-8506-301d80$
        fi
        echo    'Loading Linux core repo kernel ...'
        linux   /boot/vmlinuz-linux root=UUID=ad4103fa-d940-47ca-8506-301d8071d4$
        echo    'Loading initial ramdisk ...'
        initrd  /boot/initramfs-linux.img
}
menuentry 'Arch Linux, with Linux core repo kernel (Fallback initramfs)' --class$
        load_video
        set gfxpayload=keep
        insmod gzio
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos5'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-$
        else
          search --no-floppy --fs-uuid --set=root ad4103fa-d940-47ca-8506-301d80$
        fi
        echo    'Loading Linux core repo kernel ...'
        linux   /boot/vmlinuz-linux root=UUID=ad4103fa-d940-47ca-8506-301d8071d4$
        echo    'Loading initial ramdisk ...'
        initrd  /boot/initramfs-linux-fallback.img
}
grub.cfg de mon système actuel:

Code : Tout sélectionner

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch GNU/Linux, with Linux core repo kernel' --class arch --class gnu$
        load_video
        set gfxpayload=keep
        insmod gzio
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos5'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-$
        else
          search --no-floppy --fs-uuid --set=root 979765af-8c5e-46ae-af90-02179a$
        fi
        echo    'Loading Linux core repo kernel ...'
        linux   /vmlinuz-linux root=UUID=d44650dd-01b2-44b7-b9cd-d81c3e6bb2a6 ro$
        echo    'Loading initial ramdisk ...'
        initrd  /initramfs-linux.img
}
menuentry 'Arch GNU/Linux, with Linux core repo kernel (Fallback initramfs)' --c$
        load_video
        set gfxpayload=keep
        insmod gzio
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos5'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-$
        else
          search --no-floppy --fs-uuid --set=root 979765af-8c5e-46ae-af90-02179a$
        fi
        echo    'Loading Linux core repo kernel ...'
        linux   /vmlinuz-linux root=UUID=d44650dd-01b2-44b7-b9cd-d81c3e6bb2a6 ro$
        echo    'Loading initial ramdisk ...'
        initrd  /initramfs-linux-fallback.img
}
Esque cette entrée serrai correcte?

Code : Tout sélectionner

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch GNU/Linux, with Linux core repo kernel' --class arch --class gnu$
        load_video
        set gfxpayload=keep
        insmod gzio
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos5'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-$
        else
          search --no-floppy --fs-uuid --set=root 979765af-8c5e-46ae-af90-02179a$
        fi
        echo    'Loading Linux core repo kernel ...'
        linux   /vmlinuz-linux root=UUID=d44650dd-01b2-44b7-b9cd-d81c3e6bb2a6 ro$
        echo    'Loading initial ramdisk ...'
        initrd  /initramfs-linux.img
}
menuentry 'Arch GNU/Linux, with Linux core repo kernel (Fallback initramfs)' --c$
        load_video
        set gfxpayload=keep
        insmod gzio
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos5'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-$
        else
          search --no-floppy --fs-uuid --set=root 979765af-8c5e-46ae-af90-02179a$
        fi
        echo    'Loading Linux core repo kernel ...'
        linux   /vmlinuz-linux root=UUID=d44650dd-01b2-44b7-b9cd-d81c3e6bb2a6 ro$
        echo    'Loading initial ramdisk ...'
        initrd  /initramfs-linux-fallback.img
}
menuentry 'Arch Linux, with Linux core repo kernel' --class arch --class gnu-lin$
        load_video
        set gfxpayload=keep
        insmod gzio
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos5'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-$
        else
          search --no-floppy --fs-uuid --set=root 5fdfee5b-28bb-4c64-bb2b-ac49dc7427c8$
        fi
        echo    'Loading Linux core repo kernel ...'
        linux   /boot/vmlinuz-linux root=UUID=5fdfee5b-28bb-4c64-bb2b-ac49dc7427c8$
        echo    'Loading initial ramdisk ...'
        initrd  /boot/initramfs-linux.img
}
menuentry 'Arch Linux, with Linux core repo kernel (Fallback initramfs)' --class$
        load_video
        set gfxpayload=keep
        insmod gzio
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos5'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-$
        else
          search --no-floppy --fs-uuid --set=root 5fdfee5b-28bb-4c64-bb2b-ac49dc7427c8$
        fi
        echo    'Loading Linux core repo kernel ...'
        linux   /boot/vmlinuz-linux root=UUID=5fdfee5b-28bb-4c64-bb2b-ac49dc7427c8$
        echo    'Loading initial ramdisk ...'
        initrd  /boot/initramfs-linux-fallback.img
}

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

Re: [installation]archbang

Publié : dim. 09 juin 2013, 23:31
par tuxce
rroo a écrit :j'installe aussi archlinux en 'chroot' sur mon disque dur interne
C'est pour rendre le topic encore plus simple à comprendre ? :)
rroo a écrit :le grub.cfg du nouveau système j'ai un uuid inconnue (uuid=ad4103fa-d940-47ca-8506-301d80)
C'est le grub.cfg qui vient avec le paquet grub-bios, rien à voir avec ton système. (wiki grub)
rroo a écrit :du coup j'ai un peu de mal a m'y retrouver
Vu que tu mélanges mise à jour d'un système datant de novembre, installation en chroot et installation sur disque externe sans même être à l'aise avec une installation et une utilisation normale, ça ne m'étonne pas.

Un conseil, termine le sujet de tes topics (j'ai l'impression que t'en as résolu aucun :|), ouvre d'autres topic si tu veux absolument faire des trucs en parallèle mais s'il te plaît, ne mélange pas !!!

Re: [installation]archbang

Publié : jeu. 13 juin 2013, 20:58
par rroo
Ok désolé je vais assayer de faire attention