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 29/10/2011, à 17:52

azdep

[DEPLACE dans AUTRE]GRUB2 : pb depuis dist-upgrade de Maverick (10.10)

Bonjour à tous et merci de lire mon message,

J'ai  une machine avec
- un raid logiciel md0 pour /boot
- un raid logiciel md1
- un raid logiciel md2

md1 et md2 forment un groupe de volume VG0

dans vg0 il y a LV0 pour / et LV1 pour des datas.

L'installation avait été faite avec le cd alternate. Tout ce passait bien jusqu'a la semaine dernière.

La machine n'ayant pas été connectée à internet depuis plusieurs mois la semaine dernière comme je devais intervenir sur la machine je l'ai connectée au réseau. Ensuite j'en ai profité pour faire un apt-get dist-upgrade. A un moment un message est apparu m'indiquant la mise à jour de grub, et me demandant de cocher les disques sur lesquels je voulais installer grub. J'ai coché sda et  sdb c'est à dire le même disques que l'installation d'origine.
La mise à jour terminée je reboot la machine et la.......ALERT! /dev/mapper/vg0-lv0 does not exist    et je me retrouve dans la Busybox.

Depuis un livecd je peux monter les LV donc rien de cassé de ce coté. J'ai essayé après avoir chroot'er', update-grub + grub-install sur (sda+sdb) c'est toujours pareil.
J'ai essayé depuis la ligne de commande grub de charger les modules raid et lvm puis de lancer le boot, je tombe sur le même écran.
En gros j'y ai passé une dizaine d'heure et je ne progresse pas.

Je joins mon rapport http://paste.ubuntu.com/722375/ généré par boot-repair si qqn veut bien y jeter un coup d'oeil et m'expliquer ce qui ne va pas d'une part, et comment j'en suis arrivé la d'autre part parce que j'ai deux autres machines à faire.

Merci à tous ceux qui auront pris le temps de lire jusqu'ici !

Ubuntu Pastebin
Paste from boot-repair at Sat, 29 Oct 2011 16:21:10 +0530
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

    

                  Boot Info Script 0.60    from 17 May 2011


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

 => Grub2 (v1.97-1.98) 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 for (md0)/grub on this drive.

sda1: __________________________________________________________________________

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

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

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

sda5: __________________________________________________________________________

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

sda6: __________________________________________________________________________

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

vg0-lv0': ______________________________________________________________________

    File system:       
    Boot sector type:  Unknown
    Boot sector info:  
    Mounting failed:   mount: unknown filesystem type ''

vg0-lv1': ______________________________________________________________________

    File system:       
    Boot sector type:  Unknown
    Boot sector info:  
    Mounting failed:   mount: unknown filesystem type ''
mount: unknown filesystem type ''

md0: ___________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info:  
    Operating System:  
    Boot files:        /grub/grub.cfg /grub/core.img /boot/grub/core.img

md2: ___________________________________________________________________________

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

md1: ___________________________________________________________________________

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

============================ 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 Sector    End Sector  # of Sectors  Id System

/dev/sda1    *          2,048     3,905,535     3,903,488  fd Linux raid autodetect
/dev/sda2           3,905,536    23,437,311    19,531,776  82 Linux swap / Solaris
/dev/sda3          23,439,358   976,671,675   953,232,318   5 Extended
/dev/sda5          23,439,360   121,094,143    97,654,784  fd Linux raid autodetect
/dev/sda6         121,094,207   959,964,074   838,869,868  fd Linux raid autodetect


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/mapper/vg0-lv0 e3917119-5803-4858-9801-f0c277cd0490   ext4       
/dev/mapper/vg0-lv1 3fb82a32-c4ba-4524-b0c9-c595831e1d7c   ext4       
/dev/md0         71a98c7c-759d-4ad3-b6f0-bb4dcec0cd82   ext4       
/dev/md1         YBlWZz-BoK8-gT6T-AQLf-ldrt-JlMl-jvZj9y LVM2_member 
/dev/md2         ybY3MK-CUPR-nYSd-UtCL-Dcju-WxkF-xHOlC6 LVM2_member 
/dev/sda1        0ca62146-0cc8-10cd-67e3-431414844a09   linux_raid_member 
/dev/sda2        1ab3da2e-dd26-4b6a-856c-9f6ddd18c3ef   swap       Nouveau volume
/dev/sda5        8d85ce71-40fe-42a1-21f6-c035c95e3c81   linux_raid_member 
/dev/sda6        c8dc950f-022c-9f4d-7c40-c9ffdd92f8d0   linux_raid_member 

