#26 Le 03/11/2017, à 08:48
- gva_raphael
Re : partitionement sur HDD en usb3, pour données + 16.04LTS + liveUSB
Pas vu ton dernier post.
LOrs de l'affichage du message d'erreur suivi de "press any key to conrinue" Tu ne fais rien, tu attends de voir ce qu'il se passe. ???.
@+. Babdu89 .
hello,
après 8-10 secondes, on retombe sur le grub qui contient les 2 entrées spécifiques. que je teste plusieurs fois ces entrées, le résultat est le même---> impossible de démarrer la 16.04.03.
Est-ce que ça pourrai venir de l'usb3? j'ai un vague souvenir que cela posait pas mal de problème sous GNU/linux.
Est ce que je teste un nouvelle installation depuis le début en re-formatant l'entier du disque, ou bien c'est préférable de continuer la recherche du problème/bug sur cette instal problématique?
Hors ligne
#27 Le 03/11/2017, à 10:32
- Babdu89
Re : partitionement sur HDD en usb3, pour données + 16.04LTS + liveUSB
Bonjour.
Est-ce que ça pourrai venir de l'usb3? j'ai un vague souvenir que cela posait pas mal de problème sous GNU/linux.
Si çà vient de l'USB3, après installation de la 16.04.3 sur ce disque , çà ne redémarrerait pas.
Hors tu dis que çà redémarre, donc si çà redémarre depuis son menu Grub, çà devrait pouvoir redémarre depuis le menu Grub du MultiSystem...
Hors, même le type d'entrée ci-dessous qui marche chez moi, ne veut pas fonctionner chez toi.
menuentry "Ubuntu 16.04.3 LTS, grub.cfg auf /dev/sda2" {
configfile (hd0,2)/boot/grub/grub.cfg
Je ne sais pas que penser?.
Édit;
Et en changeant de port USB? branché sur un USB2?.
Est ce que je teste un nouvelle installation depuis le début en re-formatant l'entier du disque, ou bien c'est préférable de continuer la recherche du problème/bug sur cette instal problématique?
Puisque tu as l'air d'aimer tester, pourquoi pas.
Normalement il faut faire ceci.
Préparer le disque USB3 en live, faire une sauvegarde de tout ce qui est important pour toi sur ce disque.
Avec Gparted.
Suppression de toutes les partitions.
Réécriture d'une table de partitions de type MSDos.
Création d'une première grand partition FAT32 avec le drapeau boot, et l'étiquette (label) MULTISYSTEM, pour y mettre le MultiSystem.
Faire le MultiSystem dans la partition FAT32.
Depuis les menus du MultiSystem de la partition FAT32, faire la mise à jour de Grub, sans importer d'iso dedans.
Normalement çà suffit, pour que la machine démarrant sur le hdd USB3, çà affiche le menu Grub du MultiSystem.
Vérification faite.
Installer la 16.04.3 derrière le MultiSystem.
La machine, démarrant sur le hdd USB3, affiche le menu Grub de la 16.04.3. Démarrage de la 16.04.3.
Installation dedans du logiciel MultiSystem.
Partition FAT32 MULTISYSTEM montée. Depuis les menus du MultiSystem partition FAT32, faire la mise à jour de Grub, sans importer d'iso dedans.
Voila le disque "autonome" si on peut dire.
Au redémarrage de la machine sur le hdd USB3, c'est à nouveau le menu Grub du MultiSystem qui s'affiche.
Te voila prêt pour re-tester les manips de lancement de la 16.04.3 depuis le MultiSystem, en modifiant son fichier grub.cfg...
@+. Babdu89 .
Dernière modification par Babdu89 (Le 03/11/2017, à 12:23)
J'ai découvert Ubuntu avec la 07.10.... Et alors?!... Depuis je regarde de temps en temps si Windows marche toujours....
Hors ligne
#28 Le 04/11/2017, à 01:26
- gva_raphael
Re : partitionement sur HDD en usb3, pour données + 16.04LTS + liveUSB
Bon, c'est la prise de tête...
en partition MSDOS, avec une nouvelle instal---> même problème
j'ai donc laisser tomber et suis passer en GPT.
multisystem seul -->OK
16.04.03 seul --> ok
multisystem avec 16.04.03 derniere--> Ok, mais OS inaccessible, j'ai une erreur avant même le grub de la lts " error:attempt to read or write outside of disk "hd0"
un des dernier boot-info de cohabitation multisystem+OS : http://paste.ubuntu.com/25881959/
Pour le moment, je laisse l'OS seul en faisant un reformatage complet en GPT. je reprendrai les recherches d'ici 1à2 semaines.
merci pour votre support et si vous avez connaissance d'une façon simple, je suis preneur
Dernière modification par gva_raphael (Le 04/11/2017, à 01:30)
Hors ligne
#29 Le 04/11/2017, à 10:30
- Babdu89
Re : partitionement sur HDD en usb3, pour données + 16.04LTS + liveUSB
Bonjour.
Et en changeant le branchement du hdd USB3 de port USB? sur port USB3? et port USB2?
Qu'est-ce que çà donne?...
@+. Babdu89 .
J'ai découvert Ubuntu avec la 07.10.... Et alors?!... Depuis je regarde de temps en temps si Windows marche toujours....
Hors ligne
#30 Le 29/11/2017, à 11:59
- BDMaster
Re : partitionement sur HDD en usb3, pour données + 16.04LTS + liveUSB
Bonjour Babdus89,
c'est très intéressant, et j'essaie aussi de faire quelque chose comme ça, même si j'avais choisi une partition de démarrage pour les ntfs hérités.
Vous essayez de créer un HD amorçable hérité et UEFI avec le Multisystem (partition FAT32) mais ce n'est que _x86 et non pas _x64, qui peut lancer l'ISO mais vous voulez aussi avoir vos partitions ext4 (ext4 avec Ubuntu , ext4 avec utilitaires), qui peut être interconnecté par Multisystem Grub2.
Ai-je bien compris? (Le français n'est pas ma langue malheureusement)
Je vais essayer de tester en utilisant votre schéma GParted que vous avez publié pour vous aligner sur votre table de partition.
Merci pour votre invitation et votre collaboration ...
Hors ligne
#31 Le 03/12/2017, à 09:30
- BDMaster
Re : partitionement sur HDD en usb3, pour données + 16.04LTS + liveUSB
Mise à jour ... J'ai créé un HD (250 Gb) Multisystem ainsi formaté
Table Msdos (/dev/sdb)
1) MULTISYSTEM ----> FAT32 ---> / dev / sdb1 ----> 100 Gb
2) Ubuntu 17.10 ----> EXT4 ---> / dev / sdb2 ----> 30 Gb
3) Swap ----> EXT4 ---> / dev / sdb3 ----> 2,5 Gb
4) Extended ----> EXT4 ---> / dev / sdb4
5) Windows ----> BTFS ---> / dev / sda5 ----> 30 Gb
6) Kali ----> EXT4 ---> / dev / sda6 ----> 30 Gb
Multisystem installé sur / dev / sdb1 puis ajouté une ISO.
Installé à partir d'une clé USB avec Ubuntu 10.17, le système d'exploitation Ubuntu
sur la partition / dev / sdb2 - Ubuntu17.10, activer le Swap.
Installé par clé USB avec kali 2017.3, le système d'exploitation Kali sur la partition /dev/sdb6 - Kali, sans Swap.
Réinstallez le bootloader grub2 sur / dev / sdb pour lancer le Multisystem lorsque le PC démarre.
Modifié le grub.cfg de Multisystem pour ajouter Ubuntu et Kali, en assignant partitions et UUID.
Changé Grub.cfg Ubuntu et changé Kali pour les rendre bootable (versions non livecd, mais ils sont installés).
Testé le bootloader sous MBR et UEFI, tout fonctionne ... maintenant je vais ajouter plus ISO et Windows 7.
Je joins le fichier grub.cfg de Multisystem, Ubuntu et Kali:
Multisystem
#insmod gpt
#insmod pc
#insmod gfxmenu
#
#insmod videotest
insmod tga
insmod png
insmod gfxterm
insmod lspci
#insmod vbeinfo
insmod vbe
insmod ntfs
insmod chain
insmod biosdisk
insmod font
#http://grub.enbug.org/ThemeFormat
#http://grub.gibibit.com/Theme_format#colors
#http://code.google.com/p/burg/wiki/InstallUbuntu
#http://code.google.com/p/burg/downloads/list
#http://ubuntuforums.org/showthread.php?t=1195275
#pour acces a grub2 du bootloader principal modifier dans fichier: /etc/default/grub
#GRUB_HIDDEN_TIMEOUT=10 #0 par defaut
#GRUB_HIDDEN_TIMEOUT_QUIET=false #true d'origine
#sudo update-grub
#echo -n "Press ESC to see the menu... "
#if sleep --verbose --interruptible 5 ; then
#set timeout=0
#fi
set default=0
set timeout=30
set fallback=1
search --no-floppy --fs-uuid --set=root 883D-E51D
set root=${root}
#http://grub.enbug.org/gfxterm
if loadfont /boot/polices/unicode.pf2 ; then
set gfxmode=1024x768
set gfxpayload=1024x768x32,1024x768
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
if background_image /boot/splash/splash.png ; then
#text no sel/fond ecran
#set color_normal=white/black #1
set color_normal=blue/black #1
#text sel/fond ecran sel
set color_highlight=green/white #1
else
#set menu_color_normal=white/black #2
set menu_color_normal=blue/black #2
set menu_color_highlight=green/white #2
set color_normal=white/magenta #2
set color_highlight=green/white #2
fi
#
#
#Pour activer le thème graphique multisystem décommentez les 4 lignes ci-dessous
#set gfxmode=640x480
#set theme=($root)/boot/grub/themes/multisystem/theme.txt
#export theme
#loadfont /boot/grub/themes/multisystem/fonts/Helvetica-8.pf2
#
#
#Ne supprimez pas ce marqueur! / Do not remove this marker!
#MULTISYSTEM_START
#MULTISYSTEM_MENU_DEBUT|29-11-2017-15:50:17-048426259|ms-lts-16.04-amd64-r2.iso|multisystem-icon|1304Mio|
#menuentry "MultiSystem live French (toram)" --class ms --class linux --class os {
#search --set -f "/ms-lts-16.04-amd64-r2.iso"
#loopback loop "/ms-lts-16.04-amd64-r2.iso"
#linux (loop)/casper/vmlinuz.efi toram root=UUID=883D-E51D iso-scan/filename=/ms-lts-16.04-amd64-r2.iso debian-installer/locale=fr_FR.UTF-8 debian-#installer/language=fr kbd-chooser/method=fr console-setup/layoutcode=fr console-setup/variantcode=oss console-setup/modelcode=pc105 ignore_uuid #boot=casper noprompt quiet splash --
#initrd (loop)/casper/initrd.lz
#}
menuentry "MultiSystem live English (toram)" --class ms --class linux --class os {
search --set -f "/ms-lts-16.04-amd64-r2.iso"
loopback loop "/ms-lts-16.04-amd64-r2.iso"
linux (loop)/casper/vmlinuz.efi toram root=UUID=883D-E51D iso-scan/filename=/ms-lts-16.04-amd64-r2.iso debian-installer/locale=en_US.UTF-8 debian-installer/language=us kbd-chooser/method=us console-setup/layoutcode=us console-setup/modelcode=pc105 ignore_uuid boot=casper noprompt quiet splash --
initrd (loop)/casper/initrd.lz
}
#MULTISYSTEM_MENU_FIN|29-11-2017-15:50:17-048426259|ms-lts-16.04-amd64-r2.iso|multisystem-icon|1304Mio|
#MULTISYSTEM_STOP
#Ne supprimez pas ce marqueur! / Do not remove this marker!
#Chainloader to another grub - Ubuntu 17.10
menuentry "Ubuntu 17.10, grub.cfg on /dev/sda2" {
insmod part_msdos
insmod ext2
set root=(hd0,2)
set color_normal=white/black #1
set menu_color_normal=white/black #2
set gfxpayload=1024x768x32,1024x768
search --no-floppy --fs-uuid --set=root fe2fb390-21d4-420d-9881-9fa273ab621d
configfile (hd0,2)/boot/grub/grub.cfg
}
#Chainloader to another grub - Kali 2017.3
menuentry "kali 2017.3 , grub.cfg on /dev/sda6" {
insmod part_msdos
insmod ext2
set root=(hd0,6)
set color_normal=white/black #1
set menu_color_normal=white/black #2
set gfxpayload=1024x768x32,1024x768
search --no-floppy --fs-uuid --set=root 609d80aa-e7c3-4738-8bad-8fbc7b687a47
configfile (hd0,6)/boot/grub/grub.cfg
}
menuentry "______________Grub4Dos______________" {
echo
}
#http://grub4dos.sourceforge.net/
#http://grub4dos.sourceforge.net/wiki/index.php/Grub4dos_tutorial
menuentry "Grub4Dos" {
linux /boot/grub.exe --config-file=/boot/grub/menu.lst
}
menuentry "______________Syslinux______________" {
echo
}
#solution tordue, mais qui passe partout ...
#menuentry "Syslinux" {
#search --set -f /boot/syslinux/redir.img
# linux16 /boot/syslinux/memdisk
# initrd16 /boot/syslinux/redir.img
#}
#http://syslinux.zytor.com
menuentry "Syslinux" {
search --set -f "/boot/syslinux/ldlinux.sys"
drivemap -s (hd0) $root
chainloader +1
}
#Autre solution pour chainer Syslinux via une copie du mbr
#dd if=/dev/sd?1 of=/media/multisystem/boot/img/syslinux.mbr bs=512 count=1
#menuentry "Syslinux" {
#search --set -f "/boot/img/syslinux.mbr"
#drivemap -s (hd0) $root
#chainloader /boot/img/syslinux.mbr
#}
menuentry "______________UTIL______________" {
echo
}
## for debugging set debug=efi
#menuentry "0-testfakebios" {
# hexdump -s 0xc0000 (mem)
# fakebios
# hexdump -s 0xc0000 (mem)
## deliberate error to get wait for key
# xxx
#}
#How to test GRUB 2 on Macbook
#http://grub.enbug.org/TestingOnMacbook
#
#http://wiki.gentoo.org/wiki/GRUB2
#
#menuentry "Windows 7 BIOS/MBR" {
# insmod part_msdos
# insmod ntldr
# insmod ntfs
# ntldr (hd0,msdos1)/bootmgr
#}
#menuentry "Windows XP BIOS/MBR" {
# insmod part_msdos
# insmod ntldr
# insmod ntfs
# ntldr (hd0,msdos1)/ntldr
#}
#
#chainer un autre grub
#menuentry "grub.cfg auf /dev/sdb1" {
# configfile (hd1,1)/boot/grub/grub.cfg
#}
#menuentry "Chain other configfile" {
#configfile /boot/grub/grub-xxx.cfg
#}
#
#menuentry "Return default menu" {
#chainloader /boot/grub/boot.img
#}
#chainer win ou autre OS
#menuentry "Chainer UUID de la partition" {
#insmod=ntfs
#set root=(hd0,1)
#search --no-floppy --fs-uuid --set=root xxx-xxx
# drivemap -s (hd0) $root
# chainloader +1
#}
#Booter une iso avec memdisk
#menuentry "FreeBSD" {
# search --set -f "/FreeBSD-10.2-RELEASE-amd64-bootonly.iso"
# linux16 /boot/syslinux/memdisk iso raw
# initrd16 /FreeBSD-10.2-RELEASE-amd64-bootonly.iso
#}
#Booter une iso avec loopback.cfg
#menuentry "TITLE" {
# iso_path=/path.iso
# export iso_path
# search --set=root --file $iso_path
# loopback loop $iso_path
# root=(loop)
# configfile /boot/grub/loopback.cfg
# loopback --delete loop
#}
#http://www.plop.at/en/bootmanagerdl.html
menuentry "PLoP Boot Manager" {
linux16 /boot/img/plpbt
}
#http://www.supergrubdisk.org/
#http://developer.berlios.de/project/showfiles.php?group_id=10921
#SG2D (Floppy, CD & USB in one)
#super_grub_disk_hybrid-1.98s1.iso
menuentry "Super Grub2 Disk" {
search --set -f /boot/img/sgdh.iso
linux16 /boot/syslinux/memdisk
initrd16 /boot/img/sgdh.iso
}
menuentry "Super Grub Disk" {
search --set -f /boot/img/sgdfr.img
linux16 /boot/syslinux/memdisk
initrd16 /boot/img/sgdfr.img
}
menuentry "Smart Boot Manager" {
search --set -f /boot/img/sbootmgr.dsk
linux16 /boot/syslinux/memdisk
initrd16 /boot/img/sbootmgr.dsk
}
#Site: [url]http://boot.kernel.org/index.html[/url]
#Téléchargement: [url]http://boot.kernel.org/gpxe_images/gpxe.lkrn[/url]
menuentry "BKO (boot.kernel.org)" {
search --set -f /boot/img/gpxe.lkrn
linux16 /boot/img/gpxe.lkrn
}
#http://www.memtest.org/#downiso
menuentry "memtest86+" {
linux16 /boot/img/memtest86+.bin
}
menuentry "vbeinfo" {
vbeinfo
read
}
menuentry "lspci" {
lspci
read
}
menuentry "gfxpayload 640x480" {
set gfxpayload=640x480
echo gfxpayload=${gfxpayload} press enter
read
}
menuentry "gfxpayload 800x600" {
set gfxpayload=800x600
echo gfxpayload=${gfxpayload} press enter
read
}
menuentry "gfxpayload 1024x768" {
set gfxpayload=1024x768
echo gfxpayload=${gfxpayload} press enter
read
}
menuentry "gfxpayload 1280x1024" {
set gfxpayload=1280x1024
echo gfxpayload=${gfxpayload} press enter
read
}
menuentry "Reboot" {
insmod reboot
reboot
}
Ubuntu 17.10
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
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 recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; 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_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 fe2fb390-21d4-420d-9881-9fa273ab621d
else
search --no-floppy --fs-uuid --set=root fe2fb390-21d4-420d-9881-9fa273ab621d
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=it_IT
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
set timeout=30
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=10
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=10
fi
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 44,0,30,0; then
clear
fi
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload="${1}"
if [ "${1}" = "keep" ]; then
set vt_handoff=vt.handoff=7
else
set vt_handoff=
fi
}
if [ "${recordfail}" != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-fe2fb390-21d4-420d-9881-9fa273ab621d' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 fe2fb390-21d4-420d-9881-9fa273ab621d
else
search --no-floppy --fs-uuid --set=root fe2fb390-21d4-420d-9881-9fa273ab621d
fi
linux /boot/vmlinuz-4.13.0-16-generic root=UUID=fe2fb390-21d4-420d-9881-9fa273ab621d ro quiet splash $vt_handoff
initrd /boot/initrd.img-4.13.0-16-generic
}
submenu 'Opzioni avanzate per Ubuntu' $menuentry_id_option 'gnulinux-advanced-fe2fb390-21d4-420d-9881-9fa273ab621d' {
menuentry 'Ubuntu, con Linux 4.13.0-16-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.13.0-16-generic-advanced-fe2fb390-21d4-420d-9881-9fa273ab621d' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 fe2fb390-21d4-420d-9881-9fa273ab621d
else
search --no-floppy --fs-uuid --set=root fe2fb390-21d4-420d-9881-9fa273ab621d
fi
echo 'Caricamento Linux 4.13.0-16-generic...'
linux /boot/vmlinuz-4.13.0-16-generic root=UUID=fe2fb390-21d4-420d-9881-9fa273ab621d ro quiet splash $vt_handoff
echo 'Caricamento ramdisk iniziale...'
initrd /boot/initrd.img-4.13.0-16-generic
}
menuentry 'Ubuntu, con Linux 4.13.0-16-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.13.0-16-generic-recovery-fe2fb390-21d4-420d-9881-9fa273ab621d' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 fe2fb390-21d4-420d-9881-9fa273ab621d
else
search --no-floppy --fs-uuid --set=root fe2fb390-21d4-420d-9881-9fa273ab621d
fi
echo 'Caricamento Linux 4.13.0-16-generic...'
linux /boot/vmlinuz-4.13.0-16-generic root=UUID=fe2fb390-21d4-420d-9881-9fa273ab621d ro recovery nomodeset
echo 'Caricamento ramdisk iniziale...'
initrd /boot/initrd.img-4.13.0-16-generic
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry 'Memory test (memtest86+)' {
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 fe2fb390-21d4-420d-9881-9fa273ab621d
else
search --no-floppy --fs-uuid --set=root fe2fb390-21d4-420d-9881-9fa273ab621d
fi
knetbsd /boot/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 fe2fb390-21d4-420d-9881-9fa273ab621d
else
search --no-floppy --fs-uuid --set=root fe2fb390-21d4-420d-9881-9fa273ab621d
fi
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### 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 ###
Kali 2017.3
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
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_msdos
insmod ext2
set root='hd0,msdos6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 609d80aa-e7c3-4738-8bad-8fbc7b687a47
else
search --no-floppy --fs-uuid --set=root 609d80aa-e7c3-4738-8bad-8fbc7b687a47
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=it_IT
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
set timeout=30
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=5
fi
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload="${1}"
}
set linux_gfx_mode=
export linux_gfx_mode
menuentry 'Kali GNU/Linux' --class kali --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-609d80aa-e7c3-4738-8bad-8fbc7b687a47' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 609d80aa-e7c3-4738-8bad-8fbc7b687a47
else
search --no-floppy --fs-uuid --set=root 609d80aa-e7c3-4738-8bad-8fbc7b687a47
fi
echo 'Caricamento Linux 4.13.0-kali1-amd64...'
linux /boot/vmlinuz-4.13.0-kali1-amd64 root=UUID=609d80aa-e7c3-4738-8bad-8fbc7b687a47 ro quiet
echo 'Caricamento ramdisk iniziale...'
initrd /boot/initrd.img-4.13.0-kali1-amd64
}
submenu 'Opzioni avanzate per Kali GNU/Linux' $menuentry_id_option 'gnulinux-advanced-609d80aa-e7c3-4738-8bad-8fbc7b687a47' {
menuentry 'Kali GNU/Linux, con Linux 4.13.0-kali1-amd64' --class kali --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.13.0-kali1-amd64-advanced-609d80aa-e7c3-4738-8bad-8fbc7b687a47' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 609d80aa-e7c3-4738-8bad-8fbc7b687a47
else
search --no-floppy --fs-uuid --set=root 609d80aa-e7c3-4738-8bad-8fbc7b687a47
fi
echo 'Caricamento Linux 4.13.0-kali1-amd64...'
linux /boot/vmlinuz-4.13.0-kali1-amd64 root=UUID=609d80aa-e7c3-4738-8bad-8fbc7b687a47 ro quiet
echo 'Caricamento ramdisk iniziale...'
initrd /boot/initrd.img-4.13.0-kali1-amd64
}
menuentry 'Kali GNU/Linux, with Linux 4.13.0-kali1-amd64 (recovery mode)' --class kali --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.13.0-kali1-amd64-recovery-609d80aa-e7c3-4738-8bad-8fbc7b687a47' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 609d80aa-e7c3-4738-8bad-8fbc7b687a47
else
search --no-floppy --fs-uuid --set=root 609d80aa-e7c3-4738-8bad-8fbc7b687a47
fi
echo 'Caricamento Linux 4.13.0-kali1-amd64...'
linux /boot/vmlinuz-4.13.0-kali1-amd64 root=UUID=609d80aa-e7c3-4738-8bad-8fbc7b687a47 ro single
echo 'Caricamento ramdisk iniziale...'
initrd /boot/initrd.img-4.13.0-kali1-amd64
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### 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 ###
J'attends des nouvelles
Dernière modification par BDMaster (Le 03/12/2017, à 09:51)
Hors ligne
#32 Le 03/12/2017, à 09:31
- xubu1957
Re : partitionement sur HDD en usb3, pour données + 16.04LTS + liveUSB
Bonjour,
Pour ajouter toi-même les balises code à ton précédent message… Merci
Cliquer sur le lien « Modifier » en bas à droite du message
Sélectionner le texte
Cliquer sur le <> de l'éditeur de message
Dernière modification par xubu1957 (Le 03/12/2017, à 09:36)
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
Hors ligne
#33 Le 03/12/2017, à 09:35
- BDMaster
Re : partitionement sur HDD en usb3, pour données + 16.04LTS + liveUSB
Merci
Hors ligne
#34 Le 03/12/2017, à 10:38
- Babdu89
Re : partitionement sur HDD en usb3, pour données + 16.04LTS + liveUSB
Bonjour.
Est-ce que les deux entrées du menu grub du MultiSystem, ci-dessous , permettent de lancer Ubuntu 17.10 et Kali?
#MULTISYSTEM_MENU_FIN|29-11-2017-15:50:17-048426259|ms-lts-16.04-amd64-r2.iso|multisystem-icon|1304Mio|
#MULTISYSTEM_STOP
#Ne supprimez pas ce marqueur! / Do not remove this marker!
#Chainloader to another grub - Ubuntu 17.10
menuentry "Ubuntu 17.10, grub.cfg on /dev/sda2" {
insmod part_msdos
insmod ext2
set root=(hd0,2)
set color_normal=white/black #1
set menu_color_normal=white/black #2
set gfxpayload=1024x768x32,1024x768
search --no-floppy --fs-uuid --set=root fe2fb390-21d4-420d-9881-9fa273ab621d
configfile (hd0,2)/boot/grub/grub.cfg
}
#Chainloader to another grub - Kali 2017.3
menuentry "kali 2017.3 , grub.cfg on /dev/sda6" {
insmod part_msdos
insmod ext2
set root=(hd0,6)
set color_normal=white/black #1
set menu_color_normal=white/black #2
set gfxpayload=1024x768x32,1024x768
search --no-floppy --fs-uuid --set=root 609d80aa-e7c3-4738-8bad-8fbc7b687a47
configfile (hd0,6)/boot/grub/grub.cfg
}
Normalement, ceci devrait permettre de lancer Ubuntu 17.10.
#chainer un autre grub
menuentry " Ubuntu 17.10, grub.cfg auf /dev/sda2" {
configfile (hd0,2)/boot/grub/grub.cfg
}
#chainer un autre grub
menuentry "kali 2017.3, grub.cfg auf /dev/sda6" {
configfile (hd0,6)/boot/grub/grub.cfg
}
Kali étant sur le hdd interne , l'entrée en devait pas fonctionner.
Les Os installé sur le hdd externe "MultiSystem" sont vu comme étant installé sur le disque /sda. Même si il y a plusieurs disques dans la config. MultiSystem les voit installés en /sda.
@+. Babdu89 .
J'ai découvert Ubuntu avec la 07.10.... Et alors?!... Depuis je regarde de temps en temps si Windows marche toujours....
Hors ligne
#35 Le 04/12/2017, à 01:34
- BDMaster
Re : partitionement sur HDD en usb3, pour données + 16.04LTS + liveUSB
Oui, ce sont les menus qui lancent Ubuntu et Kali, mais vous devez changer les UUID à la fois dans le fichier grub.cfg de la première partition MULTISYSTEM et dans le fichier grub.cfg des partitions Ubuntu et Kali, tout fonctionne avec les UUID qui établissent la partition d'exécution!
#Chainloader to another grub - Ubuntu 17.10
menuentry "Ubuntu 17.10, grub.cfg on /dev/sda2" {
insmod part_msdos
insmod ext2
set root=(hd0,2)
set color_normal=white/black #1
set menu_color_normal=white/black #2
set gfxpayload=1024x768x32,1024x768
search --no-floppy --fs-uuid --set=root fe2fb390-21d4-420d-9881-9fa273ab621d
configfile (hd0,2)/boot/grub/grub.cfg
}
#Chainloader to another grub - Kali 2017.3
menuentry "kali 2017.3 , grub.cfg on /dev/sda6" {
insmod part_msdos
insmod ext2
set root=(hd0,6)
set color_normal=white/black #1
set menu_color_normal=white/black #2
set gfxpayload=1024x768x32,1024x768
search --no-floppy --fs-uuid --set=root 609d80aa-e7c3-4738-8bad-8fbc7b687a47
configfile (hd0,6)/boot/grub/grub.cfg
}
'search --no-floppy --fs-uuid --set=root fe2fb390-21d4-420d-9881-9fa273ab621d'
'search --no-floppy --fs-uuid --set=root 609d80aa-e7c3-4738-8bad-8fbc7b687a47'
En ce moment, les menus que j'ai postés, lancent les deux S.O. à partir de HD interne sda, et tout fonctionne bien,
mais je dois faire d'autres tests pour confirmer 100%.
J'ai de la persistance et SWAP activé, j'ai installé synaptique sur Kali et d'autres tests, mais je ne sais pas si c'est parfait.
J'ai vérifié sur MBR et UEFI et la HD démarre sans problèmes!
Faites quelques tests et faites le moi savoir ...
Regardez le nouveau poste où je vous explique tout!
Dernière modification par BDMaster (Le 04/12/2017, à 01:53)
Hors ligne
#36 Le 04/12/2017, à 01:36
- BDMaster
Re : partitionement sur HDD en usb3, pour données + 16.04LTS + liveUSB
Grande mise à jour ... Créer un Multiboot HD basé sur MULTISYSTEM:
Nous préparons notre HD externe et partitionnement (voir la structure ci-dessous), en utilisant GParted ... les mégaoctets et gigaoctets,
nous les obtenir en multipliant les grandeurs pour le multiple, ou 1024, ainsi, 100 Gb = 102400 Mib, 30 Gb = 30720 Sib, 2,5 Gb = 2560 Mib, etc.
Avant-propos, dans mon cas, j'ai l'appareil comme sdc, mais il pourrait s'agir de sdb ou de toute autre chose en général sdXY
Où sdXY doit être remplacé par votre appareil (X = HD_partition et Y = Partition_numero, par exemple sda1)
sdc 8:32 0 465,8G 0 disk
├─sdc1 8:33 0 100G 0 part /media/root/MULTISYSTEM1
├─sdc2 8:34 0 30G 0 part /media/root/Ubuntu 17.10
├─sdc3 8:35 0 2,5G 0 part
├─sdc4 8:36 0 1K 0 part
├─sdc5 8:37 0 30G 0 part /media/root/Windows
└─sdc6 8:38 0 30G 0 part /media/root/Kali
Dispositivo Avvio Start Fine Settori Size Id Tipo
/dev/sdc1 * 2048 209717247 209715200 100G b W95 FAT32
/dev/sdc2 209717248 272631807 62914560 30G 83 Linux
/dev/sdc3 272631808 277874687 5242880 2,5G 82 Linux swap / Solaris
/dev/sdc4 277874688 976773119 698898432 333,3G 5 Esteso
/dev/sdc5 277876736 340791295 62914560 30G 7 HPFS/NTFS/exFAT
/dev/sdc6 340793344 403707903 62914560 30G 83 Linux
La première partition hôte MULTISYSTEM sera FAT32 avec le drapeau de démarrage, le second EXT4 etc., puis le SWAP et un autre étendu, puis NTFS et EXT4.
Nous installons MULTISYSTEM et tournons notre HD, il va installer le bootloader et l'ISO que vous voulez.
Passons maintenant à la deuxième phase, l'installation des distributions Ubuntu_17.10 et Kali.
Télécharger l'ISO et créer les clés USB pour l'installation (j'ai utilisé UnetBootin, mais aussi d'autres sont bien), prépapre un à la fois
Clé USB et installez les systèmes d'exploitation Ubuntu et Kali dans le HD Multiboot.
Maintenant, nous allons faire des copies des partitions, afin d'avoir un modèle pour recréer d'autres HD sans refaire tout le travail.
Pour la copie (dans le cas où l'automount a déjà monté les partitions, utilisez celles-ci:
sudo lsblk
sdc 8:32 0 465,8G 0 disk
├─sdc1 8:33 0 100G 0 part /media/MULTISYSTEM
├─sdc2 8:34 0 30G 0 part /media/Ubuntu_17.10
├─sdc3 8:35 0 2,5G 0 part
├─sdc5 8:37 0 30G 0 part /media/Windows
└─sdc6 8:38 0 30G 0 part /media/Kali
Sinon, créez un dossier usb temporaire:
sudo mkdir /media/usb
sudo mount /dev/sdc1 /media/usb
sudo cp -r -p -v "/media/usb/"{[!.],.[!.],..?}* "/media/Dati/MULTISYSTEM/"
sudo umount /dev/sdc1
sudo mount /dev/sdc2 /media/usb
sudo cp -r -p -v "/media/usb/"{[!.],.[!.],..?}* "/media/Dati/Ubuntu_17.10/"
sudo umount /dev/sdc1
sudo mount /dev/sdc6 /media/usb
sudo cp -r -p -v "/media/usb/"{[!.],.[!.],..?}* "/media/Dati/Kali/"
sudo umount /dev/sdc1
Le travail effectué jusqu'à présent sera utile pour recréer, à partir des modèles sauvegardés, un nouveau Multiboot HD,
dans le cas, nous voulions faire une seconde, ou si nous avions des problèmes avec HD, comme des erreurs graves.
Nous allons le faire en utilisant la commande Partclone, mais nous le verrons plus tard!
Nous devons maintenant corriger le grub.cfg dans les partitions HD Multiboot que nous sommes en train de créer.
Important de changer le grub.cfg de MULTISYSTEM - Ubuntu_17.10 - Kali (les UUIDs changent après chaque formatage),
tout est basé sur UUID !!!
Lancez la commande lsblk et blkid et marquez les UUID à remplacer dans le fichier grub.cfg
Ce sont les miens, que vous trouverez dans le grub.cfg posté, mais le vôtre sera différent
lsblk
sdc 8:32 0 465,8G 0 disk
├─sdc1 8:33 0 100G 0 part /media/MULTISYSTEM
├─sdc2 8:34 0 30G 0 part /media/Ubuntu_17.10
├─sdc3 8:35 0 2,5G 0 part
├─sdc5 8:37 0 30G 0 part /media/Windows
└─sdc6 8:38 0 30G 0 part /media/Kali
blkid
/dev/sdc1: LABEL="MULTISYSTEM" UUID="AE62-0985" TYPE="vfat" PARTUUID="f1c182ad-01"
/dev/sdc2: LABEL="Ubuntu 17.10" UUID="76e2c4da-9bd0-43ce-87f3-e697e93a8823" TYPE="ext4" PARTUUID="f1c182ad-02"
/dev/sdc3: UUID="361199cf-352a-4779-aeed-aa82b219a7ef" TYPE="swap" PARTUUID="f1c182ad-03"
/dev/sdc5: LABEL="Windows" UUID="047B1D876AFE9110" TYPE="ntfs" PTTYPE="dos" PARTUUID="f1c182ad-05"
/dev/sdc6: LABEL="Kali" UUID="7eeda750-c4cf-4d26-898e-4d9e694c3470" TYPE="ext4" PARTUUID="f1c182ad-06"
"MULTISYSTEM" UUID="AE62-0985"
"Ubuntu 17.10" UUID="76e2c4da-9bd0-43ce-87f3-e697e93a8823"
"Windows" UUID="047B1D876AFE9110"
"Kali" UUID="7eeda750-c4cf-4d26-898e-4d9e694c3470"
Nous partons de la racine de la HD, où nous trouvons la partition MULTISYSTEM et éditons le premier fichier grub.cfg
(l'automount nous montera dans media / root / le MULTISYSTEM)
/media/root/MULTISYSTEM/boot/grub/grub.cfg
Nous allons utiliser GEdit avec la fonction find et remplacer tous les ...
Nous lisons le premier UUID lié à l'ancienne partition MULTISYSTEM et nous aurons UUID = AE62-0985 (mon ancien),
tandis que le nouveau (le vôtre sera différent) UUID = DA54-7451 appliquer trouver et remplacer ...
Nous faisons de même pour l'UUID de la partition Ubuntu_17.10, mon ancien UUID = 76e2c4da-9bd0-43ce-87f3-e697e93a8823
tandis que le nouveau sera, UUID = e1b2070a-0b38-42ac-9e39-8960a6ad458e nous appliquons trouver et remplacer ...
Nous faisons de même pour l'UUID de la partition Kali, mon ancien UUID = 7eeda750-c4cf-4d26-898e-4d9e694c3470
tandis que le nouveau sera, UUID = 18a7ae9b-820f-413f-a418-e3a8c176342c nous appliquons trouver et remplacer ...
Sauvegardez et modifions le fichier grub.cfg sur la partition Ubuntu_17.10, car il y a aussi des UUID
(l'automount nous montera en moyenne / root / le Ubuntu_17.10)
/media/root/Ubuntu_17.10/boot/grub/grub.cfg
Nous faisons comme précédemment pour l'UUID de la partition Ubuntu_17.10, mon ancien UUID = 76e2c4da-9bd0-43ce-87f3-e697e93a8823
tandis que le nouveau sera, UUID = e1b2070a-0b38-42ac-9e39-8960a6ad458e nous appliquons trouver et remplacer ...
Enregistrez et allez éditer le grub.cfg sur la partition Kali, car il y a aussi des UUID
(l'automount nous montera dans media / root / Kali)
/media/root/Kali/boot/grub/grub.cfg
On fait comme précédemment pour l'UUID de la partition Kali, mon ancien UUID = 7eeda750-c4cf-4d26-898e-4d9e694c3470
tandis que le nouveau sera, UUID = 18a7ae9b-820f-413f-a418-e3a8c176342c nous appliquons trouver et remplacer ...
Enregistrez et allez pour donner la dernière commande du terminal qui va réécrire le bootloader sur la partition MULTISYSTEM,
rendre le HD bootable à nouveau
sudo grub-install --force --no-floppy --target=i386-pc --boot-directory=/media/root/MULTISYSTEM/boot /dev/sdX
Où sdXY doit être remplacé par votre appareil (X = HD_partition)
Suivant mon exemple, j'aurais
sudo grub-install --force --no-floppy --target=i386-pc --boot-directory=/media/root/MULTISYSTEM/boot /dev/sdc
Ou alternativement nous le faisons à MULTISYSTEM comme nous l'avons fait initialement (inclut la fonction d'installation Grub2)
Maintenant, vérifions, en redémarrant à partir de HD externe (généralement la touche F12)
Les fichiers grub.cfg:
MULTISYSTEM
#insmod gpt
#insmod pc
#insmod gfxmenu
#
#insmod videotest
insmod tga
insmod png
insmod gfxterm
insmod lspci
#insmod vbeinfo
insmod vbe
insmod ntfs
insmod chain
insmod biosdisk
insmod font
#http://grub.enbug.org/ThemeFormat
#http://grub.gibibit.com/Theme_format#colors
#http://code.google.com/p/burg/wiki/InstallUbuntu
#http://code.google.com/p/burg/downloads/list
#http://ubuntuforums.org/showthread.php?t=1195275
#pour acces a grub2 du bootloader principal modifier dans fichier: /etc/default/grub
#GRUB_HIDDEN_TIMEOUT=10 #0 par defaut
#GRUB_HIDDEN_TIMEOUT_QUIET=false #true d'origine
#sudo update-grub
#echo -n "Press ESC to see the menu... "
#if sleep --verbose --interruptible 5 ; then
#set timeout=0
#fi
set default=0
set timeout=30
set fallback=1
search --no-floppy --fs-uuid --set=root AE62-0985
set root=${root}
#http://grub.enbug.org/gfxterm
if loadfont /boot/polices/unicode.pf2 ; then
set gfxmode=1024x768
set gfxpayload=1024x768x32,1024x768
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
if background_image /boot/splash/splash.png ; then
#text no sel/fond ecran
#set color_normal=white/black #1
set color_normal=blue/black #1
#text sel/fond ecran sel
set color_highlight=green/white #1
else
#set menu_color_normal=white/black #2
set menu_color_normal=blue/black #2
set menu_color_highlight=green/white #2
set color_normal=white/magenta #2
set color_highlight=green/white #2
fi
#
#
#Pour activer le thème graphique multisystem décommentez les 4 lignes ci-dessous
#set gfxmode=640x480
#set theme=($root)/boot/grub/themes/multisystem/theme.txt
#export theme
#loadfont /boot/grub/themes/multisystem/fonts/Helvetica-8.pf2
#
#
#Ne supprimez pas ce marqueur! / Do not remove this marker!
#MULTISYSTEM_START
#MULTISYSTEM_MENU_DEBUT|29-11-2017-15:50:17-048426259|ms-lts-16.04-amd64-r2.iso|multisystem-icon|1304Mio|
#menuentry "MultiSystem live French (toram)" --class ms --class linux --class os {
#search --set -f "/ms-lts-16.04-amd64-r2.iso"
#loopback loop "/ms-lts-16.04-amd64-r2.iso"
#linux (loop)/casper/vmlinuz.efi toram root=UUID=AE62-0985 iso-scan/filename=/ms-lts-16.04-amd64-r2.iso debian-installer/locale=fr_FR.UTF-8 debian-#installer/language=fr kbd-chooser/method=fr console-setup/layoutcode=fr console-setup/variantcode=oss console-setup/modelcode=pc105 ignore_uuid #boot=casper noprompt quiet splash --
#initrd (loop)/casper/initrd.lz
#}
menuentry "MultiSystem live English (toram)" --class ms --class linux --class os {
search --set -f "/ms-lts-16.04-amd64-r2.iso"
loopback loop "/ms-lts-16.04-amd64-r2.iso"
linux (loop)/casper/vmlinuz.efi toram root=UUID=AE62-0985 iso-scan/filename=/ms-lts-16.04-amd64-r2.iso debian-installer/locale=en_US.UTF-8 debian-installer/language=us kbd-chooser/method=us console-setup/layoutcode=us console-setup/modelcode=pc105 ignore_uuid boot=casper noprompt quiet splash --
initrd (loop)/casper/initrd.lz
}
#MULTISYSTEM_MENU_FIN|29-11-2017-15:50:17-048426259|ms-lts-16.04-amd64-r2.iso|multisystem-icon|1304Mio|
#MULTISYSTEM_STOP
#Ne supprimez pas ce marqueur! / Do not remove this marker!
#Chainloader to another grub - Ubuntu 17.10
menuentry "Ubuntu 17.10, grub.cfg on /dev/sda2" {
insmod part_msdos
insmod ext2
set root=(hd0,2)
set color_normal=white/black #1
set menu_color_normal=white/black #2
set gfxpayload=1024x768x32,1024x768
search --no-floppy --fs-uuid --set=root 76e2c4da-9bd0-43ce-87f3-e697e93a8823
configfile (hd0,2)/boot/grub/grub.cfg
}
#Chainloader to another grub - Kali 2017.3
menuentry "kali 2017.3 , grub.cfg on /dev/sda6" {
insmod part_msdos
insmod ext2
set root=(hd0,6)
set color_normal=white/black #1
set menu_color_normal=white/black #2
set gfxpayload=1024x768x32,1024x768
search --no-floppy --fs-uuid --set=root 7eeda750-c4cf-4d26-898e-4d9e694c3470
configfile (hd0,6)/boot/grub/grub.cfg
}
menuentry "______________Grub4Dos______________" {
echo
}
#http://grub4dos.sourceforge.net/
#http://grub4dos.sourceforge.net/wiki/index.php/Grub4dos_tutorial
menuentry "Grub4Dos" {
linux /boot/grub.exe --config-file=/boot/grub/menu.lst
}
menuentry "______________Syslinux______________" {
echo
}
#solution tordue, mais qui passe partout ...
#menuentry "Syslinux" {
#search --set -f /boot/syslinux/redir.img
# linux16 /boot/syslinux/memdisk
# initrd16 /boot/syslinux/redir.img
#}
#http://syslinux.zytor.com
menuentry "Syslinux" {
search --set -f "/boot/syslinux/ldlinux.sys"
drivemap -s (hd0) $root
chainloader +1
}
#Autre solution pour chainer Syslinux via une copie du mbr
#dd if=/dev/sd?1 of=/media/multisystem/boot/img/syslinux.mbr bs=512 count=1
#menuentry "Syslinux" {
#search --set -f "/boot/img/syslinux.mbr"
#drivemap -s (hd0) $root
#chainloader /boot/img/syslinux.mbr
#}
menuentry "______________UTIL______________" {
echo
}
## for debugging set debug=efi
#menuentry "0-testfakebios" {
# hexdump -s 0xc0000 (mem)
# fakebios
# hexdump -s 0xc0000 (mem)
## deliberate error to get wait for key
# xxx
#}
#How to test GRUB 2 on Macbook
#http://grub.enbug.org/TestingOnMacbook
#
#http://wiki.gentoo.org/wiki/GRUB2
#
#menuentry "Windows 7 BIOS/MBR" {
# insmod part_msdos
# insmod ntldr
# insmod ntfs
# ntldr (hd0,msdos1)/bootmgr
#}
#menuentry "Windows XP BIOS/MBR" {
# insmod part_msdos
# insmod ntldr
# insmod ntfs
# ntldr (hd0,msdos1)/ntldr
#}
#
#chainer un autre grub
#menuentry "grub.cfg auf /dev/sdb1" {
# configfile (hd1,1)/boot/grub/grub.cfg
#}
#menuentry "Chain other configfile" {
#configfile /boot/grub/grub-xxx.cfg
#}
#
#menuentry "Return default menu" {
#chainloader /boot/grub/boot.img
#}
#chainer win ou autre OS
#menuentry "Chainer UUID de la partition" {
#insmod=ntfs
#set root=(hd0,1)
#search --no-floppy --fs-uuid --set=root xxx-xxx
# drivemap -s (hd0) $root
# chainloader +1
#}
#Booter une iso avec memdisk
#menuentry "FreeBSD" {
# search --set -f "/FreeBSD-10.2-RELEASE-amd64-bootonly.iso"
# linux16 /boot/syslinux/memdisk iso raw
# initrd16 /FreeBSD-10.2-RELEASE-amd64-bootonly.iso
#}
#Booter une iso avec loopback.cfg
#menuentry "TITLE" {
# iso_path=/path.iso
# export iso_path
# search --set=root --file $iso_path
# loopback loop $iso_path
# root=(loop)
# configfile /boot/grub/loopback.cfg
# loopback --delete loop
#}
#http://www.plop.at/en/bootmanagerdl.html
menuentry "PLoP Boot Manager" {
linux16 /boot/img/plpbt
}
#http://www.supergrubdisk.org/
#http://developer.berlios.de/project/showfiles.php?group_id=10921
#SG2D (Floppy, CD & USB in one)
#super_grub_disk_hybrid-1.98s1.iso
menuentry "Super Grub2 Disk" {
search --set -f /boot/img/sgdh.iso
linux16 /boot/syslinux/memdisk
initrd16 /boot/img/sgdh.iso
}
menuentry "Super Grub Disk" {
search --set -f /boot/img/sgdfr.img
linux16 /boot/syslinux/memdisk
initrd16 /boot/img/sgdfr.img
}
menuentry "Smart Boot Manager" {
search --set -f /boot/img/sbootmgr.dsk
linux16 /boot/syslinux/memdisk
initrd16 /boot/img/sbootmgr.dsk
}
#Site: http://boot.kernel.org/index.html
#Téléchargement: http://boot.kernel.org/gpxe_images/gpxe.lkrn
menuentry "BKO (boot.kernel.org)" {
search --set -f /boot/img/gpxe.lkrn
linux16 /boot/img/gpxe.lkrn
}
#http://www.memtest.org/#downiso
menuentry "memtest86+" {
linux16 /boot/img/memtest86+.bin
}
menuentry "vbeinfo" {
vbeinfo
read
}
menuentry "lspci" {
lspci
read
}
menuentry "gfxpayload 640x480" {
set gfxpayload=640x480
echo gfxpayload=${gfxpayload} press enter
read
}
menuentry "gfxpayload 800x600" {
set gfxpayload=800x600
echo gfxpayload=${gfxpayload} press enter
read
}
menuentry "gfxpayload 1024x768" {
set gfxpayload=1024x768
echo gfxpayload=${gfxpayload} press enter
read
}
menuentry "gfxpayload 1280x1024" {
set gfxpayload=1280x1024
echo gfxpayload=${gfxpayload} press enter
read
}
menuentry "Reboot" {
insmod reboot
reboot
}
Ubuntu_17.10
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
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 recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; 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_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 76e2c4da-9bd0-43ce-87f3-e697e93a8823
else
search --no-floppy --fs-uuid --set=root 76e2c4da-9bd0-43ce-87f3-e697e93a8823
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=it_IT
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
set timeout=30
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=10
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=10
fi
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 44,0,30,0; then
clear
fi
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload="${1}"
if [ "${1}" = "keep" ]; then
set vt_handoff=vt.handoff=7
else
set vt_handoff=
fi
}
if [ "${recordfail}" != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-76e2c4da-9bd0-43ce-87f3-e697e93a8823' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 76e2c4da-9bd0-43ce-87f3-e697e93a8823
else
search --no-floppy --fs-uuid --set=root 76e2c4da-9bd0-43ce-87f3-e697e93a8823
fi
linux /boot/vmlinuz-4.13.0-16-generic root=UUID=76e2c4da-9bd0-43ce-87f3-e697e93a8823 ro quiet splash $vt_handoff
initrd /boot/initrd.img-4.13.0-16-generic
}
submenu 'Opzioni avanzate per Ubuntu' $menuentry_id_option 'gnulinux-advanced-76e2c4da-9bd0-43ce-87f3-e697e93a8823' {
menuentry 'Ubuntu, con Linux 4.13.0-16-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.13.0-16-generic-advanced-76e2c4da-9bd0-43ce-87f3-e697e93a8823' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 76e2c4da-9bd0-43ce-87f3-e697e93a8823
else
search --no-floppy --fs-uuid --set=root 76e2c4da-9bd0-43ce-87f3-e697e93a8823
fi
echo 'Caricamento Linux 4.13.0-16-generic...'
linux /boot/vmlinuz-4.13.0-16-generic root=UUID=76e2c4da-9bd0-43ce-87f3-e697e93a8823 ro quiet splash $vt_handoff
echo 'Caricamento ramdisk iniziale...'
initrd /boot/initrd.img-4.13.0-16-generic
}
menuentry 'Ubuntu, con Linux 4.13.0-16-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.13.0-16-generic-recovery-76e2c4da-9bd0-43ce-87f3-e697e93a8823' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 76e2c4da-9bd0-43ce-87f3-e697e93a8823
else
search --no-floppy --fs-uuid --set=root 76e2c4da-9bd0-43ce-87f3-e697e93a8823
fi
echo 'Caricamento Linux 4.13.0-16-generic...'
linux /boot/vmlinuz-4.13.0-16-generic root=UUID=76e2c4da-9bd0-43ce-87f3-e697e93a8823 ro recovery nomodeset
echo 'Caricamento ramdisk iniziale...'
initrd /boot/initrd.img-4.13.0-16-generic
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry 'Memory test (memtest86+)' {
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 76e2c4da-9bd0-43ce-87f3-e697e93a8823
else
search --no-floppy --fs-uuid --set=root 76e2c4da-9bd0-43ce-87f3-e697e93a8823
fi
knetbsd /boot/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 76e2c4da-9bd0-43ce-87f3-e697e93a8823
else
search --no-floppy --fs-uuid --set=root 76e2c4da-9bd0-43ce-87f3-e697e93a8823
fi
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### 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 ###
Kali
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
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_msdos
insmod ext2
set root='hd0,msdos6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 7eeda750-c4cf-4d26-898e-4d9e694c3470
else
search --no-floppy --fs-uuid --set=root 7eeda750-c4cf-4d26-898e-4d9e694c3470
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=it_IT
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
set timeout=30
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=5
fi
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload="${1}"
}
set linux_gfx_mode=
export linux_gfx_mode
menuentry 'Kali GNU/Linux' --class kali --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-7eeda750-c4cf-4d26-898e-4d9e694c3470' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 7eeda750-c4cf-4d26-898e-4d9e694c3470
else
search --no-floppy --fs-uuid --set=root 7eeda750-c4cf-4d26-898e-4d9e694c3470
fi
echo 'Caricamento Linux 4.13.0-kali1-amd64...'
linux /boot/vmlinuz-4.13.0-kali1-amd64 root=UUID=7eeda750-c4cf-4d26-898e-4d9e694c3470 ro quiet
echo 'Caricamento ramdisk iniziale...'
initrd /boot/initrd.img-4.13.0-kali1-amd64
}
submenu 'Opzioni avanzate per Kali GNU/Linux' $menuentry_id_option 'gnulinux-advanced-7eeda750-c4cf-4d26-898e-4d9e694c3470' {
menuentry 'Kali GNU/Linux, con Linux 4.13.0-kali1-amd64' --class kali --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.13.0-kali1-amd64-advanced-7eeda750-c4cf-4d26-898e-4d9e694c3470' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 7eeda750-c4cf-4d26-898e-4d9e694c3470
else
search --no-floppy --fs-uuid --set=root 7eeda750-c4cf-4d26-898e-4d9e694c3470
fi
echo 'Caricamento Linux 4.13.0-kali1-amd64...'
linux /boot/vmlinuz-4.13.0-kali1-amd64 root=UUID=7eeda750-c4cf-4d26-898e-4d9e694c3470 ro quiet
echo 'Caricamento ramdisk iniziale...'
initrd /boot/initrd.img-4.13.0-kali1-amd64
}
menuentry 'Kali GNU/Linux, with Linux 4.13.0-kali1-amd64 (recovery mode)' --class kali --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.13.0-kali1-amd64-recovery-7eeda750-c4cf-4d26-898e-4d9e694c3470' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 7eeda750-c4cf-4d26-898e-4d9e694c3470
else
search --no-floppy --fs-uuid --set=root 7eeda750-c4cf-4d26-898e-4d9e694c3470
fi
echo 'Caricamento Linux 4.13.0-kali1-amd64...'
linux /boot/vmlinuz-4.13.0-kali1-amd64 root=UUID=7eeda750-c4cf-4d26-898e-4d9e694c3470 ro single
echo 'Caricamento ramdisk iniziale...'
initrd /boot/initrd.img-4.13.0-kali1-amd64
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### 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 ###
Passons maintenant aux partitions de clones avec Partclone!
Hors ligne
#37 Le 04/12/2017, à 02:37
- Babdu89
Re : partitionement sur HDD en usb3, pour données + 16.04LTS + liveUSB
Bonsoir.
Au sujet de la copie de sauvegarde pour faire un deuxième, voir un troisième hdd usb avec ; MultiSystem; Ubuntu, et Kali.
Sur le deuxième hdd usb. On peut aussi faire ceci avec Gparted;
Créer la partition FAT32 qui recevra le MultiSystem.
Créer les partitions de copie des installations de Ubuntu et Kali de la même taille (ext4 et swap)
Dans Ubuntu et Kali. Installer un logiciel (Systemback) qui va permettre de faire les copies de Ubuntu et Kali, dans les partitions préparées sur le deuxième hdd usb.
https://la-vache-libre.org/systemback-l … -gnulinux/
Faire le MultiSystem. Le démarrer.
Copier les Os Ubuntu et Kali avec Systemback dans les partitions préparées .
Après avoir démarré les copies de Ubuntu et Kali.
Réinstaller Grub dans le MultiSystem.
Pour l'installation et utilisation du logiciel Systemback; voir ici.
http://forum.ubuntu-fr.org/viewtopic.ph … #p21834747
Ce que va faire le logiciel de copie Systemback;
Babdu89 a écrit.
Systemback fait alors ceci;
Formatage des partitions (Nouveau UUID des partitions créés)
Attribution des points de montage
Copie des données dans les partitions
Changement des UUID des partitions dans le fichier fstab de la copie
Réinstallation de grub
Il indique que la copie est faite avec succès.
Çà évite de faire des copies de partitions, et d'avoir à changer les UUID des partitions comme tu le proposes. Systemback fait le travail lui même.
Tu peux faire plusieurs hdd usb comme çà et les brancher tous sur la machine, sans qu'il y ai mélanges des UUID des partitions. Tous les Os copiés fonctionneront.
@+. Babdu89 .
Dernière modification par Babdu89 (Le 04/12/2017, à 11:35)
J'ai découvert Ubuntu avec la 07.10.... Et alors?!... Depuis je regarde de temps en temps si Windows marche toujours....
Hors ligne
#38 Le 04/12/2017, à 17:58
- BDMaster
Re : partitionement sur HDD en usb3, pour données + 16.04LTS + liveUSB
Très bien, c'est une excellente nouvelle, je connais le systemback pprogramma et j'ai essayé différentes solutions pour l'installer sur Ubuntu 17.10 mais j'ai reçu beaucoup d'erreurs et ne semble plus être supporté par 17.04
Avez-vous essayé de l'installer sur Ubuntu 17.10? comment l'as-tu fait?
Je me suis intéressé à créer une distribution ISO du PC et l'ai ensuite mis sur Multisystem, mais j'ai fait différemment à cause des problèmes d'installation systemback.
Si vous pouvez m'aider, je vous serais reconnaissant parce que cela me semble être un excellent logiciel et je ne peux pas l'utiliser, je suis désolé.
Vous avez raison de dire qu'il est très compliqué d'avoir à mettre à jour tous les UUID et toutes les distributions chargées, et il serait alors beaucoup plus facile d'utiliser la méthode que vous avez décrite.
Merci encore pour les suggestions.
J'ai fait d'autres tests et résolu d'autres oublis pour l'UUID (j'espère pouvoir utiliser Systemback le plus tôt possible).
Cependant je partclone (partclone-utils) pour cloner et remettre à zéro, y compris l'UUID, les partitions.
Je dois ajouter deux étapes à refaire ...
1. Lancé le S.O utilisé (Ubunto et Kali) vous devrez mettre à jour les informations sur les partitions à monter au démarrage en éditant le fichier '/ etc / fstab'
Entrez dans le Multiboot HD, ouvrez le terminal et exécutez la commande ci-dessous et copiez les UUID à mettre à jour dans le fichier fstab
lsblk -f
MONTAGE UUIDE AME FSTYPE LABEL
sda
├─sda1 vfat PQSERVICE EAEE-EB49
├─sda2 ntfs Win7 EACC3A77CC3A3DDF
└─sda3 ntfs Données CAB62CB1B62C9FC5
salésien
├─sdb1 vfat MULTISYSTEM AE62-0985 / media / root / MULTISYSTEM
├─sdb2 ext4 Ubuntu / 17.10 fe2fb390-21d4-420d-9881-9fa273ab621d /media/root/Ubuntu_17.10
├─sdb3 échanger 361199cf-352a-4779-aeed-aa82b219a7ef
├─sdb4
├─sdb5 ntfs Windows 047B1D876AFE9110 / media / root / Windows
└─sdb6 ext4 Kali 609d80aa-e7c3-4738-8bad-8fbc7b687a47 /
sr0
Nos partitions à mettre à jour sont:
├─sdb1 vfat MULTISYSTEM AE62-0985 / media / root / MULTISYSTEM
├─sdb2 ext4 Ubuntu / 17.10 fe2fb390-21d4-420d-9881-9fa273ab621d /media/root/Ubuntu_17.10
├─sdb3 échanger 361199cf-352a-4779-aeed-aa82b219a7ef
├─sdb5 ntfs Windows 047B1D876AFE9110 / media / root / Windows
└─sdb6 ext4 Kali 609d80aa-e7c3-4738-8bad-8fbc7b687a47 /
Lancez GEdit et chargez le fichier / etc / fstab, en suivant la table de partition obtenue en mettant à jour les UUID présents dans le fichier et en les sauvegardant.
Au prochain redémarrage, la table sera chargée en montant les partitions listées sans erreur.
# / etc / fstab: informations sur le système de fichiers statiques.
#
# Utilisez 'blkid' pour imprimer l'identifiant universellement unique d'un
# périphérique; ceci peut être utilisé avec UUID =
# qui fonctionne même s'ils sont ajoutés et supprimés. Voir fstab (5).
#
# <système de fichiers> <point de montage> <type> <options> <dump> <pass>
AE62-0985 UUID = / media / root / MULTISYSTEM voiture nosuid, nodev, nofail, x-gvfs-show, x-gvfs-name = MULTISYSTEM 0 0
UUID = fe2fb390-21d4-420d-9881-9fa273ab621d /media/root/Ubuntu_17.10 voiture nosuid, nodev, nofail, x-gvfs-show 0 0
UUID = a5595ffe-61a4-4e64-8b9b-f0dc635778a1 aucun échange sw 0 0
UUID = 047B1D876AFE9110 / media // racine / Windows automatique nosuid, nodev, nofail, x-gvfs-show, x-gvfs-name = Windows 0 0
UUID = 609d80aa-e7c3-4738-8bad-8fbc7b687a47 / erreurs ext4 = remount-ro, x-gvfs-show, x-gvfs-name = Kali 0 1
/ dev / sr0 / media / cdrom0 udf, utilisateur iso9660, noauto 0 0
Maintenant, nous expliquons comment faire le clone (y compris UUID) des partitions, puis restaurez, en utilisant le programme Partclone
Exemple de sauvegarde et de récupération de partitions HD Multiboot ...
1 .. Sauvegarde
sudo partclone.extfs -c -s / dev / sdc2 | gzip -c> "/ media / Data / Grub2 Dossiers de démarrage / Multisystem HD / 2 Ubuntu_17.10 / sdc2.img.gz"
2. Restaurer
sudo gunzip <"/ media / Data / Grub2 Dossiers de démarrage / Multisystem HD / 2 Ubuntu_17.10 / sdc2.img.gz" | partclone.extfs -r -s - -o / dev / sdc2
Dernière modification par BDMaster (Le 04/12/2017, à 20:52)
Hors ligne
#39 Le 23/12/2017, à 23:20
- Babdu89
Re : partitionement sur HDD en usb3, pour données + 16.04LTS + liveUSB
Bonsoir.
@BDMaster.
Le sujet a été scindé en deux.
Dans le post#1 de la nouvelle discussion,
https://forum.ubuntu-fr.org/viewtopic.p … #p21835779
j'ai fais des modifications pour l'accueil des lecteurs utilisateurs.
Si tu as des remarques, et modifications à proposer, on le fera.
Bien cordialement.
Bonnes fêtes à tous.
@+. Babdu89 .
J'ai découvert Ubuntu avec la 07.10.... Et alors?!... Depuis je regarde de temps en temps si Windows marche toujours....
Hors ligne
#40 Le 07/01/2018, à 22:19
- gva_raphael
Re : partitionement sur HDD en usb3, pour données + 16.04LTS + liveUSB
Bonjour.
Et en changeant le branchement du hdd USB3 de port USB? sur port USB3? et port USB2?
Qu'est-ce que çà donne?...@+. Babdu89 .
Hello,
je vois que ça congite
pour donner des news, j'ai encore testé 2-3 choses, mais sans résultats concluants de faire cohabiter simplement :
- des distrib live sur Multisystem
- la distrib pricipale
- le boot sur MS
donc, j'ai un HDD formaté en GPT avec ubuntu 16.04.03, pour une utilisation de dépannage.
Bonne année à tous
Hors ligne