Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#51 Le 26/10/2021, à 11:31

Jalic

Re : [resolu] installer Xubuntu à côté d'XP

isabelle@Fixe:~$ [ -d /sys/firmware/efi ] && echo "Session EFI" || echo "Session non-EFI"
Session EFI

avec Thunar, j'ai trouvé le fichier, mais je ne peux pas enregistrer les modifications.
Dois-je passer en ligne de codes ?


petit Pingouin sur la banquise, sachant à peine déchiffrer le langage des grands...

Hors ligne

#52 Le 26/10/2021, à 11:43

geole

Re : [resolu] installer Xubuntu à côté d'XP

Avec un éditeur de texte.
a) pas très évolué

sudo nano /etc/default/grub

b) avec un que je connais, s'il est installé

gedit admin:///etc/default/grub

c) avec celui de ta version  ?

sudo  mousepad /etc/default/grub

Dernière modification par geole (Le 26/10/2021, à 11:44)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#53 Le 26/10/2021, à 11:47

Jalic

Re : [resolu] installer Xubuntu à côté d'XP

A la première commande, ça répond session EFI

Quand j'ouvre le fichier avec Thunar, je peux le modifier mais pas l'enregistrer. Faut-il là aussi le faire en lignes de commande ?


petit Pingouin sur la banquise, sachant à peine déchiffrer le langage des grands...

Hors ligne

#54 Le 26/10/2021, à 11:53

geole

Re : [resolu] installer Xubuntu à côté d'XP

Il faut enregistrer la modification, Je t'ai proposé des choix en ligne de commande.
et j'avais bien lu que c'était une session EFI


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#55 Le 26/10/2021, à 12:15

Jalic

Re : [resolu] installer Xubuntu à côté d'XP

avec mes excuses pour ces répétitions, je n'avais pas vu qu'on était déjà à la 3° page...

sudo update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Création du fichier de configuration GRUB…
Image Linux trouvée : /boot/vmlinuz-5.11.0-38-generic
Image mémoire initiale trouvée : /boot/initrd.img-5.11.0-38-generic
Image Linux trouvée : /boot/vmlinuz-5.8.0-43-generic
Image mémoire initiale trouvée : /boot/initrd.img-5.8.0-43-generic
Adding boot menu entry for UEFI Firmware Settings
fait

je ne vois pas beaucoup de différences avec l'affichage précédent.


petit Pingouin sur la banquise, sachant à peine déchiffrer le langage des grands...

Hors ligne

#56 Le 26/10/2021, à 12:19

geole

Re : [resolu] installer Xubuntu à côté d'XP

Refais cette commande

   [ -d /sys/firmware/efi ] && echo "Session EFI" || echo "Session non-EFI"

Si cela te répond toujours session EFI, retourne dans le bios regarder les positionnements (peut-être as-tu oublié de sauver le bios en quittant)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#57 Le 26/10/2021, à 12:48

geole

Re : [resolu] installer Xubuntu à côté d'XP

Peut-être une autre solution
1) Booter avec le support d'installation
2) Choisir essayer avant d'installer
3) Vérifier que cela a bien booté en LEGACY

[ -d /sys/firmware/efi ] && echo "Session EFI" || echo "Session non-EFI"

4) Si oui réinstaller ubuntu.
Je pense que dans ce contexte, il installera les deux logiciels de boot manquant pour windows ( parttool et drivemap) car , à mon avis, ce sont probablement des modules ubuntu plus que windows. Bien que.....
https://dllyes.com/drivemap-sys/
Donc, je réitère ma demande
Avais-tu déjà booté sur windowsXP avec cette carte-mère avant d'installer ubuntu?

Dernière modification par geole (Le 26/10/2021, à 12:54)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#58 Le 26/10/2021, à 13:22

geole

Re : [resolu] installer Xubuntu à côté d'XP

geole a écrit :

Le grub contient bien de quoi  proposer windows

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Microsoft Windows XP Professionnel (sur /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-FD1662C1A5B166ED' {
	insmod part_msdos
	insmod ntfs
	set root='hd0,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  FD1662C1A5B166ED
	else
	  search --no-floppy --fs-uuid --set=root FD1662C1A5B166ED
	fi
	parttool ${root} hidden-
	drivemap -s (hd0) ${root}
	chainloader +1
}

Finalement, je ne suis pas certain que ce qui est généré est bon...
Dans un document, j'ai vu cet exemple

A Windows XP example:
FILE /etc/grub.d/40_customWindows XP example

menuentry "Windows XP BIOS MBR" {
     insmod part_msdos
     insmod ntldr
     insmod ntfs
     ntldr (hd0,msdos1)/ntldr   
}

Pour essayer

sudo -i
cat <<EOF >>/etc/grub.d/40_custom
menuentry "Windows XP BIOS MBR" {
     insmod part_msdos
     insmod ntldr
     insmod ntfs
     ntldr (hd0,msdos1)/ntldr
     }
EOF
update-grub
exit

Dernière modification par geole (Le 26/10/2021, à 18:10)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#59 Le 26/10/2021, à 14:57

Jalic

Re : [resolu] installer Xubuntu à côté d'XP

#56 : je suis toujours en EFI

#57 : en live, je suis en legacy
je confirme le 45, ça fait quelques années que la carte et XP font bon ménage.

#58 : voici ce que j'ai eu :

 sudo -i