========================= "ls -R /dev/mapper/" output: =========================

/dev/mapper:
control
vg0-lv0
vg0-lv1

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

Device           Mount_Point              Type       Options

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


============================== md0/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 ###
insmod raid
insmod mdraid
insmod lvm
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
}

terminal_input console
terminal_output console
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-30-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod raid
    insmod mdraid
    insmod part_msdos
    insmod ext2
    set root='(md0)'
    search --no-floppy --fs-uuid --set 71a98c7c-759d-4ad3-b6f0-bb4dcec0cd82
    linux    /vmlinuz-2.6.35-30-generic root=/dev/mapper/vg0-lv0 ro   quiet
    initrd    /initrd.img-2.6.35-30-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-30-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod raid
    insmod mdraid
    insmod part_msdos
    insmod ext2
    set root='(md0)'
    search --no-floppy --fs-uuid --set 71a98c7c-759d-4ad3-b6f0-bb4dcec0cd82
    echo    'Loading Linux 2.6.35-30-generic ...'
    linux    /vmlinuz-2.6.35-30-generic root=/dev/mapper/vg0-lv0 ro single 
    echo    'Loading initial ramdisk ...'
    initrd    /initrd.img-2.6.35-30-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-28-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod raid
    insmod mdraid
    insmod part_msdos
    insmod ext2
    set root='(md0)'
    search --no-floppy --fs-uuid --set 71a98c7c-759d-4ad3-b6f0-bb4dcec0cd82
    linux    /vmlinuz-2.6.35-28-generic root=/dev/mapper/vg0-lv0 ro   quiet
    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 raid
    insmod mdraid
    insmod part_msdos
    insmod ext2
    set root='(md0)'
    search --no-floppy --fs-uuid --set 71a98c7c-759d-4ad3-b6f0-bb4dcec0cd82
    echo    'Loading Linux 2.6.35-28-generic ...'
    linux    /vmlinuz-2.6.35-28-generic root=/dev/mapper/vg0-lv0 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 raid
    insmod mdraid
    insmod part_msdos
    insmod ext2
    set root='(md0)'
    search --no-floppy --fs-uuid --set 71a98c7c-759d-4ad3-b6f0-bb4dcec0cd82
    linux    /vmlinuz-2.6.35-22-generic root=/dev/mapper/vg0-lv0 ro   quiet
    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 raid
    insmod mdraid
    insmod part_msdos
    insmod ext2
    set root='(md0)'
    search --no-floppy --fs-uuid --set 71a98c7c-759d-4ad3-b6f0-bb4dcec0cd82
    echo    'Loading Linux 2.6.35-22-generic ...'
    linux    /vmlinuz-2.6.35-22-generic root=/dev/mapper/vg0-lv0 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 raid
    insmod mdraid
    insmod part_msdos
    insmod ext2
    set root='(md0)'
    search --no-floppy --fs-uuid --set 71a98c7c-759d-4ad3-b6f0-bb4dcec0cd82
    linux16    /memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
    insmod raid
    insmod mdraid
    insmod part_msdos
    insmod ext2
    set root='(md0)'
    search --no-floppy --fs-uuid --set 71a98c7c-759d-4ad3-b6f0-bb4dcec0cd82
    linux16    /memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
if [ "x${timeout}" != "x-1" ]; then
  if sleep --verbose --interruptible 20 ; then
    set timeout=0
  fi
