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.

#1 Le 14/03/2013, à 17:16

Jp 25

[Résolu] Aucune demande de choix apres instal Ubuntu!! PC demarre avec

Bonjour,
je me presente J-Paul novice de ubuntu, mais un de mes collegue m'en a parlé et ca m'a vraiment donné envie!
Donc je m'y met cette am je partisionne comme indiqué sur le site ( tres bien expliqué d'ailleur), je lance l'instale tout ce passe bien, a la fin ca me demande de redemarrer le pc je met ok, le cd ressord et rien le pc redemarre sur windows et ne me demande pas de choisir?
Avez vous une solution ou des infos????
Cdlt Merci d'avance J-Paul

Dernière modification par Jp 25 (Le 15/03/2013, à 19:27)

Hors ligne

#2 Le 14/03/2013, à 17:56

malbo

Re : [Résolu] Aucune demande de choix apres instal Ubuntu!! PC demarre avec

Peux-tu répondre à cette demande (Boot-Info) : http://doc.ubuntu-fr.org/tutoriel/boot-info
Tout ce qui est nécessaire pour t'aider doit se trouver dans ce rapport Boot-Info.

Hors ligne

#3 Le 14/03/2013, à 18:19

Jp 25

Re : [Résolu] Aucune demande de choix apres instal Ubuntu!! PC demarre avec

Bonjour et merci de repondre aussi vite!

en fouillant un peut sur le forum j'ai trouvé le reparer le demarrage, je l'avais lancer et surtout mis reparation recommandé avant que tu reponde!!!!
Ca m'a reparé et maintenant tout fonctionne normalement j'ai bien ma demande au demarrage de l'ordi, mais j'aurai juste voulu que si je ne touche a rien il demarre sous windows et la c'est linux!!! Chiant a changer ca????
Je te donne le rapport " paste.ubuntu.com/5613969/

Peut tu me dire si je peut inverser pour que sans accion il demarre avec win7!! Merci
Cdlt Jp

Hors ligne

#4 Le 14/03/2013, à 19:27

malbo

Re : [Résolu] Aucune demande de choix apres instal Ubuntu!! PC demarre avec

Ton rapport Boot-Info est là :

 Boot Info Script e7fc706 + Boot-Repair extra info      [Boot-Info 31Jan2013]


============================= 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 
    in partition 1 for (,msdos5)/boot/grub.

sda1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 7/2008: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows 7
    Boot files:        /grldr /bootmgr /Boot/BCD 
                       /Windows/System32/winload.exe /grldr /ntldr 
                       /NTDETECT.COM

sda2: __________________________________________________________________________

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

sda5: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  Grub2 (v1.99-2.00)
    Boot sector info:  Grub2 (v2.00) is installed in the boot sector of sda5 
                       and looks at sector 179533677 of the same hard drive 
                       for core.img. core.img is at this location and looks 
                       in partition 1 for (,msdos5)/boot/grub.
    Operating System:  Ubuntu 12.10 
    Boot files:        /boot/grub/grub.cfg /etc/fstab 
                       /boot/grub/i386-pc/core.img

sda6: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 2000/XP: NTFS
    Boot sector info:  According to the info in the boot sector, sda6 starts 
                       at sector 63.
    Operating System:  
    Boot files:        

sda7: __________________________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info: 

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

Drive: sda _____________________________________________________________________

Disk /dev/sda: 500.1 GB, 500106780160 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976771055 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1    *             63   102,398,309   102,398,247   7 NTFS / exFAT / HPFS
/dev/sda2         102,398,371   976,751,999   874,353,629   f W95 Extended (LBA)
/dev/sda5         102,398,373   200,179,622    97,781,250  83 Linux
/dev/sda6         204,796,683   976,751,999   771,955,317   7 NTFS / exFAT / HPFS
/dev/sda7         200,179,712   204,795,903     4,616,192  82 Linux swap / Solaris


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/sda1        0CC024EEC024DFA6                       ntfs       Windows
/dev/sda5        c5752dc0-db8f-47c1-98cd-bf189366dfc9   ext4       
/dev/sda6        6C88B04F88B01992                       ntfs       Sauvegarde
/dev/sda7        82839f9b-614f-4738-baf4-2350f9d1f2f7   swap       
/dev/sr0                                                iso9660    Ubuntu 12.10 i386

================================ Mount points: =================================

Device           Mount_Point              Type       Options

