logo Debian Debian Debian-France Debian-Facile Debian-fr.org Forum-Debian.fr Debian ? Communautés logo inclusivité

Debian-facile

Bienvenue sur Debian-Facile, site d'aide pour les nouveaux utilisateurs de Debian.

Vous n'êtes pas identifié(e).

#1 05-04-2011 22:31:18

malagasy
Invité

[resolu]Dual Boot Ubuntu/Debian: debian n'est plus reconnu

Bonjour,

J'ai installe ubuntu (10.10) /debian (squeeze) de facon a avoir 3 partitions (et 2 partitions supplementaires pour /home pour chacune des distributions) tel que:

sda3 /root
sda4 / (debian)
sda7 / (ubuntu)

une fois que j'ai installe toutes les mises a jour sur ubuntu, au redemarrage on ne me propose plus debian dans la liste, mais seulement ubuntu.

J'ai lu le wiki http://debian-facile.org/doc:systeme:gr … guration-2, mais je ne suis pas sur que cela marche dans mon cas puisque la partition /boot est une partition a part.

Merci pour votre aide et desole pour les accents, je suis sur un clavier qwerty

Voici les informations du boot si ca peut aider

                Boot Info Script 0.55    dated February 15th, 2010                    

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

 => Grub 2 is installed in the MBR of /dev/sda and looks at sector 488861020
    of the same hard drive for core.img, core.img is at this location on
    /dev/sda and looks on partition #3 for (,gpt3)/grub.

sda1: _________________________________________________________________________

    File system:       vfat
    Boot sector type:  BSD4.4: Fat32
    Boot sector info:  According to the info in the boot sector, sda1 starts
                       at sector 0. But according to the info from fdisk,
                       sda1 starts at sector 40.
    Operating System:  
    Boot files/dirs:  

sda2: _________________________________________________________________________

    File system:       hfsplus
    Boot sector type:  -
    Boot sector info:  
    Operating System:  
    Boot files/dirs:  

sda3: _________________________________________________________________________

    File system:       ext2
    Boot sector type:  Grub 2
    Boot sector info:  Grub 2 is installed in the boot sector of sda3 and
                       looks at sector 488774196 of the same hard drive for
                       core.img, but core.img can not be found at this
                       location.
    Operating System:  
    Boot files/dirs:   /grub/grub.cfg

sda4: _________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info:  
    Operating System:  Debian GNU/Linux wheezy/sid
    Boot files/dirs:   /etc/fstab

sda5: _________________________________________________________________________

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

sda6: _________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info:  
    Operating System:  
    Boot files/dirs:  

sda7: _________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info:  
    Operating System:  Ubuntu 10.10
    Boot files/dirs:   /etc/fstab

sda8: _________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info:  
    Operating System:  
    Boot files/dirs:  

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

Drive: sda ___________________ _____________________________________________________

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

Partition  Boot         Start           End          Size  Id System

/dev/sda1                   1       409,639       409,639  ee GPT
/dev/sda2             409,640   488,690,895   488,281,256  af HFS
/dev/sda3    *    488,690,896   488,888,161       197,266  83 Linux
/dev/sda4         488,888,162   498,673,318     9,785,157  83 Linux


GUID Partition Table detected.

Partition           Start           End          Size System
/dev/sda1              40       409,639       409,600 System/Boot Partition
/dev/sda2         409,640   488,690,895   488,281,256 HFS+
/dev/sda3     488,690,896   488,888,161       197,266 System/Boot Partition
/dev/sda4     488,888,162   498,673,318     9,785,157 Linux or Data
/dev/sda5     498,673,319   502,675,272     4,001,954 Linux Swap
/dev/sda6     502,675,273   600,351,054    97,675,782 Linux or Data
/dev/sda7     600,352,768   610,117,631     9,764,864 Linux or Data
/dev/sda8     610,117,632   629,649,407    19,531,776 Linux or Data

blkid -c /dev/null: ____________________________________________________________