fi
### 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 ###
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

   0.137413025 = 0.147546112    boot/grub/core.img                             1
   0.125648499 = 0.134914048    grub/core.img                                  1
   0.166030884 = 0.178274304    grub/grub.cfg                                  1
   0.253482819 = 0.272175104    initrd.img-2.6.35-22-generic                   2
   0.276008606 = 0.296361984    initrd.img-2.6.35-28-generic                   2
   0.279499054 = 0.300109824    initrd.img-2.6.35-30-generic                   2
   0.175914764 = 0.188887040    vmlinuz-2.6.35-22-generic                      1
   0.268466949 = 0.288264192    vmlinuz-2.6.35-28-generic                      1
   0.272518158 = 0.292614144    vmlinuz-2.6.35-30-generic                      1

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

Unknown BootLoader on vg0-lv0'


Unknown BootLoader on vg0-lv1'



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

File descriptor 8 (pipe:[34897]) leaked on lvscan invocation. Parent PID 20761: bash
File descriptor 9 (pipe:[34897]) leaked on lvscan invocation. Parent PID 20761: bash
File descriptor 62 (pipe:[61112]) leaked on lvscan invocation. Parent PID 20761: bash
File descriptor 63 (pipe:[52846]) leaked on lvscan invocation. Parent PID 20761: bash
File descriptor 8 (pipe:[34897]) leaked on lvdisplay invocation. Parent PID 20764: bash
File descriptor 9 (pipe:[34897]) leaked on lvdisplay invocation. Parent PID 20764: bash
File descriptor 62 (pipe:[61112]) leaked on lvdisplay invocation. Parent PID 20764: bash
File descriptor 63 (pipe:[52846]) leaked on lvdisplay invocation. Parent PID 20764: bash
  One or more specified logical volume(s) not found.
File descriptor 8 (pipe:[34897]) leaked on lvdisplay invocation. Parent PID 20767: bash
File descriptor 9 (pipe:[34897]) leaked on lvdisplay invocation. Parent PID 20767: bash
File descriptor 62 (pipe:[61112]) leaked on lvdisplay invocation. Parent PID 20767: bash
File descriptor 63 (pipe:[52846]) leaked on lvdisplay invocation. Parent PID 20767: bash
  One or more specified logical volume(s) not found.
File descriptor 8 (pipe:[34897]) leaked on lvchange invocation. Parent PID 20393: bash
File descriptor 9 (pipe:[34897]) leaked on lvchange invocation. Parent PID 20393: bash
File descriptor 62 (pipe:[61112]) leaked on lvchange invocation. Parent PID 20393: bash
File descriptor 63 (pipe:[52846]) leaked on lvchange invocation. Parent PID 20393: bash
  One or more specified logical volume(s) not found.
hexdump: /dev/mapper/vg0-lv0': No such file or directory
hexdump: /dev/mapper/vg0-lv0': No such file or directory
File descriptor 8 (pipe:[34897]) leaked on lvdisplay invocation. Parent PID 20794: bash
File descriptor 9 (pipe:[34897]) leaked on lvdisplay invocation. Parent PID 20794: bash
File descriptor 62 (pipe:[61112]) leaked on lvdisplay invocation. Parent PID 20794: bash
File descriptor 63 (pipe:[52846]) leaked on lvdisplay invocation. Parent PID 20794: bash
  One or more specified logical volume(s) not found.
File descriptor 8 (pipe:[34897]) leaked on lvdisplay invocation. Parent PID 20797: bash
File descriptor 9 (pipe:[34897]) leaked on lvdisplay invocation. Parent PID 20797: bash
File descriptor 62 (pipe:[61112]) leaked on lvdisplay invocation. Parent PID 20797: bash
File descriptor 63 (pipe:[52846]) leaked on lvdisplay invocation. Parent PID 20797: bash
  One or more specified logical volume(s) not found.
File descriptor 8 (pipe:[34897]) leaked on lvchange invocation. Parent PID 20393: bash
File descriptor 9 (pipe:[34897]) leaked on lvchange invocation. Parent PID 20393: bash
File descriptor 62 (pipe:[61112]) leaked on lvchange invocation. Parent PID 20393: bash
File descriptor 63 (pipe:[52846]) leaked on lvchange invocation. Parent PID 20393: bash
  One or more specified logical volume(s) not found.
hexdump: /dev/mapper/vg0-lv1': No such file or directory
hexdump: /dev/mapper/vg0-lv1': No such file or directory