/dev/loop0       /rofs                    squashfs   (ro,noatime)
/dev/sda5        /media/ubuntu/c5752dc0-db8f-47c1-98cd-bf189366dfc9 ext4       (rw,nosuid,nodev,uhelper=udisks2)
/dev/sr0         /cdrom                   iso9660    (ro,noatime)


========================== sda1/grldr embedded menu: ===========================

--------------------------------------------------------------------------------
--------------------------------------------------------------------------------

=========================== sda5/boot/grub/grub.cfg: ===========================

--------------------------------------------------------------------------------
#
# 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
set default="0"

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,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  c5752dc0-db8f-47c1-98cd-bf189366dfc9
else
  search --no-floppy --fs-uuid --set=root c5752dc0-db8f-47c1-98cd-bf189366dfc9
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=10
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
if background_color 44,0,30; 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
if [ "${linux_gfx_mode}" != "text" ]; then load_video; fi
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-c5752dc0-db8f-47c1-98cd-bf189366dfc9' {
recordfail
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos5'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  c5752dc0-db8f-47c1-98cd-bf189366dfc9
	else
	  search --no-floppy --fs-uuid --set=root c5752dc0-db8f-47c1-98cd-bf189366dfc9
	fi
	linux	/boot/vmlinuz-3.5.0-17-generic root=UUID=c5752dc0-db8f-47c1-98cd-bf189366dfc9 ro   quiet splash $vt_handoff
	initrd	/boot/initrd.img-3.5.0-17-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-c5752dc0-db8f-47c1-98cd-bf189366dfc9' {
	menuentry 'Ubuntu, with Linux 3.5.0-17-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-17-generic-advanced-c5752dc0-db8f-47c1-98cd-bf189366dfc9' {
	recordfail
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  c5752dc0-db8f-47c1-98cd-bf189366dfc9
		else
		  search --no-floppy --fs-uuid --set=root c5752dc0-db8f-47c1-98cd-bf189366dfc9
		fi
		echo	'Loading Linux 3.5.0-17-generic ...'
		linux	/boot/vmlinuz-3.5.0-17-generic root=UUID=c5752dc0-db8f-47c1-98cd-bf189366dfc9 ro   quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.5.0-17-generic
	}
	menuentry 'Ubuntu, with Linux 3.5.0-17-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-17-generic-recovery-c5752dc0-db8f-47c1-98cd-bf189366dfc9' {
	recordfail
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  c5752dc0-db8f-47c1-98cd-bf189366dfc9
		else
		  search --no-floppy --fs-uuid --set=root c5752dc0-db8f-47c1-98cd-bf189366dfc9
		fi
		echo	'Loading Linux 3.5.0-17-generic ...'
		linux	/boot/vmlinuz-3.5.0-17-generic root=UUID=c5752dc0-db8f-47c1-98cd-bf189366dfc9 ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.5.0-17-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,msdos5'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  c5752dc0-db8f-47c1-98cd-bf189366dfc9
	else
	  search --no-floppy --fs-uuid --set=root c5752dc0-db8f-47c1-98cd-bf189366dfc9
	fi
	linux16	/boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos5'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  c5752dc0-db8f-47c1-98cd-bf189366dfc9
	else
	  search --no-floppy --fs-uuid --set=root c5752dc0-db8f-47c1-98cd-bf189366dfc9
	fi
	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/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-0CC024EEC024DFA6' {
	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  0CC024EEC024DFA6
	else
	  search --no-floppy --fs-uuid --set=root 0CC024EEC024DFA6
	fi
	chainloader +1
}
### 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.
### 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 ###
--------------------------------------------------------------------------------

=============================== sda5/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda5 during installation
UUID=c5752dc0-db8f-47c1-98cd-bf189366dfc9 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda7 during installation
UUID=82839f9b-614f-4738-baf4-2350f9d1f2f7 none            swap    sw              0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec,utf8 0       0
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

  78.961634159 = 84.784409088   boot/grub/grub.cfg                             1
  78.968008518 = 84.791253504   boot/grub/i386-pc/core.img                     1
  78.960611820 = 84.783311360   boot/vmlinuz-3.5.0-17-generic                  1
  78.960611820 = 84.783311360   vmlinuz                                        1
  51.132036686 = 54.902606336   boot/initrd.img-3.5.0-17-generic               2
  51.132036686 = 54.902606336   initrd.img                                     2

