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 07/05/2011, à 11:44

jrev

nouvelle install de ubuntu 10.04 (résolu)

Bonjour à tous,
Je viens d'installer Ubuntu 10.04sur le deuxième DD d'un mini-portable Asus eeePC 900 tout s'est bien  passé mais au reboot
j'ai l'alarme suivante :

grub alarm error 15

Je pense que le grub a été installé par défaut dans sda1 alors que le système est en sdb

je vais voir : http://forum.ubuntu-fr.org/viewtopic.php?id=374134

et attends votre conseil smile  Merci

Dernière modification par jrev (Le 09/05/2011, à 11:47)


Mal nommer les choses, c'est ajouter au malheur du monde

Hors ligne

#2 Le 07/05/2011, à 15:30

jrev

Re : nouvelle install de ubuntu 10.04 (résolu)

Boot Info Script 0.55    dated February 15th, 2010                   

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

=> Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in
    partition #1 for /boot/grub.
=> Grub 0.97 is installed in the MBR of /dev/sdb and looks on the same drive
    in partition #1 for /boot/grub/stage2 and /boot/grub/menu.lst.

sda1: _________________________________________________________________________

    File system:       ext3
    Boot sector type:  -
    Boot sector info: 
    Operating System:  SliTaz GNU/Linux Kernel
    Boot files/dirs:   /boot/grub/menu.lst /etc/fstab

sda2: _________________________________________________________________________

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

sda5: _________________________________________________________________________

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

sdb1: _________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 10.04 LTS
    Boot files/dirs:   /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

sdb2: _________________________________________________________________________

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

sdb5: _________________________________________________________________________

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

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

Drive: sda ___________________ _____________________________________________________

Disque /dev/sda: 4034 Mo, 4034838528 octets
255 têtes, 63 secteurs/piste, 490 cylindres, total 7880544 secteurs
Unités = secteurs de 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot         Start           End          Size  Id System

/dev/sda1    *          2,048     7,419,903     7,417,856  83 Linux
/dev/sda2           7,421,950     7,878,655       456,706   5 Extended
/dev/sda5           7,421,952     7,878,655       456,704  82 Linux swap / Solaris


Drive: sdb ___________________ _____________________________________________________

Disque /dev/sdb: 8069 Mo, 8069677056 octets
255 têtes, 63 secteurs/piste, 981 cylindres, total 15761088 secteurs
Unités = secteurs de 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot         Start           End          Size  Id System

/dev/sdb1                  63    13,703,444    13,703,382  83 Linux
/dev/sdb2          13,703,506    15,759,764     2,056,259   5 Extended
/dev/sdb5          13,703,508    15,759,764     2,056,257  82 Linux swap / Solaris


blkid -c /dev/null: ____________________________________________________________

Device           UUID                                   TYPE       LABEL                         

/dev/loop0                                              squashfs                                 
/dev/sda1        50b64012-13e2-4854-9ebd-920c4c233d62   ext3                                     
/dev/sda2: PTTYPE="dos"
/dev/sda5        7f748717-24ad-4315-bb6c-13d86a063552   swap                                     
/dev/sda: PTTYPE="dos"
/dev/sdb1        a068d765-6cde-4abd-9dd0-2ffc10cd0c2e   ext4       ubuntu                       
/dev/sdb2: PTTYPE="dos"
/dev/sdb5        a2bf85bd-35dc-40c2-9928-e6dd4824609d   swap                                     
/dev/sdb: PTTYPE="dos"
error: /dev/sdc: No medium found

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

Device           Mount_Point              Type       Options

aufs             /                        aufs       (rw)
/dev/sr0         /cdrom                   iso9660    (ro,noatime)
/dev/loop0       /rofs                    squashfs   (ro,noatime)


=========================== sda1/boot/grub/menu.lst: ===========================

# /boot/grub/menu.lst: GRUB boot loader configuration.
#

# By default, boot the first entry.
default 0

# Boot automatically after 8 secs.
timeout 8

# Change the colors.
color yellow/brown light-green/black

# For booting SliTaz from : /dev/sda1
#
title SliTaz GNU/Linux (cooking) (Kernel vmlinuz-2.6.30.6-slitaz)
root (hd0,0)
kernel /boot/vmlinuz-2.6.30.6-slitaz root=/dev/sda1


title SliTaz GNU/Linux (Kernel 2.6.30.6-slitaz)
root (hd0,0)
kernel /boot/vmlinuz-2.6.30.6-slitaz root=/dev/sda1

=============================== sda1/etc/fstab: ===============================