ADDITIONAL INFORMATION :
**************** log of boot-repair 2011-10-29__15h19 ****************
boot-repair version : 3-0ppa15~maverick
clean-ubiquity-common version : 3-0ppa8~maverick
internet: connected
boot-repair-common version : 3.0-0ppa22~maverick
/usr/share/clean/cleancommon-gui.sh: line 142:  5905 Terminated              while true; do
done
W: Impossible de récupérer http://ppa.launchpad.net/yanubuntu/boot-repair/ubuntu/dists/maverick/main/source/Sources.gz  404  Not Found

W: Impossible de récupérer http://ppa.launchpad.net/yanubuntu/boot-repair/ubuntu/dists/maverick/main/binary-amd64/Packages.gz  404  Not Found

E: Le téléchargement de quelques fichiers d'index a échoué, ils ont été ignorés, ou les anciens ont été utilisés à la place.
Restore the original repositories in /etc/apt/sources.list
LVBKID /dev/loop0: TYPE="squashfs"
/dev/sda1: UUID="0ca62146-0cc8-10cd-67e3-431414844a09" TYPE="linux_raid_member"
/dev/sda2: LABEL="Nouveau volume" UUID="1ab3da2e-dd26-4b6a-856c-9f6ddd18c3ef" TYPE="swap"
/dev/sda5: UUID="8d85ce71-40fe-42a1-21f6-c035c95e3c81" TYPE="linux_raid_member"
/dev/sda6: UUID="c8dc950f-022c-9f4d-7c40-c9ffdd92f8d0" TYPE="linux_raid_member"
/dev/md0: UUID="71a98c7c-759d-4ad3-b6f0-bb4dcec0cd82" TYPE="ext4"
/dev/md2: UUID="ybY3MK-CUPR-nYSd-UtCL-Dcju-WxkF-xHOlC6" TYPE="LVM2_member"
/dev/md1: UUID="YBlWZz-BoK8-gT6T-AQLf-ldrt-JlMl-jvZj9y" TYPE="LVM2_member"
/dev/mapper/vg0-lv0: UUID="e3917119-5803-4858-9801-f0c277cd0490" TYPE="ext4"
/dev/mapper/vg0-lv1: UUID="3fb82a32-c4ba-4524-b0c9-c595831e1d7c" TYPE="ext4"
MODPROBE
VGSCAN
File descriptor 8 (pipe:[34897]) leaked on vgscan invocation. Parent PID 5881: /bin/bash
File descriptor 9 (pipe:[34897]) leaked on vgscan invocation. Parent PID 5881: /bin/bash
Reading all physical volumes.  This may take a while...
Found volume group "vg0" using metadata type lvm2
VGCHANGE
File descriptor 8 (pipe:[34897]) leaked on vgchange invocation. Parent PID 5881: /bin/bash
File descriptor 9 (pipe:[34897]) leaked on vgchange invocation. Parent PID 5881: /bin/bash
2 logical volume(s) in volume group "vg0" now active
File descriptor 8 (pipe:[34897]) leaked on lvscan invocation. Parent PID 5881: /bin/bash
File descriptor 9 (pipe:[34897]) leaked on lvscan invocation. Parent PID 5881: /bin/bash
LVSCAN:   ACTIVE            '/dev/vg0/lv0' [56.56 GiB] inherit
ACTIVE            '/dev/vg0/lv1' [200.00 GiB] inherit
RAIDBKID /dev/loop0: TYPE="squashfs"
/dev/sda1: UUID="0ca62146-0cc8-10cd-67e3-431414844a09" TYPE="linux_raid_member"
/dev/sda2: LABEL="Nouveau volume" UUID="1ab3da2e-dd26-4b6a-856c-9f6ddd18c3ef" TYPE="swap"
/dev/sda5: UUID="8d85ce71-40fe-42a1-21f6-c035c95e3c81" TYPE="linux_raid_member"
/dev/sda6: UUID="c8dc950f-022c-9f4d-7c40-c9ffdd92f8d0" TYPE="linux_raid_member"
/dev/md0: UUID="71a98c7c-759d-4ad3-b6f0-bb4dcec0cd82" TYPE="ext4"
/dev/md2: UUID="ybY3MK-CUPR-nYSd-UtCL-Dcju-WxkF-xHOlC6" TYPE="LVM2_member"
/dev/md1: UUID="YBlWZz-BoK8-gT6T-AQLf-ldrt-JlMl-jvZj9y" TYPE="LVM2_member"
/dev/mapper/vg0-lv0: UUID="e3917119-5803-4858-9801-f0c277cd0490" TYPE="ext4"
/dev/mapper/vg0-lv1: UUID="3fb82a32-c4ba-4524-b0c9-c595831e1d7c" TYPE="ext4"
/usr/share/clean/cleancommon-gui.sh: line 205:  6451 Terminated              while true; do
done
/usr/share/clean/cleancommon-gui.sh: line 205:  7614 Terminated              while true; do
done
/usr/share/clean/cleancommon-gui.sh: line 205:  7622 Terminated              while true; do
done
LIVESESSION is : yes
md2 is LVM2_member
md1 is LVM2_member
LVLINE ACTIVE            '/dev/vg0/lv0' [56.56 GiB] inherit
LVLINE ACTIVE            '/dev/vg0/lv1' [200.00 GiB] inherit
mount: unknown filesystem type 'linux_raid_member'
mount: unknown filesystem type 'linux_raid_member'
mount: unknown filesystem type 'linux_raid_member'
BYTES_BEFORE_PART[1] (sda) = 2048 sectors * 512 bytes = 1048576 bytes.
OSPROBER: /dev/mapper/vg0-lv0:Ubuntu 10.10 (10.10):Ubuntu:linux
BLKID: /dev/loop0: TYPE="squashfs"
/dev/sda1: UUID="0ca62146-0cc8-10cd-67e3-431414844a09" TYPE="linux_raid_member"
/dev/sda2: LABEL="Nouveau volume" UUID="1ab3da2e-dd26-4b6a-856c-9f6ddd18c3ef" TYPE="swap"
/dev/sda5: UUID="8d85ce71-40fe-42a1-21f6-c035c95e3c81" TYPE="linux_raid_member"
/dev/sda6: UUID="c8dc950f-022c-9f4d-7c40-c9ffdd92f8d0" TYPE="linux_raid_member"
/dev/md0: UUID="71a98c7c-759d-4ad3-b6f0-bb4dcec0cd82" TYPE="ext4"
/dev/md2: UUID="ybY3MK-CUPR-nYSd-UtCL-Dcju-WxkF-xHOlC6" TYPE="LVM2_member"
/dev/md1: UUID="YBlWZz-BoK8-gT6T-AQLf-ldrt-JlMl-jvZj9y" TYPE="LVM2_member"
/dev/mapper/vg0-lv0: UUID="e3917119-5803-4858-9801-f0c277cd0490" TYPE="ext4"
/dev/mapper/vg0-lv1: UUID="3fb82a32-c4ba-4524-b0c9-c595831e1d7c" TYPE="ext4"
ls: cannot access /dev/mapper/vg: No such file or directory
ls: cannot access /dev/mapper/vg0: No such file or directory
ls: cannot access /dev/mapper/vg0: No such file or directory
mapper/vg0-lv0 contains Ubuntu 10.10 (linux)
1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
mount: unknown filesystem type 'linux_raid_member'
mount: unknown filesystem type 'linux_raid_member'
mount: unknown filesystem type 'linux_raid_member'
Total of 1 OS detected on mapper disk.
dir: cannot access /tmp/clean/2011-10-29__15h19boot-repair52/mapper: No such file or directory
dir: cannot access /tmp/clean/2011-10-29__15h19boot-repair52/mapper: No such file or directory
Disk /dev/md0 doesn't contain a valid partition table
Disk /dev/md2 doesn't contain a valid partition table
Disk /dev/md1 doesn't contain a valid partition table
Disk /dev/dm-0 doesn't contain a valid partition table
Disk /dev/dm-1 doesn't contain a valid partition table
FDISK
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
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0009f8c8

Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048     3905535     1951744   fd  Linux raid autodetect
Partition 1 does not end on cylinder boundary.
/dev/sda2         3905536    23437311     9765888   82  Linux swap / Solaris
/dev/sda3        23439358   976671675   476616159    5  Extended
/dev/sda5        23439360   121094143    48827392   fd  Linux raid autodetect
/dev/sda6       121094207   959964074   419434934   fd  Linux raid autodetect