=============================== StdErr Messages: ===============================

cat: write error: Broken pipe
cat: write error: Broken pipe
File descriptor 8 (/proc/9359/mounts) leaked on lvscan invocation. Parent PID 24234: bash
  No volume groups found

ADDITIONAL INFORMATION :
=================== log of boot-repair 2013-03-14__15h37 ===================
boot-repair version : 3.197~ppa35~quantal
boot-sav version : 3.197~ppa35~quantal
glade2script version : 3.2.2~ppa45~quantal
boot-sav-extra version : 3.197~ppa35~quantal
boot-repair is executed in live-session (Ubuntu 12.10, quantal, Ubuntu, i686)
CPU op-mode(s):        32-bit, 64-bit
file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash -- maybe-ubiquity

=================== os-prober:
/dev/sda1:Windows 7 (loader):Windows:chain
/dev/sda5:Ubuntu 12.10 (12.10):Ubuntu:linux

=================== blkid:
/dev/sda1: LABEL="Windows" UUID="0CC024EEC024DFA6" TYPE="ntfs"
/dev/sda5: UUID="c5752dc0-db8f-47c1-98cd-bf189366dfc9" TYPE="ext4"
/dev/sda7: UUID="82839f9b-614f-4738-baf4-2350f9d1f2f7" TYPE="swap"
/dev/sda6: LABEL="Sauvegarde" UUID="6C88B04F88B01992" TYPE="ntfs"
/dev/loop0: TYPE="squashfs"
/dev/sr0: LABEL="Ubuntu 12.10 i386" TYPE="iso9660"


1 disks with OS, 2 OS : 1 Linux, 0 MacOS, 1 Windows, 0 unknown type OS.

Warning: extended partition does not start at a cylinder boundary.
DOS and Linux will interpret the contents differently.


=================== /media/ubuntu/c5752dc0-db8f-47c1-98cd-bf189366dfc9/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_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
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"




=================== /media/ubuntu/c5752dc0-db8f-47c1-98cd-bf189366dfc9/etc/grub.d/ :
drwxr-xr-x  2 root root    4096 oct.  17 17:00 grub.d
total 72
-rwxr-xr-x 1 root root  7541 oct.  14 19:37 00_header
-rwxr-xr-x 1 root root  5488 oct.   4 11:30 05_debian_theme
-rwxr-xr-x 1 root root 10891 oct.  14 19:37 10_linux
-rwxr-xr-x 1 root root 10258 oct.  14 19:37 20_linux_xen
-rwxr-xr-x 1 root root  1688 oct.  11 16:10 20_memtest86+
-rwxr-xr-x 1 root root 10976 oct.  14 19:37 30_os-prober
-rwxr-xr-x 1 root root  1426 oct.  14 19:37 30_uefi-firmware
-rwxr-xr-x 1 root root   214 oct.  14 19:37 40_custom
-rwxr-xr-x 1 root root   216 oct.  14 19:37 41_custom
-rw-r--r-- 1 root root   483 oct.  14 19:37 README


=================== UEFI/Legacy mode:
This live-session is not EFI-compatible.
SecureBoot maybe enabled.


=================== PARTITIONS & DISKS:
sda1	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	is-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	ntldr,	haswinload,	no-recov-nor-hid,	bootmgr,	is-winboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	/mnt/boot-sav/sda1.
sda5	: sda,	not-sepboot,	grubenv-ok	grub2,	grub-pc ,	update-grub,	32,	with-boot,	is-os,	not--efi--part,	fstab-without-boot,	fstab-without-efi,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	apt-get,	grub-install,	with--usr,	fstab-without-usr,	not-sep-usr,	standard,	farbios,	/media/ubuntu/c5752dc0-db8f-47c1-98cd-bf189366dfc9.
sda6	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	farbios,	/mnt/boot-sav/sda6.

sda	: not-GPT,	BIOSboot-not-needed,	has-no-EFIpart, 	not-usb,	has-os,	63 sectors * 512 bytes


=================== parted -l:

Model: ATA STM3500418AS (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type      File system     Flags
1      32.3kB  52.4GB  52.4GB  primary   ntfs            boot
2      52.4GB  500GB   448GB   extended                  lba
5      52.4GB  102GB   50.1GB  logical   ext4
7      102GB   105GB   2363MB  logical   linux-swap(v1)
6      105GB   500GB   395GB   logical   ntfs



                                                                          
Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0
has been opened read-only.

                                                                          
Error: Can't have a partition outside the disk!

=================== parted -lm:

BYT;
/dev/sda:500GB:scsi:512:512:msdos:ATA STM3500418AS;
1:32.3kB:52.4GB:52.4GB:ntfs::boot;
2:52.4GB:500GB:448GB:::lba;
5:52.4GB:102GB:50.1GB:ext4::;
7:102GB:105GB:2363MB:linux-swap(v1)::;
6:105GB:500GB:395GB:ntfs::;


                                                                          
Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0
has been opened read-only.

                                                                          
Error: Can't have a partition outside the disk!


=================== mount:
/cow on / type overlayfs (rw)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
/dev/sr0 on /cdrom type iso9660 (ro,noatime)
/dev/loop0 on /rofs type squashfs (ro,noatime)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
gvfsd-fuse on /run/user/ubuntu/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=ubuntu)
/dev/sda5 on /media/ubuntu/c5752dc0-db8f-47c1-98cd-bf189366dfc9 type ext4 (rw,nosuid,nodev,uhelper=udisks2)
/dev/sda1 on /mnt/boot-sav/sda1 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda6 on /mnt/boot-sav/sda6 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)


