#26 Le 01/07/2016, à 23:19
- Babdu89
Re : réutiliser un DD déjà installé en DD externe
Bonsoir.
@Bougron.
Au sujet du post#25
1) Créer la partition FAT32 avec une taille de 2 Go au lieu de 35 Mo.
2) Télécharger une version 64 bits de ubuntu.
3) Installer avec l'application unetbootin de ton ubuntu, l'iso téléchargée dans cette partition. Tu choisiras 0 comme taille de persistance.
4) Ouvrir via gedit le fichier /boot/grub/grub.cfg de ton instance.
5) Copier tout à partir de la ligne y compris
### BEGIN /etc/grub.d/10_linux ###
jusqu'à la ligne y compris
### END /etc/grub.d/10_linux ###
6) Ouvrir via gedit le fichier /boot/grub/grub.cfg de la partition FAT32 que tu viens de remplir.
7) Se positionner en fin de fichier et coller ta sélection. Fermer le fichier.
8) Booter en commençant par repositionner le bios correctement. c'est à dire en efi.
Tu dis;
3) Installer avec l'application unetbootin de ton ubuntu, l'iso téléchargée dans cette partition. Tu choisiras 0 comme taille de persistance.
Là, tu lui fais faire un live usb sans mode persistent sur la partition FAT32 du hdd externe. Pas une installation réelle.
4)
5)
6) Ouvrir via gedit le fichier /boot/grub/grub.cfg de la partition FAT32 que tu viens de remplir.
7)
8)
Dans la session live de la partition FAT 32.
Il ne va pas trouver de fichier /boot /grub/grub.cfg
Il va trouver un fichier; /boot/grub/loopback.cfg
Avec un contenu qui ressemble à çà;
menuentry "Try Ubuntu without installing" {
linux /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper iso-scan/filename=${iso_path} quiet splash --
initrd /casper/initrd.lz
}
menuentry "Install Ubuntu" {
linux /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity iso-scan/filename=${iso_path} quiet splash --
initrd /casper/initrd.lz
}
menuentry "Check disc for defects" {
linux /casper/vmlinuz boot=casper integrity-check iso-scan/filename=${iso_path} quiet splash --
initrd /casper/initrd.lz
}
menuentry "Test memory" {
linux16 /install/mt86plus
}
Il n'y a pas de fichier "grub.cfg" dans une session live. (rappel, normalement elle est démarrée non pas par grub, mais syslinux.).
Et même si çà pouvait marcher. Le fait de ne pas avoir de mode live persistent, fera que les modifs des fichiers système de la session live seront perdu au reboot suivant.
Je ne comprends vraiment pas où tu veux en venir, mais je continue de suivre pour voir ce qu'il se passe...
@+. Babdu89 .
Dernière modification par Babdu89 (Le 01/07/2016, à 23:21)
J'ai découvert Ubuntu avec la 07.10.... Et alors?!... Depuis je regarde de temps en temps si Windows marche toujours....
Hors ligne
#27 Le 02/07/2016, à 00:17
- rawalpundi
Re : réutiliser un DD déjà installé en DD externe
salut,
je reprends un peu le train en marche,
j'avoue n'avoir pas tout suivi dans le détail, le sujet semble pointu.
je suis d'accord avec le post #20, le problème est réglé, je peux continuer à utiliser mon Ubuntu,
à la base c'est quand même une situation dégradée vu que c'est suite à la casse d'un portable.
pour la conversion en UEFI, ça semble un peu risqué + pas mal de manipulations, donc je pense rester comme ça pour l'instant,
ça ne me dérange pas de faire un réglage de boot à chaque fois.
merci en tout cas pour votre aide
Hors ligne
#28 Le 02/07/2016, à 02:39
- Bougron
Re : réutiliser un DD déjà installé en DD externe
Bonsoir Babdu89
Tu n'as pas tout suivi.
Dans la partition FAT32, en lui demandant d'installer une application en 64 bits, je lui demande tout simplement de fabriquer un répertoire
/efi/boot qui contient de quoi booter en EFI
et un repertoire /boot qui contient de quoi proposer un lancement d'une instance ubuntu.
La persistance, je m'en moque: c'est l'instance déjà installlée!
Pour que tu puisses mieux visualiser une partie du contenu d'une live USB EFI
u604@u604:~$ sudo fdisk -l
.........
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xbff57324
Périphérique Amorçage Start Fin Secteurs Size Id Type
/dev/sdb1 2048 33556479 33554432 16G 83 Linux
/dev/sdb2 * 33556480 67110911 33554432 16G b W95 FAT32
/dev/sdb3 67110912 201328639 134217728 64G 83 Linux
/dev/sdb4 201330686 976769023 775438338 369,8G 5 Étendue
/dev/sdb5 301998080 976766975 674768896 321,8G 83 Linux
u604@u604:/mnt$ sudo mount -v /dev/sdb2 SDB2
mount: /dev/sdb2 mounted on /mnt/SDB2.
u604@u604:/mnt$ cd SDB2
u604@u604:/mnt/SDB2$ ls
autorun.inf casper dists install md5sum.txt pool README.diskdefines System Volume Information wubi.exe
boot casper-rw EFI ldlinux.sys pics preseed syslinux
u604@u604:/mnt/SDB2$ ls -Rl EFI
EFI:
drwxr-xr-x 2 root root 16384 déc. 28 2015 BOOT
EFI/BOOT:
total 2240
-rwxr-xr-x 1 root root 1289424 déc. 28 2015 BOOTx64.EFI
-rwxr-xr-x 1 root root 993144 déc. 28 2015 grubx64.efi
u604@u604:/mnt/SDB2$
u604@u604:/mnt/SDB2$ ls -Rl boot
boot:
total 16
drwxr-xr-x 3 root root 16384 juil. 1 13:46 grub
boot/grub:
total 2368
-rwxr-xr-x 1 root root 2326528 déc. 28 2015 efi.img
-rwxr-xr-x 1 root root 4999 déc. 28 2015 font.pf2
-rwxr-xr-x 1 root root 3735 juil. 1 13:46 grub.cfg
-rwxr-xr-x 1 root root 1089 déc. 29 2015 grub.cfg~
-rwxr-xr-x 1 root root 714 déc. 28 2015 loopback.cfg
drwxr-xr-x 2 root root 32768 déc. 28 2015 x86_64-efi
boot/grub/x86_64-efi:
total 4512
-rwxr-xr-x 1 root root 17032 déc. 28 2015 acpi.mod
-rwxr-xr-x 1 root root 1928 déc. 28 2015 adler32.mod
-rwxr-xr-x 1 root root 23512 déc. 28 2015 ahci.mod
-rwxr-xr-x 1 root root 1017 déc. 28 2015 all_video.mod
-rwxr-xr-x 1 root root 1512 déc. 28 2015 aout.mod
-rwxr-xr-x 1 root root 5088 déc. 28 2015 appleldr.mod
-rwxr-xr-x 1 root root 4736 déc. 28 2015 archelp.mod
-rwxr-xr-x 1 root root 8984 déc. 28 2015 ata.mod
-rwxr-xr-x 1 root root 7424 déc. 28 2015 at_keyboard.mod
-rwxr-xr-x 1 root root 2512 déc. 28 2015 backtrace.mod
-rwxr-xr-x 1 root root 10152 déc. 28 2015 bfs.mod
-rwxr-xr-x 1 root root 3144 déc. 28 2015 bitmap.mod
-rwxr-xr-x 1 root root 5160 déc. 28 2015 bitmap_scale.mod
-rwxr-xr-x 1 root root 3216 déc. 28 2015 blocklist.mod
-rwxr-xr-x 1 root root 3304 déc. 28 2015 boot.mod
-rwxr-xr-x 1 root root 49984 déc. 28 2015 bsd.mod
-rwxr-xr-x 1 root root 19720 déc. 28 2015 btrfs.mod
-rwxr-xr-x 1 root root 2896 déc. 28 2015 bufio.mod
-rwxr-xr-x 1 root root 4256 déc. 28 2015 cat.mod
-rwxr-xr-x 1 root root 5472 déc. 28 2015 cbfs.mod
-rwxr-xr-x 1 root root 6376 déc. 28 2015 cbls.mod
-rwxr-xr-x 1 root root 3848 déc. 28 2015 cbmemc.mod
-rwxr-xr-x 1 root root 1624 déc. 28 2015 cbtable.mod
-rwxr-xr-x 1 root root 4072 déc. 28 2015 cbtime.mod
-rwxr-xr-x 1 root root 8552 déc. 28 2015 chain.mod
-rwxr-xr-x 1 root root 4728 déc. 28 2015 cmdline_cat_test.mod
-rwxr-xr-x 1 root root 2888 déc. 28 2015 cmp.mod
-rwxr-xr-x 1 root root 3593 déc. 28 2015 command.lst
-rwxr-xr-x 1 root root 4384 déc. 28 2015 cpio_be.mod
-rwxr-xr-x 1 root root 4384 déc. 28 2015 cpio.mod
-rwxr-xr-x 1 root root 2544 déc. 28 2015 cpuid.mod
-rwxr-xr-x 1 root root 2120 déc. 28 2015 crc64.mod
-rwxr-xr-x 1 root root 16200 déc. 28 2015 cryptodisk.mod
-rwxr-xr-x 1 root root 936 déc. 28 2015 crypto.lst
-rwxr-xr-x 1 root root 6920 déc. 28 2015 crypto.mod
-rwxr-xr-x 1 root root 3888 déc. 28 2015 cs5536.mod
-rwxr-xr-x 1 root root 2976 déc. 28 2015 datehook.mod
-rwxr-xr-x 1 root root 3192 déc. 28 2015 date.mod
-rwxr-xr-x 1 root root 1936 déc. 28 2015 datetime.mod
-rwxr-xr-x 1 root root 13680 déc. 28 2015 diskfilter.mod
-rwxr-xr-x 1 root root 3128 déc. 28 2015 disk.mod
-rwxr-xr-x 1 root root 5792 déc. 28 2015 div_test.mod
-rwxr-xr-x 1 root root 2688 déc. 28 2015 dm_nv.mod
-rwxr-xr-x 1 root root 3024 déc. 28 2015 echo.mod
-rwxr-xr-x 1 root root 2272 déc. 28 2015 efifwsetup.mod
-rwxr-xr-x 1 root root 13448 déc. 28 2015 efi_gop.mod
-rwxr-xr-x 1 root root 5392 déc. 28 2015 efinet.mod
-rwxr-xr-x 1 root root 7496 déc. 28 2015 efi_uga.mod
-rwxr-xr-x 1 root root 25544 déc. 28 2015 ehci.mod
-rwxr-xr-x 1 root root 7232 déc. 28 2015 elf.mod
-rwxr-xr-x 1 root root 2184 déc. 28 2015 eval.mod
-rwxr-xr-x 1 root root 8544 déc. 28 2015 exfat.mod
-rwxr-xr-x 1 root root 2280 déc. 28 2015 exfctest.mod
-rwxr-xr-x 1 root root 8736 déc. 28 2015 ext2.mod
-rwxr-xr-x 1 root root 8680 déc. 28 2015 fat.mod
-rwxr-xr-x 1 root root 24512 déc. 28 2015 file.mod
-rwxr-xr-x 1 root root 3000 déc. 28 2015 fixvideo.mod
-rwxr-xr-x 1 root root 17688 déc. 28 2015 font.mod
-rwxr-xr-x 1 root root 214 déc. 28 2015 fs.lst
-rwxr-xr-x 1 root root 2416 déc. 28 2015 gcry_arcfour.mod
-rwxr-xr-x 1 root root 9688 déc. 28 2015 gcry_blowfish.mod
-rwxr-xr-x 1 root root 30400 déc. 28 2015 gcry_camellia.mod
-rwxr-xr-x 1 root root 15336 déc. 28 2015 gcry_cast5.mod
-rwxr-xr-x 1 root root 3904 déc. 28 2015 gcry_crc.mod
-rwxr-xr-x 1 root root 17248 déc. 28 2015 gcry_des.mod
-rwxr-xr-x 1 root root 3440 déc. 28 2015 gcry_dsa.mod
-rwxr-xr-x 1 root root 4144 déc. 28 2015 gcry_idea.mod
-rwxr-xr-x 1 root root 4152 déc. 28 2015 gcry_md4.mod
-rwxr-xr-x 1 root root 4952 déc. 28 2015 gcry_md5.mod
-rwxr-xr-x 1 root root 3312 déc. 28 2015 gcry_rfc2268.mod
-rwxr-xr-x 1 root root 20272 déc. 28 2015 gcry_rijndael.mod
-rwxr-xr-x 1 root root 9136 déc. 28 2015 gcry_rmd160.mod
-rwxr-xr-x 1 root root 3400 déc. 28 2015 gcry_rsa.mod
-rwxr-xr-x 1 root root 13336 déc. 28 2015 gcry_seed.mod
-rwxr-xr-x 1 root root 16488 déc. 28 2015 gcry_serpent.mod
-rwxr-xr-x 1 root root 7888 déc. 28 2015 gcry_sha1.mod
-rwxr-xr-x 1 root root 6120 déc. 28 2015 gcry_sha256.mod
-rwxr-xr-x 1 root root 7480 déc. 28 2015 gcry_sha512.mod
-rwxr-xr-x 1 root root 13576 déc. 28 2015 gcry_tiger.mod
-rwxr-xr-x 1 root root 33944 déc. 28 2015 gcry_twofish.mod
-rwxr-xr-x 1 root root 23088 déc. 28 2015 gcry_whirlpool.mod
-rwxr-xr-x 1 root root 9104 déc. 28 2015 geli.mod
-rwxr-xr-x 1 root root 8600 déc. 28 2015 gettext.mod
-rwxr-xr-x 1 root root 61200 déc. 28 2015 gfxmenu.mod
-rwxr-xr-x 1 root root 4680 déc. 28 2015 gfxterm_background.mod
-rwxr-xr-x 1 root root 7848 déc. 28 2015 gfxterm_menu.mod
-rwxr-xr-x 1 root root 18440 déc. 28 2015 gfxterm.mod
-rwxr-xr-x 1 root root 5128 déc. 28 2015 gptsync.mod
-rwxr-xr-x 1 root root 219 déc. 28 2015 grub.cfg
-rwxr-xr-x 1 root root 11824 déc. 28 2015 gzio.mod
-rwxr-xr-x 1 root root 6544 déc. 28 2015 halt.mod
-rwxr-xr-x 1 root root 8616 déc. 28 2015 hashsum.mod
-rwxr-xr-x 1 root root 11512 déc. 28 2015 hdparm.mod
-rwxr-xr-x 1 root root 3968 déc. 28 2015 help.mod
-rwxr-xr-x 1 root root 4528 déc. 28 2015 hexdump.mod
-rwxr-xr-x 1 root root 10528 déc. 28 2015 hfs.mod
-rwxr-xr-x 1 root root 4408 déc. 28 2015 hfspluscomp.mod
-rwxr-xr-x 1 root root 10792 déc. 28 2015 hfsplus.mod
-rwxr-xr-x 1 root root 8944 déc. 28 2015 http.mod
-rwxr-xr-x 1 root root 4504 déc. 28 2015 iorw.mod
-rwxr-xr-x 1 root root 8984 déc. 28 2015 jfs.mod
-rwxr-xr-x 1 root root 8928 déc. 28 2015 jpeg.mod
-rwxr-xr-x 1 root root 6424 déc. 28 2015 keylayouts.mod
-rwxr-xr-x 1 root root 3144 déc. 28 2015 keystatus.mod
-rwxr-xr-x 1 root root 8728 déc. 28 2015 ldm.mod
-rwxr-xr-x 1 root root 44560 déc. 28 2015 legacycfg.mod
-rwxr-xr-x 1 root root 15904 déc. 28 2015 legacy_password_test.mod
-rwxr-xr-x 1 root root 12744 déc. 28 2015 linux16.mod
-rwxr-xr-x 1 root root 10392 déc. 28 2015 linuxefi.mod
-rwxr-xr-x 1 root root 21552 déc. 28 2015 linux.mod
-rwxr-xr-x 1 root root 4760 déc. 28 2015 loadbios.mod
-rwxr-xr-x 1 root root 9464 déc. 28 2015 loadenv.mod
-rwxr-xr-x 1 root root 4816 déc. 28 2015 loopback.mod
-rwxr-xr-x 1 root root 7248 déc. 28 2015 lsacpi.mod
-rwxr-xr-x 1 root root 3272 déc. 28 2015 lsefimmap.mod
-rwxr-xr-x 1 root root 5224 déc. 28 2015 lsefi.mod
-rwxr-xr-x 1 root root 3568 déc. 28 2015 lsefisystab.mod
-rwxr-xr-x 1 root root 2848 déc. 28 2015 lsmmap.mod
-rwxr-xr-x 1 root root 6688 déc. 28 2015 ls.mod
-rwxr-xr-x 1 root root 7368 déc. 28 2015 lspci.mod
-rwxr-xr-x 1 root root 4136 déc. 28 2015 lssal.mod
-rwxr-xr-x 1 root root 9536 déc. 28 2015 luks.mod
-rwxr-xr-x 1 root root 9848 déc. 28 2015 lvm.mod
-rwxr-xr-x 1 root root 12368 déc. 28 2015 lzopio.mod
-rwxr-xr-x 1 root root 4856 déc. 28 2015 macbless.mod
-rwxr-xr-x 1 root root 10952 déc. 28 2015 macho.mod
-rwxr-xr-x 1 root root 2832 déc. 28 2015 mdraid09_be.mod
-rwxr-xr-x 1 root root 2800 déc. 28 2015 mdraid09.mod
-rwxr-xr-x 1 root root 2664 déc. 28 2015 mdraid1x.mod
-rwxr-xr-x 1 root root 4520 déc. 28 2015 memrw.mod
-rwxr-xr-x 1 root root 5560 déc. 28 2015 minicmd.mod
-rwxr-xr-x 1 root root 5688 déc. 28 2015 minix2_be.mod
-rwxr-xr-x 1 root root 5592 déc. 28 2015 minix2.mod
-rwxr-xr-x 1 root root 5656 déc. 28 2015 minix3_be.mod
-rwxr-xr-x 1 root root 5576 déc. 28 2015 minix3.mod
-rwxr-xr-x 1 root root 5616 déc. 28 2015 minix_be.mod
-rwxr-xr-x 1 root root 9648 déc. 28 2015 mmap.mod
-rwxr-xr-x 1 root root 4810 déc. 28 2015 moddep.lst
-rwxr-xr-x 1 root root 3344 déc. 28 2015 morse.mod
-rwxr-xr-x 1 root root 44224 déc. 28 2015 mpi.mod
-rwxr-xr-x 1 root root 3672 déc. 28 2015 msdospart.mod
-rwxr-xr-x 1 root root 21112 déc. 28 2015 multiboot2.mod
-rwxr-xr-x 1 root root 19104 déc. 28 2015 multiboot.mod
-rwxr-xr-x 1 root root 6728 déc. 28 2015 nativedisk.mod
-rwxr-xr-x 1 root root 75112 déc. 28 2015 net.mod
-rwxr-xr-x 1 root root 4544 déc. 28 2015 newc.mod
-rwxr-xr-x 1 root root 5752 déc. 28 2015 ntfscomp.mod
-rwxr-xr-x 1 root root 15432 déc. 28 2015 ntfs.mod
-rwxr-xr-x 1 root root 4384 déc. 28 2015 odc.mod
-rwxr-xr-x 1 root root 2192 déc. 28 2015 offsetio.mod
-rwxr-xr-x 1 root root 16680 déc. 28 2015 ohci.mod
-rwxr-xr-x 1 root root 2296 déc. 28 2015 part_acorn.mod
-rwxr-xr-x 1 root root 2576 déc. 28 2015 part_amiga.mod
-rwxr-xr-x 1 root root 2976 déc. 28 2015 part_apple.mod
-rwxr-xr-x 1 root root 4192 déc. 28 2015 part_bsd.mod
-rwxr-xr-x 1 root root 2616 déc. 28 2015 part_dfly.mod
-rwxr-xr-x 1 root root 2152 déc. 28 2015 part_dvh.mod
-rwxr-xr-x 1 root root 3232 déc. 28 2015 part_gpt.mod
-rwxr-xr-x 1 root root 111 déc. 28 2015 partmap.lst
-rwxr-xr-x 1 root root 3032 déc. 28 2015 part_msdos.mod
-rwxr-xr-x 1 root root 2528 déc. 28 2015 part_plan.mod
-rwxr-xr-x 1 root root 2216 déc. 28 2015 part_sun.mod
-rwxr-xr-x 1 root root 2448 déc. 28 2015 part_sunpc.mod
-rwxr-xr-x 1 root root 17 déc. 28 2015 parttool.lst
-rwxr-xr-x 1 root root 7280 déc. 28 2015 parttool.mod
-rwxr-xr-x 1 root root 2936 déc. 28 2015 password.mod
-rwxr-xr-x 1 root root 4448 déc. 28 2015 password_pbkdf2.mod
-rwxr-xr-x 1 root root 7560 déc. 28 2015 pata.mod
-rwxr-xr-x 1 root root 2016 déc. 28 2015 pbkdf2.mod
-rwxr-xr-x 1 root root 3464 déc. 28 2015 pbkdf2_test.mod
-rwxr-xr-x 1 root root 3824 déc. 28 2015 pcidump.mod
-rwxr-xr-x 1 root root 3848 déc. 28 2015 play.mod
-rwxr-xr-x 1 root root 10600 déc. 28 2015 png.mod
-rwxr-xr-x 1 root root 2200 déc. 28 2015 priority_queue.mod
-rwxr-xr-x 1 root root 4376 déc. 28 2015 probe.mod
-rwxr-xr-x 1 root root 3416 déc. 28 2015 procfs.mod
-rwxr-xr-x 1 root root 2944 déc. 28 2015 progress.mod
-rwxr-xr-x 1 root root 1984 déc. 28 2015 raid5rec.mod
-rwxr-xr-x 1 root root 3216 déc. 28 2015 raid6rec.mod
-rwxr-xr-x 1 root root 2264 déc. 28 2015 read.mod
-rwxr-xr-x 1 root root 1840 déc. 28 2015 reboot.mod
-rwxr-xr-x 1 root root 78488 déc. 28 2015 regexp.mod
-rwxr-xr-x 1 root root 14304 déc. 28 2015 reiserfs.mod
-rwxr-xr-x 1 root root 25888 déc. 28 2015 relocator.mod
-rwxr-xr-x 1 root root 5800 déc. 28 2015 romfs.mod
-rwxr-xr-x 1 root root 7520 déc. 28 2015 scsi.mod
-rwxr-xr-x 1 root root 14704 déc. 28 2015 serial.mod
-rwxr-xr-x 1 root root 1026 déc. 28 2015 setjmp.mod
-rwxr-xr-x 1 root root 2592 déc. 28 2015 setjmp_test.mod
-rwxr-xr-x 1 root root 9056 déc. 28 2015 setpci.mod
-rwxr-xr-x 1 root root 8728 déc. 28 2015 signature_test.mod
-rwxr-xr-x 1 root root 3640 déc. 28 2015 sleep.mod
-rwxr-xr-x 1 root root 3424 déc. 28 2015 sleep_test.mod
-rwxr-xr-x 1 root root 3248 déc. 28 2015 spkmodem.mod
-rwxr-xr-x 1 root root 9800 déc. 28 2015 squash4.mod
-rwxr-xr-x 1 root root 31040 déc. 28 2015 syslinuxcfg.mod
-rwxr-xr-x 1 root root 162 déc. 28 2015 terminal.lst
-rwxr-xr-x 1 root root 6816 déc. 28 2015 terminal.mod
-rwxr-xr-x 1 root root 20064 déc. 28 2015 terminfo.mod
-rwxr-xr-x 1 root root 2040 déc. 28 2015 test_blockarg.mod
-rwxr-xr-x 1 root root 4040 déc. 28 2015 testload.mod
-rwxr-xr-x 1 root root 7864 déc. 28 2015 test.mod
-rwxr-xr-x 1 root root 3472 déc. 28 2015 testspeed.mod
-rwxr-xr-x 1 root root 8192 déc. 28 2015 tftp.mod
-rwxr-xr-x 1 root root 6584 déc. 28 2015 tga.mod
-rwxr-xr-x 1 root root 2344 déc. 28 2015 time.mod
-rwxr-xr-x 1 root root 2083 déc. 28 2015 trig.mod
-rwxr-xr-x 1 root root 3640 déc. 28 2015 tr.mod
-rwxr-xr-x 1 root root 1856 déc. 28 2015 true.mod
-rwxr-xr-x 1 root root 11312 déc. 28 2015 udf.mod
-rwxr-xr-x 1 root root 8032 déc. 28 2015 ufs1_be.mod
-rwxr-xr-x 1 root root 7888 déc. 28 2015 ufs1.mod
-rwxr-xr-x 1 root root 7888 déc. 28 2015 ufs2.mod
-rwxr-xr-x 1 root root 10520 déc. 28 2015 uhci.mod
-rwxr-xr-x 1 root root 5960 déc. 28 2015 usb_keyboard.mod
-rwxr-xr-x 1 root root 16088 déc. 28 2015 usb.mod
-rwxr-xr-x 1 root root 11184 déc. 28 2015 usbms.mod
-rwxr-xr-x 1 root root 3024 déc. 28 2015 usbserial_common.mod
-rwxr-xr-x 1 root root 3496 déc. 28 2015 usbserial_ftdi.mod
-rwxr-xr-x 1 root root 3792 déc. 28 2015 usbserial_pl2303.mod
-rwxr-xr-x 1 root root 2320 déc. 28 2015 usbserial_usbdebug.mod
-rwxr-xr-x 1 root root 5672 déc. 28 2015 usbtest.mod
-rwxr-xr-x 1 root root 19728 déc. 28 2015 verify.mod
-rwxr-xr-x 1 root root 9024 déc. 28 2015 video_bochs.mod
-rwxr-xr-x 1 root root 9528 déc. 28 2015 video_cirrus.mod
-rwxr-xr-x 1 root root 10096 déc. 28 2015 video_colors.mod
-rwxr-xr-x 1 root root 29608 déc. 28 2015 video_fb.mod
-rwxr-xr-x 1 root root 5880 déc. 28 2015 videoinfo.mod
-rwxr-xr-x 1 root root 41 déc. 28 2015 video.lst
-rwxr-xr-x 1 root root 9008 déc. 28 2015 video.mod
-rwxr-xr-x 1 root root 3824 déc. 28 2015 videotest_checksum.mod
-rwxr-xr-x 1 root root 5496 déc. 28 2015 videotest.mod
-rwxr-xr-x 1 root root 8896 déc. 28 2015 xfs.mod
-rwxr-xr-x 1 root root 42792 déc. 28 2015 xnu.mod
-rwxr-xr-x 1 root root 3264 déc. 28 2015 xnu_uuid.mod
-rwxr-xr-x 1 root root 3320 déc. 28 2015 xnu_uuid_test.mod
-rwxr-xr-x 1 root root 20696 déc. 28 2015 xzio.mod
-rwxr-xr-x 1 root root 8416 déc. 28 2015 zfscrypt.mod
et la grosse fin du fichier en question après l'adjonction des menuentry qui sont présents dans l'autre partition
u604@u604:/mnt/SDB2$ cat boot/grub/grub.cfg
........
if loadfont /boot/grub/font.pf2 ; then
set gfxmode=auto
insmod efi_gop
insmod efi_uga
insmod gfxterm
terminal_output gfxterm
fi
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
menuentry "Try Ubuntu without installing" {
set gfxpayload=keep
linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash -- cdrom-detect/try-usb=true noprompt persistent
initrd /casper/initrd.lz
}
menuentry "Install Ubuntu" {
set gfxpayload=keep
linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash -- cdrom-detect/try-usb=true noprompt persistent
initrd /casper/initrd.lz
}
menuentry "OEM install (for manufacturers)" {
set gfxpayload=keep
linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash oem-config/enable=true -- cdrom-detect/try-usb=true noprompt persistent
initrd /casper/initrd.lz
}
menuentry "Check disc for defects" {
set gfxpayload=keep
linux /casper/vmlinuz.efi boot=casper integrity-check quiet splash --
initrd /casper/initrd.lz
}
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-8ef0a8a2-0393-4903-856a-22312e0775ef' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='hd4,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd4,msdos5 --hint-efi=hd4,msdos5 --hint-baremetal=ahci4,msdos5 8ef0a8a2-0393-4903-856a-22312e0775ef
else
search --no-floppy --fs-uuid --set=root 8ef0a8a2-0393-4903-856a-22312e0775ef
fi
linux /boot/vmlinuz-3.19.0-25-generic root=UUID=8ef0a8a2-0393-4903-856a-22312e0775ef ro persistent quiet splash $vt_handoff
initrd /boot/initrd.img-3.19.0-25-generic
}
submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-8ef0a8a2-0393-4903-856a-22312e0775ef' {
menuentry 'Ubuntu, avec Linux 3.19.0-25-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.0-25-generic-advanced-8ef0a8a2-0393-4903-856a-22312e0775ef' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='hd4,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd4,msdos5 --hint-efi=hd4,msdos5 --hint-baremetal=ahci4,msdos5 8ef0a8a2-0393-4903-856a-22312e0775ef
else
search --no-floppy --fs-uuid --set=root 8ef0a8a2-0393-4903-856a-22312e0775ef
fi
echo 'Chargement de Linux 3.19.0-25-generic…'
linux /boot/vmlinuz-3.19.0-25-generic root=UUID=8ef0a8a2-0393-4903-856a-22312e0775ef ro persistent quiet splash $vt_handoff
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-3.19.0-25-generic
}
menuentry 'Ubuntu, with Linux 3.19.0-25-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.0-25-generic-recovery-8ef0a8a2-0393-4903-856a-22312e0775ef' {
recordfail
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd4,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd4,msdos5 --hint-efi=hd4,msdos5 --hint-baremetal=ahci4,msdos5 8ef0a8a2-0393-4903-856a-22312e0775ef
else
search --no-floppy --fs-uuid --set=root 8ef0a8a2-0393-4903-856a-22312e0775ef
fi
echo 'Chargement de Linux 3.19.0-25-generic…'
linux /boot/vmlinuz-3.19.0-25-generic root=UUID=8ef0a8a2-0393-4903-856a-22312e0775ef ro recovery nomodeset persistent
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-3.19.0-25-generic
}
}
u604@u604:/mnt/SDB2$
ainsi que la vérification du bon uuid
u604@u604:~$ sudo blkid|grep 8ef0a8a2-0393-4903-856a-22312e0775ef
/dev/sdb1: LABEL="usbUbuntu14043" UUID="8ef0a8a2-0393-4903-856a-22312e0775ef" TYPE="ext4" PARTUUID="bff57324-01"
u604@u604:~$
En fait tu écris une "erreur"
Il n'y a pas de fichier "grub.cfg" dans une session live. (rappel, normalement elle est démarrée non pas par grub, mais syslinux.). il manque POUR une live USB 32 bits
Il y a un fichier "grub.cfg" dans une session live. (rappel, normalement elle est démarrée par grub, en non par syslinux.). POUR une live USB 64 bits
En fait tu as peu lu les tests de 'live usb persistant que j'ai fais récemment tellement tu voulais que je bosse avec systemback!!!!!!!!
Ajout
Comme le MBR du disque est resté intact, comme l'instance ubuntu n'est pas modifiée du tout, ce disque externe reste compatible LEGACY.
Mais je ne prévois pas de regarder si cela fonctionnerait aussi pour un disque interne.
PS: A lire cette discussion https://forum.ubuntu-fr.org/viewtopic.php?id=1992550
Dernière modification par Bougron (Le 02/07/2016, à 13:16)
Hors ligne
#29 Le 02/07/2016, à 07:34
- moko138
Re : réutiliser un DD déjà installé en DD externe
Merci Bougron de cette présentation claire !
%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel : À la découverte de dcraw
Hors ligne
#30 Le 02/07/2016, à 09:18
- Babdu89
Re : réutiliser un DD déjà installé en DD externe
Bonjour.
@Bougron.
En fait tu as peu lu les tests de 'live usb persistant que j'ai fais récemment tellement tu voulais que je bosse avec systemback!!!!!!!!
C'est vrai tu n'as pas tord.
Ce qui m'intéressais, c'était le fonctionnement de Systemback que je découvrais.
Comme je n'ai pas d'UEFI à la maison, et que je t'avais incité à tester Systemback de ton coté avec l'UEFI. Je ne me suis pas trop intéressé à l'autre partie de tes tests. D'autant que j'avais du mal à comprendre où tu voulais en venir. Donc pour ne pas "polluer" mon esprit, j'ai zappé, pour me concentrer sur les résultats des tests de Systemback en UEFI. Merci encore pour l'aide du moment.
Il y a un fichier "grub.cfg" dans une session live. (rappel, normalement elle est démarrée par grub, en non par syslinux.). POUR une live USB 64 bits
Chez moi en mode non UEFI.
Je ne peux pas tester ce qu'il se passe en UEFI...
Les sessions live USB 32 et 64 bits, faites avec Lili usb Créator, UnetBootin, le créateur de disque de démarrage &&&, sont démarrées sans présenter un menu Grub. Je pense que ce n'est pas Grub qui les lance. Dans les rapport boot info, on voit bien "syslinux" dans le secteur de boot des clés live USB.
Les seules sessions live qui démarrent par Grub sont les session live du MultiSystem. Puisque le MultiSystem démarre avec un Grub modifié par frafa son auteur.
Le menu Grub affiché est celui du MultiSystem, ce pas celui des iso que l'on lance depuis ce menu.
Il faudra que je regarde dans un boot info trouvé sur le forum, comment sont démarrées les sessions live USB en mode UEFI. Il me semble bien que c'est aussi Syslinux qui est dans le secteur de boot de ces clés.
Edit;
Vérification faite avec une iso 64 bits compatible UEFI, en ouvrant l'archive de l'iso, on voit bien un fichier /boot/grub/grub.cfg. Dont le contenu est identique à ce que tu montres.
On en apprend tous les jours.
@+. Babdu89 .
Dernière modification par Babdu89 (Le 02/07/2016, à 09:33)
J'ai découvert Ubuntu avec la 07.10.... Et alors?!... Depuis je regarde de temps en temps si Windows marche toujours....
Hors ligne