Disk /dev/md0: 1998 MB, 1998520320 bytes
2 heads, 4 sectors/track, 487920 cylinders, total 3903360 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: 0x00000000


Disk /dev/md2: 429.5 GB, 429501251584 bytes
2 heads, 4 sectors/track, 104858704 cylinders, total 838869632 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: 0x00000000


Disk /dev/md1: 50.0 GB, 49999183872 bytes
2 heads, 4 sectors/track, 12206832 cylinders, total 97654656 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: 0x00000000


Disk /dev/dm-0: 60.7 GB, 60733521920 bytes
255 heads, 63 sectors/track, 7383 cylinders, total 118620160 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: 0x00000000


Disk /dev/dm-1: 214.7 GB, 214748364800 bytes
255 heads, 63 sectors/track, 26108 cylinders, total 419430400 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: 0x00000000

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
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0009f8c8

Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048     3905535     1951744   fd  Linux raid autodetect
Partition 1 does not end on cylinder boundary.
/dev/sda2         3905536    23437311     9765888   82  Linux swap / Solaris
/dev/sda3        23439358   976671675   476616159    5  Extended
/dev/sda5        23439360   121094143    48827392   fd  Linux raid autodetect
/dev/sda6       121094207   959964074   419434934   fd  Linux raid autodetect

