tag 610184 fixed-upstream
thanks
On 11.07.2011 17:06, Michael Tsang wrote:
Package: grub-pc
Version: 1.99-6
Followup-For: Bug #610184

My GRUB and LVM information is already shown below.
Here are my disk partitioning and RAID information:

(note that I don't use the auto raid feature in the kernel because it corrupted
my array before)

root@debian:/home/michael# fdisk -cul /dev/sd?

Disk /dev/sda: 122.9 GB, 122942324736 bytes
255 heads, 63 sectors/track, 14946 cylinders, total 240121728 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: 0xaf2c136a

    Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2048    78163246    39080599+  da  Non-FS data
/dev/sda2        78163247   240121727    80979240+  8e  Linux LVM

Disk /dev/sdb: 40.0 GB, 40019582464 bytes
112 heads, 29 sectors/track, 24065 cylinders, total 78163247 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: 0x676f84fc

    Device Boot      Start         End      Blocks   Id  System
/dev/sdb1            2048    78163246    39080599+  da  Non-FS data

Disk /dev/sdc: 160.0 GB, 160040803840 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312579695 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: 0x0004511e

    Device Boot      Start         End      Blocks   Id  System
/dev/sdc1              63   312565423   156282680+  8e  Linux LVM
/dev/sdc2   *   312565424   312579694        7135+  83  Linux

Disk /dev/sdd: 160.0 GB, 160040803840 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312579695 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

    Device Boot      Start         End      Blocks   Id  System
/dev/sdd1              63   312576704   156288321   8e  Linux LVM
root@debian:/home/michael# ls /dev/md*
/dev/md127

/dev/md:
127_0
root@debian:/home/michael# mdadm --detail /dev/md127
/dev/md127:
         Version : 0.90
   Creation Time : Wed Jul  7 12:30:45 2010
      Raid Level : raid1
      Array Size : 39080512 (37.27 GiB 40.02 GB)
   Used Dev Size : 39080512 (37.27 GiB 40.02 GB)
    Raid Devices : 2
   Total Devices : 2
Preferred Minor : 127
     Persistence : Superblock is persistent

     Update Time : Mon Jul 11 22:53:09 2011
           State : clean
  Active Devices : 2
Working Devices : 2
  Failed Devices : 0
   Spare Devices : 0

            UUID : 2c05f51b:dc8b44d7:9d4deba6:47ca997f (local to host debian)
          Events : 0.395

     Number   Major   Minor   RaidDevice State
        0       8        1        0      active sync   /dev/sda1
        1       8       17        1      active sync   /dev/sdb1

root@debian:/home/michael# cat /etc/mdadm/mdadm.conf
# mdadm.conf
#
# Please refer to mdadm.conf(5) for information about this file.
#

# by default, scan all partitions (/proc/partitions) for MD superblocks.
# alternatively, specify devices to scan, using wildcards if desired.
DEVICE /dev/sd??*

# auto-create devices with Debian standard permissions
CREATE owner=root group=disk mode=0660 auto=yes

# automatically tag new arrays as belonging to the local system
HOMEHOST<system>

# instruct the monitoring daemon where to send mail alerts
MAILADDR root

# definitions of existing MD arrays