# /etc/fstab: Information about static filesystems.
#
proc            /proc        proc    defaults          0       0
sysfs           /sys         sysfs   defaults          0       0
devpts          /dev/pts     devpts  defaults          0       0
tmpfs           /dev/shm     tmpfs   defaults          0       0
#/dev/hda3       /home        ext3    defaults          0       2
#/dev/hdb1       /mnt/data    ext3    defaults          0       2
/dev/cdrom      /media/cdrom iso9660 user,ro,noauto       0       0
/dev/sda5    swap    swap    default    0 0
/dev/sdb5    swap    swap    default    0 0

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


   1.9GB: boot/grub/menu.lst
   1.9GB: boot/grub/stage2
   1.9GB: boot/vmlinuz-2.6.30.6-slitaz

=========================== sdb1/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='(hd1,1)'
search --no-floppy --fs-uuid --set a068d765-6cde-4abd-9dd0-2ffc10cd0c2e
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='(hd1,1)'
search --no-floppy --fs-uuid --set a068d765-6cde-4abd-9dd0-2ffc10cd0c2e
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-31-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd1,1)'
    search --no-floppy --fs-uuid --set a068d765-6cde-4abd-9dd0-2ffc10cd0c2e
    linux    /boot/vmlinuz-2.6.32-31-generic-pae root=UUID=a068d765-6cde-4abd-9dd0-2ffc10cd0c2e ro   quiet splash
    initrd    /boot/initrd.img-2.6.32-31-generic-pae
}
menuentry 'Ubuntu, avec Linux 2.6.32-31-generic-pae (mode de récupération)' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd1,1)'
    search --no-floppy --fs-uuid --set a068d765-6cde-4abd-9dd0-2ffc10cd0c2e
    echo    'Chargement de Linux 2.6.32-31-generic-pae ...'
    linux    /boot/vmlinuz-2.6.32-31-generic-pae root=UUID=a068d765-6cde-4abd-9dd0-2ffc10cd0c2e ro single
    echo    'Chargement du disque mémoire initial...'
    initrd    /boot/initrd.img-2.6.32-31-generic-pae
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
    insmod ext2
    set root='(hd1,1)'
    search --no-floppy --fs-uuid --set a068d765-6cde-4abd-9dd0-2ffc10cd0c2e
    linux16    /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
    insmod ext2
    set root='(hd1,1)'
    search --no-floppy --fs-uuid --set a068d765-6cde-4abd-9dd0-2ffc10cd0c2e
    linux16    /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "SliTaz GNU/Linux (cooking) (Kernel vmlinuz-2.6.30.6-slitaz) (on /dev/sda1)" {
    insmod ext2
    set root='(hd0,1)'
    search --no-floppy --fs-uuid --set 50b64012-13e2-4854-9ebd-920c4c233d62
    linux /boot/vmlinuz-2.6.30.6-slitaz root=/dev/sda1
}
menuentry "SliTaz GNU/Linux (Kernel 2.6.30.6-slitaz) (on /dev/sda1)" {
    insmod ext2
    set root='(hd0,1)'
    search --no-floppy --fs-uuid --set 50b64012-13e2-4854-9ebd-920c4c233d62
    linux /boot/vmlinuz-2.6.30.6-slitaz root=/dev/sda1
}
### 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 ###

=============================== sdb1/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/sdb1 during installation
UUID=a068d765-6cde-4abd-9dd0-2ffc10cd0c2e /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda5 during installation
UUID=7f748717-24ad-4315-bb6c-13d86a063552 none            swap    sw              0       0
# swap was on /dev/sdb5 during installation
UUID=a2bf85bd-35dc-40c2-9928-e6dd4824609d none            swap    sw              0       0

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


   3.8GB: boot/grub/core.img
   5.2GB: boot/grub/grub.cfg
   3.8GB: boot/initrd.img-2.6.32-31-generic-pae
   3.7GB: boot/vmlinuz-2.6.32-31-generic-pae
   3.8GB: initrd.img
   3.7GB: vmlinuz
=========================== Unknown MBRs/Boot Sectors/etc =======================

Unknown BootLoader  on sda2