Disk /dev/md0: 1998 MB, 1998520320 bytes
2 heads, 4 sectors/track, 487920 cylinders, total 3903360 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: 0x00000000


Disk /dev/md2: 429.5 GB, 429501251584 bytes
2 heads, 4 sectors/track, 104858704 cylinders, total 838869632 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: 0x00000000


Disk /dev/md1: 50.0 GB, 49999183872 bytes
2 heads, 4 sectors/track, 12206832 cylinders, total 97654656 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: 0x00000000


Disk /dev/dm-0: 60.7 GB, 60733521920 bytes
255 heads, 63 sectors/track, 7383 cylinders, total 118620160 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: 0x00000000


Disk /dev/dm-1: 214.7 GB, 214748364800 bytes
255 heads, 63 sectors/track, 26108 cylinders, total 419430400 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: 0x00000000
sda1 : sda, is-maybe-sepboot, no-grub, no-aptget, 32, no boot, /mnt/clean/sda1, no-os, no-gpt, no-fstab.
sda5 : sda, is-maybe-sepboot, no-grub, no-aptget, 32, no boot, /mnt/clean/sda5, no-os, no-gpt, no-fstab.
sda6 : sda, is-maybe-sepboot, no-grub, no-aptget, 32, no boot, /mnt/clean/sda6, no-os, no-gpt, no-fstab.
md0 : sda, is-sepboot, no-grub, no-aptget, 32, no boot, /mnt/clean/md0, no-os, no-gpt, no-fstab.
PARTED: Model: ATA WDC WD5000AAKS-0 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type      File system     Flags
1      1049kB  2000MB  1999MB  primary   ext4            boot, raid
2      2000MB  12.0GB  10.0GB  primary   linux-swap(v1)
3      12.0GB  500GB   488GB   extended
5      12.0GB  62.0GB  50.0GB  logical                   raid
6      62.0GB  492GB   430GB   logical                   raid


Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/vg0-lv1: 215GB
Sector size (logical/physical): 512B/512B
Partition Table: loop

Number  Start  End    Size   File system  Flags
1      0.00B  215GB  215GB  ext4


Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/vg0-lv0: 60.7GB
Sector size (logical/physical): 512B/512B
Partition Table: loop

Number  Start  End     Size    File system  Flags
1      0.00B  60.7GB  60.7GB  ext4



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

                                                                          
Error: /dev/sr0: unrecognised disk label

Model: Linux Software RAID Array (md)
Disk /dev/md0: 1999MB
Sector size (logical/physical): 512B/512B
Partition Table: loop