# This file was auto-generated on Wed, 07 Jul 2010 11:32:41 +0800
# by mkconf 3.0.3-2
root@debian:/home/michael# update-grub
error: superfluous RAID member (2 found).
error: superfluous RAID member (2 found).
Generating grub.cfg ...
error: superfluous RAID member (2 found).
error: superfluous RAID member (2 found).
error: superfluous RAID member (2 found).
error: superfluous RAID member (2 found).
error: superfluous RAID member (2 found).
error: superfluous RAID member (2 found).
error: superfluous RAID member (2 found).
error: superfluous RAID member (2 found).
error: superfluous RAID member (2 found).
error: superfluous RAID member (2 found).
error: superfluous RAID member (2 found).
error: superfluous RAID member (2 found).
error: superfluous RAID member (2 found).
error: superfluous RAID member (2 found).
error: superfluous RAID member (2 found).
Found background image: /usr/share/images/desktop-base/desktop-grub.png
error: superfluous RAID member (2 found).
Found linux image: /boot/vmlinuz-2.6.39-2-amd64
Found initrd image: /boot/initrd.img-2.6.39-2-amd64
error: superfluous RAID member (2 found).
error: superfluous RAID member (2 found).
error: superfluous RAID member (2 found).
error: superfluous RAID member (2 found).
error: superfluous RAID member (2 found).
error: superfluous RAID member (2 found).
error: superfluous RAID member (2 found).
error: superfluous RAID member (2 found).
error: superfluous RAID member (2 found).
File descriptor 4 (/dev/urandom) leaked on lvs invocation. Parent PID 21466:
/bin/sh
done
root@debian:/home/michael#



-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/mapper/vg0-ubuntu / ext3 
rw,relatime,errors=remount-ro,commit=5,barrier=0,data=ordered 0 0
/dev/sdc2 /boot/grub ext2 rw,relatime,errors=continue 0 0
/dev/mapper/vg0-home /home ext4 
rw,nosuid,nodev,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/md127 /srv ext4 
rw,nosuid,nodev,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(fd0)   /dev/fd0
(hd0)   /dev/disk/by-id/ata-ST3160811AS_5PT125EP
(hd1)   /dev/disk/by-id/ata-SAMSUNG_HD161HJ_S0V3J90P624967
(hd2)   /dev/disk/by-id/ata-Maxtor_6Y120P0_Y32HL0DE
(hd3)   /dev/disk/by-id/ata-ST340810A_5FBABL0Q
*********************** END /boot/grub/device.map

*********************** BEGIN /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
   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 load_video {
   insmod vbe
   insmod vga
   insmod video_bochs
   insmod video_cirrus
}

insmod lvm
insmod part_msdos
insmod part_msdos
insmod part_msdos
insmod ext2
set root='(vg0-ubuntu)'
search --no-floppy --fs-uuid --set=root f341a5aa-fc1b-4395-9e5a-80ee0617da71
if loadfont /usr/share/grub/unicode.pf2 ; then
   set gfxmode=1280x1024
   load_video
   insmod gfxterm
   insmod part_msdos
   insmod ext2
   set root='(hd0,msdos2)'
   search --no-floppy --fs-uuid --set=root b932abb1-e4dd-4c33-b49c-375aed1930c7
   set locale_dir=($root)/locale
   set lang=en_HK
   insmod gettext
fi
terminal_output gfxterm
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod lvm
insmod part_msdos
insmod part_msdos
insmod part_msdos
insmod ext2
set root='(vg0-ubuntu)'
search --no-floppy --fs-uuid --set=root f341a5aa-fc1b-4395-9e5a-80ee0617da71
insmod png
if background_image /usr/share/images/desktop-base/spacefun-grub.png; then
   set color_normal=light-gray/black
   set color_highlight=white/black
else
   set menu_color_normal=cyan/blue
   set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Debian GNU/Linux, with Linux 2.6.39-2-amd64' --class debian --class 