=================== ls:
/sys/block/fd0 (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sda (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sda1 sda2 sda5 sda6 sda7 size slaves stat subsystem trace uevent
/sys/block/sr0 (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered):  alarm ashmem autofs binder block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency disk dri dvd dvdrw ecryptfs fb0 fd fd0 full fuse hidraw0 hpet input kmsg kvm log lp0 mapper mcelog mem net network_latency network_throughput null oldmem parport0 port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda5 sda6 sda7 sg0 sg1 shm snapshot snd sr0 stderr stdin stdout uinput urandom v4l vga_arbiter vhost-net video0 zero
ls /dev/mapper:  control

=================== hexdump -n512 -C /dev/sda1
00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 3f 00 00 00  |........?...?...|
00000020  00 00 00 00 80 00 80 00  26 79 1a 06 00 00 00 00  |........&y......|
00000030  00 00 0c 00 00 00 00 00  92 a7 61 00 00 00 00 00  |..........a.....|
00000040  f6 00 00 00 01 00 00 00  a6 df 24 c0 ee 24 c0 0c  |..........$..$..|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
000000f0  68 07 bb 16 68 70 0e 16  68 09 00 66 53 66 53 66  |h...hp..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
00000110  28 10 b9 d8 0f fc f3 aa  e9 5f 01 90 90 66 60 1e  |(........_...f`.|
00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
00000160  0e 16 00 75 bc 07 1f 66  61 c3 a0 f8 01 e8 09 00  |...u...fa.......|
00000170  a0 fb 01 e8 03 00 f4 eb  fd b4 01 8b f0 ac 3c 00  |..............<.|
00000180  74 09 b4 0e bb 07 00 cd  10 eb f2 c3 0d 0a 41 20  |t.............A |
00000190  64 69 73 6b 20 72 65 61  64 20 65 72 72 6f 72 20  |disk read error |
000001a0  6f 63 63 75 72 72 65 64  00 0d 0a 42 4f 4f 54 4d  |occurred...BOOTM|
000001b0  47 52 20 69 73 20 6d 69  73 73 69 6e 67 00 0d 0a  |GR is missing...|
000001c0  42 4f 4f 54 4d 47 52 20  69 73 20 63 6f 6d 70 72  |BOOTMGR is compr|
000001d0  65 73 73 65 64 00 0d 0a  50 72 65 73 73 20 43 74  |essed...Press Ct|
000001e0  72 6c 2b 41 6c 74 2b 44  65 6c 20 74 6f 20 72 65  |rl+Alt+Del to re|
000001f0  73 74 61 72 74 0d 0a 00  8c a9 be d6 00 00 55 aa  |start.........U.|
00000200

=================== hexdump -n512 -C /dev/sda6
00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 3f 00 00 00  |........?...?...|
00000020  00 00 00 00 80 00 80 00  74 1a 03 2e 00 00 00 00  |........t.......|
00000030  00 00 0c 00 00 00 00 00  a7 31 e0 02 00 00 00 00  |.........1......|
00000040  f6 00 00 00 01 00 00 00  92 19 b0 88 4f b0 88 6c  |............O..l|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb b8 c0 07  |.....3.....|....|
00000060  8e d8 e8 16 00 b8 00 0d  8e c0 33 db c6 06 0e 00  |..........3.....|
00000070  10 e8 53 00 68 00 0d 68  6a 02 cb 8a 16 24 00 b4  |..S.h..hj....$..|
00000080  08 cd 13 73 05 b9 ff ff  8a f1 66 0f b6 c6 40 66  |...s......f...@f|
00000090  0f b6 d1 80 e2 3f f7 e2  86 cd c0 ed 06 41 66 0f  |.....?.......Af.|
000000a0  b7 c9 66 f7 e1 66 a3 20  00 c3 b4 41 bb aa 55 8a  |..f..f. ...A..U.|
000000b0  16 24 00 cd 13 72 0f 81  fb 55 aa 75 09 f6 c1 01  |.$...r...U.u....|
000000c0  74 04 fe 06 14 00 c3 66  60 1e 06 66 a1 10 00 66  |t......f`..f...f|
000000d0  03 06 1c 00 66 3b 06 20  00 0f 82 3a 00 1e 66 6a  |....f;. ...:..fj|
000000e0  00 66 50 06 53 66 68 10  00 01 00 80 3e 14 00 00  |.fP.Sfh.....>...|
000000f0  0f 85 0c 00 e8 b3 ff 80  3e 14 00 00 0f 84 61 00  |........>.....a.|
00000100  b4 42 8a 16 24 00 16 1f  8b f4 cd 13 66 58 5b 07  |.B..$.......fX[.|
00000110  66 58 66 58 1f eb 2d 66  33 d2 66 0f b7 0e 18 00  |fXfX..-f3.f.....|
00000120  66 f7 f1 fe c2 8a ca 66  8b d0 66 c1 ea 10 f7 36  |f......f..f....6|
00000130  1a 00 86 d6 8a 16 24 00  8a e8 c0 e4 06 0a cc b8  |......$.........|
00000140  01 02 cd 13 0f 82 19 00  8c c0 05 20 00 8e c0 66  |........... ...f|
00000150  ff 06 10 00 ff 0e 0e 00  0f 85 6f ff 07 1f 66 61  |..........o...fa|
00000160  c3 a0 f8 01 e8 09 00 a0  fb 01 e8 03 00 fb eb fe  |................|
00000170  b4 01 8b f0 ac 3c 00 74  09 b4 0e bb 07 00 cd 10  |.....<.t........|
00000180  eb f2 c3 0d 0a 45 72 72  2e 20 6c 65 63 74 75 72  |.....Err. lectur|
00000190  65 20 64 69 73 71 75 65  00 0d 0a 4e 54 4c 44 52  |e disque...NTLDR|
000001a0  20 6d 61 6e 71 75 65 00  0d 0a 4e 54 4c 44 52 20  | manque...NTLDR |
000001b0  65 73 74 20 63 6f 6d 70  72 65 73 73 82 00 0d 0a  |est compress....|
000001c0  45 6e 74 72 65 7a 20 43  74 72 6c 2b 41 6c 74 2b  |Entrez Ctrl+Alt+|
000001d0  53 75 70 70 72 20 70 6f  75 72 20 72 65 64 82 6d  |Suppr pour red.m|
000001e0  61 72 72 65 72 0d 0a 00  0d 0a 00 00 00 00 00 00  |arrer...........|
000001f0  00 00 00 00 00 00 00 00  83 99 a8 be 00 00 55 aa  |..............U.|
00000200

=================== df -Th:

Filesystem     Type       Size  Used Avail Use% Mounted on
/cow           overlayfs 1008M  128M  880M  13% /
udev           devtmpfs  1000M   12K 1000M   1% /dev
tmpfs          tmpfs      404M  864K  403M   1% /run
/dev/sr0       iso9660    754M  754M     0 100% /cdrom
/dev/loop0     squashfs   723M  723M     0 100% /rofs
tmpfs          tmpfs     1008M   16K 1008M   1% /tmp
none           tmpfs      5.0M  4.0K  5.0M   1% /run/lock
none           tmpfs     1008M   76K 1008M   1% /run/shm
none           tmpfs      100M   72K  100M   1% /run/user
/dev/sda5      ext4        46G  2.7G   41G   7% /media/ubuntu/c5752dc0-db8f-47c1-98cd-bf189366dfc9
/dev/sda1      fuseblk     49G   36G   14G  73% /mnt/boot-sav/sda1
/dev/sda6      fuseblk    369G  133G  236G  36% /mnt/boot-sav/sda6

=================== fdisk -l:

Disk /dev/sda: 500.1 GB, 500106780160 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976771055 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0cbf0cbe

Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *          63   102398309    51199123+   7  HPFS/NTFS/exFAT
/dev/sda2       102398371   976751999   437176814+   f  W95 Ext'd (LBA)
/dev/sda5       102398373   200179622    48890625   83  Linux
/dev/sda6       204796683   976751999   385977658+   7  HPFS/NTFS/exFAT
/dev/sda7       200179712   204795903     2308096   82  Linux swap / Solaris

Partition table entries are not in disk order


Partition outside the disk détecté.

=================== Recommended repair
Recommended-Repair
This setting will reinstall the grub2 of sda5 into the MBR of sda.
Additional repair will be performed: unhide-bootmenu-10s


grub-install (GRUB) 2.00-7ubuntu11,grub-install (GRUB) 2.

Reinstall the GRUB of sda5 into the MBR of sda
Installation finished. No error reported.
grub-install /dev/sda: exit code of grub-install /dev/sda:0

chroot /media/ubuntu/c5752dc0-db8f-47c1-98cd-bf189366dfc9 update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.5.0-17-generic
Found initrd image: /boot/initrd.img-3.5.0-17-generic
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 7 (loader) on /dev/sda1
Unhide GRUB boot menu in sda5/boot/grub/grub.cfg

Le démarrage de l'ordinateur a été correctement réparé.

Vous pouvez maintenant redémarrer votre ordinateur.

Il suffit que tu t'inspires de ce post : http://forum.ubuntu-fr.org/viewtopic.ph … #p10947891
sauf que toi, il faut que tu remplaces :

GRUB_DEFAULT=0

par

GRUB_DEFAULT=4 

Ainsi c'est Windows qui démarrera par défaut.

Explication : actuellement ton menu présenté par Grub au démarrage est comme ça :

Ubuntu
Advanced options for Ubuntu
Memory test (memtest86+)
Memory test (memtest86+, serial console 115200)
Windows 7 (loader) (on /dev/sda1)

sachant que GRUB_DEFAULT=0 correspond à la première ligne sélectionnée par défaut, tu peux deviner que GRUB_DEFAULT=4 va sélectionner la 5ème ligne par défaut donc Windows 7

Dernière modification par malbo (Le 14/03/2013, à 19:39)

Hors ligne

#5 Le 14/03/2013, à 23:44

Jp 25

Re : [Résolu] Aucune demande de choix apres instal Ubuntu!! PC demarre avec

re,
En tout cas merci j'ai reussi mais ne me demande pas comment, j'avous que j'ai beaucoup de mal a comprendre ce qu'il faud faire!!!!!
j'ai lancer cette commande "sudo mv /etc/grub.d/30_os-prober /etc/grub.d/06_os-prober (pour mettre windows par défault) ne pas oublier sudo update-grub2 pour que la modification soit prise en compte. " et j'ai vu que win7 etait en bas avant et apres la commande il etait tout en haut.
J'ai fait un test et c'est bon ca fonctionne, ca ce lance sur win par def, (c'est ma femme qui va etre contente!!!!)
En tout cas merci beaucoup pour les infos! Merci
Cdlt J-Paul

Hors ligne

#6 Le 15/03/2013, à 06:54

malbo

Re : [Résolu] Aucune demande de choix apres instal Ubuntu!! PC demarre avec

Jp 25 a écrit :

j'ai lancer cette commande "sudo mv /etc/grub.d/30_os-prober /etc/grub.d/06_os-prober (pour mettre windows par défault) ne pas oublier sudo update-grub2 pour que la modification soit prise en compte. " et j'ai vu que win7 etait en bas avant et apres la commande il etait tout en haut.

ce que je te proposais était plus simple que ce que tu as décidé de mettre en pratique mais si ta femme va être contente, c'est formidable.
Ton problème étant résolu, je te prie de modifier le titre de ton premier post pour qu'il devienne :

[Résolu] Aucune demande de choix apres instal Ubuntu!! PC demarre avec Win 7

conformément à l'item 5.2 de ce lien : http://doc.ubuntu-fr.org/tutoriel/howto … _en_resolu

Hors ligne