Pages : 1
#1 Le 06/05/2010, à 00:53
- Log4nz
Probleme multiboot win/linux [grub] ...
Bonsoir tous le monde,
Voila étant nouveau dans le monde de linux qui est vraiment intéressent j'ai commencer a apprendre un peut j'ai installer karmic koala jusque la tout marcher parfaitement (avec grub)
Depuis que je fait la mise a niveau de karmic a la 10.04 le début des problème arrive
Quand j'ai fait la mise a niveau vers la fin de l'installation ya eu un grub update ou un truc du genre qui me demander de sélectionner mes disques j'ai sélectionner tout sa ma dit error etc.... j'ai donc ensuite sélectionner que le disque ou ya linux et la sa a continuer l'installation.
A la fin de l'installe il me demande en gros de redémarrer j'avais besoin d'aller sur windows justement avant de retourner sous linux et PAF quand je sélectionne "Windows 7 (loader) (on /dev/sda1)
sa m'affiche un ecran noir avec un _ gris qui clignote.. et le boot Windows ne s'affiche plus comme avant....
J'ai pu comprend que pas mal de personne a eu ce genre de problème a pas rament si j'ai fait aussi cette erreur c le problème de grub qui c'est foutu a la place de windows bref je suis un peut perdu et novice la donc j'appel a vous la communauté !!
sudo dd if=/dev/sda1 bs=512 count=1 | hexdump -C
1+0 enregistrements lus
1+0 enregistrements écrits
00000000 eb 63 90 00 00 00 00 00 00 00 00 00 00 00 00 00 |.c..............|
512 octets (512 B) copiés00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000050 00 00 00 00 00 00 00 00 00 00 00 80 67 33 04 00 |............g3..|
, 2,3106e-05 s, 22,2 MB/s
00000060 00 00 00 00 ff fa 90 90 f6 c2 80 75 02 b2 80 ea |...........u....|
00000070 74 7c 00 00 31 c0 8e d8 8e d0 bc 00 20 fb a0 64 |t|..1....... ..d|
00000080 7c 3c ff 74 02 88 c2 52 bb 17 04 80 27 03 74 06 ||<.t...R....'.t.|
00000090 be 88 7d e8 1c 01 be 05 7c f6 c2 80 74 48 b4 41 |..}.....|...tH.A|
000000a0 bb aa 55 cd 13 5a 52 72 3d 81 fb 55 aa 75 37 83 |..U..ZRr=..U.u7.|
000000b0 e1 01 74 32 31 c0 89 44 04 40 88 44 ff 89 44 02 |..t21..D.@.D..D.|
000000c0 c7 04 10 00 66 8b 1e 5c 7c 66 89 5c 08 66 8b 1e |....f..\|f.\.f..|
000000d0 60 7c 66 89 5c 0c c7 44 06 00 70 b4 42 cd 13 72 |`|f.\..D..p.B..r|
000000e0 05 bb 00 70 eb 76 b4 08 cd 13 73 0d f6 c2 80 0f |...p.v....s.....|
000000f0 84 d0 00 be 93 7d e9 82 00 66 0f b6 c6 88 64 ff |.....}...f....d.|
00000100 40 66 89 44 04 0f b6 d1 c1 e2 02 88 e8 88 f4 40 |@f.D...........@|
00000110 89 44 08 0f b6 c2 c0 e8 02 66 89 04 66 a1 60 7c |.D.......f..f.`||
00000120 66 09 c0 75 4e 66 a1 5c 7c 66 31 d2 66 f7 34 88 |f..uNf.\|f1.f.4.|
00000130 d1 31 d2 66 f7 74 04 3b 44 08 7d 37 fe c1 88 c5 |.1.f.t.;D.}7....|
00000140 30 c0 c1 e8 02 08 c1 88 d0 5a 88 c6 bb 00 70 8e |0........Z....p.|
00000150 c3 31 db b8 01 02 cd 13 72 1e 8c c3 60 1e b9 00 |.1......r...`...|
00000160 01 8e db 31 f6 bf 00 80 8e c6 fc f3 a5 1f 61 ff |...1..........a.|
00000170 26 5a 7c be 8e 7d eb 03 be 9d 7d e8 34 00 be a2 |&Z|..}....}.4...|
00000180 7d e8 2e 00 cd 18 eb fe 47 52 55 42 20 00 47 65 |}.......GRUB .Ge|
00000190 6f 6d 00 48 61 72 64 20 44 69 73 6b 00 52 65 61 |om.Hard Disk.Rea|
000001a0 64 00 20 45 72 72 6f 72 0d 0a 00 bb 01 00 b4 0e |d. Error........|
000001b0 cd 10 ac 3c 00 75 f4 c3 00 00 00 00 00 00 00 00 |...<.u..........|
000001c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200
sudo fdisk -l
Disque /dev/sda: 160.0 Go, 160041885696 octets
255 têtes, 63 secteurs/piste, 19457 cylindres
Unités = cylindres de 16065 * 512 = 8225280 octets
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Identifiant de disque : 0x0001886f
Périphérique Amorce Début Fin Blocs Id Système
/dev/sda1 1 18662 149902483+ 83 Linux
/dev/sda2 18663 19457 6385837+ 5 Etendue
/dev/sda5 18663 19457 6385806 82 Linux swap / Solaris
Disque /dev/sdb: 320.1 Go, 320072933376 octets
255 têtes, 63 secteurs/piste, 38913 cylindres
Unités = cylindres de 16065 * 512 = 8225280 octets
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Identifiant de disque : 0x46144613
Périphérique Amorce Début Fin Blocs Id Système
/dev/sdb1 * 1 38912 312560608+ 7 HPFS/NTFS
Disque /dev/sdc: 250.1 Go, 250059350016 octets
255 têtes, 63 secteurs/piste, 30401 cylindres
Unités = cylindres de 16065 * 512 = 8225280 octets
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Identifiant de disque : 0x02c202c1
Périphérique Amorce Début Fin Blocs Id Système
/dev/sdc1 1 30400 244187968+ 7 HPFS/NTFS
Voila si sa peut vous aidez.
Matériel:
j'ai donc 3 disque dur
Disque /dev/sdb: 320.1 Go => Windows
Disque /dev/sdc: 250.1 Go => Stokage
Disque /dev/sda: 160.0 Go => Linux ubuntu 10.04
Voila si besoin de plus d'info n'hesitez pas.
Je veut juste pouvoir rebooter sur Windows & Linux comme avant.
Dernière modification par Log4nz (Le 06/05/2010, à 19:16)
Hors ligne
#2 Le 06/05/2010, à 01:07
- beslinux
Re : Probleme multiboot win/linux [grub] ...
J'aurais besoin de ton grub.cfg avec cette commande:
cat /boot/grub/grub.cfg
. Je vais vérifier quelque chose.
A+
Beslinux
LIVE FREE OR DIE
laptop Lenovo ThinkPad T60, PROC.: Intel CORE duo Centrino,HD: 200GB, CG: ATI mobility radeon X1300, RAM: 2GB, OS: Ubuntu 14.04
Hors ligne
#3 Le 06/05/2010, à 07:20
- Log4nz
Re : Probleme multiboot win/linux [grub] ...
Bonjour beslinux,
cat /boot/grub/grub.cfg
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/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
load_env
fi
set default="0"
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
}
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 0be56c53-6bd6-4125-9428-28f0d1a9931b
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
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
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 0be56c53-6bd6-4125-9428-28f0d1a9931b
set locale_dir=($root)/boot/grub/locale
set lang=fr
insmod gettext
if [ ${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=10
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 ###
menuentry 'Ubuntu, avec Linux 2.6.32-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 0be56c53-6bd6-4125-9428-28f0d1a9931b
linux /boot/vmlinuz-2.6.32-22-generic root=UUID=0be56c53-6bd6-4125-9428-28f0d1a9931b ro quiet splash
initrd /boot/initrd.img-2.6.32-22-generic
}
menuentry 'Ubuntu, avec Linux 2.6.32-22-generic (mode de récupération)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 0be56c53-6bd6-4125-9428-28f0d1a9931b
echo 'Chargement de Linux 2.6.32-22-generic ...'
linux /boot/vmlinuz-2.6.32-22-generic root=UUID=0be56c53-6bd6-4125-9428-28f0d1a9931b ro single
echo 'Chargement du disque mémoire initial...'
initrd /boot/initrd.img-2.6.32-22-generic
}
menuentry 'Ubuntu, avec Linux 2.6.31-21-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 0be56c53-6bd6-4125-9428-28f0d1a9931b
linux /boot/vmlinuz-2.6.31-21-generic root=UUID=0be56c53-6bd6-4125-9428-28f0d1a9931b ro quiet splash
initrd /boot/initrd.img-2.6.31-21-generic
}
menuentry 'Ubuntu, avec Linux 2.6.31-21-generic (mode de récupération)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 0be56c53-6bd6-4125-9428-28f0d1a9931b
echo 'Chargement de Linux 2.6.31-21-generic ...'
linux /boot/vmlinuz-2.6.31-21-generic root=UUID=0be56c53-6bd6-4125-9428-28f0d1a9931b ro single
echo 'Chargement du disque mémoire initial...'
initrd /boot/initrd.img-2.6.31-21-generic
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 0be56c53-6bd6-4125-9428-28f0d1a9931b
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 0be56c53-6bd6-4125-9428-28f0d1a9931b
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows 7 (loader) (on /dev/sdb1)" {
insmod ntfs
set root='(hd1,1)'
search --no-floppy --fs-uuid --set d400aa1000a9fa1e
chainloader +1
}
### END /etc/grub.d/30_os-prober ###
### 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 ###
Hors ligne
#4 Le 06/05/2010, à 18:02
- Log4nz
Re : Probleme multiboot win/linux [grub] ...
Quelqu'un peut m'aider ?
Hors ligne
#5 Le 06/05/2010, à 18:02
- beslinux
Re : Probleme multiboot win/linux [grub] ...
essais d'ajouter cette ligne dans ton grub.cfg
sudo nano /boot/grub/grub.cfg
et ajoute la ligne entre les paranthèse dans ta section windows 7
menuentry "Windows 7 (loader) (on /dev/sdb1)" {
insmod ntfs
set root='(hd1,1)'
search --no-floppy --fs-uuid --set d400aa1000a9fa1e
(drivemap -s (hd1) ${root})
chainloader +1
Ne met pas les paranthèses.Fais un test pour voir si sa fonctionne. Je ne sais pas si sa va fonctionner, mais du temps que j'utilisais 2 DD sa fonctionnais.
A+
Beslinux
Dernière modification par beslinux (Le 06/05/2010, à 18:06)
LIVE FREE OR DIE
laptop Lenovo ThinkPad T60, PROC.: Intel CORE duo Centrino,HD: 200GB, CG: ATI mobility radeon X1300, RAM: 2GB, OS: Ubuntu 14.04
Hors ligne
#6 Le 06/05/2010, à 18:43
- Log4nz
Re : Probleme multiboot win/linux [grub] ...
Salut,
je tape la commande : sudo nano /boot/grub/grub.cfg
puis j'ajoute: drivemap -s (hd1) ${root} sauf que je fait commence ensuite pour sauvegarder ?
----
j'ai fait control + X sa ma poser la question sauver .... j'ai appuyer sur [O]ui en principe j'ai reboot tjr rien...
Dernière modification par Log4nz (Le 06/05/2010, à 19:04)
Hors ligne
#7 Le 06/05/2010, à 19:39
- Log4nz
Re : Probleme multiboot win/linux [grub] ...
un petit up svp :'(
Hors ligne
#8 Le 06/05/2010, à 21:25
- Log4nz
Re : Probleme multiboot win/linux [grub] ...
toujour personne ? :'(
Hors ligne
#9 Le 06/05/2010, à 21:45
- lovasoa
Re : Probleme multiboot win/linux [grub] ...
Tu n'es pas obligé d'utiliser nano. Modifier grub.cfg est FORTEMENT DÉCONSEILLÉ.
On peut utiliser gedit à la place de nano. On peut modifier les fichiers de configurations plutôt que le fichier qui est lu sans vérification.
gksudo gedit /etc/grub.d/30_os-prober
Dans ta section Windows, il y a un endroit où on mentionne (hd1,1). Or Windows est sur ton deuxième disque. Remplace par (hd2,1). (première partition de ton second disque.). Enregistre le fichier et ferme gedit.
Dans le terminal:
sudo update-grub
Si tu n'as pas fait de bétises, il ne retourne pas d'erreur. Reboot et viens nous raconter si ça a marché...
Pour les pauvres idiots, il y a Windows. Pour les riches Idiots, il y a mac os. Pour moi, il y a Ubuntu.
Hors ligne
#10 Le 06/05/2010, à 22:52
- Log4nz
Re : Probleme multiboot win/linux [grub] ...
salut lovasoa :
quand je tape dans le terminale: gksudo gedit /etc/grub.d/30_os-prober
j'ai une fenetre qui s'ouvre avec plein de chose marquer mais je trouve pas ou est mentionner (hd1,1)
#! /bin/sh -e
# grub-mkconfig helper script.
# Copyright (C) 2006,2007,2008,2009 Free Software Foundation, Inc.
#
# GRUB is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# GRUB is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with GRUB. If not, see <http://www.gnu.org/licenses/>.
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
. ${libdir}/grub/grub-mkconfig_lib
found_other_os=
adjust_timeout () {
if [ "x${found_other_os}" = "x" ] ; then
if [ "x${GRUB_HIDDEN_TIMEOUT}" != "x" ] ; then
if [ "x${GRUB_HIDDEN_TIMEOUT_QUIET}" = "xtrue" ] ; then
verbose=
else
verbose=" --verbose"
fi
if [ "x${GRUB_HIDDEN_TIMEOUT}" = "x0" ] ; then
cat <<EOF
if [ \${timeout} != -1 ]; then
if keystatus; then
if keystatus --shift; then
set timeout=-1
else
set timeout=0
fi
else
if sleep$verbose --interruptible 3 ; then
set timeout=0
fi
fi
fi
EOF
else
cat << EOF
if [ \${timeout} != -1 ]; then
if sleep$verbose --interruptible ${GRUB_HIDDEN_TIMEOUT} ; then
set timeout=0
fi
fi
EOF
fi
fi
fi
}
if [ "x${GRUB_DISABLE_OS_PROBER}" = "xtrue" ]; then
adjust_timeout
exit 0
fi
if [ -z "`which os-prober 2> /dev/null`" -o -z "`which linux-boot-prober 2> /dev/null`" ] ; then
# missing os-prober and/or linux-boot-prober
adjust_timeout
exit 0
fi
OSPROBED="`os-prober | tr ' ' '^' | paste -s -d ' '`"
if [ -z "${OSPROBED}" ] ; then
# empty os-prober output, nothing doing
adjust_timeout
exit 0
fi
osx_entry() {
cat << EOF
menuentry "${LONGNAME} (${2}-bit) (on ${DEVICE})" {
EOF
save_default_entry | sed -e "s/^/\t/"
prepare_grub_to_access_device ${DEVICE} | sed -e "s/^/\t/"
cat << EOF
insmod ${GRUB_VIDEO_BACKEND}
set do_resume=0
if [ /var/vm/sleepimage -nt10 / ]; then
if xnu_resume /var/vm/sleepimage; then
set do_resume=1
fi
fi
if [ \$do_resume == 0 ]; then
xnu_uuid ${OSXUUID} uuid
if [ -f /Extra/DSDT.aml ]; then
acpi -e /Extra/DSDT.aml
fi
$1 /mach_kernel boot-uuid=\${uuid} rd=*uuid
if [ /System/Library/Extensions.mkext -nt /System/Library/Extensions ]; then
xnu_mkext /System/Library/Extensions.mkext
else
xnu_kextdir /System/Library/Extensions
fi
if [ -f /Extra/Extensions.mkext ]; then
xnu_mkext /Extra/Extensions.mkext
fi
if [ -d /Extra/Extensions ]; then
xnu_kextdir /Extra/Extensions
fi
if [ -f /Extra/devprop.bin ]; then
xnu_devprop_load /Extra/devprop.bin
fi
if [ -f /Extra/splash.jpg ]; then
insmod jpeg
xnu_splash /Extra/splash.jpg
fi
if [ -f /Extra/splash.png ]; then
insmod png
xnu_splash /Extra/splash.png
fi
if [ -f /Extra/splash.tga ]; then
insmod tga
xnu_splash /Extra/splash.tga
fi
fi
}
EOF
}
for OS in ${OSPROBED} ; do
DEVICE="`echo ${OS} | cut -d ':' -f 1`"
LONGNAME="`echo ${OS} | cut -d ':' -f 2 | tr '^' ' '`"
LABEL="`echo ${OS} | cut -d ':' -f 3 | tr '^' ' '`"
BOOT="`echo ${OS} | cut -d ':' -f 4`"
if [ -z "${LONGNAME}" ] ; then
LONGNAME="${LABEL}"
fi
echo "Found ${LONGNAME} on ${DEVICE}" >&2
found_other_os=1
case ${BOOT} in
chain)
cat << EOF
menuentry "${LONGNAME} (on ${DEVICE})" {
EOF
save_default_entry | sed -e "s/^/\t/"
prepare_grub_to_access_device ${DEVICE} | sed -e "s/^/\t/"
case ${LONGNAME} in
Windows\ Vista*|Windows\ 7*)
;;
*)
cat << EOF
drivemap -s (hd0) \${root}
EOF
;;
esac
cat <<EOF
chainloader +1
}
EOF
;;
linux)
LINUXPROBED="`linux-boot-prober ${DEVICE} 2> /dev/null | tr ' ' '^' | paste -s -d ' '`"
prepare_boot_cache=
for LINUX in ${LINUXPROBED} ; do
LROOT="`echo ${LINUX} | cut -d ':' -f 1`"
LBOOT="`echo ${LINUX} | cut -d ':' -f 2`"
LLABEL="`echo ${LINUX} | cut -d ':' -f 3 | tr '^' ' '`"
LKERNEL="`echo ${LINUX} | cut -d ':' -f 4`"
LINITRD="`echo ${LINUX} | cut -d ':' -f 5`"
LPARAMS="`echo ${LINUX} | cut -d ':' -f 6- | tr '^' ' '`"
if [ -z "${LLABEL}" ] ; then
LLABEL="${LONGNAME}"
fi
if [ "${LROOT}" != "${LBOOT}" ]; then
LKERNEL="${LKERNEL#/boot}"
LINITRD="${LINITRD#/boot}"
fi
cat << EOF
menuentry "${LLABEL} (on ${DEVICE})" {
EOF
save_default_entry | sed -e "s/^/\t/"
if [ -z "${prepare_boot_cache}" ]; then
prepare_boot_cache="$(prepare_grub_to_access_device ${LBOOT} | sed -e "s/^/\t/")"
fi
printf '%s\n' "${prepare_boot_cache}"
cat << EOF
linux ${LKERNEL} ${LPARAMS}
EOF
if [ -n "${LINITRD}" ] ; then
cat << EOF
initrd ${LINITRD}
EOF
fi
cat << EOF
}
EOF
done
;;
macosx)
OSXUUID="`grub-probe --target=fs_uuid --device ${DEVICE} 2> /dev/null`"
osx_entry xnu_kernel 32
osx_entry xnu_kernel64 64
;;
hurd)
cat << EOF
menuentry "${LONGNAME} (on ${DEVICE})" {
EOF
save_default_entry | sed -e "s/^/\t/"
prepare_grub_to_access_device ${DEVICE} | sed -e "s/^/\t/"
grub_device="`${grub_probe} --device ${DEVICE} --target=drive`"
mach_device="`echo "${grub_device}" | tr -d '()' | tr , s`"
grub_fs="`${grub_probe} --device ${DEVICE} --target=fs`"
case "${grub_fs}" in
*fs) hurd_fs="${grub_fs}" ;;
*) hurd_fs="${grub_fs}fs" ;;
esac
cat << EOF
multiboot /boot/gnumach.gz root=device:${mach_device}
module /hurd/${hurd_fs}.static ${hurd_fs} --readonly \\
--multiboot-command-line='\${kernel-command-line}' \\
--host-priv-port='\${host-port}' \\
--device-master-port='\${device-port}' \\
--exec-server-task='\${exec-task}' -T typed '\${root}' \\
'\$(task-create)' '\$(task-resume)'
module /lib/ld.so.1 exec /hurd/exec '\$(exec-task=task-create)'
}
EOF
;;
*)
echo " ${LONGNAME} is not yet supported by grub-mkconfig." >&2
;;
esac
done
adjust_timeout
Vu que je n'est pas compris/trouver ce que tu ma dit de faire je n'est pas fait la commande dans le terminale : sudo update-grub
Pour répondre a ce que tu a dit au début, j'ai fait ce que on ma dit justement je suis novice sous linux j'ai voulu m'aventurer dans ce jolie système d'exploitation.
Esque je doit refaire le ; sudo nano /boot/grub/grub.cfg
Puis enlevez la ligne que on ma demander de rajouter?
Merci.
Hors ligne
#11 Le 07/05/2010, à 00:17
- Hundredfire
Re : Probleme multiboot win/linux [grub] ...
A mon avis GRUB ne pose pas de problème. Le problème est sur le secteur boot de ta partition Windows (cf http://forum.ubuntu-fr.org/viewtopic.php?id=393958).
Démarre sur Ubuntu et suis les instructions de ce site: http://sourceforge.net/apps/mediawiki/b … oot_Sector
-edit-
c'est le même diagnostic que jamesbad0000 (voir post ci-dessous)
Dernière modification par Hundredfire (Le 07/05/2010, à 00:32)
Hors ligne
#12 Le 07/05/2010, à 00:17
- jamesbad000
Re : Probleme multiboot win/linux [grub] ...
Sans affirmer qu'aucune des 2 méthodes proposées ne pourrait résoudre le problème. Aucune n'est une bonne approche :
S'il est vrai que modifier à la main grub.cfg est déconseillé. Parce qu'il est généré automatiquement par update-grub et que tes modif risquent de s'évanouir après une installation de correctifs...
Modifier 30_os-prober me semble encore pire. Ce second servant à reconnaitre tous les os présents et à générer automatiquement dans le premier 1er les options de démarrage correspondantes...
A ce stade, le plus probable c'est que ton secteur de boot windows a été écrasé. Mais le mieux serait de s'en assurer en suivant la procédure suivante :
télécharger le script bootinfoscript http://bootinfoscript.sourceforge.net/
l'exécuter comme expliqué, et venir ici poster le contenu du fichier généré par le script.
(placé dans une balise code impérativement !!)
Tu peux aussi lire un peu le tuto http://doc.ubuntu-fr.org/grub-pc au moins jusqu'à la section "options par défaut" pour mieux comprendre le gestionnaire de démarrage
.
== update ! ==
Il se trouve que j'ai posté en même temps que Hundredfire. Donc pour éviter la confusion, je précise :
Sa méthode n'est pas contradictoire avec la mienne, c'est juste qu'il applique la solution avant d'avoir vérifié le diagnostique. Ce qui peut s'avérer plus rapide... Ou pas :-)
Dernière modification par jamesbad000 (Le 07/05/2010, à 00:29)
L'espace et le temps sont les modes par lesquels nous pensons, et non les conditions dans lesquelles nous vivons. (Signé Albert)
Hors ligne
#13 Le 07/05/2010, à 07:25
- lovasoa
Re : Probleme multiboot win/linux [grub] ...
Oui, vous avez certainement raison. Effectuer un sudo update-grub ne t'aurait rien cassé, au contraire, cela aurait reverifié les OS présents sur la machine. Cependant, vu vos messages, ça n'aurait rien arrangé non plus. Tu peux donc vérifier si le secteur de démarrage de Windows est présent comme on te l'indique plus haut.
Pour les pauvres idiots, il y a Windows. Pour les riches Idiots, il y a mac os. Pour moi, il y a Ubuntu.
Hors ligne
#14 Le 07/05/2010, à 08:27
- Log4nz
Re : Probleme multiboot win/linux [grub] ...
Merci beaucoup pour vos réponse je vais lire c'est documents http://grub.enbug.org/GRUB2LiveCDInstallGuide-FR et http://sourceforge.net/apps/mediawiki/bootinfoscript/index.php?title=Boot_Problems:Boot_Sector
J'ai commencer a lire le documents du premier lien sa ma l'air confus je prend par exemple n'importe quel OS linux de ubuntu (cd live) exemple karmic koala 9.10 ensuite je passe a l'étape 2 mais il me demande un terminal ya un terminal sur cdlive?
en rentrant chez moi je test sa je vous donne la réponse vers 17h30 18h
désoler si mes questions vous paraisse "noob" mais j'apprends et je suis débutant sous linux ^^
Merci encore pour l'aide Hundredfire, jamesbad000 et lovasoa.
Hors ligne
#15 Le 07/05/2010, à 13:39
- jamesbad000
Re : Probleme multiboot win/linux [grub] ...
Log4nz, a moins que ton ubuntu ne démarre pas non plus, tu peux passer directement à la procédure de ton 2ème lien...
Sinon, oui, il y a bien un terminal (ou écran de commande) sur le livecd, dans le même menu que sur le ubuntu installé sur disque dur...
Dernière modification par jamesbad000 (Le 07/05/2010, à 13:46)
L'espace et le temps sont les modes par lesquels nous pensons, et non les conditions dans lesquelles nous vivons. (Signé Albert)
Hors ligne