Number  Start  End     Size    File system  Flags
1      0.00B  1999MB  1999MB  ext4



                                                                          
Error: /dev/md2: unrecognised disk label


                                                                          
Error: /dev/md1: unrecognised disk label
MOUNT aufs on / type aufs (rw)
none on /proc type proc (rw,noexec,nosuid,nodev)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
/dev/sr0 on /cdrom type iso9660 (ro,noatime)
/dev/loop0 on /rofs type squashfs (ro,noatime)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/ubuntu/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=ubuntu)
/dev/md0 on /mnt/clean/md0 type ext4 (rw)
/sys/block/dm-0:  alignment_offset bdi capability dev discard_alignment dm ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/dm-1:  alignment_offset bdi capability dev discard_alignment dm ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/md0:  alignment_offset bdi capability dev discard_alignment ext_range holders inflight md power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/md1:  alignment_offset bdi capability dev discard_alignment ext_range holders inflight md power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/md2:  alignment_offset bdi capability dev discard_alignment ext_range holders inflight md power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sda:  alignment_offset bdi capability dev device discard_alignment ext_range holders inflight power queue range removable ro sda1 sda2 sda3 sda5 sda6 size slaves stat subsystem trace uevent
/sys/block/sr0:  alignment_offset bdi capability dev device discard_alignment ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/dev:  autofs block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency disk dm-0 dm-1 dri dvd dvdrw ecryptfs fb0 fd full fuse fw0 hidraw0 hidraw1 hidraw2 hpet input kmsg log mapper mcelog md0 md1 md2 mem net network_latency network_throughput null oldmem pktcdvd port ppp psaux ptmx pts random rfkill rtc rtc0 scd0 sda sda1 sda2 sda3 sda5 sda6 sg0 sg1 shm snapshot snd sr0 stderr stdin stdout uinput urandom usbmon0 usbmon1 usbmon2 usbmon3 usbmon4 usbmon5 usbmon6 usbmon7 usbmon8 vg0 vga_arbiter zero
/dev/mapper:  control vg0-lv0 vg0-lv1
Disk /dev/md0 doesn't contain a valid partition table
Disk /dev/md2 doesn't contain a valid partition table
Disk /dev/md1 doesn't contain a valid partition table
Disk /dev/dm-0 doesn't contain a valid partition table
Disk /dev/dm-1 doesn't contain a valid partition table
DF Filesystem    Type    Size  Used Avail Use% Mounted on
aufs          aufs    2,0G   81M  1,9G   5% /
none      devtmpfs    1,9G  280K  1,9G   1% /dev
/dev/sr0   iso9660    695M  695M     0 100% /cdrom
/dev/loop0
squashfs    657M  657M     0 100% /rofs
none         tmpfs    2,0G  164K  2,0G   1% /dev/shm
tmpfs        tmpfs    2,0G  1,1M  2,0G   1% /tmp
none         tmpfs    2,0G   96K  2,0G   1% /var/run
none         tmpfs    2,0G  4,0K  2,0G   1% /var/lock
/dev/md0      ext4    1,9G   98M  1,7G   6% /mnt/clean/md0
FDISK
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
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0009f8c8

Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048     3905535     1951744   fd  Linux raid autodetect
Partition 1 does not end on cylinder boundary.
/dev/sda2         3905536    23437311     9765888   82  Linux swap / Solaris
/dev/sda3        23439358   976671675   476616159    5  Extended
/dev/sda5        23439360   121094143    48827392   fd  Linux raid autodetect
/dev/sda6       121094207   959964074   419434934   fd  Linux raid autodetect

Disk /dev/md0: 1998 MB, 1998520320 bytes
2 heads, 4 sectors/track, 487920 cylinders, total 3903360 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: 0x00000000


Disk /dev/md2: 429.5 GB, 429501251584 bytes
2 heads, 4 sectors/track, 104858704 cylinders, total 838869632 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: 0x00000000


Disk /dev/md1: 50.0 GB, 49999183872 bytes
2 heads, 4 sectors/track, 12206832 cylinders, total 97654656 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: 0x00000000