gnu-linux --class gnu --class os {
        insmod gzio
        insmod lvm
        insmod part_msdos
        insmod part_msdos
        insmod part_msdos
        insmod ext2
        set root='(vg0-ubuntu)'
        search --no-floppy --fs-uuid --set=root 
f341a5aa-fc1b-4395-9e5a-80ee0617da71
        echo    'Loading Linux 2.6.39-2-amd64 ...'
        linux   /boot/vmlinuz-2.6.39-2-amd64 root=/dev/mapper/vg0-ubuntu ro  
quiet splash
        echo    'Loading initial ramdisk ...'
        initrd  /boot/initrd.img-2.6.39-2-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.39-2-amd64 (recovery mode)' --class 
debian --class gnu-linux --class gnu --class os {
        insmod gzio
        insmod lvm
        insmod part_msdos
        insmod part_msdos
        insmod part_msdos
        insmod ext2
        set root='(vg0-ubuntu)'
        search --no-floppy --fs-uuid --set=root 
f341a5aa-fc1b-4395-9e5a-80ee0617da71
        echo    'Loading Linux 2.6.39-2-amd64 ...'
        linux   /boot/vmlinuz-2.6.39-2-amd64 root=/dev/mapper/vg0-ubuntu ro 
single
        echo    'Loading initial ramdisk ...'
        initrd  /boot/initrd.img-2.6.39-2-amd64
}
### 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+ ###
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
### 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 ###
*********************** END /boot/grub/grub.cfg

*********************** BEGIN /proc/mdstat
Personalities : [raid1]
md127 : active raid1 sda1[0] sdb1[1]
       39080512 blocks [2/2] [UU]

unused devices:<none>
*********************** END /proc/mdstat

*********************** BEGIN LVM
   --- Volume group ---
   VG Name               vg0
   System ID
   Format                lvm2
   Metadata Areas        3
   Metadata Sequence No  112
   VG Access             read/write
   VG Status             resizable
   MAX LV                0
   Cur LV                3
   Open LV               3
   Max PV                0
   Cur PV                3
   Act PV                3
   VG Size               375.31 GiB
   PE Size               4.00 MiB
   Total PE              96080
   Alloc PE / Size       96080 / 375.31 GiB
   Free  PE / Size       0 / 0
   VG UUID               jfdlEu-lZha-xdfK-38Of-zI4K-9fCE-9FRlsx

   --- Physical volume ---
   PV Name               /dev/sdd1
   VG Name               vg0
   PV Size               149.05 GiB / not usable 987.50 KiB
   Allocatable           yes (but full)
   PE Size               4.00 MiB
   Total PE              38156
   Free PE               0
   Allocated PE          38156
   PV UUID               NdcTvC-baWb-B9lQ-0PYu-sEY6-c01S-ii4uWy

   --- Physical volume ---
   PV Name               /dev/sdc1
   VG Name               vg0
   PV Size               149.04 GiB / not usable 3.62 MiB
   Allocatable           yes (but full)
   PE Size               4.00 MiB
   Total PE              38154
   Free PE               0
   Allocated PE          38154
   PV UUID               7O6DEA-dzsC-2Vo9-34KP-3zTQ-W8HT-fE1Alz

   --- Physical volume ---
   PV Name               /dev/sda2
   VG Name               vg0
   PV Size               77.23 GiB / not usable 1.29 MiB
   Allocatable           yes (but full)
   PE Size               4.00 MiB
   Total PE              19770
   Free PE               0
   Allocated PE          19770
   PV UUID               a3YmdI-HM8T-SZbb-00D1-BYlG-LSxE-k25gs3

   --- Logical volume ---
   LV Name                /dev/vg0/home
   VG Name                vg0
   LV UUID                XE4yXP-0hXe-91Ue-cEwV-ePbP-VtMv-S2DYU0
   LV Write Access        read/write
   LV Status              available
   # open                 1
   LV Size                348.69 GiB
   Current LE             89264
   Segments               5
   Allocation             normal
   Read ahead sectors     auto
   - currently set to     256
   Block device           254:1

   --- Logical volume ---
   LV Name                /dev/vg0/ubuntu
   VG Name                vg0
   LV UUID                a3MxkZ-aWb6-fops-z98p-dPPB-qkZQ-28DZB2
   LV Write Access        read/write
   LV Status              available
   # open                 1
   LV Size                18.62 GiB
   Current LE             4768
   Segments               3
   Allocation             normal
   Read ahead sectors     auto
   - currently set to     256
   Block device           254:0

   --- Logical volume ---
   LV Name                /dev/vg0/swap
   VG Name                vg0
   LV UUID                hPi7eO-OuEz-dEQW-KR43-AqaH-dMeD-6XZB6n
   LV Write Access        read/write
   LV Status              available
   # open                 2
   LV Size                8.00 GiB
   Current LE             2048
   Segments               2
   Allocation             inherit
   Read ahead sectors     auto
   - currently set to     256
   Block device           254:2

*********************** END LVM

*********************** BEGIN /dev/disk/by-id
total 0
lrwxrwxrwx 1 root root  9 Jul 11 22:41 ata-HL-DT-ST_DVDRAM_GSA-H62N_K58789D4411 
->  ../../sr0
lrwxrwxrwx 1 root root  9 Jul 11 08:04 ata-Maxtor_6Y120P0_Y32HL0DE ->  ../../sda
lrwxrwxrwx 1 root root 10 Jul 11 08:04 ata-Maxtor_6Y120P0_Y32HL0DE-part1 ->  
../../sda1
lrwxrwxrwx 1 root root 10 Jul 11 08:05 ata-Maxtor_6Y120P0_Y32HL0DE-part2 ->  
../../sda2
lrwxrwxrwx 1 root root  9 Jul 11 08:04 ata-SAMSUNG_HD161HJ_S0V3J90P624967 ->  
../../sdd
lrwxrwxrwx 1 root root 10 Jul 11 08:05 ata-SAMSUNG_HD161HJ_S0V3J90P624967-part1 
->  ../../sdd1
lrwxrwxrwx 1 root root  9 Jul 11 08:05 ata-ST3160811AS_5PT125EP ->  ../../sdc
lrwxrwxrwx 1 root root 10 Jul 11 08:05 ata-ST3160811AS_5PT125EP-part1 ->  
../../sdc1
lrwxrwxrwx 1 root root 10 Jul 11 08:05 ata-ST3160811AS_5PT125EP-part2 ->  
../../sdc2
lrwxrwxrwx 1 root root  9 Jul 11 08:04 ata-ST340810A_5FBABL0Q ->  ../../sdb
lrwxrwxrwx 1 root root 10 Jul 11 08:04 ata-ST340810A_5FBABL0Q-part1 ->  
../../sdb1
lrwxrwxrwx 1 root root 10 Jul 11 08:04 dm-name-vg0-home ->  ../../dm-1
lrwxrwxrwx 1 root root 10 Jul 11 08:04 dm-name-vg0-swap ->  ../../dm-2
lrwxrwxrwx 1 root root 10 Jul 10 23:15 dm-name-vg0-ubuntu ->  ../../dm-0
lrwxrwxrwx 1 root root 10 Jul 11 08:04 
dm-uuid-LVM-jfdlEulZhaxdfK38OfzI4K9fCE9FRlsxXE4yXP0hXe91UecEwVePbPVtMvS2DYU0 -> 
 ../../dm-1
lrwxrwxrwx 1 root root 10 Jul 10 23:15 
dm-uuid-LVM-jfdlEulZhaxdfK38OfzI4K9fCE9FRlsxa3MxkZaWb6fopsz98pdPPBqkZQ28DZB2 -> 
 ../../dm-0
lrwxrwxrwx 1 root root 10 Jul 11 08:04 
dm-uuid-LVM-jfdlEulZhaxdfK38OfzI4K9fCE9FRlsxhPi7eOOuEzdEQWKR43AqaHdMeD6XZB6n -> 
 ../../dm-2
lrwxrwxrwx 1 root root 11 Jul 11 08:04 md-uuid-2c05f51b:dc8b44d7:9d4deba6:47ca997f 
->  ../../md127
lrwxrwxrwx 1 root root  9 Jul 11 08:04 scsi-SATA_Maxtor_6Y120P0_Y32HL0DE ->  
../../sda
lrwxrwxrwx 1 root root 10 Jul 11 08:04 scsi-SATA_Maxtor_6Y120P0_Y32HL0DE-part1 
->  ../../sda1
lrwxrwxrwx 1 root root 10 Jul 11 08:05 scsi-SATA_Maxtor_6Y120P0_Y32HL0DE-part2 
->  ../../sda2
lrwxrwxrwx 1 root root  9 Jul 11 08:04 scsi-SATA_SAMSUNG_HD161HJS0V3J90P624967 
->  ../../sdd
lrwxrwxrwx 1 root root 10 Jul 11 08:05 
scsi-SATA_SAMSUNG_HD161HJS0V3J90P624967-part1 ->  ../../sdd1
lrwxrwxrwx 1 root root  9 Jul 11 08:05 scsi-SATA_ST3160811AS_5PT125EP ->  
../../sdc
lrwxrwxrwx 1 root root 10 Jul 11 08:05 scsi-SATA_ST3160811AS_5PT125EP-part1 ->  
../../sdc1
lrwxrwxrwx 1 root root 10 Jul 11 08:05 scsi-SATA_ST3160811AS_5PT125EP-part2 ->  
../../sdc2
lrwxrwxrwx 1 root root  9 Jul 11 08:04 scsi-SATA_ST340810A_5FBABL0Q ->  
../../sdb
lrwxrwxrwx 1 root root 10 Jul 11 08:04 scsi-SATA_ST340810A_5FBABL0Q-part1 ->  
../../sdb1
lrwxrwxrwx 1 root root  9 Jul 11 08:04 wwn-0x50000f009b624967 ->  ../../sdd
lrwxrwxrwx 1 root root 10 Jul 11 08:05 wwn-0x50000f009b624967-part1 ->  
../../sdd1
*********************** END /dev/disk/by-id

*********************** BEGIN /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 10 Jul 11 08:04 30403406-d567-4e61-b9e0-3b3389d68ee0 ->  
../../dm-1
lrwxrwxrwx 1 root root 10 Jul 11 08:04 3e196228-2b67-41c2-ab5b-8062e5fed68c ->  
../../dm-2
lrwxrwxrwx 1 root root 11 Jul 11 08:04 499dfc16-1292-4095-9750-6ddc43c3391d ->  
../../md127
lrwxrwxrwx 1 root root 10 Jul 11 08:05 b932abb1-e4dd-4c33-b49c-375aed1930c7 ->  
../../sdc2
lrwxrwxrwx 1 root root 10 Jul 10 23:15 f341a5aa-fc1b-4395-9e5a-80ee0617da71 ->  
../../dm-0
*********************** END /dev/disk/by-uuid

-- System Information:
Debian Release: wheezy/sid
   APT prefers testing
   APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.39-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_HK.UTF-8, LC_CTYPE=en_HK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages grub-pc depends on:
ii  debconf [debconf-2.0]        1.5.40      Debian configuration management sy
ii  grub-common                  1.99-6      GRand Unified Bootloader (common f
ii  grub-pc-bin                  1.99-6      GRand Unified Bootloader, version
ii  grub2-common                 1.99-6      GRand Unified Bootloader (common f
ii  ucf                          3.0025+nmu2 Update Configuration File: preserv

grub-pc recommends no packages.

grub-pc suggests no packages.

-- debconf information:
   grub2/kfreebsd_cmdline:
* grub2/device_map_regenerated:
* grub2/linux_cmdline:
   grub-pc/install_devices_empty: false
   grub-pc/install_devices_failed: false
   grub-pc/chainload_from_menu.lst: true
   grub-pc/kopt_extracted: false
* grub-pc/install_devices: /dev/disk/by-id/ata-ST3160811AS_5PT125EP
   grub-pc/postrm_purge_boot_grub: false
   grub-pc/install_devices_failed_upgrade: true
   grub-pc/disk_description:
   grub2/kfreebsd_cmdline_default: quiet
   grub-pc/partition_description:
   grub-pc/install_devices_disks_changed:
* grub2/linux_cmdline_default: quiet splash
   grub-pc/mixed_legacy_and_grub2: true



_______________________________________________
Pkg-grub-devel mailing list
pkg-grub-de...@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grub-devel



--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to