00000000  fe ff ff 01 d7 8b 55 1c  03 bd b8 fe ff ff 89 85  |......U.........|
00000010  44 ff ff ff 8d 45 d4 89  85 54 fe ff ff 8d 34 ca  |D....E...T....4.|
00000020  8b 95 c0 fe ff ff 89 b5  68 ff ff ff 8b 75 b4 8d  |........h....u..|
00000030  4d c4 89 bd 48 ff ff ff  8d 7d cc 89 bd 58 fe ff  |M...H....}...X..|
00000040  ff 89 8d 5c fe ff ff 89  d0 83 c6 01 89 b5 18 fe  |...\............|
00000050  ff ff 8d b6 00 00 00 00  83 c0 01 39 c2 89 c1 7d  |...........9...}|
00000060  04 89 d0 89 d1 2b 95 c0  fe ff ff 03 85 50 ff ff  |.....+.......P..|
00000070  ff 8b b5 0c fe ff ff 89  55 d4 8b 55 2c 0f af 4d  |........U..U,..M|
00000080  ac 89 74 24 10 8b 75 20  8d 3c c2 8b 95 44 ff ff  |..t$..u .<...D..|
00000090  ff 89 7c 24 0c 89 74 24  08 8b b5 54 fe ff ff 8d  |..|$..t$...T....|
000000a0  04 11 8b 4d 1c 89 34 24  8d 3c c1 89 7c 24 04 e8  |...M..4$.<..|$..|
000000b0  0c 63 ea ff 8b bd a0 fe  ff ff 8b 75 2c 8b 4d 30  |.c.........u,.M0|
000000c0  89 7c 24 0c 8b bd 54 fe  ff ff 89 95 98 fe ff ff  |.|$...T.........|
000000d0  8b 95 4c ff ff ff 89 85  9c fe ff ff 8b 85 0c fe  |..L.............|
000000e0  ff ff 89 4c 24 08 89 3c  24 89 55 d4 8b 95 48 ff  |...L$..<$.U...H.|
000000f0  ff ff 89 44 24 10 8d 04  d6 89 44 24 04 e8 be 62  |...D$.....D$...b|
00000100  ea ff 8b 8d 40 ff ff ff  8b b5 54 ff ff ff 89 85  |....@.....T.....|
00000110  a4 fd ff ff d9 85 a4 fd  ff ff 89 95 a4 fd ff ff  |................|
00000120  8b 95 68 ff ff ff d9 85  a4 fd ff ff d9 c9 d8 8d  |..h.............|
00000130  d0 fe ff ff d8 85 9c fe  ff ff d8 29 d9 c9 d8 8d  |...........)....|
00000140  d0 fe ff ff d8 85 98 fe  ff ff d8 69 04 c7 45 dc  |...........i..E.|
00000150  00 00 80 3f d9 85 d0 fe  ff ff d8 0e d8 02 d9 85  |...?............|
00000160  d0 fe ff ff d8 4e 04 d8  42 04 d9 c9 d9 55 cc d9  |.....N..B....U..|
00000170  c9 d9 55 d0 d9 c9 d9 e1  d9 c9 d9 e1 de c1 d9 85  |..U.............|
00000180  d4 fe ff ff dd e9 df e0  9e 72 1b dd d8 8b 45 38  |.........r....E8|
00000190  d9 85 d4 fe ff ff d9 55  cc c7 45 d0 00 00 00 00  |.......U..E.....|
000001a0  c7 00 01 00 00 00 d9 e8  dd e1 df e0 9e 0f 87 bd  |................|
000001b0  02 00 00 dd d8 dd d8 eb  17 8d b4 26 00 00 00 fd  |...........&....|
000001c0  71 cd 82 6c 42 ea 02 00  00 00 00 f8 06 00 00 00  |q..lB...........|
000001d0  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

Unknown BootLoader  on sdb2