Disk /dev/dm-0: 60.7 GB, 60733521920 bytes
255 heads, 63 sectors/track, 7383 cylinders, total 118620160 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: 0x00000000


Disk /dev/dm-1: 214.7 GB, 214748364800 bytes
255 heads, 63 sectors/track, 26108 cylinders, total 419430400 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: 0x00000000
Logs saved into /var/log/clean/log/2011-10-29__15h19boot-repair52
combobox_ostoboot_bydefault_fillin
combobox_separateboot_fillin
************************Before mainwindow appear
PURGE_POSSIBLE  PART_TO_REINSTALL_GRUB_PURGE  ()
FSCK_ACTION yes PASTEBIN_ACTION yes
REINSTALL_POSSIBLE no MBR_ACTION restore UNHIDEBOOT_ACTION yes (10.s)
PART_TO_REINSTALL_GRUB  () FORCE_GRUB  NOFORCE_DISK  REMOVABLEDISK  UNCOMMENT_GFXMODE  ATA  ADD_KERNEL_OPTION  (acpi=off) MBR_TO_RESTORE sda (mbr) (sda) USE_SEPARATEBOOTPART  (md0)  ()
/usr/share/clean/cleancommon-gui.sh: line 650:  7632 Terminated              while true; do
done
RETOURCOMBO_separateboot (BOOTPART_TO_USE) : md0
internet: connected
************************Before Repairing
PURGE_POSSIBLE  PART_TO_REINSTALL_GRUB_PURGE  ()
FSCK_ACTION no PASTEBIN_ACTION yes
REINSTALL_POSSIBLE no MBR_ACTION nombraction UNHIDEBOOT_ACTION no (10.s)
PART_TO_REINSTALL_GRUB  () FORCE_GRUB  NOFORCE_DISK  REMOVABLEDISK  UNCOMMENT_GFXMODE  ATA  ADD_KERNEL_OPTION  (acpi=off) MBR_TO_RESTORE sda (mbr) (sda) USE_SEPARATEBOOTPART  (md0)  ()
internet: connected
/usr/share/clean/bootrepair-actions.sh: line 88: 10660 Terminated              while true; do
done
W: Impossible de récupérer http://ppa.launchpad.net/yanubuntu/boot-repair/ubuntu/dists/maverick/main/source/Sources.gz  404  Not Found

W: Impossible de récupérer http://ppa.launchpad.net/yanubuntu/boot-repair/ubuntu/dists/maverick/main/binary-amd64/Packages.gz  404  Not Found

E: Le téléchargement de quelques fichiers d'index a échoué, ils ont été ignorés, ou les anciens ont été utilisés à la place.
E: Impossible de trouver le paquet pastebinit
Activate all repositories in /etc/apt/sources.list
W: Impossible de récupérer http://ppa.launchpad.net/yanubuntu/boot-repair/ubuntu/dists/maverick/main/source/Sources.gz  404  Not Found

W: Impossible de récupérer http://ppa.launchpad.net/yanubuntu/boot-repair/ubuntu/dists/maverick/main/binary-amd64/Packages.gz  404  Not Found

E: Le téléchargement de quelques fichiers d'index a échoué, ils ont été ignorés, ou les anciens ont été utilisés à la place.
Restore the original repositories in /etc/apt/sources.list

Download as text

Dernière modification par azdep (Le 30/10/2011, à 21:40)

Hors ligne

#2 Le 30/10/2011, à 17:50

azdep

Re : [DEPLACE dans AUTRE]GRUB2 : pb depuis dist-upgrade de Maverick (10.10)

J'ai creusé encore un peu, dans la busybox avec le prompt (initramfs) si je fais blkid ne sont listées que les partitions physiques. POur voir les volumes raid et lvm je dois faire
modprobe raid
mdadm --auto-detect

J'en deduis que c'est le raid qui n'est pas démarré non ?

Par contre dans grub si je fais ls je vois les volumes physiques et les volumes raid mais pas les lvm.

Pourquoi les raid sont vu dans grub puis disparaissent dans la busybox ?

Dernière modification par azdep (Le 30/10/2011, à 17:56)

Hors ligne