Device           UUID                                   TYPE       LABEL                        

/dev/sda1        70D6-1701                              vfat       EFI                          
/dev/sda2        3b7ed4cc-6d14-3a0e-ac03-a93cf05852ec   hfsplus    MaLaGasy                      
/dev/sda3        7dbec0e5-a3cd-47f2-8336-c3f1544f7bd8   ext2                                    
/dev/sda4        406e81f3-088d-46a4-b11c-0991ced796fc   ext4                                    
/dev/sda5        a5f927f0-a7ea-45fb-9c13-24dde2c1b34c   swap                                    
/dev/sda6        8665500a-74b0-4c26-9a43-fedeacdca677   ext4                                    
/dev/sda7        bc572076-a513-4a64-912e-8a84471bac52   ext4                                    
/dev/sda8        66ea4af1-f4b2-44dc-8353-abb69e776c56   ext4                                    
/dev/sda: PTTYPE="gpt"
error: /dev/sdb: No medium found

============================ "mount | grep ^/dev  output: ===========================

Device           Mount_Point              Type       Options

/dev/sda7        /                        ext4       (rw,errors=remount-ro,commit=600)
/dev/sda3        /boot                    ext2       (rw)
/dev/sda8        /home                    ext4       (rw,commit=600)


============================= sda3/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 [ "${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 {
  insmod vbe
  insmod vga
}

insmod part_gpt
insmod ext2
set root='(hd0,gpt7)'
search --no-floppy --fs-uuid --set bc572076-a513-4a64-912e-8a84471bac52
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  load_video
  insmod gfxterm