00000000  64 51 9e 95 83 94 25 86  0c 7a 4a 12 bd 20 16 92  |dQ....%..zJ.. ..|
00000010  c8 2a e5 ed d0 47 5f 47  dc dd 36 d0 b9 29 25 e1  |.*...G_G..6..)%.|
00000020  9f 5f d7 27 3d ad 09 77  8b c4 5d 88 09 3b 92 ee  |._.'=..w..]..;..|
00000030  b6 34 b6 c4 2e ed d1 ce  4d d2 24 3e 94 f5 49 77  |.4......M.$>..Iw|
00000040  6b 5a df 40 97 3c a6 3c  b2 99 04 66 9d 59 7f 47  |kZ.@.<.<...f.Y.G|
00000050  56 43 41 57 a1 a7 33 d1  b5 39 e5 69 d5 35 01 1e  |VCAW..3..9.i.5..|
00000060  b9 2d d6 d5 32 e0 da 24  8f 12 29 e9 5e 72 10 8f  |.-..2..$..).^r..|
00000070  36 39 b2 bc 01 09 29 d9  97 47 89 4e 11 9a 76 16  |69....)..G.N..v.|
00000080  82 5d f9 be 2e 06 87 12  e6 e9 1b 53 80 a6 84 4d  |.].........S...M|
00000090  83 c6 40 97 6d ba 52 c2  33 59 2f 91 1b c2 45 09  |..@.m.R.3Y/...E.|
000000a0  44 bb cb f8 a8 f1 5d 74  e1 43 d6 78 8c 91 64 41  |D.....]t.C.x..dA|
000000b0  bf 1a 89 ca e4 e3 f5 30  90 93 d0 ae ac 33 ad ca  |.......0.....3..|
000000c0  fd 70 34 8f 6c 83 e4 02  f9 85 b8 11 b9 a9 aa bf  |.p4.l...........|
000000d0  8c 00 4c 9a 04 3f 59 89  f1 e4 20 3a 8d 2b bf 55  |..L..?Y... :.+.U|
000000e0  7f 5f 5b f3 9b af ad b9  f1 c6 65 87 2c 59 7c e4  |._[.......e.,Y|.|
000000f0  91 47 2e 5e bc 78 c1 82  05 bb ef be fb 67 3e f3  |.G.^.x.......g>.|
00000100  99 4f 7e f2 93 9f f8 f8  c7 cf 38 fd 94 2e 8f ab  |.O~.......8.....|
00000110  79 73 63 47 4b 63 b0 7d  13 43 2c f9 61 4b 27 17  |yscGKc.}.C,.aK'.|
00000120  f4 dd fc d3 6b 9a ec df  a2 45 8b 56 d8 bf 48 24  |....k....E.V..H$|
00000130  72 db f5 3f 6d 7d f3 95  79 7b ec fe dc e3 8f ee  |r..?m}..y{......|
00000140  be db 6e 4f 3d fc a0 3c  72 e2 92 61 46 29 d2 27  |..nO=..<r..aF).'|
00000150  c7 59 76 f5 95 67 9d 76  8a 8c 80 a4 9d 79 ea b7  |.Yv..g.v.....y..|
00000160  75 c8 09 31 bf 4e f7 ab  ad 44 bf 74 2e 3c f7 ec  |u..1.N...D.t.<..|
00000170  70 77 9b bc dc dd 37 df  b8 cf 82 05 17 9d 77 4e  |pw....7.......wN|
00000180  7f 77 7b a1 bf e7 e7 b7  de 74 fc d7 bf c6 5c 48  |.w{......t....\H|
00000190  26 db d2 49 f5 fa 6b 7f  fc 9d d3 4f 8d 07 ba a5  |&..I..k....O....|
000001a0  c9 c1 6f fa e9 b5 bc 40  dd f2 b3 9f 9c 71 ca b7  |..o....@.....q..|
000001b0  c3 9e f6 4c 28 f0 b3 6b  ae 1a 91 4b 56 4e 00 01  |...L(..k...KVN..|
000001c0  c1 55 82 fe ff d4 02 00  00 00 41 60 1f 00 00 00  |.U........A`....|
000001d0  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


=======Devices which don't seem to have a corresponding hard drive==============

sdc


Mal nommer les choses, c'est ajouter au malheur du monde

Hors ligne

#3 Le 07/05/2011, à 15:33

jrev

Re : nouvelle install de ubuntu 10.04 (résolu)

ubuntu@ubuntu:~$ sudo fdisk -l

Disque /dev/sda: 4034 Mo, 4034838528 octets
255 têtes, 63 secteurs/piste, 490 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 : 0x00029e23

Périphérique Amorce  Début        Fin      Blocs     Id  Système
/dev/sda1   *           1         462     3708928   83  Linux
La partition 1 ne se termine pas sur une frontière de cylindre.
/dev/sda2             462         491      228353    5  Etendue
La partition 2 ne se termine pas sur une frontière de cylindre.
/dev/sda5             462         491      228352   82  Linux swap / Solaris

Disque /dev/sdb: 8069 Mo, 8069677056 octets
255 têtes, 63 secteurs/piste, 981 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 : 0x0005932e

Périphérique Amorce  Début        Fin      Blocs     Id  Système
/dev/sdb1               1         853     6851691   83  Linux
/dev/sdb2             854         981     1028129+   5  Etendue
/dev/sdb5             854         981     1028128+  82  Linux swap / Solaris
ubuntu@ubuntu:~$


Mal nommer les choses, c'est ajouter au malheur du monde

Hors ligne

#4 Le 07/05/2011, à 20:20

jrev

Re : nouvelle install de ubuntu 10.04 (résolu)

Est-ce que ce tuto de réinstallation est toujours valable ? smile
http://doc.ubuntu-fr.org/tutoriel/comme … aurer_grub
Je retrouve mon système en bootant avec super_grub_disk 2.
Il me faut maintenant déplacer grub dans la première partition de sdb
Comment ?

Dernière modification par jrev (Le 08/05/2011, à 08:43)


Mal nommer les choses, c'est ajouter au malheur du monde

Hors ligne