[sudo] Mot de passe de isabelle : 
root@Fixe:~# cat <<EOF >>/etc/grub.d/40_custom
> menuentry "Windows XP BIOS MBR" {
>      insmod part_msdos
>      insmod ntldr
>      insmod ntfs
>      ntldr (hd0,msdos1)/ntldr
> EOF
root@Fixe:~# update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Création du fichier de configuration GRUB…
Image Linux trouvée : /boot/vmlinuz-5.11.0-38-generic
Image mémoire initiale trouvée : /boot/initrd.img-5.11.0-38-generic
Image Linux trouvée : /boot/vmlinuz-5.8.0-43-generic
Image mémoire initiale trouvée : /boot/initrd.img-5.8.0-43-generic
erreur : mémoire épuisée.
erreur : syntax error.
erreur : Incorrect command.
erreur : syntax error.
Erreur de syntaxe à la ligne 279
Des erreurs de syntaxe sont détectées dans le fichier de configuration
de GRUB. Veuillez vérifier qu'il n'y a pas d'erreur dans les fichiers
/etc/default/grub et /etc/grub.d/*. Sinon veuillez signaler un bogue
en joignant le fichier /boot/grub/grub.cfg.new.
root@Fixe:~# exit
déconnexion

petit Pingouin sur la banquise, sachant à peine déchiffrer le langage des grands...

Hors ligne

#60 Le 26/10/2021, à 15:35

geole

Re : [resolu] installer Xubuntu à côté d'XP

J'ai noté que windows bootait bien avant l'installation de ubuntu
Donne le contenu des fichiers

cat  /etc/grub.d/40_custom
cat /etc/default/grub
cat /etc/default/grub.d/init-select.cfg
cat /boot/grub/grub.cfg.new

Ton ordinateur a plein de choix différants

Lors du boot sur support USB   on peut choisir EFI ou LEGACY    Tu as choisis LEGACY
Cela devrait être bon pour une installation  normale.   Cela devrait faire une installation en LEGACY

Lors du boot sur disque interne on peut choisir EFI ou LEGACY    Tu as choisis EFI
Je pense que si EFI se plante, il continue en LEGACY.
Etant en EFI, il a du générer une installation EFI pour windows
Dans internet, il y a pas mal de cas comme le tien. A chaque fois, j'ai vu qu'on mettait windows en EFI.
Mais s'était windows10!!!

Je ne suis même pas certain qu'en mettant la bonne codification LEGACY  pour windowsXP, celle-ci bootera.
Il faudrait que tu regardes pour le boot du disque interne s'il peut être en LEGACY

Dernière modification par geole (Le 26/10/2021, à 15:45)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#61 Le 26/10/2021, à 17:59

Jalic

Re : [resolu] installer Xubuntu à côté d'XP

cat  /etc/grub.d/40_custom
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
menuentry "Windows XP BIOS MBR" {
     insmod part_msdos
     insmod ntldr
     insmod ntfs
     ntldr (hd0,msdos1)/ntldr
cat /etc/default/grub
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash noefi"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
cat /etc/default/grub.d/init-select.cfg
# Work around a bug in the obsolete init-select package which broke
# grub-mkconfig when init-select was removed but not purged.  This file does
# nothing and will be removed in a later release.
#
# See:
#   https://bugs.debian.org/858528
#   https://bugs.debian.org/863801
cat /boot/grub/grub.cfg.new
#
# 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 [ "${initrdfail}" = 2 ]; then
   set initrdfail=
elif [ "${initrdfail}" = 1 ]; then
   set next_entry="${prev_entry}"
   set prev_entry=
   save_env prev_entry
   if [ "${next_entry}" ]; then
      set initrdfail=2
   fi
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 initrdfail {
    if [ -n "${have_grubenv}" ]; then if [ -n "${partuuid}" ]; then
      if [ -z "${initrdfail}" ]; then
        set initrdfail=1
        if [ -n "${boot_once}" ]; then
          set prev_entry="${default}"
          save_env prev_entry
        fi
      fi
      save_env initrdfail
    fi; 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,msdos7'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7  c279e42d-85eb-4f4b-9ba6-765a02b22ab4
else
  search --no-floppy --fs-uuid --set=root c279e42d-85eb-4f4b-9ba6-765a02b22ab4
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=fr_FR
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=hidden
    set timeout=10
  # Fallback hidden-timeout code in case the timeout_style feature is
  # unavailable.
  elif sleep --interruptible 10 ; then
    set timeout=0
  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
### 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-c279e42d-85eb-4f4b-9ba6-765a02b22ab4' {
	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,msdos7'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7  c279e42d-85eb-4f4b-9ba6-765a02b22ab4
	else
	  search --no-floppy --fs-uuid --set=root c279e42d-85eb-4f4b-9ba6-765a02b22ab4
	fi
	linux	/boot/vmlinuz-5.11.0-38-generic root=UUID=c279e42d-85eb-4f4b-9ba6-765a02b22ab4 ro  quiet splash noefi $vt_handoff
	initrd	/boot/initrd.img-5.11.0-38-generic
}
submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-c279e42d-85eb-4f4b-9ba6-765a02b22ab4' {
	menuentry 'Ubuntu, avec Linux 5.11.0-38-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.11.0-38-generic-advanced-c279e42d-85eb-4f4b-9ba6-765a02b22ab4' {
		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,msdos7'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7  c279e42d-85eb-4f4b-9ba6-765a02b22ab4
		else
		  search --no-floppy --fs-uuid --set=root c279e42d-85eb-4f4b-9ba6-765a02b22ab4
		fi
		echo	'Chargement de Linux 5.11.0-38-generic…'
		linux	/boot/vmlinuz-5.11.0-38-generic root=UUID=c279e42d-85eb-4f4b-9ba6-765a02b22ab4 ro  quiet splash noefi $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-5.11.0-38-generic
	}
	menuentry 'Ubuntu, avec Linux 5.11.0-38-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.11.0-38-generic-recovery-c279e42d-85eb-4f4b-9ba6-765a02b22ab4' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos7'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7  c279e42d-85eb-4f4b-9ba6-765a02b22ab4
		else
		  search --no-floppy --fs-uuid --set=root c279e42d-85eb-4f4b-9ba6-765a02b22ab4
		fi
		echo	'Chargement de Linux 5.11.0-38-generic…'
		linux	/boot/vmlinuz-5.11.0-38-generic root=UUID=c279e42d-85eb-4f4b-9ba6-765a02b22ab4 ro recovery nomodeset dis_ucode_ldr 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-5.11.0-38-generic
	}
	menuentry 'Ubuntu, avec Linux 5.8.0-43-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.8.0-43-generic-advanced-c279e42d-85eb-4f4b-9ba6-765a02b22ab4' {
		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,msdos7'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7  c279e42d-85eb-4f4b-9ba6-765a02b22ab4
		else
		  search --no-floppy --fs-uuid --set=root c279e42d-85eb-4f4b-9ba6-765a02b22ab4
		fi
		echo	'Chargement de Linux 5.8.0-43-generic…'
		linux	/boot/vmlinuz-5.8.0-43-generic root=UUID=c279e42d-85eb-4f4b-9ba6-765a02b22ab4 ro  quiet splash noefi $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-5.8.0-43-generic
	}
	menuentry 'Ubuntu, avec Linux 5.8.0-43-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.8.0-43-generic-recovery-c279e42d-85eb-4f4b-9ba6-765a02b22ab4' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos7'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7  c279e42d-85eb-4f4b-9ba6-765a02b22ab4
		else
		  search --no-floppy --fs-uuid --set=root c279e42d-85eb-4f4b-9ba6-765a02b22ab4
		fi
		echo	'Chargement de Linux 5.8.0-43-generic…'
		linux	/boot/vmlinuz-5.8.0-43-generic root=UUID=c279e42d-85eb-4f4b-9ba6-765a02b22ab4 ro recovery nomodeset dis_ucode_ldr 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-5.8.0-43-generic
	}
}

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

### BEGIN /etc/grub.d/10_linux_zfs ###
### END /etc/grub.d/10_linux_zfs ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
menuentry "Windows XP BIOS MBR" {
     insmod part_msdos
     insmod ntldr
     insmod ntfs
     ntldr (hd0,msdos1)/ntldr
### 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 ###

petit Pingouin sur la banquise, sachant à peine déchiffrer le langage des grands...

Hors ligne

#62 Le 26/10/2021, à 18:12

geole

Re : [resolu] installer Xubuntu à côté d'XP

J'ai oublié un caractère... On va l'ajouter

sudo -i
cat <<EOF >>/etc/grub.d/40_custom
   }
EOF
update-grub
exit

Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#63 Le 27/10/2021, à 06:19

Jalic

Re : [resolu] installer Xubuntu à côté d'XP

voici le retour :

 sudo -i
[sudo] Mot de passe de isabelle : 
root@Fixe:~# cat <<EOF >>/etc/grub.d/40_custom
>    }
> EOF
root@Fixe:~# update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Création du fichier de configuration GRUB…
Image Linux trouvée : /boot/vmlinuz-5.11.0-38-generic
Image mémoire initiale trouvée : /boot/initrd.img-5.11.0-38-generic
Image Linux trouvée : /boot/vmlinuz-5.8.0-43-generic
Image mémoire initiale trouvée : /boot/initrd.img-5.8.0-43-generic
fait
root@Fixe:~# exit
déconnexion

petit Pingouin sur la banquise, sachant à peine déchiffrer le langage des grands...

Hors ligne

#64 Le 27/10/2021, à 06:57

Jalic

Re : [resolu] installer Xubuntu à côté d'XP

Au démarrage, il n'affiche pas l'écran d'accueil, il faut appuyer sur ESC pour l'afficher,

il propose Ubuntu / Advanced... / Windows XP Bios MBR

et quand on choisit XP, il plante :
error : file '/boot/grub/x86_64-efi/ntldr.mod' not found.
error : can't find command 'ntldr'.

L'erreur ne viendrait-elle pas d'un mauvais départ à l'installation ?
msg 18 (et avant)
voici l'écran de gparted
gparted.png

Est-ce que ce ne serait pas le sda6 qui pose pb ? ou l'arborescence ?


petit Pingouin sur la banquise, sachant à peine déchiffrer le langage des grands...

Hors ligne

#65 Le 27/10/2021, à 11:10

geole

Re : [resolu] installer Xubuntu à côté d'XP

Bonjour.
Je serais peu disponible aujourd'hui.
Comme initialement, tu as fais une installation EFI, dont seulement la structure de démarrage a été réparée, je pense qu'il manque d'autres modules legacy.
Le plus simple serait de recommencer l'installation en t'assurant que c'est bien booté en legacy avant d'installer en utilisant la commande déjà vue.

Dernière modification par geole (Le 27/10/2021, à 11:10)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#66 Le 27/10/2021, à 11:23

Jalic

Re : [resolu] installer Xubuntu à côté d'XP

Je réinstalle donc  "tout simplement" à partir de la clé, comme au message 15 et si ça coince comme au msg 16, cette fois, je continue sans lui mettre une partition en efi.

Et si ça n'avance pas comme il faut, j'attendrai votre retour.
Merci.


petit Pingouin sur la banquise, sachant à peine déchiffrer le langage des grands...

Hors ligne

#67 Le 28/10/2021, à 11:18

Jalic

Re : [resolu] installer Xubuntu à côté d'XP

Bonjour, me revoilà !
J'ai donc ré installé et réinstallé :

1) après avoir vérifier que ma clé était bien en legacy, j'ai rénstallé et cette fois, l'installation a bien trouvé que xp était sur le disque.
J'ai quand même réinstallé en "autre" avec d'abord suppression des partitions puis création d'un swap et d'un ext4.
L'installation s'est bien terminée sauf
a) firefox ne s'ouvre pas : erreur : il est déjà en train de tourner et ne répond pas, même si je change d'utilisateur ou reboote, même erreur;
b) je ne peux pas envoyer de raccourci sur le bureau : erreur lors de la création du lien symbolique /root/-desktop/documents isa - permission non accordée

j'ai donc tenté une seconde ré-install.
2) cette fois, dans xp, j'ai supprimé les partitions qu'ubuntu avait créées pour retrouver un espace libre
et j'ai relancé et choisi installer Xubuntu à côté d'XP.
Voici les partitions qu'il m'a faites :
Disque-C-211028.png
rem : il y a encore une partition en EFI

je retrouve les pb a et b
ainsi que
c) « mise à jour des informations : la prise en charge des langues est incomplète » cette fenêtre m’est apparue à plusieurs reconnexions
d) il me semble plus lent et demande mon mdp pour monter une clé

Bref, j'ai encore besoin de votre aide !


petit Pingouin sur la banquise, sachant à peine déchiffrer le langage des grands...

Hors ligne

#68 Le 28/10/2021, à 13:26

geole

Re : [resolu] installer Xubuntu à côté d'XP

Bonjour
Avant de s'affoler sur les cinq problèmes, il faut mettre à jour le logiciel

sudo apt update
sudo apt upgrade
sudo apt full-upgrade

Peux-tu refaire un boot-info afin de voir comment est cette nouvelle installation?
Dis aussi comment cela se comporte avec windows XP.

J'ai noté que tu as 5 problèmes, Dis ce qu'ils deviennent après la mise à jour
a) Firefox ne s'ouvre pas.
b) Pas d'envoi de raccourci sur le bureau.
c)  Prise en charge des langues incomplète.
d) Ubuntu semble plus lent.
e) Demande de mdp pour monter une clé.

Dernière modification par geole (Le 28/10/2021, à 13:27)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#69 Le 28/10/2021, à 18:59

Jalic

Re : [resolu] installer Xubuntu à côté d'XP

sudo apt update
 Atteint :1 http://fr.archive.ubuntu.com/ubuntu focal InRelease
Réception de :2 http://fr.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Réception de :3 http://fr.archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]
Réception de :4 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Réception de :5 http://fr.archive.ubuntu.com/ubuntu focal-updates/main i386 Packages [552 kB]
Réception de :6 http://fr.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [1301 kB]
Réception de :7 http://fr.archive.ubuntu.com/ubuntu focal-updates/main amd64 DEP-11 Metadata [283 kB]
Réception de :8 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [949 kB]
Réception de :9 http://fr.archive.ubuntu.com/ubuntu focal-updates/main amd64 c-n-f Metadata [14,4 kB]
Réception de :10 http://fr.archive.ubuntu.com/ubuntu focal-updates/universe i386 Packages [642 kB]
Réception de :11 http://fr.archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [866 kB]
Réception de :12 http://fr.archive.ubuntu.com/ubuntu focal-updates/universe Translation-en [186 kB]
Réception de :13 http://fr.archive.ubuntu.com/ubuntu focal-updates/universe amd64 DEP-11 Metadata [362 kB]
Réception de :14 http://fr.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 DEP-11 Metadata [940 B]
Réception de :15 http://fr.archive.ubuntu.com/ubuntu focal-backports/universe amd64 DEP-11 Metadata [10,4 kB]
Réception de :16 http://security.ubuntu.com/ubuntu focal-security/main i386 Packages [297 kB]
Réception de :17 http://security.ubuntu.com/ubuntu focal-security/main amd64 DEP-11 Metadata [29,0 kB]
Réception de :18 http://security.ubuntu.com/ubuntu focal-security/main amd64 c-n-f Metadata [8844 B]
Réception de :19 http://security.ubuntu.com/ubuntu focal-security/universe i386 Packages [512 kB]
Réception de :20 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [647 kB]
Réception de :21 http://security.ubuntu.com/ubuntu focal-security/universe amd64 DEP-11 Metadata [63,6 kB]
Réception de :22 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 DEP-11 Metadata [2464 B]
7056 ko réceptionnés en 5s (1421 ko/s)                           
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
4 paquets peuvent être mis à jour. Exécutez « apt list --upgradable » pour les voir.
sudo apt upgrade
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Calcul de la mise à jour... Fait
Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
  chromium-codecs-ffmpeg-extra gstreamer1.0-vaapi libllvm11 libva-wayland2
Veuillez utiliser « sudo apt autoremove » pour les supprimer.
Les paquets suivants seront mis à jour :
  bind9-dnsutils bind9-host bind9-libs tzdata
4 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
4 standard security updates
Il est nécessaire de prendre 1579 ko dans les archives.
Après cette opération, 2048 o d'espace disque seront libérés.
Souhaitez-vous continuer ? [O/n] o
Réception de :1 http://fr.archive.ubuntu.com/ubuntu focal-updates/main amd64 bind9-dnsutils amd64 1:9.16.1-0ubuntu2.9 [134 kB]
Réception de :2 http://fr.archive.ubuntu.com/ubuntu focal-updates/main amd64 bind9-libs amd64 1:9.16.1-0ubuntu2.9 [1107 kB]
Réception de :3 http://security.ubuntu.com/ubuntu focal-security/main amd64 tzdata all 2021e-0ubuntu0.20.04 [295 kB]
Réception de :4 http://fr.archive.ubuntu.com/ubuntu focal-updates/main amd64 bind9-host amd64 1:9.16.1-0ubuntu2.9 [43,0 kB]
1579 ko réceptionnés en 1s (1065 ko/s)                            
Préconfiguration des paquets...
(Lecture de la base de données... 205559 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de .../tzdata_2021e-0ubuntu0.20.04_all.deb ...
Dépaquetage de tzdata (2021e-0ubuntu0.20.04) sur (2021a-2ubuntu0.20.04) ...
Préparation du dépaquetage de .../bind9-dnsutils_1%3a9.16.1-0ubuntu2.9_amd64.deb ...
Dépaquetage de bind9-dnsutils (1:9.16.1-0ubuntu2.9) sur (1:9.16.1-0ubuntu2.8) ...
Préparation du dépaquetage de .../bind9-libs_1%3a9.16.1-0ubuntu2.9_amd64.deb ...
Dépaquetage de bind9-libs:amd64 (1:9.16.1-0ubuntu2.9) sur (1:9.16.1-0ubuntu2.8) ...
Préparation du dépaquetage de .../bind9-host_1%3a9.16.1-0ubuntu2.9_amd64.deb ...
Dépaquetage de bind9-host (1:9.16.1-0ubuntu2.9) sur (1:9.16.1-0ubuntu2.8) ...
Paramétrage de bind9-libs:amd64 (1:9.16.1-0ubuntu2.9) ...
Paramétrage de tzdata (2021e-0ubuntu0.20.04) ...

Current default time zone: 'Europe/Paris'
Local time is now:      Thu Oct 28 18:19:25 CEST 2021.
Universal Time is now:  Thu Oct 28 16:19:25 UTC 2021.
Run 'dpkg-reconfigure tzdata' if you wish to change it.

Paramétrage de bind9-host (1:9.16.1-0ubuntu2.9) ...
Paramétrage de bind9-dnsutils (1:9.16.1-0ubuntu2.9) ...
Traitement des actions différées (« triggers ») pour man-db (2.9.1-1) ...
Traitement des actions différées (« triggers ») pour libc-bin (2.31-0ubuntu9.2) ...
sudo apt full-upgrade
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Calcul de la mise à jour... Fait
Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
  chromium-codecs-ffmpeg-extra gstreamer1.0-vaapi libllvm11 libva-wayland2
Veuillez utiliser « sudo apt autoremove » pour les supprimer.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.

J'espère avoir bien tout remis parce que je dois jongler entre les 2 ordi !
a) firefox ne démarre pas, il est occupé
b) permission non accordée
c) il ne signale plus cette prise en charge incomplète
d) ça me semble redevenu comme ce que j'avais déjà vu
e) montage normal au branchement
j'ajoute
f) libre office ne fonctionne pas : j'ai juste le temps de voir libre office 6.0 fatal error, le message s'éteint tout de suite.

Côté XP, c'est ok : firefox fonctionne, impression ok.

pour le boot-info, je ne sais pas encore le faire en ligne de code
je suis allé voir la doc mais je suis bloquée au point 1.1


petit Pingouin sur la banquise, sachant à peine déchiffrer le langage des grands...

Hors ligne

#70 Le 28/10/2021, à 19:45

geole

Re : [resolu] installer Xubuntu à côté d'XP

a) Pour firefox, je ne sais pas trop quoi dire
J'ai vu ce lien https://support.mozilla.org/fr/kb/firef … -solutions
Cette commande pourrait donner une piste

firefox -jsconsole

b)   Pour les permissions des raccourcis  dans le bureau, je fais souvent en ligne de commande,

c) d) et e) résolus. Si j'ai bien compris.

f)  Pour libre-office, essayons la même astuce

libreoffice --jsconsole

g) Problème windows XP résolu.

h) Pour le boot-info en cliquant   sur ajouter le ppa de la ligne
Ajoutez le PPA ppa:yannubuntu/boot-repair
Tu aurais ouvert  ce lien https://doc.ubuntu-fr.org/ppa#ajout_d_u … ogicielles
et au paragraphe 4.2 tu aurais eu la ligne de commande suivante

sudo add-apt-repository ppa:yannubuntu/boot-repair

i) Tu essaiera de donner les incidents rencontrés au démarrage

journalctl -b -p err --no-pager

Dernière modification par geole (Le 28/10/2021, à 19:51)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#71 Le 28/10/2021, à 20:34

Jalic

Re : [resolu] installer Xubuntu à côté d'XP

a)

firefox -jsconsole
###!!! [Child][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost


###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost

même message d'erreur

f)

libreoffice --jsconsole
javaldx: Could not find a Java Runtime Environment!
Please ensure that a JVM and the package libreoffice-java-common
is installed.
If it is already installed then try removing ~/.config/libreoffice/4/user/config/javasettings_Linux_*.xml
Warning: failed to read path from javaldx
LibreOffice 6.4.7.2 40(Build:2)

Error in option: --jsconsole

Usage: soffice [argument...]
       argument - switches, switch parameters and document URIs (filenames).   

Using without special arguments:                                               
Opens the start center, if it is used without any arguments.                   
   {file}              Tries to open the file (files) in the components        
                       suitable for them.                                      
   {file} {macro:///Library.Module.MacroName}                                  
                       Opens the file and runs specified macros from           
                       the file.                                               

Getting help and information:                                                  
   --help | -h | -?    Shows this help and quits.                              
   --helpwriter        Opens built-in or online Help on Writer.                
   --helpcalc          Opens built-in or online Help on Calc.                  
   --helpdraw          Opens built-in or online Help on Draw.                  
   --helpimpress       Opens built-in or online Help on Impress.               
   --helpbase          Opens built-in or online Help on Base.                  
   --helpbasic         Opens built-in or online Help on Basic scripting        
                       language.                                               
   --helpmath          Opens built-in or online Help on Math.                  
   --version           Shows the version and quits.                            
   --nstemporarydirectory                                                      
                       (MacOS X sandbox only) Returns path of the temporary    
                       directory for the current user and exits. Overrides     
                       all other arguments.                                    

General arguments:                                                             
   --quickstart[=no]   Activates[Deactivates] the Quickstarter service.        
   --nolockcheck       Disables check for remote instances using one           
                       installation.                                           
   --infilter={filter} Force an input filter type if possible. For example:    
                       --infilter="Calc Office Open XML"                     
                       --infilter="Text (encoded):UTF8,LF,,,"                
   --pidfile={file}    Store soffice.bin pid to {file}.                        
   --display {display} Sets the DISPLAY environment variable on UNIX-like      
                       platforms to the value {display} (only supported by a   
                       start script).                                          

User/programmatic interface control:                                           
   --nologo            Disables the splash screen at program start.            
   --minimized         Starts minimized. The splash screen is not displayed.   
   --nodefault         Starts without displaying anything except the splash    
                       screen (do not display initial window).                 
   --invisible         Starts in invisible mode. Neither the start-up logo nor 
                       the initial program window will be visible. Application 
                       can be controlled, and documents and dialogs can be     
                       controlled and opened via the API. Using the parameter, 
                       the process can only be ended using the taskmanager     
                       (Windows) or the kill command (UNIX-like systems). It   
                       cannot be used in conjunction with --quickstart.        
   --headless          Starts in "headless mode" which allows using the      
                       application without GUI. This special mode can be used  
                       when the application is controlled by external clients  
                       via the API.                                            
   --norestore         Disables restart and file recovery after a system crash.
   --safe-mode         Starts in a safe mode, i.e. starts temporarily with a   
                       fresh user profile and helps to restore a broken        
                       configuration.                                          
   --accept={connect-string}  Specifies a UNO connect-string to create a UNO   
                       acceptor through which other programs can connect to    
                       access the API. Note that API access allows execution   
                       of arbitrary commands.                                  
                       The syntax of the {connect-string} is:                  
                         connection-type,params;protocol-name,params           
                       e.g.  pipe,name={some name};urp                         
                         or  socket,host=localhost,port=54321;urp              
   --unaccept={connect-string}  Closes an acceptor that was created with       
                       --accept. Use --unaccept=all to close all acceptors.    
   --language={lang}   Uses specified language, if language is not selected    
                       yet for UI. The lang is a tag of the language in IETF   
                       language tag.                                           

Developer arguments:                                                           
   --terminate_after_init                                                      
                       Exit after initialization complete (no documents loaded)
   --eventtesting      Exit after loading documents.                           

New document creation arguments:                                               
The arguments create an empty document of specified kind. Only one of them may 
be used in one command line. If filenames are specified after an argument,     
then it tries to open those files in the specified component.                  
   --writer            Creates an empty Writer document.                       
   --calc              Creates an empty Calc document.                         
   --draw              Creates an empty Draw document.                         
   --impress           Creates an empty Impress document.                      
   --base              Creates a new database.                                 
   --global            Creates an empty Writer master (global) document.       
   --math              Creates an empty Math document (formula).               
   --web               Creates an empty HTML document.                         

File open arguments:                                                           
The arguments define how following filenames are treated. New treatment begins 
after the argument and ends at the next argument. The default treatment is to  
open documents for editing, and create new documents from document templates.  
   -n                  Treats following files as templates for creation of new 
                       documents.                                              
   -o                  Opens following files for editing, regardless whether   
                       they are templates or not.                              
   --pt {Printername}  Prints following files to the printer {Printername},    
                       after which those files are closed. The splash screen   
                       does not appear. If used multiple times, only last      
                       {Printername} is effective for all documents of all     
                       --pt runs. Also, --printer-name argument of             
                       --print-to-file switch interferes with {Printername}.   
   -p                  Prints following files to the default printer, after    
                       which those files are closed. The splash screen does    
                       not appear. If the file name contains spaces, then it   
                       must be enclosed in quotation marks.                    
   --view              Opens following files in viewer mode (read-only).       
   --show              Opens and starts the following presentation documents   
                       of each immediately. Files are closed after the showing.
                       Files other than Impress documents are opened in        
                       default mode , regardless of previous mode.             
   --convert-to OutputFileExtension[:OutputFilterName] \                      
     [--outdir output_dir] [--convert-images-to]                               
                       Batch convert files (implies --headless). If --outdir   
                       isn't specified, then current working directory is used 
                       as output_dir. If --convert-images-to is given, its     
                       parameter is taken as the target filter format for *all*
                       images written to the output format. If --convert-to is 
                       used more than once, the last value of                  
                       OutputFileExtension[:OutputFilterName] is effective. If 
                       --outdir is used more than once, only its last value is 
                       effective. For example:                                 
                   --convert-to pdf *.odt                                      
                   --convert-to epub *.doc                                     
                   --convert-to pdf:writer_pdf_Export --outdir /home/user *.doc
                   --convert-to "html:XHTML Writer File:UTF8" \             
                                --convert-images-to "jpg" *.doc              
                   --convert-to "txt:Text (encoded):UTF8" *.doc              
   --print-to-file [--printer-name printer_name] [--outdir output_dir]         
                       Batch print files to file. If --outdir is not specified,
                       then current working directory is used as output_dir.   
                       If --printer-name or --outdir used multiple times, only 
                       last value of each is effective. Also, {Printername} of 
                       --pt switch interferes with --printer-name.             
   --cat               Dump text content of the following files to console     
                       (implies --headless). Cannot be used with --convert-to. 
   --script-cat        Dump text content of any scripts embedded in the files  
                       to console (implies --headless). Cannot be used with    
                       --convert-to.                                           
   -env:<VAR>[=<VALUE>] Set a bootstrap variable. For example: to set          
                       a non-default user profile path:                        
                       -env:UserInstallation=file:///tmp/test                  

Ignored switches:                                                              
   -psn                Ignored (MacOS X only).                                 
   -Embedding          Ignored (COM+ related; Windows only).                   
   --nofirststartwizard Does nothing, accepted only for backward compatibility.
   --protector {arg1} {arg2}                                                   
                       Used only in unit tests and should have two arguments.  

h) en fait, je lis les instructions sur un écran et je recopie sur le "malade" vu qu'il n'a pas accès à firefox, je n'ai pas les liens.
Et pour ajouter boot-info je fais

sudo add-apt-repository ppa:yannubuntu/boot-repair

??

i)

journalctl -b -p err --no-pager
-- Logs begin at Thu 2021-10-28 07:13:33 CEST, end at Thu 2021-10-28 20:30:01 CEST. --
oct. 28 20:12:57 Fixe kernel: x86/cpu: VMX (outside TXT) disabled by BIOS
oct. 28 20:13:01 Fixe lightdm[740]: PAM unable to dlopen(pam_kwallet.so): /lib/security/pam_kwallet.so: cannot open shared object file: No such file or directory
oct. 28 20:13:01 Fixe lightdm[740]: PAM adding faulty module: pam_kwallet.so
oct. 28 20:13:01 Fixe lightdm[740]: PAM unable to dlopen(pam_kwallet5.so): /lib/security/pam_kwallet5.so: cannot open shared object file: No such file or directory
oct. 28 20:13:01 Fixe lightdm[740]: PAM adding faulty module: pam_kwallet5.so
oct. 28 20:13:02 Fixe lightdm[820]: PAM unable to dlopen(pam_kwallet.so): /lib/security/pam_kwallet.so: cannot open shared object file: No such file or directory
oct. 28 20:13:02 Fixe lightdm[820]: PAM adding faulty module: pam_kwallet.so
oct. 28 20:13:02 Fixe lightdm[820]: PAM unable to dlopen(pam_kwallet5.so): /lib/security/pam_kwallet5.so: cannot open shared object file: No such file or directory
oct. 28 20:13:02 Fixe lightdm[820]: PAM adding faulty module: pam_kwallet5.so
oct. 28 20:13:08 Fixe lightdm[877]: PAM unable to dlopen(pam_kwallet.so): /lib/security/pam_kwallet.so: cannot open shared object file: No such file or directory
oct. 28 20:13:08 Fixe lightdm[877]: PAM adding faulty module: pam_kwallet.so
oct. 28 20:13:08 Fixe lightdm[877]: PAM unable to dlopen(pam_kwallet5.so): /lib/security/pam_kwallet5.so: cannot open shared object file: No such file or directory
oct. 28 20:13:08 Fixe lightdm[877]: PAM adding faulty module: pam_kwallet5.so
oct. 28 20:13:12 Fixe lightdm[877]: gkr-pam: unable to locate daemon control file
oct. 28 20:13:13 Fixe pulseaudio[891]: Failed to create secure directory (/home/isabelle/.config/pulse): Opération non permise
oct. 28 20:13:13 Fixe systemd[885]: Failed to start Sound Service.
oct. 28 20:13:13 Fixe pulseaudio[912]: Failed to create secure directory (/home/isabelle/.config/pulse): Opération non permise
oct. 28 20:13:13 Fixe systemd[885]: Failed to start Sound Service.
oct. 28 20:13:13 Fixe pulseaudio[969]: Failed to create secure directory (/home/isabelle/.config/pulse): Opération non permise
oct. 28 20:13:13 Fixe systemd[885]: Failed to start Sound Service.
oct. 28 20:13:13 Fixe pulseaudio[1016]: Failed to create secure directory (/home/isabelle/.config/pulse): Opération non permise
oct. 28 20:13:13 Fixe systemd[885]: Failed to start Sound Service.
oct. 28 20:13:13 Fixe gnome-keyring-daemon[894]: file pkcs11/gnome2-store/gkm-gnome2-storage.c: line 1387 (gkm_gnome2_storage_token_flags): should not be reached
oct. 28 20:13:14 Fixe pulseaudio[1046]: Failed to create secure directory (/home/isabelle/.config/pulse): Opération non permise
oct. 28 20:13:14 Fixe systemd[885]: Failed to start Sound Service.
oct. 28 20:13:14 Fixe systemd[885]: Failed to start Sound Service.

petit Pingouin sur la banquise, sachant à peine déchiffrer le langage des grands...

Hors ligne

#72 Le 29/10/2021, à 10:15

Jalic

Re : [resolu] installer Xubuntu à côté d'XP

L'avantage de cette install à pb, c'est que j'en apprends tous les jours :
je sais mtt installer un paquet en ligne : sudo apt install nom_paquet, il suffit de chercher, et chercher et on finit par trouver (au passage merci à tous ceux qui ont fait la doc) et après on peut activer nom_paquet , tout simplement ;-)
Voici donc le lien du boot-info


petit Pingouin sur la banquise, sachant à peine déchiffrer le langage des grands...

Hors ligne

#73 Le 29/10/2021, à 10:18

xubu1957

Re : [resolu] installer Xubuntu à côté d'XP

Bonjour,

Le lien n'est pas bon !


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

#74 Le 29/10/2021, à 11:40

Jalic

Re : [resolu] installer Xubuntu à côté d'XP


petit Pingouin sur la banquise, sachant à peine déchiffrer le langage des grands...

Hors ligne

#75 Le 29/10/2021, à 11:51

xubu1957

Re : [resolu] installer Xubuntu à côté d'XP

Collage du boot-info :

boot-info-4ppa130                                              [20211029_1134]

============================== Boot Info Summary ===============================

 => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of 
    the same hard drive for core.img. core.img is at this location and looks 
    for (,msdos5)/boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_msdos biosdisk
    ---------------------------------------------------------------------------
 => Windows 2000/XP/2003 is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 2000/XP: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows XP
    Boot files:        /boot.ini /ntldr /NTDETECT.COM

sda2: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sda3: __________________________________________________________________________

    File system:       Extended Partition
    Boot sector type:  -
    Boot sector info: 

sda5: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 20.04.3 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub 
                       /boot/grub/i386-pc/core.img

sdb1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 2000/XP: NTFS
    Boot sector info:  According to the info in the boot sector, sdb1 has 
                       1953523056 sectors, but according to the info from 
                       fdisk, it has 1953525104 sectors.
    Operating System:  
    Boot files:        


================================ 2 OS detected =================================

OS#1:   L'OS actuellement utilisé - Ubuntu 20.04.3 LTS CurrentSession on sda5
OS#2:   Microsoft Windows XP Professionnel on sda1

============================ Architecture/Host Info ============================

CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.11.0-38-generic root=UUID=433e324a-ad10-46bb-bd50-a9f6939258d6 ro quiet splash vt.handoff=7


===================================== UEFI =====================================

This installed-session is not in EFI-mode.



============================= Drive/Partition Info =============================

Disks info: ____________________________________________________________________

sda	: notGPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, has-os,	64 sectors * 512 bytes
sdb	: notGPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, no-os,	63 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sda5	: is-os,	64, apt-get,	grub-pc ,	grub2,	grub-install,	grubenv-ok,	update-grub,	farbios
sda1	: is-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sda2	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sdb1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios

Partitions info (2/3): _________________________________________________________

sda5	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda1	: isnotESP,	part-has-no-fstab,	ntldr,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda2	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdb1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

sda5	: not-sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sda
sda1	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sda2	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sdb1	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sdb

fdisk -l (filtered): ___________________________________________________________

Disk sda: 223.58 GiB, 240057409536 bytes, 468862128 sectors
Disk identifier: 0x251ad75b
      Boot     Start       End   Sectors  Size Id Type
sda1  *           64 161710289 161710226 77.1G  7 HPFS/NTFS/exFAT
sda2       161712128 162760703   1048576  512M  b W95 FAT32
sda3       162762750 468860927 306098178  146G  5 Extended
sda5       162762752 468860927 306098176  146G 83 Linux
Disk sdb: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: 0x258d820a
      Boot Start        End    Sectors   Size Id Type
sdb1          63 1953525167 1953525105 931.5G 42 SFS

parted -lm (filtered): _________________________________________________________

sda:240GB:scsi:512:512:msdos:ATA KINGSTON SA400S3:;
1:32.8kB:82.8GB:82.8GB:ntfs::boot;
2:82.8GB:83.3GB:537MB:fat32::;
3:83.3GB:240GB:157GB:::;
5:83.3GB:240GB:157GB:ext4::;
sdb:1000GB:scsi:512:512:msdos:ATA SAMSUNG HD103SI:;
1:32.3kB:1000GB:1000GB:ntfs::;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE UUID                                 PARTUUID                             LABEL      PARTLABEL
sda                                                                                                
├─sda1 ntfs   FD1662C1A5B166ED                     251ad75b-01                                     
├─sda2 vfat   EE7D-4A23                            251ad75b-02                                     
├─sda3                                             251ad75b-03                                     
└─sda5 ext4   433e324a-ad10-46bb-bd50-a9f6939258d6 251ad75b-05                                     
sdb                                                                                                
└─sdb1 ntfs   84FCA35FFCA349EE                                                          Disque_dur 

df (filtered): _________________________________________________________________

        Avail Use% Mounted on
sda1    48.4G  37% /mnt/boot-sav/sda1
sda2     511M   0% /mnt/boot-sav/sda2
sda5   124.8G   7% /
sdb1   344.4G  63% /mnt/84FCA35FFCA349EE

Mount options: __________________________________________________________________

sda1   rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda2   rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
sda5   rw,relatime,errors=remount-ro
sdb1   rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096

=========================== sda1/boot.ini (filtered) ===========================

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professionnel" /noexecute=optin /fastdetect

====================== sda5/boot/grub/grub.cfg (filtered) ======================

Ubuntu   433e324a-ad10-46bb-bd50-a9f6939258d6
Ubuntu, avec Linux 5.11.0-38-generic   433e324a-ad10-46bb-bd50-a9f6939258d6
Ubuntu, avec Linux 5.8.0-43-generic   433e324a-ad10-46bb-bd50-a9f6939258d6
Microsoft Windows XP Professionnel (sur sda1)   FD1662C1A5B166ED
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

========================== sda5/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda5 during installation
UUID=433e324a-ad10-46bb-bd50-a9f6939258d6 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda2 during installation
UUID=EE7D-4A23  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0
/dev/disk/by-uuid/84FCA35FFCA349EE /mnt/84FCA35FFCA349EE auto defaults,x-gvfs-show,x-gvfs-name=D 0 0

======================= sda5/etc/default/grub (filtered) =======================

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

==================== sda5: Location of files loaded by Grub ====================

           GiB - GB             File                                 Fragment(s)
 159,984588623 = 171,782144000  boot/grub/grub.cfg                             1
 119,809253693 = 128,644206592  boot/grub/i386-pc/core.img                     1
  83,425457001 = 89,577402368   boot/vmlinuz                                   1
  83,425457001 = 89,577402368   boot/vmlinuz-5.11.0-38-generic                 1
  82,001949310 = 88,048922624   boot/vmlinuz-5.8.0-43-generic                  2
  82,001949310 = 88,048922624   boot/vmlinuz.old                               2
  86,613853455 = 93,000916992   boot/initrd.img                                3
  86,613853455 = 93,000916992   boot/initrd.img-5.11.0-38-generic              3
  86,392574310 = 92,763320320   boot/initrd.img-5.8.0-43-generic               3
  86,392574310 = 92,763320320   boot/initrd.img.old                            3

===================== sda5: ls -l /etc/grub.d/ (filtered) ======================

-rwxr-xr-x 1 root root 18151 août  12 11:18 10_linux
-rwxr-xr-x 1 root root 42359 janv. 13  2021 10_linux_zfs
-rwxr-xr-x 1 root root 12894 janv. 13  2021 20_linux_xen
-rwxr-xr-x 1 root root 12059 janv. 13  2021 30_os-prober
-rwxr-xr-x 1 root root  1424 janv. 13  2021 30_uefi-firmware
-rwxr-xr-x 1 root root   214 janv. 13  2021 40_custom
-rwxr-xr-x 1 root root   216 janv. 13  2021 41_custom


Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub2 of
sda5 into the MBRs of all disks (except live-disks and removable disks without OS).
Additional repair would be performed: unhide-bootmenu-10s win-legacy-basic-fix     

Confirmation request before suggested repair: __________________________________

SFS detected. You may want to retry after converting Windows dynamic partitioning (SFS partitions) to a basic disk. This can be performed via tools such as TestDisk or EASEUS-Partition-Master / MiniTool-Partition-Wizard.
Are you sure you want to continue anyway?

Final advice in case of suggested repair: ______________________________________


Please do not forget to make your BIOS boot on sda (ATA KINGSTON SA400S3) disk!

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