fi
terminal_output gfxterm
insmod part_gpt
insmod ext2
set root='(hd0,gpt3)'
search --no-floppy --fs-uuid --set 7dbec0e5-a3cd-47f2-8336-c3f1544f7bd8
set locale_dir=($root)/grub/locale
set lang=en
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, with Linux 2.6.35-28-generic' --class ubuntu --class gnu-linux --class gnu --class os {
  recordfail
  insmod part_gpt
  insmod ext2
  set root='(hd0,gpt3)'
  search --no-floppy --fs-uuid --set 7dbec0e5-a3cd-47f2-8336-c3f1544f7bd8
  linux /vmlinuz-2.6.35-28-generic root=UUID=bc572076-a513-4a64-912e-8a84471bac52 ro   quiet splash
  initrd  /initrd.img-2.6.35-28-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-28-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  recordfail
  insmod part_gpt
  insmod ext2
  set root='(hd0,gpt3)'
  search --no-floppy --fs-uuid --set 7dbec0e5-a3cd-47f2-8336-c3f1544f7bd8
  echo  'Loading Linux 2.6.35-28-generic ...'
  linux /vmlinuz-2.6.35-28-generic root=UUID=bc572076-a513-4a64-912e-8a84471bac52 ro single
  echo  'Loading initial ramdisk ...'
  initrd  /initrd.img-2.6.35-28-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {
  recordfail
  insmod part_gpt
  insmod ext2
  set root='(hd0,gpt3)'
  search --no-floppy --fs-uuid --set 7dbec0e5-a3cd-47f2-8336-c3f1544f7bd8
  linux /vmlinuz-2.6.35-22-generic root=UUID=bc572076-a513-4a64-912e-8a84471bac52 ro   quiet splash
  initrd  /initrd.img-2.6.35-22-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  recordfail
  insmod part_gpt
  insmod ext2
  set root='(hd0,gpt3)'
  search --no-floppy --fs-uuid --set 7dbec0e5-a3cd-47f2-8336-c3f1544f7bd8
  echo  'Loading Linux 2.6.35-22-generic ...'
  linux /vmlinuz-2.6.35-22-generic root=UUID=bc572076-a513-4a64-912e-8a84471bac52 ro single
  echo  'Loading initial ramdisk ...'
  initrd  /initrd.img-2.6.35-22-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_gpt
  insmod ext2
  set root='(hd0,gpt3)'
  search --no-floppy --fs-uuid --set 7dbec0e5-a3cd-47f2-8336-c3f1544f7bd8
  linux16 /memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
  insmod part_gpt
  insmod ext2
  set root='(hd0,gpt3)'
  search --no-floppy --fs-uuid --set 7dbec0e5-a3cd-47f2-8336-c3f1544f7bd8
  linux16 /memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Mac OS X (32-bit) (on /dev/sda2)" {
  insmod part_gpt
  insmod hfsplus
  set root='(hd0,gpt2)'
  search --no-floppy --fs-uuid --set cc430d36b9ff7243
        load_video
        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 cc430d36b9ff7243 uuid
           if [ -f /Extra/DSDT.aml ]; then
              acpi -e /Extra/DSDT.aml
           fi
           xnu_kernel /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
}
menuentry "Mac OS X (64-bit) (on /dev/sda2)" {
  insmod part_gpt
  insmod hfsplus
  set root='(hd0,gpt2)'
  search --no-floppy --fs-uuid --set cc430d36b9ff7243
        load_video
        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 cc430d36b9ff7243 uuid
           if [ -f /Extra/DSDT.aml ]; then
              acpi -e /Extra/DSDT.aml
           fi
           xnu_kernel64 /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
}
menuentry "Ubuntu, with Linux 2.6.35-28-generic (on /dev/sda4)" {
  insmod part_gpt
  insmod ext2
  set root='(hd0,gpt3)'
  search --no-floppy --fs-uuid --set 7dbec0e5-a3cd-47f2-8336-c3f1544f7bd8
  linux /vmlinuz-2.6.35-28-generic root=UUID=bc572076-a513-4a64-912e-8a84471bac52 ro quiet splash
  initrd /initrd.img-2.6.35-28-generic
}
menuentry "Ubuntu, with Linux 2.6.35-28-generic (recovery mode) (on /dev/sda4)" {
  insmod part_gpt
  insmod ext2
  set root='(hd0,gpt3)'
  search --no-floppy --fs-uuid --set 7dbec0e5-a3cd-47f2-8336-c3f1544f7bd8
  linux /vmlinuz-2.6.35-28-generic root=UUID=bc572076-a513-4a64-912e-8a84471bac52 ro single
  initrd /initrd.img-2.6.35-28-generic
}
menuentry "Ubuntu, with Linux 2.6.35-22-generic (on /dev/sda4)" {
  insmod part_gpt
  insmod ext2
  set root='(hd0,gpt3)'
  search --no-floppy --fs-uuid --set 7dbec0e5-a3cd-47f2-8336-c3f1544f7bd8
  linux /vmlinuz-2.6.35-22-generic root=UUID=bc572076-a513-4a64-912e-8a84471bac52 ro quiet splash
  initrd /initrd.img-2.6.35-22-generic
}
menuentry "Ubuntu, with Linux 2.6.35-22-generic (recovery mode) (on /dev/sda4)" {
  insmod part_gpt
  insmod ext2
  set root='(hd0,gpt3)'
  search --no-floppy --fs-uuid --set 7dbec0e5-a3cd-47f2-8336-c3f1544f7bd8
  linux /vmlinuz-2.6.35-22-generic root=UUID=bc572076-a513-4a64-912e-8a84471bac52 ro single
  initrd /initrd.img-2.6.35-22-generic
}
### 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 ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###

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


 250.2GB: grub/grub.cfg
 250.2GB: initrd.img-2.6.35-22-generic
 250.2GB: initrd.img-2.6.35-28-generic
 250.2GB: vmlinuz-2.6.35-22-generic
 250.2GB: vmlinuz-2.6.35-28-generic

