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 26/04/2013, à 13:50

Flo Rahl

Grub trouve pas mon / : ALERT! /dev/disk/by-uuid/... does not exist

Bonjour les Ubunteros,

J'ai un petit souci depuis mon installation de Ubuntu 13.04 hier smile J'ai déjà lu de nombreux posts à ce sujet mais aucun qui ne me permette de résoudre mon problème. Explication :

  1. Après installation, je démarre l'ordinateur. J'arrive sur le grub, je sélectionne Ubuntu, et j'attends... Rien ne se passe, l'écran devient violet sans plus jamais bouger.

  2. J'éteins l'ordi comme une brute et je redémarre, et relance Ubuntu. Cette fois l'écran ne devient pas violet, par contre au bout d'un moment il m'affiche le message (tronqué) suivant :

    Gave up waiting for root device.
    [...]
    ALERT! /dev/disk/by-uuid/7f95cd14-d96e-4c7a-830d-e7ced27e7704 does not exist. Dropping to a shell!
  3. Je réinstalle Ubuntu 13.04, mais les conséquences sont strictement identiques.

  4. Je réinstalle GRUB-PC, mais les conséquences sont strictement identiques.

  5. Je lance la commande

    sudo blkid

    qui me renvoit le pâté suivant :

    /dev/sda1: UUID="F15B-CC47" TYPE="vfat" 
    /dev/sdb1: LABEL="RM-CM-)servM-CM-) au systM-CM-(me" UUID="428E6F678E6F5309" TYPE="ntfs" 
    /dev/sdb2: UUID="2456729256726488" TYPE="ntfs" 
    /dev/sdb5: LABEL="Documents" UUID="EEE89517E894DF61" TYPE="ntfs" 
    /dev/sdb6: UUID="9da2d3f1-bcb0-44b2-b8cb-235e30f9af1c" TYPE="swap" 
    /dev/sdb7: UUID="9277c7e8-0bec-447d-bd2e-3c0b539e2ba3" TYPE="ext4" 
  6. Je vais ensuite jeter un oeil à mon /etc/fstab (sur la partition système du disque dur et non de ma clé USB), ce qui me donne ceci :

    # /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/sda7 during installation
    UUID=9277c7e8-0bec-447d-bd2e-3c0b539e2ba3 /               ext4    errors=remount-ro 0       1
    # swap was on /dev/sda6 during installation
    UUID=9da2d3f1-bcb0-44b2-b8cb-235e30f9af1c none            swap    sw              0       0
  7. Il me semble donc que GRUB se fourvoit complètement lorsqu'il cherche un "root device" avec l'UUID 7f95cd14-d96e-4c7a-830d-e7ced27e7704, car il est très clair que celui-ci n'existe pas. Il ferait mieux de jeter un oeil à l'UUID 9277c7e8-0bec-447d-bd2e-3c0b539e2ba3 !

