« Asus X205TA Ubuntu2110 » : différence entre les versions
		
		
		
		Aller à la navigation
		Aller à la recherche
		
| Ligne 27 : | Ligne 27 : | ||
| * Monter la partition EFI : | * Monter la partition EFI : | ||
|          mount /dev/ |          mount /dev/sdb2 /media/usb/     <== a changer (/dev/sdb) si sdb n'est pas la clef usb   | ||
| * Dans /EFI/boot (ou /efi/boot/), placer bootia32.efi :   | * Dans /EFI/boot (ou /efi/boot/), placer bootia32.efi :   | ||
Version du 27 octobre 2021 à 13:25
Installation d'un Linux Ubuntu 21.10 sur un Asus X205TA
De base, c'est une plaie :)
Il faut savoir que le CPU Intel gère le 64 bits, mais que pour le boot, cela n'accepte qu'un boot-loader 32 bits, il faut trop jouer des coudes pour arriver sans avoir à tout casser.
- Télécharger l'ISO Ubuntu 21.10 Desktop 64 Bits :
- Index: https://releases.ubuntu.com/21.10/ - Lien direct: https://releases.ubuntu.com/21.10/ubuntu-21.10-desktop-amd64.iso
- Burner l'image sur une clef usb:
dd if=ubuntu-21.10-desktop-amd64.iso of=/dev/<le device de votre clef usb>
ou (pour avoir un status de temps) :
pv ubuntu-21.10-desktop-amd64.iso | dd of=/dev/<le device de votre clef usb>
- Télécharger le boot 32bits (un des liens, par ordre de préférence) :
- Lien 1 : https://github.com/jfwells/linux-asus-t100ta/raw/master/boot/bootia32.efi <= bootia32 testé - Lien 3 : https://github.com/savagezen/x205ta/blob/master/bootia32.efi <= bootia32 non testé - Lien 4 : https://github.com/hirotakaster/baytail-bootia32.efi <= bootia32 non testé - Lien 2 : http://www.thinktwisted.com/gradschool/Public/grubia32.efi <= grubia32 non testé
- Monter la partition EFI :
mount /dev/sdb2 /media/usb/ <== a changer (/dev/sdb) si sdb n'est pas la clef usb
- Dans /EFI/boot (ou /efi/boot/), placer bootia32.efi :
cp ~/chez/vous/bootia32.efi /media/usb/EFI/boot/bootia32.efi
- Demonter la clef
umount /media/usb
- Démarrer l'ordinateur avec la clef USB dans le port USB (important, sinon le bios ne le détectera pas) et presser plusieurs fois F2 pour accéder au bios.
- Dans le Bios :
      - Advanced > USB Configuration > USB Controller Select > *EHCI*
      - Security > Secure Boot Menu -> Secure Boot Control -> *Disabled*
      - Save & Exit > Save Changes (pas Save Changes & Exit)
      - Save & Exit > Boot Override > "USB"
Si tout se passe bien, vous aurez le prompt GRUB sans rien d'autre.
- Dans Grub, taper :
       set root=(hd0,1)
       linux	/casper/vmlinuz file=/preseed/ubuntu.seed
       initrd	/casper/initrd
       boot
- Attendre le boot du live-usb (si tout se passe bien :)
Annexe:
Pour compiler son propre bootia32.efi (source: lopaka, https://github.com/lopaka/instructions/blob/master/ubuntu-16.04-install-asus-x205ta.md)
PS: Non testé.
Note importante: à compiler sur une ancienne version de GCC-6 ou GG-7 ou bien directement, sous une ubuntu 16.10 (docker toussa) - sinon gcc va gueuler des erreurs :
 apt -y install git bison libopts25 libselinux1-dev autogen 
       m4 autoconf help2man libopts25-dev flex libfont-freetype-perl \
       automake autotools-dev libfreetype6-dev texinfo python make libdevmapper-dev \
       build-essential
 git clone git://git.savannah.gnu.org/grub.git
 cd grub
 git checkout b4d709b6ee789cdaf3fa7a80fd90c721a16f48c2
 ./autogen.sh
 ./configure --with-platform=efi --target=i386 --program-prefix=
 make
 cd grub-core
 ../grub-mkimage -d . -o bootia32.efi -O i386-efi -p /boot/grub \
        ntfs hfs appleldr boot cat efi_gop efi_uga elf fat hfsplus iso9660 linux keylayouts \
        memdisk minicmd part_apple ext2 extcmd xfs xnu part_bsd part_gpt search search_fs_file \
        chain btrfs loadbios loadenv lvm minix minix2 reiserfs memrw mmap msdospart scsi loopback \
        normal configfile gzio all_video efi_gop efi_uga gfxterm gettext echo boot chain eval
 cp ~/boot32/grub/grub-core/bootia32.efi /media/usb/EFI/boot/
Pour installer ArchLinux : https://github.com/savagezen/x205ta  (non testé)