=============================== sda4/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>
proc            /proc           proc    defaults        0       0
# / was on /dev/sda4 during installation
UUID=406e81f3-088d-46a4-b11c-0991ced796fc /               ext4    errors=remount-ro 0       1
# /boot was on /dev/sda3 during installation
UUID=7dbec0e5-a3cd-47f2-8336-c3f1544f7bd8 /boot           ext2    defaults        0       2
# /home was on /dev/sda6 during installation
UUID=8665500a-74b0-4c26-9a43-fedeacdca677 /home           ext4    defaults        0       2
# swap was on /dev/sda5 during installation
UUID=a5f927f0-a7ea-45fb-9c13-24dde2c1b34c none            swap    sw              0       0
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto     0       0

=============================== sda7/etc/fstab: ===============================

# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' 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>
proc            /proc           proc    nodev,noexec,nosuid 0       0
# / was on /dev/sda7 during installation
UUID=bc572076-a513-4a64-912e-8a84471bac52 /               ext4    errors=remount-ro 0       1
# /boot was on /dev/sda3 during installation
UUID=7dbec0e5-a3cd-47f2-8336-c3f1544f7bd8 /boot           ext2    defaults        0       2
# /home was on /dev/sda8 during installation
UUID=66ea4af1-f4b2-44dc-8353-abb69e776c56 /home           ext4    defaults        0       2
# swap was on /dev/sda5 during installation
UUID=7f022374-8e13-49a3-8d4a-67fbc35c40e2 none            swap    sw              0       0

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


 307.4GB: initrd.img
 307.4GB: initrd.img.old
 307.4GB: vmlinuz
 307.3GB: vmlinuz.old
=======Devices which don't seem to have a corresponding hard drive==============

sdb

Dernière modification par malagasy (06-04-2011 09:32:54)

#2 06-04-2011 05:41:05

zoroastre74
Membre
Distrib. : Debian Wheezy
Noyau : Linux 3.2
(G)UI : Awesome wm v3.4.13 (Octopus)
Inscription : 28-08-2010

Re : [resolu]Dual Boot Ubuntu/Debian: debian n'est plus reconnu

Yep!

Une petite réactualisation de grub et tout devrait renter dans l'ordre :

sudo update-grub2


@+

Zoroastre.

Hors ligne

#3 06-04-2011 07:37:47

malagasy
Invité

Re : [resolu]Dual Boot Ubuntu/Debian: debian n'est plus reconnu

ok merci,

j'avais lance le cd d'install de debian puis mis-a jour le grub avec et ca marche - je pense que c'est exactement la meme manip, mais celle que vous avez propose a l'air d'etre plus simple smile

Dernière modification par malagasy (06-04-2011 07:38:10)

#4 06-04-2011 08:53:20

freddec
homo-informaticus du genre linuxo-debianicum
Lieu : Saint Jean d'Y (17)
Distrib. : Branche Stable (BullsEye en 2022)
Noyau : Ca depend !
(G)UI : XFCE (+/- Mate, Cinnamon, Gnome, LXDE)
Inscription : 09-01-2008

Re : [resolu]Dual Boot Ubuntu/Debian: debian n'est plus reconnu

Salut Malagasy
Un petit Résolu dans le sujet, et hop, on en parle plus lol

Desktop: Debian BullsEye (Core I5 - 16Go - SSD + 2HDD et NAS Netgear)
Laptop 1: BullsEye (PackardBell TS 44, Core I5, 4Go, SSD), Laptop 2: BullsEye (Lenovo, Core I5, 8Go, SSD)
EeePC : Debian Jessie (Atom N450, 2 Go)
Raspberry Pi B+: Raspbian (Stretch)

Hors ligne

#5 06-04-2011 09:09:34

Invité-5
Banni(e)

Re : [resolu]Dual Boot Ubuntu/Debian: debian n'est plus reconnu

......et par la même occasion remplir infodistri dans ton Profil cool

@+

#6 06-04-2011 10:01:22

malagasy
Invité

Re : [resolu]Dual Boot Ubuntu/Debian: debian n'est plus reconnu

ok merci wink

Pied de page des forums