Mon problème me semble donc assez clair. GRUB cherche à démarrer sur une partition qui n'existe pas, car il se méprend sur son UUID. Il me suffit donc de lui dire quelle est la partition root, et tout devrait rentrer dans l'ordre. J'ai lu dans un post dont je n'ai plus le lien (j'en ai lu trop pour tous les noter), qu'il suffisait de réattribuer le bon UUID dans un menu.lst. Sauf que cela concernait la version antérieure de GRUB, il n'y a plus de menu.lst dans GRUB-PC, et normalement on ne touche pas au grub.cfg...

Est-ce que quelqu'un détiendrait la clé de ce problème ? Auquel cas je lui en serai très reconnaissant big_smile

Dernière modification par Flo Rahl (Le 26/04/2013, à 13:50)

Hors ligne

#2 Le 26/04/2013, à 14:14

Kooothor

Re : Grub trouve pas mon / : ALERT! /dev/disk/by-uuid/... does not exist

La réponse à ta question est là : http://askubuntu.com/questions/171446/h … er-machine

Hors ligne

#3 Le 26/04/2013, à 14:28

Flo Rahl

Re : Grub trouve pas mon / : ALERT! /dev/disk/by-uuid/... does not exist

Merci Kooothor mais je crois que ça ne correspond pas exactement à mon problème. Dans la solution que tu me donnes, la commande

sudo blkid

donnent des UUID qui diffèrent de ceux présents dans le

/etc/fstab

et dans le

/boot/grub/grub.cfg

Or pour moi ce n'est pas le cas, les UUID coïncident déjà !

Par contre je viens de remarquer un truc bizarre... Dans mon blkid, ma partition root est sdb7, et dans mon fstab, elle est mentionnée comme sda7... Est-ce que ça peut venir de là ?
[edit] Ah non c'est juste le fait que mon live USB est considéré comme sda quand je boote dessus...

Dernière modification par Flo Rahl (Le 27/04/2013, à 06:54)

Hors ligne

#4 Le 26/04/2013, à 17:16

Flo Rahl

Re : Grub trouve pas mon / : ALERT! /dev/disk/by-uuid/... does not exist

Merci whois, mais j'avais déjà lancé avant un boot-repair, et je pensais que ce serait bon. Malheureusement, ça devient encore plus incompréhensible, car maintenant le message d'erreur initial a changé pour :

Gave up waiting for root device.
[...]
ALERT! /dev/disk/by-uuid/9277c7e8-0bec-447d-bd2e-3c0b539e2ba3 does not exist. Dropping to a shell!

Donc le problème n'est pas où je croyais.

Je me suis dit que peut-être le problème venait du partitionnement de mon disque dur. Pour résumer, j'ai :
[*]Une partition primaire NTFS de 100Mo pour Windows 7 qui sert à je ne sais pas trop quoi[/*]
[*]Une partition primaire NTFS de 50Go avec Windows 7 dessus[/*]
[*]Une partition logique SWAP de 4Go[/*]
[*]Une partition logique Ext4 de 30Go avec Ubuntu 13.04 dessus[/*]
[*]Une partition logique NTFS de 200Go avec des données dessus [/*]

J'ai alors voulu réinstaller Ubuntu en supprimant les trois dernières partitions. Mais il m'indique le message d'erreur étrange suivant :

Installation d'Ubuntu 13.04 a écrit :

Can't have a partition outside the disk!

Je me demande si je n'ai pas foiré la table de partition. En effet, avant d'installer Ubuntu 13.04, j'avais deux partitions primaires en NTFS, et une partition étendue formée de trois partitions logiques (Ubuntu 12.10, SWAP, et données). J'ai réduit Windows 7 de 80Go à 50Go. J'ai ensuite installé Ubuntu 13.04 et son SWAP dans les 30Go libérés par Windows7, dans une partition logique. Et j'ai effacé les partitions logiques d'Ubuntu 12.10 et de SWAP associé se trouvant dans la même partition étendue que mes données.

Je sais, c'est pas très malin, j'aurais du faire un truc propre dès le départ, mais j'avais la flemme de sauvegarder toutes mes données... Ce que j'ai fini par faire... tongue

Ma question est donc "relativement" simple : Comment rectifier ma table de partition pour installer Ubuntu 13.04 sans toucher à Windows 7 (en début de disque dur) ?

Et puisqu'un petit dessin vaut mieux qu'un long discours...

Image

Hors ligne

#5 Le 26/04/2013, à 17:38

Arbiel

Re : Grub trouve pas mon / : ALERT! /dev/disk/by-uuid/... does not exist

Pour y voir clair, il faudrait que tu publies le rapport produit par boot-repair. Comme tu ne peux pas démarrer ton PC, il faut que tu passes par un support externe (clé USB dite Live ou CD-ROM).

L'attente de ta partition ne provient pas de grub. Lorsqu'il ne trouve pas la partition qui lui est indiquée, le message de grub est

no such device

et non pas une indication concernant une attente trop longue.

L'attente sur la partition / est très surprenante. La ligne correspondante du fichier fstab n'est pas utilisée. Voir la discussion sur ce sujet

D'où le besoin d'informations plus détaillées et plus complètes que fournit boot-repair.

Arbiel


Arbiel Perlacremaz
LDLC Aurore NK3S-8-S4 Ubuntu 20.04
Abandon d'azerty au profit de bépo, de google au profit de Lilo et de la messagerie électronique violable au profit de Protonmail, une messagerie chiffrée de poste de travail à poste de travail.

Hors ligne

#6 Le 26/04/2013, à 17:43

Arbiel

Re : Grub trouve pas mon / : ALERT! /dev/disk/by-uuid/... does not exist

Les messages se sont croisés.

Tu peux facilement laisser la partition Windows telle qu'elle est actuellement, tu supprimes tout le reste, tu fais une partition étendue et tu définis de nouvelles partitions logiques dans ta partition étendue.

Cela ne pose aucune difficulté.

Que crains en demandant comment faire ?

Arbiel


Arbiel Perlacremaz
LDLC Aurore NK3S-8-S4 Ubuntu 20.04
Abandon d'azerty au profit de bépo, de google au profit de Lilo et de la messagerie électronique violable au profit de Protonmail, une messagerie chiffrée de poste de travail à poste de travail.

Hors ligne

#7 Le 26/04/2013, à 19:09

Arbiel

Re : Grub trouve pas mon / : ALERT! /dev/disk/by-uuid/... does not exist

@ whoies
Merci pour ces informations que personne n'avait évoqué dans la discussion en question. Cependant, ta réponse suscite en moi de nouvelles interrogations. Pour ne pas perturber la présente discussion, j'ai rouvert l'autre discussion et j'y ai présenté mes nouvelles interrogations.
Si tu veux bien t'y rendre à nouveau, je te remercie d'avance pour les explications complémentaires que tu voudras bien m'apporter.

Arbiel


Arbiel Perlacremaz
LDLC Aurore NK3S-8-S4 Ubuntu 20.04
Abandon d'azerty au profit de bépo, de google au profit de Lilo et de la messagerie électronique violable au profit de Protonmail, une messagerie chiffrée de poste de travail à poste de travail.

Hors ligne

#8 Le 27/04/2013, à 06:58

Flo Rahl

Re : Grub trouve pas mon / : ALERT! /dev/disk/by-uuid/... does not exist

Wahou, quelle réactivité ! Merci beaucoup à tous les deux !

Je vais tout effacer hormis W7 et réinstaller proprement. Je vous tiens au courant !

Hors ligne

#9 Le 27/04/2013, à 17:49

Flo Rahl

Re : Grub trouve pas mon / : ALERT! /dev/disk/by-uuid/... does not exist

Bonjour,

J'ai effacé toutes mes partitions hors Windows 7, puis installé Ubuntu et ça ne marche toujours pas sad

Voici donc le résultat de la commande "sudo fdisk -lu" :

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 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: 0x9b2dfe69

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048      206847      102400    7  HPFS/NTFS/exFAT
/dev/sda2          206848   103012351    51402752    7  HPFS/NTFS/exFAT
/dev/sda3       103014398   175925247    36455425    5  Extended
/dev/sda5       103014400   168112127    32548864   83  Linux
/dev/sda6       168114176   175925247     3905536   82  Linux swap / Solaris

Par ailleurs, l'UUID qu'il ne trouve pas au démarrage a changé, et est identique à celui noté dans le fstab...

Voici ma table de partitions :
Partition v2

Dernière modification par Flo Rahl (Le 27/04/2013, à 18:13)

Hors ligne

#10 Le 27/04/2013, à 18:21

Flo Rahl

Re : Grub trouve pas mon / : ALERT! /dev/disk/by-uuid/... does not exist

J'ai refait un boot-repair, et voici le résultat du rapport :

Ubuntu Pastebin
Paste from boot-repair at Sat, 27 Apr 2013 18:18:49 +0000
Download as text

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869

	

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


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

 => Grub2 (v1.99) 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 94 for .
 => Syslinux MBR (4.04 and higher) is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 7/2008: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /bootmgr /Boot/BCD

sda2: __________________________________________________________________________

    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:        /bootmgr /Boot/BCD /Windows/System32/winload.exe

sda3: __________________________________________________________________________

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

sda5: __________________________________________________________________________

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

sda6: __________________________________________________________________________

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

sdb1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  SYSLINUX 4.05 20120702
    Boot sector info:  Syslinux looks at sector 3109568 of /dev/sdb1 for its 
                       second stage. SYSLINUX is installed in the  directory. 
                       According to the info in the boot sector, sdb1 starts 
                       at sector 0. But according to the info from fdisk, 
                       sdb1 starts at sector 62.
    Operating System:  
    Boot files:        /boot/grub/grub.cfg /syslinux.cfg /casper/vmlinuz.efi 
                       /efi/boot/grubx64.efi /ldlinux.sys

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

Drive: sda _____________________________________________________________________

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 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    *          2,048       206,847       204,800   7 NTFS / exFAT / HPFS
/dev/sda2             206,848   103,012,351   102,805,504   7 NTFS / exFAT / HPFS
/dev/sda3         103,014,398   175,925,247    72,910,850   5 Extended
/dev/sda5         103,014,400   168,112,127    65,097,728  83 Linux
/dev/sda6         168,114,176   175,925,247     7,811,072  82 Linux swap / Solaris


Drive: sdb _____________________________________________________________________

Disk /dev/sdb: 8000 MB, 8000110592 bytes
247 heads, 62 sectors/track, 1020 cylinders, total 15625216 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/sdb1    *             62    15,620,279    15,620,218   c W95 FAT32 (LBA)


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/sda1        428E6F678E6F5309                       ntfs       Réservé au système
/dev/sda2        2456729256726488                       ntfs       
/dev/sda5        ae204a05-2d9b-4d7a-bf75-59fb9ac0e180   ext4       
/dev/sda6        62a1ceb4-d098-49ca-8b7d-a08d5e4bf11b   swap       
/dev/sdb1        F15B-CC47                              vfat       

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

Device           Mount_Point              Type       Options

/dev/loop0       /rofs                    squashfs   (ro,noatime)
/dev/sdb1        /cdrom                   vfat       (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)


=========================== 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  ae204a05-2d9b-4d7a-bf75-59fb9ac0e180
else
  search --no-floppy --fs-uuid --set=root ae204a05-2d9b-4d7a-bf75-59fb9ac0e180
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=en_US
  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
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-ae204a05-2d9b-4d7a-bf75-59fb9ac0e180' {
recordfail
	load_video
	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  ae204a05-2d9b-4d7a-bf75-59fb9ac0e180
	else
	  search --no-floppy --fs-uuid --set=root ae204a05-2d9b-4d7a-bf75-59fb9ac0e180
	fi
	linux	/boot/vmlinuz-3.8.0-19-generic root=UUID=ae204a05-2d9b-4d7a-bf75-59fb9ac0e180 ro   quiet splash $vt_handoff
	initrd	/boot/initrd.img-3.8.0-19-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-ae204a05-2d9b-4d7a-bf75-59fb9ac0e180' {
	menuentry 'Ubuntu, with Linux 3.8.0-19-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.8.0-19-generic-advanced-ae204a05-2d9b-4d7a-bf75-59fb9ac0e180' {
	recordfail
		load_video
		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  ae204a05-2d9b-4d7a-bf75-59fb9ac0e180
		else
		  search --no-floppy --fs-uuid --set=root ae204a05-2d9b-4d7a-bf75-59fb9ac0e180
		fi
		echo	'Loading Linux 3.8.0-19-generic ...'
		linux	/boot/vmlinuz-3.8.0-19-generic root=UUID=ae204a05-2d9b-4d7a-bf75-59fb9ac0e180 ro   quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.8.0-19-generic
	}
	menuentry 'Ubuntu, with Linux 3.8.0-19-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.8.0-19-generic-recovery-ae204a05-2d9b-4d7a-bf75-59fb9ac0e180' {
	recordfail
		load_video
		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  ae204a05-2d9b-4d7a-bf75-59fb9ac0e180
		else
		  search --no-floppy --fs-uuid --set=root ae204a05-2d9b-4d7a-bf75-59fb9ac0e180
		fi
		echo	'Loading Linux 3.8.0-19-generic ...'
		linux	/boot/vmlinuz-3.8.0-19-generic root=UUID=ae204a05-2d9b-4d7a-bf75-59fb9ac0e180 ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.8.0-19-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  ae204a05-2d9b-4d7a-bf75-59fb9ac0e180
	else
	  search --no-floppy --fs-uuid --set=root ae204a05-2d9b-4d7a-bf75-59fb9ac0e180
	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  ae204a05-2d9b-4d7a-bf75-59fb9ac0e180
	else
	  search --no-floppy --fs-uuid --set=root ae204a05-2d9b-4d7a-bf75-59fb9ac0e180
	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-428E6F678E6F5309' {
	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  428E6F678E6F5309
	else
	  search --no-floppy --fs-uuid --set=root 428E6F678E6F5309
	fi
	chainloader +1
}
menuentry 'Windows 7 (loader) (on /dev/sda2)' --class windows --class os $menuentry_id_option 'osprober-chain-2456729256726488' {
	insmod part_msdos
	insmod ntfs
	set root='hd0,msdos2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  2456729256726488
	else
	  search --no-floppy --fs-uuid --set=root 2456729256726488
	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=ae204a05-2d9b-4d7a-bf75-59fb9ac0e180 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda6 during installation
UUID=62a1ceb4-d098-49ca-8b7d-a08d5e4bf11b none            swap    sw              0       0
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

  53.343170166 = 57.276792832   boot/grub/grub.cfg                             1
  53.335971832 = 57.269063680   boot/grub/i386-pc/core.img                     1
  53.333381653 = 57.266282496   boot/vmlinuz-3.8.0-19-generic                  1
  53.333381653 = 57.266282496   vmlinuz                                        1
  50.722080231 = 54.462418944   boot/initrd.img-3.8.0-19-generic               1
  50.722080231 = 54.462418944   initrd.img                                     1

=========================== sdb1/boot/grub/grub.cfg: ===========================

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

if loadfont /boot/grub/font.pf2 ; then
	set gfxmode=auto
	insmod efi_gop
	insmod efi_uga
	insmod gfxterm
	terminal_output gfxterm
fi

set menu_color_normal=white/black
set menu_color_highlight=black/light-gray

menuentry "Try Ubuntu without installing" {
	set gfxpayload=keep
	linux	/casper/vmlinuz.efi  file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash --
	initrd	/casper/initrd.lz
}
menuentry "Install Ubuntu" {
	set gfxpayload=keep
	linux	/casper/vmlinuz.efi  file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash --
	initrd	/casper/initrd.lz
}
menuentry "OEM install (for manufacturers)" {
	set gfxpayload=keep
	linux	/casper/vmlinuz.efi  file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash oem-config/enable=true --
	initrd	/casper/initrd.lz
}
menuentry "Check disc for defects" {
	set gfxpayload=keep
	linux	/casper/vmlinuz.efi  boot=casper integrity-check quiet splash --
	initrd	/casper/initrd.lz
}
--------------------------------------------------------------------------------

============================== sdb1/syslinux.cfg: ==============================

--------------------------------------------------------------------------------
default menu.c32
prompt 0
menu title UNetbootin
timeout 100

label unetbootindefault
menu label Default
kernel /ubnkern
append initrd=/ubninit file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash --

label ubnentry0
menu label ^Help
kernel /ubnkern
append initrd=/ubninit 

label ubnentry1
menu label ^Try Ubuntu without installing
kernel /casper/vmlinuz.efi
append initrd=/casper/initrd.lz file=/cdrom/preseed/ubuntu.seed boot=casper  quiet splash --

label ubnentry2
menu label ^Install Ubuntu
kernel /casper/vmlinuz.efi
append initrd=/casper/initrd.lz file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity  quiet splash --

label ubnentry3
menu label ^Check disc for defects
kernel /casper/vmlinuz.efi
append initrd=/casper/initrd.lz boot=casper integrity-check  quiet splash --

label ubnentry4
menu label Test ^memory
kernel /install/mt86plus
append initrd=/ubninit 

label ubnentry5
menu label ^Boot from first hard disk
kernel /ubnkern
append initrd=/ubninit 

label ubnentry6
menu label Try Ubuntu without installing
kernel /casper/vmlinuz.efi
append initrd=/casper/initrd.lz file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash --

label ubnentry7
menu label Install Ubuntu
kernel /casper/vmlinuz.efi
append initrd=/casper/initrd.lz file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash --

label ubnentry8
menu label OEM install (for manufacturers)
kernel /casper/vmlinuz.efi
append initrd=/casper/initrd.lz file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash oem-config/enable=true --

label ubnentry9
menu label Check disc for defects
kernel /casper/vmlinuz.efi
append initrd=/casper/initrd.lz boot=casper integrity-check quiet splash --

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

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

           GiB - GB             File                                 Fragment(s)

            ?? = ??             boot/grub/grub.cfg                             1

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

           GiB - GB             File                                 Fragment(s)

            ?? = ??             syslinux.cfg                                   1
            ?? = ??             ldlinux.sys                                    1
            ?? = ??             menu.c32                                       1
            ?? = ??             syslinux/chain.c32                             1
            ?? = ??             syslinux/gfxboot.c32                           1
            ?? = ??             syslinux/vesamenu.c32                          1

============== sdb1: Version of COM32(R) files used by Syslinux: ===============

 menu.c32                           :  COM32R module (v4.xx)
 syslinux/chain.c32                 :  COM32R module (v4.xx)
 syslinux/gfxboot.c32               :  COM32R module (v4.xx)
 syslinux/vesamenu.c32              :  COM32R module (v4.xx)

======================== Unknown MBRs/Boot Sectors/etc: ========================

Unknown BootLoader on sda3

00000000  d2 d3 23 00 f2 35 07 71  21 13 0e 65 fc 64 2d ce  |..#..5.q!..e.d-.|
00000010  82 16 ee 89 4e 95 37 41  d3 f4 6e 2e 0c b6 2a 4b  |....N.7A..n...*K|
00000020  6f f9 38 bf 18 be ae 31  3c f8 20 06 af d5 49 f9  |o.8....1<. ...I.|
00000030  9f c1 57 69 59 34 8a 67  91 92 9a ab a8 a4 27 54  |..WiY4.g......'T|
00000040  ab 19 c2 ce 4d a9 9c 2f  12 e8 94 b4 66 2c fd 00  |....M../....f,..|
00000050  43 9f 18 22 f8 6f a5 e4  8a 74 fa 11 e0 b8 83 be  |C..".o...t......|
00000060  f0 9b 51 62 5f d4 29 d5  83 3a bb 85 23 15 dd 3c  |..Qb_.)..:..#..<|
00000070  44 6a 91 73 e3 f7 6e 84  1e c4 69 b8 87 e3 4d de  |Dj.s..n...i...M.|
00000080  89 a3 83 63 9c e7 e4 17  48 56 78 d0 30 30 1a b5  |...c....HVx.00..|
00000090  a1 54 8a 77 ce 08 16 d3  0a b8 3b 52 30 d1 e1 20  |.T.w......;R0.. |
000000a0  a2 5e b9 ab db 1f 77 eb  b3 79 77 06 3d a8 2e d5  |.^....w..yw.=...|
000000b0  2c 7e d9 e7 8c 8e a2 39  5b a7 37 5a 17 44 b9 8b  |,~.....9[.7Z.D..|
000000c0  73 0f 4f 83 b2 4c df 7d  4f 53 a8 70 87 48 dc 52  |s.O..L.}OS.p.H.R|
000000d0  26 a8 c5 6c 60 c0 3d 84  50 f0 b4 00 5c 99 ff f0  |&..l`.=.P...\...|
000000e0  8f 70 23 3f 5e 00 1e 63  97 e7 bd 20 ca 06 a6 7f  |.p#?^..c... ....|
000000f0  4c c3 c0 ac 7c 15 78 6b  6c b1 aa 29 be 09 f1 28  |L...|.xkl..)...(|
00000100  21 f7 5e ef 65 b4 19 26  2e eb 1c df 7b 11 15 47  |!.^.e..&....{..G|
00000110  cb d9 a1 13 20 df 4d 1d  39 42 3d 61 40 f7 8b c7  |.... .M.9B=a@...|
00000120  80 89 f9 2b 72 14 17 d5  23 ef 9c b4 3a f1 a5 17  |...+r...#...:...|
00000130  db a8 f6 f3 0d 92 1a a7  7c 73 26 a4 2c d1 b2 de  |........|s&.,...|
00000140  8e 25 af b0 a5 bc 4e 4d  8b 28 dc cd b2 53 4b 50  |.%....NM.(...SKP|
00000150  b1 c7 ce ef bf 09 57 ab  7f 42 f7 fc 8f 5e c1 7c  |......W..B...^.||
00000160  3c 31 76 39 59 a4 11 f9  db 00 17 b1 d7 aa 43 d4  |<1v9Y.........C.|
00000170  54 f6 16 21 cb c2 ec 1a  8e 82 cc ff d9 78 4d e6  |T..!.........xM.|
00000180  fe 37 46 2b 5d dd e7 7e  e2 26 51 61 6f 39 ce 45  |.7F+]..~.&Qao9.E|
00000190  52 d6 39 aa 29 6d 75 b6  9d b6 ce a0 0f d8 3c 46  |R.9.)mu.......<F|
000001a0  ed 90 19 ab 8c f3 38 96  b3 f8 26 06 33 5c 7d 47  |......8...&.3\}G|
000001b0  cd cf 81 0a 0f 58 dd 3a  1d ab d7 df eb 38 00 fe  |.....X.:.....8..|
000001c0  ff ff 83 fe ff ff 02 00  00 00 00 50 e1 03 00 fe  |...........P....|
000001d0  ff ff 05 fe ff ff 02 50  e1 03 00 38 77 00 00 00  |.......P...8w...|
000001e0  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


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

File descriptor 8 (/proc/5429/mounts) leaked on lvscan invocation. Parent PID 14591: bash
  No volume groups found

ADDITIONAL INFORMATION :
=================== log of boot-repair 2013-04-27__17h18 ===================
boot-repair version : 3.198~ppa12~raring
boot-sav version : 3.198~ppa12~raring
glade2script version : 3.2.2~ppa45~raring
boot-sav-extra version : 3.198~ppa12~raring
boot-repair is executed in live-session (Ubuntu 13.04, raring, Ubuntu, x86_64)
CPU op-mode(s):        32-bit, 64-bit
initrd=/casper/initrd.lz file=/cdrom/preseed/ubuntu.seed boot=casper  quiet splash -- BOOT_IMAGE=/casper/vmlinuz.efi

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

=================== blkid:
/dev/loop0: TYPE="squashfs"
/dev/sda1: LABEL="RM-CM-)servM-CM-) au systM-CM-(me" UUID="428E6F678E6F5309" TYPE="ntfs"
/dev/sda2: UUID="2456729256726488" TYPE="ntfs"
/dev/sda5: UUID="ae204a05-2d9b-4d7a-bf75-59fb9ac0e180" TYPE="ext4"
/dev/sda6: UUID="62a1ceb4-d098-49ca-8b7d-a08d5e4bf11b" TYPE="swap"
/dev/sdb1: UUID="F15B-CC47" TYPE="vfat"


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

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


=================== sda5/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"




=================== sda5/etc/grub.d/ :
drwxr-xr-x  2 root root    4096 Apr 24 17:05 grub.d
total 72
-rwxr-xr-x 1 root root  7541 Apr  9 09:29 00_header
-rwxr-xr-x 1 root root  5974 Apr  9 08:53 05_debian_theme
-rwxr-xr-x 1 root root 11381 Apr  9 09:29 10_linux
-rwxr-xr-x 1 root root 10258 Apr  9 09:29 20_linux_xen
-rwxr-xr-x 1 root root  1688 Dec  5 15:32 20_memtest86+
-rwxr-xr-x 1 root root 10976 Apr  9 09:29 30_os-prober
-rwxr-xr-x 1 root root  1426 Apr  9 09:29 30_uefi-firmware
-rwxr-xr-x 1 root root   214 Apr  9 09:29 40_custom
-rwxr-xr-x 1 root root   216 Apr  9 09:29 41_custom
-rw-r--r-- 1 root root   483 Apr  9 09:29 README



=================== sda5recordfail=1/grub/grubenv :
recordfail=1



=================== UEFI/Legacy mode:
This live-session is not in EFI-mode.
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,	no-nt,	no-winload,	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.
sda2	: 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,	no-nt,	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/sda2.
sda5	: sda,	not-sepboot,	grubenv-ng	grub2,	grub-pc ,	update-grub,	64,	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,	not-far,	/mnt/boot-sav/sda5.

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


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

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

Number  Start   End     Size    Type      File system     Flags
1      1049kB  106MB   105MB   primary   ntfs            boot
2      106MB   52.7GB  52.6GB  primary   ntfs
3      52.7GB  90.1GB  37.3GB  extended
5      52.7GB  86.1GB  33.3GB  logical   ext4
6      86.1GB  90.1GB  3999MB  logical   linux-swap(v1)


Model: SanDisk Cruzer (scsi)
Disk /dev/sdb: 8000MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type     File system  Flags
1      31.7kB  7998MB  7998MB  primary  fat32        boot, lba

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

BYT;
/dev/sda:320GB:scsi:512:512:msdos:ATA TOSHIBA MK3263GS;
1:1049kB:106MB:105MB:ntfs::boot;
2:106MB:52.7GB:52.6GB:ntfs::;
3:52.7GB:90.1GB:37.3GB:::;
5:52.7GB:86.1GB:33.3GB:ext4::;
6:86.1GB:90.1GB:3999MB:linux-swap(v1)::;

BYT;
/dev/sdb:8000MB:scsi:512:512:msdos:SanDisk Cruzer;
1:31.7kB:7998MB:7998MB:fat32::boot, lba;


=================== 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/sdb1 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/loop0 on /rofs type squashfs (ro,noatime)
none on /sys/fs/cgroup type tmpfs (rw)
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)
gvfsd-fuse on /home/ubuntu/.gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev)
/dev/sda1 on /mnt/boot-sav/sda1 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda2 on /mnt/boot-sav/sda2 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda5 on /mnt/boot-sav/sda5 type ext4 (rw)


=================== ls:
/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 sda3 sda5 sda6 size slaves stat subsystem trace uevent
/sys/block/sdb (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sdb1 size slaves stat subsystem trace uevent
/dev (filtered):  agpgart alarm ashmem autofs binder block bsg btrfs-control bus char console core cpu cpu_dma_latency disk dri ecryptfs fb0 fd full fuse hpet input kmsg log mapper mcelog mem net network_latency network_throughput null oldmem port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda5 sda6 sdb sdb1 sg0 sg1 shm snapshot snd 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 00 08 00 00  |........?.......|
00000020  00 00 00 00 80 00 80 00  ff 1f 03 00 00 00 00 00  |................|
00000030  55 21 00 00 00 00 00 00  02 00 00 00 00 00 00 00  |U!..............|
00000040  f6 00 00 00 01 00 00 00  09 53 6f 8e 67 6f 8e 42  |.........So.go.B|
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/sda2
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 00 28 03 00  |........?....(..|
00000020  00 00 00 00 80 00 80 00  ff af 20 06 00 00 00 00  |.......... .....|
00000030  00 00 0c 00 00 00 00 00  02 00 00 00 00 00 00 00  |................|
00000040  f6 00 00 00 01 00 00 00  88 64 72 56 92 72 56 24  |.........drV.rV$|
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

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

Filesystem     Type       Size  Used Avail Use% Mounted on
/cow           overlayfs  1.9G  104M  1.8G   6% /
udev           devtmpfs   1.9G   12K  1.9G   1% /dev
tmpfs          tmpfs      380M  852K  379M   1% /run
/dev/sdb1      vfat       7.5G  822M  6.7G  11% /cdrom
/dev/loop0     squashfs   738M  738M     0 100% /rofs
none           tmpfs      4.0K     0  4.0K   0% /sys/fs/cgroup
tmpfs          tmpfs      1.9G  1.1M  1.9G   1% /tmp
none           tmpfs      5.0M     0  5.0M   0% /run/lock
none           tmpfs      1.9G   76K  1.9G   1% /run/shm
none           tmpfs      100M   44K  100M   1% /run/user
/dev/sda1      fuseblk    100M   25M   76M  25% /mnt/boot-sav/sda1
/dev/sda2      fuseblk     50G   30G   20G  60% /mnt/boot-sav/sda2
/dev/sda5      ext4        31G  3.0G   26G  11% /mnt/boot-sav/sda5

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

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 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: 0x9b2dfe69

Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048      206847      102400    7  HPFS/NTFS/exFAT
/dev/sda2          206848   103012351    51402752    7  HPFS/NTFS/exFAT
/dev/sda3       103014398   175925247    36455425    5  Extended
/dev/sda5       103014400   168112127    32548864   83  Linux
/dev/sda6       168114176   175925247     3905536   82  Linux swap / Solaris

Disk /dev/sdb: 8000 MB, 8000110592 bytes
247 heads, 62 sectors/track, 1020 cylinders, total 15625216 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: 0x00033870

Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *          62    15620279     7810109    c  W95 FAT32 (LBA)



=================== 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-13ubuntu3,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 /mnt/boot-sav/sda5 update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.8.0-19-generic
Found initrd image: /boot/initrd.img-3.8.0-19-generic
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 7 (loader) on /dev/sda1
Found Windows 7 (loader) on /dev/sda2
Unhide GRUB boot menu in sda5/boot/grub/grub.cfg

Boot successfully repaired.

You can now reboot your computer.

Download as text

Hors ligne

#11 Le 27/04/2013, à 18:50

Arbiel

Re : Grub trouve pas mon / : ALERT! /dev/disk/by-uuid/... does not exist

Peux-tu s'il te plait, publier le contenu de ton fichier grub.cfg que tu peux afficher avec la commande

cat /media/ubuntu/ae204a05-2d9b-4d7a-bf75-59fb9ac0e180/boot/grub/grub.cfg

ainsi que de la commande

sudo blkid

Arbiel


Arbiel Perlacremaz
LDLC Aurore NK3S-8-S4 Ubuntu 20.04
Abandon d'azerty au profit de bépo, de google au profit de Lilo et de la messagerie électronique violable au profit de Protonmail, une messagerie chiffrée de poste de travail à poste de travail.

Hors ligne

#12 Le 27/04/2013, à 19:19

Flo Rahl

Re : Grub trouve pas mon / : ALERT! /dev/disk/by-uuid/... does not exist

Voici mon 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  ae204a05-2d9b-4d7a-bf75-59fb9ac0e180
else
  search --no-floppy --fs-uuid --set=root ae204a05-2d9b-4d7a-bf75-59fb9ac0e180
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=en_US
  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
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-ae204a05-2d9b-4d7a-bf75-59fb9ac0e180' {
recordfail
	load_video
	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  ae204a05-2d9b-4d7a-bf75-59fb9ac0e180
	else
	  search --no-floppy --fs-uuid --set=root ae204a05-2d9b-4d7a-bf75-59fb9ac0e180
	fi
	linux	/boot/vmlinuz-3.8.0-19-generic root=UUID=ae204a05-2d9b-4d7a-bf75-59fb9ac0e180 ro   quiet splash $vt_handoff
	initrd	/boot/initrd.img-3.8.0-19-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-ae204a05-2d9b-4d7a-bf75-59fb9ac0e180' {
	menuentry 'Ubuntu, with Linux 3.8.0-19-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.8.0-19-generic-advanced-ae204a05-2d9b-4d7a-bf75-59fb9ac0e180' {
	recordfail
		load_video
		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  ae204a05-2d9b-4d7a-bf75-59fb9ac0e180
		else
		  search --no-floppy --fs-uuid --set=root ae204a05-2d9b-4d7a-bf75-59fb9ac0e180
		fi
		echo	'Loading Linux 3.8.0-19-generic ...'
		linux	/boot/vmlinuz-3.8.0-19-generic root=UUID=ae204a05-2d9b-4d7a-bf75-59fb9ac0e180 ro   quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.8.0-19-generic
	}
	menuentry 'Ubuntu, with Linux 3.8.0-19-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.8.0-19-generic-recovery-ae204a05-2d9b-4d7a-bf75-59fb9ac0e180' {
	recordfail
		load_video
		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  ae204a05-2d9b-4d7a-bf75-59fb9ac0e180
		else
		  search --no-floppy --fs-uuid --set=root ae204a05-2d9b-4d7a-bf75-59fb9ac0e180
		fi
		echo	'Loading Linux 3.8.0-19-generic ...'
		linux	/boot/vmlinuz-3.8.0-19-generic root=UUID=ae204a05-2d9b-4d7a-bf75-59fb9ac0e180 ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.8.0-19-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  ae204a05-2d9b-4d7a-bf75-59fb9ac0e180
	else
	  search --no-floppy --fs-uuid --set=root ae204a05-2d9b-4d7a-bf75-59fb9ac0e180
	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  ae204a05-2d9b-4d7a-bf75-59fb9ac0e180
	else
	  search --no-floppy --fs-uuid --set=root ae204a05-2d9b-4d7a-bf75-59fb9ac0e180
	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-428E6F678E6F5309' {
	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  428E6F678E6F5309
	else
	  search --no-floppy --fs-uuid --set=root 428E6F678E6F5309
	fi
	chainloader +1
}
menuentry 'Windows 7 (loader) (on /dev/sda2)' --class windows --class os $menuentry_id_option 'osprober-chain-2456729256726488' {
	insmod part_msdos
	insmod ntfs
	set root='hd0,msdos2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  2456729256726488
	else
	  search --no-floppy --fs-uuid --set=root 2456729256726488
	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 ###

Et mon sudo blkid :

/dev/loop0: TYPE="squashfs" 
/dev/sda1: LABEL="RM-CM-)servM-CM-) au systM-CM-(me" UUID="428E6F678E6F5309" TYPE="ntfs" 
/dev/sda2: UUID="2456729256726488" TYPE="ntfs" 
/dev/sda5: UUID="ae204a05-2d9b-4d7a-bf75-59fb9ac0e180" TYPE="ext4" 
/dev/sda6: UUID="62a1ceb4-d098-49ca-8b7d-a08d5e4bf11b" TYPE="swap" 
/dev/sdb1: UUID="F15B-CC47" TYPE="vfat"

Hors ligne

#13 Le 27/04/2013, à 19:42

Arbiel

Re : Grub trouve pas mon / : ALERT! /dev/disk/by-uuid/... does not exist

Quand tu as fait ton installation, où as-tu demandé l'enregistrement de grub ?

Il faut vérifier que c'est bien ce fichier qui est utilisé par grub au démarrage. Pour ce faire, tu vas introduire une ligne en début du fichier, redémarrer ta machine et dire si tu vois apparaître le message "fichier suspect" pendant quelques secondes (4)

Introduis au tout début du fichier, devant les premières du commentaire qui dit justement de ne pas modifier le fichier, la ligne ci-dessous

 echo "fichier suspect" ; sleep 4

et redémarre.


Arbiel Perlacremaz
LDLC Aurore NK3S-8-S4 Ubuntu 20.04
Abandon d'azerty au profit de bépo, de google au profit de Lilo et de la messagerie électronique violable au profit de Protonmail, une messagerie chiffrée de poste de travail à poste de travail.

Hors ligne

#14 Le 27/04/2013, à 19:51

Flo Rahl

Re : Grub trouve pas mon / : ALERT! /dev/disk/by-uuid/... does not exist

Ah ah, il m'a affiché "fichier suspect" !

Et puis il a bloquééééé mad
Enfin, comme d'hab quoi, il trouve pas la partition...
Et j'avais installé mon grub sur sda...

Merci Arbiel pour ton aide, je maîtrise plus rien là...

Dernière modification par Flo Rahl (Le 27/04/2013, à 19:55)

Hors ligne

#15 Le 27/04/2013, à 20:26

Arbiel

Re : Grub trouve pas mon / : ALERT! /dev/disk/by-uuid/... does not exist

Cela m'embête bien !! Tu peux supprimer la ligne que je t'ai fait ajouter. Elle a prouvé que tu passes bien dans le fichier que tu as publié.

J'essaie d'alerter quelqu'un de plus expérimenté que moi pour qu'il te vienne en aide.

Arbiel


Arbiel Perlacremaz
LDLC Aurore NK3S-8-S4 Ubuntu 20.04
Abandon d'azerty au profit de bépo, de google au profit de Lilo et de la messagerie électronique violable au profit de Protonmail, une messagerie chiffrée de poste de travail à poste de travail.

Hors ligne

#16 Le 27/04/2013, à 20:39

Flo Rahl

Re : Grub trouve pas mon / : ALERT! /dev/disk/by-uuid/... does not exist

Ok, j'ai supprimé la ligne.

Merci beaucoup pour ton aide Arbiel. smile

Hors ligne

#17 Le 27/04/2013, à 21:21

antony21

Re : Grub trouve pas mon / : ALERT! /dev/disk/by-uuid/... does not exist

whoies a écrit :

salut

J'ai effacé toutes mes partitions hors Windows 7, puis installé Ubuntu et ça ne marche toujours pas

tu as quoi maintenant comme symptôme ?
lorsque tu arrives dans le grub, tu sélectionnes et il se passe quoi ?

menuentry 'Ubuntu, with Linux 3.8.0-19-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.8.0-19-generic-advanced-ae204a05-2d9b-4d7a-bf75-59fb9ac0e180' {
    recordfail
        load_video
        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  ae204a05-2d9b-4d7a-bf75-59fb9ac0e180
        else

          search --no-floppy --fs-uuid --set=root ae204a05-2d9b-4d7a-bf75-59fb9ac0e180
        fi
        echo    'Loading Linux 3.8.0-19-generic ...'
        linux    /boot/vmlinuz-3.8.0-19-generic root=UUID=ae204a05-2d9b-4d7a-bf75-59fb9ac0e180 ro   quiet splash $vt_handoff
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-3.8.0-19-generic
    }

fais un sauvegarde de ce fichier et :
tout ce qui en gras ci-dessus, tu le vires

Hello,

je ne suis pas un spécialiste mais n'y aura -t-il pas un problème avec le "fi" tout seul sans l'instruction "if" de départ que tu as mise en gras?

Hors ligne

#18 Le 27/04/2013, à 21:53

Flo Rahl

Re : Grub trouve pas mon / : ALERT! /dev/disk/by-uuid/... does not exist

Alors j'ai essayé de virer les lignes indiquées, et ça ne change rien.

Au démarrage, Grub se lance normalement, je sélectionne l'entrée Ubuntu, et ensuite un curseur clignote en haut à gauche pendant une quinzaine de secondes, avant de mon montrer le message désormais bien connu ; "Gave up waiting for boot... Alert! /dev/disk/by-uuid/... does not exist".

Je note par ailleurs le fait que malgré ma suppression de la partition étendue (Ubuntu + données), j'ai encore eu le problème de dépassement de disque dur lors de l'installation d'Ubuntu (Can't have a partition outside the disk!)

Dernière modification par Flo Rahl (Le 27/04/2013, à 22:09)

Hors ligne

#19 Le 27/04/2013, à 23:17

Flo Rahl

Re : Grub trouve pas mon / : ALERT! /dev/disk/by-uuid/... does not exist

En fait, j'ai réussi à faire coïncider l'UUID cherché par Grub avec l'UUID de ma partition système, mais il semble ne pas la voir.
Avec mon live USB, j'arrive à monter toutes mes partitions.

Par contre, je pense que la racine du problème se situe au niveau de ma table de partition, car dès que j'installe Ubuntu (12.10 ou 13.04), j'ai un message "Can't have a partition outside the disk!". Je pense donc qu'il doit y avoir un souci dans mon MBR, mais je sais pas trop où.

Hors ligne

#20 Le 28/04/2013, à 07:50

Compte anonymisé

Re : Grub trouve pas mon / : ALERT! /dev/disk/by-uuid/... does not exist

Salut

Peux-tu donner le résultat de la commande suivante (depuis le terminal) :
sudo  fdisk  -lu=cylinders

@+

Dernière modification par Compte anonymisé (Le 28/04/2013, à 07:56)

#21 Le 28/04/2013, à 14:14

Flo Rahl

Re : Grub trouve pas mon / : ALERT! /dev/disk/by-uuid/... does not exist

Bonjour !

Voici le résultat de la commande sudo  fdisk  -lu=cylinders :

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x9b2dfe69

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      102400    7  HPFS/NTFS/exFAT
/dev/sda2              13        6413    51402752    7  HPFS/NTFS/exFAT
/dev/sda3            6413       10951    36455425    5  Extended
/dev/sda4           10951       38914   224608256    b  W95 FAT32
/dev/sda5            6413       10465    32548864   83  Linux
/dev/sda6           10465       10951     3905536   82  Linux swap / Solaris

Disk /dev/sdb: 8000 MB, 8000110592 bytes
247 heads, 62 sectors/track, 1020 cylinders
Units = cylinders of 15314 * 512 = 7840768 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00033870

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1        1020     7810109    c  W95 FAT32 (LBA)

Whois, j'ai fait une analyse md5 de mon image, et j'ai même tenté sur une version de 12.10 avec md5 correct. Par contre j'ai mis ces images sur une clé USB via unetbootin sous ubuntu et non le créateur de disque de démarrage usb, car celui-ci me faisait des misères...

Mon modèle d'ordi est Toshiba Satellite T130-11U...

Quand je désactive le AHCI dans le BIOS, Ubuntu démarre ! Par contre il est très lent, la résolution de l'écran fait n'importe quoi, la souris ne marche pas...

Dernière modification par Flo Rahl (Le 28/04/2013, à 14:24)

Hors ligne

#22 Le 28/04/2013, à 14:58

Flo Rahl

Re : Grub trouve pas mon / : ALERT! /dev/disk/by-uuid/... does not exist

Il y a un truc qui m'échappe, mon ordi a toujours été en AHCI, avec Ubuntu depuis 2 ans, et à chaque nouvelle version ça fonctionnait. Maintenant ça pose problème avec Raring, et quand je prends une version plus ancienne, ça coince à présent également... Le problème doit se trouver ailleurs, non ? Cette histoire de partition qui dépasse du disque ?

Hors ligne

#23 Le 28/04/2013, à 15:23

Flo Rahl

Re : Grub trouve pas mon / : ALERT! /dev/disk/by-uuid/... does not exist

Est-ce que je dois envisager de tout formater, y compris W7 ?

Hors ligne

#24 Le 28/04/2013, à 15:36

Compte anonymisé

Re : Grub trouve pas mon / : ALERT! /dev/disk/by-uuid/... does not exist

Salut

Dans le bios comment est reconnu ton disque dur ? As-tu une option de reconnaissance auto ?
Sinon tu peux tenter avec la commande fdisk de réécrire la table des partition :
sudo  fdisk  /dev/sda et là tu tapes w comme write.
Attention si tu as des données importantes, penses à les sauvegarder avant.

@+

#25 Le 28/04/2013, à 16:27

Flo Rahl

Re : Grub trouve pas mon / : ALERT! /dev/disk/by-uuid/... does not exist

Avant de lire ton post, j'ai réinstallé Ubuntu 13.04 mais depuis une clé USB créée par le "créateur de disque usb" d'Ubuntu et non par Unetbootin. Et aussi bizarre que cela-t-il paraisse, je peux alors lancer Ubuntu... Par contre, le chargement dure très longtemps, et il n'arrive pas à activer le réseau... Je me retrouve donc sans connexion réseau, que ce soit avec ou sans fil...

Je ne sais plus quoi faire, chaque problème semble en cacher un autre...

Dernière modification par Flo Rahl (Le 28/04/2013, à 17:10)

Hors ligne