Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 309880 Details for
Bug 160563
"grub-install /dev/md0" does not install on second disk in RAID 1 array correctly
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
Output from grub-install with debug=no changed to debug=yes
grub-install-debug (text/plain), 26.45 KB, created by
Bruno Wolff III
on 2008-06-19 21:06:44 UTC
(
hide
)
Description:
Output from grub-install with debug=no changed to debug=yes
Filename:
MIME Type:
Creator:
Bruno Wolff III
Created:
2008-06-19 21:06:44 UTC
Size:
26.45 KB
patch
obsolete
>Script started on Thu 19 Jun 2008 03:38:32 PM CDT >]0;bruno@localhost:/home/bruno[?1034h[root@localhost bruno]# ./grub-insta;[Kll /dev/md0 >+ case "$host_os" in >+ bootdir=/boot >+ grubdir=/boot/grub >+ device_map=/boot/grub/device.map >+ '[' no == yes ']' >+ test no = yes >+ test x/dev/md0 = x >+ set /sbin/grub dummy >+ test -f /sbin/grub >+ : >+ test -f /usr/share/grub/x86_64-redhat/stage1 >+ : >+ test -f /usr/share/grub/x86_64-redhat/stage2 >+ : >+ test -d /boot >+ test -d /boot/grub >+ copy_images >+ for file in '${grubdir}/stage1' '${grubdir}/stage2' '${grubdir}/*stage1_5' >+ rm -f /boot/grub/stage1 >+ for file in '${grubdir}/stage1' '${grubdir}/stage2' '${grubdir}/*stage1_5' >+ rm -f /boot/grub/stage2 >+ for file in '${grubdir}/stage1' '${grubdir}/stage2' '${grubdir}/*stage1_5' >+ rm -f /boot/grub/e2fs_stage1_5 >+ for file in '${grubdir}/stage1' '${grubdir}/stage2' '${grubdir}/*stage1_5' >+ rm -f /boot/grub/fat_stage1_5 >+ for file in '${grubdir}/stage1' '${grubdir}/stage2' '${grubdir}/*stage1_5' >+ rm -f /boot/grub/ffs_stage1_5 >+ for file in '${grubdir}/stage1' '${grubdir}/stage2' '${grubdir}/*stage1_5' >+ rm -f /boot/grub/iso9660_stage1_5 >+ for file in '${grubdir}/stage1' '${grubdir}/stage2' '${grubdir}/*stage1_5' >+ rm -f /boot/grub/jfs_stage1_5 >+ for file in '${grubdir}/stage1' '${grubdir}/stage2' '${grubdir}/*stage1_5' >+ rm -f /boot/grub/minix_stage1_5 >+ for file in '${grubdir}/stage1' '${grubdir}/stage2' '${grubdir}/*stage1_5' >+ rm -f /boot/grub/reiserfs_stage1_5 >+ for file in '${grubdir}/stage1' '${grubdir}/stage2' '${grubdir}/*stage1_5' >+ rm -f /boot/grub/ufs2_stage1_5 >+ for file in '${grubdir}/stage1' '${grubdir}/stage2' '${grubdir}/*stage1_5' >+ rm -f /boot/grub/vstafs_stage1_5 >+ for file in '${grubdir}/stage1' '${grubdir}/stage2' '${grubdir}/*stage1_5' >+ rm -f /boot/grub/xfs_stage1_5 >+ for file in '${pkgdatadir}/stage1' '${pkgdatadir}/stage2' '${pkgdatadir}/*stage1_5' >+ cp -f /usr/share/grub/x86_64-redhat/stage1 /boot/grub >+ for file in '${pkgdatadir}/stage1' '${pkgdatadir}/stage2' '${pkgdatadir}/*stage1_5' >+ cp -f /usr/share/grub/x86_64-redhat/stage2 /boot/grub >+ for file in '${pkgdatadir}/stage1' '${pkgdatadir}/stage2' '${pkgdatadir}/*stage1_5' >+ cp -f /usr/share/grub/x86_64-redhat/e2fs_stage1_5 /boot/grub >+ for file in '${pkgdatadir}/stage1' '${pkgdatadir}/stage2' '${pkgdatadir}/*stage1_5' >+ cp -f /usr/share/grub/x86_64-redhat/fat_stage1_5 /boot/grub >+ for file in '${pkgdatadir}/stage1' '${pkgdatadir}/stage2' '${pkgdatadir}/*stage1_5' >+ cp -f /usr/share/grub/x86_64-redhat/ffs_stage1_5 /boot/grub >+ for file in '${pkgdatadir}/stage1' '${pkgdatadir}/stage2' '${pkgdatadir}/*stage1_5' >+ cp -f /usr/share/grub/x86_64-redhat/iso9660_stage1_5 /boot/grub >+ for file in '${pkgdatadir}/stage1' '${pkgdatadir}/stage2' '${pkgdatadir}/*stage1_5' >+ cp -f /usr/share/grub/x86_64-redhat/jfs_stage1_5 /boot/grub >+ for file in '${pkgdatadir}/stage1' '${pkgdatadir}/stage2' '${pkgdatadir}/*stage1_5' >+ cp -f /usr/share/grub/x86_64-redhat/minix_stage1_5 /boot/grub >+ for file in '${pkgdatadir}/stage1' '${pkgdatadir}/stage2' '${pkgdatadir}/*stage1_5' >+ cp -f /usr/share/grub/x86_64-redhat/reiserfs_stage1_5 /boot/grub >+ for file in '${pkgdatadir}/stage1' '${pkgdatadir}/stage2' '${pkgdatadir}/*stage1_5' >+ cp -f /usr/share/grub/x86_64-redhat/ufs2_stage1_5 /boot/grub >+ for file in '${pkgdatadir}/stage1' '${pkgdatadir}/stage2' '${pkgdatadir}/*stage1_5' >+ cp -f /usr/share/grub/x86_64-redhat/vstafs_stage1_5 /boot/grub >+ for file in '${pkgdatadir}/stage1' '${pkgdatadir}/stage2' '${pkgdatadir}/*stage1_5' >+ cp -f /usr/share/grub/x86_64-redhat/xfs_stage1_5 /boot/grub >+ test no = yes >+ test -f /boot/grub/device.map >+ : >++ sed -n '/^([fh]d[0-9]*)/s/\(^(.*)\).*/\1/p' /boot/grub/device.map >++ sort >++ uniq -d >++ sed -n 1p >+ tmp= >+ test -n '' >+ grep -q '^(hd[0-9]\+)' /boot/grub/device.map >+ '[' x0 '!=' x0 ']' >+ case "$install_device" in >++ resolve_symlink /dev/md0 >++ tmp_fname=/dev/md0 >++ test -L /dev/md0 >++ echo /dev/md0 >+ install_device=/dev/md0 >++ find_real_devs /dev/md0 >++ source_device=/dev/md0 >++ case "$host_os" in >++ is_raid1_device /dev/md0 >++ case "$host_os" in >+++ /sbin/mdadm --query --detail /dev/md0 >+++ awk '/Raid Level :/ {print $4}' >++ level=raid1 >++ '[' raid1 = raid1 ']' >++ return 0 >++ list= >+++ /sbin/mdadm --query --detail /dev/md0 >+++ awk '/\/dev\/[^(md)]/ {print $7}' >++ for device in '`$mdadm --query --detail "${source_device}" | awk '\''/\/dev\/[^(md)]/ {print $7}'\''`' >++ list=' /dev/sda1' >++ for device in '`$mdadm --query --detail "${source_device}" | awk '\''/\/dev\/[^(md)]/ {print $7}'\''`' >++ list=' /dev/sda1 /dev/sdb1' >++ echo /dev/sda1 /dev/sdb1 >++ return 0 >+ for install_drive in '`find_real_devs $install_device`' >++ convert /dev/sda1 >++ test -e /dev/sda1 >++ : >++ case "$host_os" in >+++ echo /dev/sda1 >+++ grep -v '/mapper/control$' >+++ grep -v '/mapper/[[:alnum:]]\+-[[:alnum:]]\+$' >+++ uniq >+++ sed -e 's%\([sh]d[a-z]\)[0-9]*$%\1%' -e 's%\(d[0-9]*\)p[0-9]*$%\1%' -e 's%\(fd[0-9]*\)$%\1%' -e 's%/part[0-9]*$%/disc%' -e 's%\(c[0-7]d[0-9]*\).*$%\1%' -e 's%\(/mapper/[[:alpha:]]\+[[:digit:]]\+\)p[[:digit:]]\+$%\1%' -e 's%\(/mapper/isw_[[:alpha:]_]\+[[:alpha:]]\+[[:digit:]]\+\)p[[:digit:]]\+$%\1%' -e 's%\(/mapper/[[:alpha:]]\+_[[:alpha:]]\+\)[[:digit:]]\+$%\1%' >++ tmp_disk=/dev/sda >+++ echo /dev/sda1 >+++ grep -v '/mapper/control$' >+++ grep -v '/mapper/[[:alnum:]]\+-[[:alnum:]]\+$' >+++ uniq >+++ sed -e 's%.*/[sh]d[a-z]\([0-9]*\)$%\1%' -e 's%.*d[0-9]*p%%' -e 's%.*/fd[0-9]*$%%' -e 's%.*/floppy/[0-9]*$%%' -e 's%.*/\(disc\|part\([0-9]*\)\)$%\2%' -e 's%.*c[0-7]d[0-9]*p%%' -e 's%.*/mapper/[[:alpha:]]\+[[:digit:]]\+p\([[:digit:]]\+\)$%\1%' -e 's%.*/mapper/isw_[[:alpha:]_]\+[[:alpha:]]\+[[:digit:]]\+p\([[:digit:]]\+\)$%\1%' -e 's%.*/mapper/[[:alpha:]]\+_[[:alpha:]]\+\([[:digit:]]\+\)$%\1%' >+++ grep -v '.*/mapper/.*' >++ tmp_part=1 >+++ grep -v '^#' /boot/grub/device.map >+++ grep '/dev/sda *$' >+++ sed 's%.*\(([hf]d[0-9][a-g0-9,]*)\).*%\1%' >++ tmp_drive='(hd0)' >++ test 'x(hd0)' = x >++ test x1 '!=' x >++ case "$host_os" in >++ echo '(hd0)' >+++ expr 1 - 1 >++ sed 's%)$%,0)%' >+ install_drive='(hd0,0)' >+ is_raid1_device /dev/md0 >+ case "$host_os" in >++ /sbin/mdadm --query --detail /dev/md0 >++ awk '/Raid Level :/ {print $4}' >+ level=raid1 >+ '[' raid1 = raid1 ']' >+ return 0 >++ echo '(hd0,0)' >++ sed 's/,[0-9]*)/)/' >+ install_drive='(hd0)' >+ '[' 'x(hd0)' = x ']' >+ install_drives=' (hd0)' >+ for install_drive in '`find_real_devs $install_device`' >++ convert /dev/sdb1 >++ test -e /dev/sdb1 >++ : >++ case "$host_os" in >+++ echo /dev/sdb1 >+++ grep -v '/mapper/control$' >+++ grep -v '/mapper/[[:alnum:]]\+-[[:alnum:]]\+$' >+++ uniq >+++ sed -e 's%\([sh]d[a-z]\)[0-9]*$%\1%' -e 's%\(d[0-9]*\)p[0-9]*$%\1%' -e 's%\(fd[0-9]*\)$%\1%' -e 's%/part[0-9]*$%/disc%' -e 's%\(c[0-7]d[0-9]*\).*$%\1%' -e 's%\(/mapper/[[:alpha:]]\+[[:digit:]]\+\)p[[:digit:]]\+$%\1%' -e 's%\(/mapper/isw_[[:alpha:]_]\+[[:alpha:]]\+[[:digit:]]\+\)p[[:digit:]]\+$%\1%' -e 's%\(/mapper/[[:alpha:]]\+_[[:alpha:]]\+\)[[:digit:]]\+$%\1%' >++ tmp_disk=/dev/sdb >+++ echo /dev/sdb1 >+++ grep -v '/mapper/control$' >+++ grep -v '/mapper/[[:alnum:]]\+-[[:alnum:]]\+$' >+++ uniq >+++ sed -e 's%.*/[sh]d[a-z]\([0-9]*\)$%\1%' -e 's%.*d[0-9]*p%%' -e 's%.*/fd[0-9]*$%%' -e 's%.*/floppy/[0-9]*$%%' -e 's%.*/\(disc\|part\([0-9]*\)\)$%\2%' -e 's%.*c[0-7]d[0-9]*p%%' -e 's%.*/mapper/[[:alpha:]]\+[[:digit:]]\+p\([[:digit:]]\+\)$%\1%' -e 's%.*/mapper/isw_[[:alpha:]_]\+[[:alpha:]]\+[[:digit:]]\+p\([[:digit:]]\+\)$%\1%' -e 's%.*/mapper/[[:alpha:]]\+_[[:alpha:]]\+\([[:digit:]]\+\)$%\1%' >+++ grep -v '.*/mapper/.*' >++ tmp_part=1 >+++ grep -v '^#' /boot/grub/device.map >+++ grep '/dev/sdb *$' >+++ sed 's%.*\(([hf]d[0-9][a-g0-9,]*)\).*%\1%' >++ tmp_drive='(hd1)' >++ test 'x(hd1)' = x >++ test x1 '!=' x >++ case "$host_os" in >++ echo '(hd1)' >+++ expr 1 - 1 >++ sed 's%)$%,0)%' >+ install_drive='(hd1,0)' >+ is_raid1_device /dev/md0 >+ case "$host_os" in >++ /sbin/mdadm --query --detail /dev/md0 >++ awk '/Raid Level :/ {print $4}' >+ level=raid1 >+ '[' raid1 = raid1 ']' >+ return 0 >++ echo '(hd1,0)' >++ sed 's/,[0-9]*)/)/' >+ install_drive='(hd1)' >+ '[' 'x(hd1)' = x ']' >+ install_drives=' (hd0) (hd1)' >+ unset install_drive >+ test 'x (hd0) (hd1)' = x >+ unset install_device >++ find_device >+++ df / >+++ sed -n 's%.*\(/dev/[^ ]*\).*%\1%p' >++ tmp_fname=/dev/mapper/luks-md2 >++ test -z /dev/mapper/luks-md2 >+++ resolve_symlink /dev/mapper/luks-md2 >+++ tmp_fname=/dev/mapper/luks-md2 >+++ test -L /dev/mapper/luks-md2 >+++ echo /dev/mapper/luks-md2 >++ ret_fname=/dev/mapper/luks-md2 >+++ find_mapper_device /dev/mapper/luks-md2 >+++ '[' -b /dev/mapper/luks-md2 ']' >+++ dev=/dev/mapper/luks-md2 >+++ test -z /dev/mapper/luks-md2 >++++ stat_device /dev/mapper/luks-md2 >+++++ stat -c %t:%T /dev/mapper/luks-md2 >++++ majmin=fd:0 >++++ test -z fd:0 >++++ echo fd:0 >+++ majmin=fd:0 >+++ for x in '/dev/mapper/*' >++++ stat_device /dev/mapper/control >+++++ stat -c %t:%T /dev/mapper/control >++++ majmin=a:3c >++++ test -z a:3c >++++ echo a:3c >+++ devmajmin=a:3c >+++ '[' fd:0 == a:3c ']' >+++ for x in '/dev/mapper/*' >++++ stat_device /dev/mapper/luks-md1 >+++++ stat -c %t:%T /dev/mapper/luks-md1 >++++ majmin=fd:1 >++++ test -z fd:1 >++++ echo fd:1 >+++ devmajmin=fd:1 >+++ '[' fd:0 == fd:1 ']' >+++ for x in '/dev/mapper/*' >++++ stat_device /dev/mapper/luks-md2 >+++++ stat -c %t:%T /dev/mapper/luks-md2 >++++ majmin=fd:0 >++++ test -z fd:0 >++++ echo fd:0 >+++ devmajmin=fd:0 >+++ '[' fd:0 == fd:0 ']' >+++ echo /dev/mapper/luks-md2 >+++ return 0 >++ tmp_fname=/dev/mapper/luks-md2 >++ test -n /dev/mapper/luks-md2 >++ ret_fname=/dev/mapper/luks-md2 >++ echo /dev/mapper/luks-md2 >++ return 0 >+ root_device=/dev/mapper/luks-md2 >++ find_device /boot >+++ df /boot/ >+++ sed -n 's%.*\(/dev/[^ ]*\).*%\1%p' >++ tmp_fname=/dev/md0 >++ test -z /dev/md0 >+++ resolve_symlink /dev/md0 >+++ tmp_fname=/dev/md0 >+++ test -L /dev/md0 >+++ echo /dev/md0 >++ ret_fname=/dev/md0 >+++ find_mapper_device /dev/md0 >+++ '[' -b /dev/md0 ']' >+++ dev=/dev/md0 >+++ test -z /dev/md0 >++++ stat_device /dev/md0 >+++++ stat -c %t:%T /dev/md0 >++++ majmin=9:0 >++++ test -z 9:0 >++++ echo 9:0 >+++ majmin=9:0 >+++ for x in '/dev/mapper/*' >++++ stat_device /dev/mapper/control >+++++ stat -c %t:%T /dev/mapper/control >++++ majmin=a:3c >++++ test -z a:3c >++++ echo a:3c >+++ devmajmin=a:3c >+++ '[' 9:0 == a:3c ']' >+++ for x in '/dev/mapper/*' >++++ stat_device /dev/mapper/luks-md1 >+++++ stat -c %t:%T /dev/mapper/luks-md1 >++++ majmin=fd:1 >++++ test -z fd:1 >++++ echo fd:1 >+++ devmajmin=fd:1 >+++ '[' 9:0 == fd:1 ']' >+++ for x in '/dev/mapper/*' >++++ stat_device /dev/mapper/luks-md2 >+++++ stat -c %t:%T /dev/mapper/luks-md2 >++++ majmin=fd:0 >++++ test -z fd:0 >++++ echo fd:0 >+++ devmajmin=fd:0 >+++ '[' 9:0 == fd:0 ']' >+++ for x in '/dev/mapper/*' >++++ stat_device /dev/mapper/luks-md3 >+++++ stat -c %t:%T /dev/mapper/luks-md3 >++++ majmin=fd:3 >++++ test -z fd:3 >++++ echo fd:3 >+++ devmajmin=fd:3 >+++ '[' 9:0 == fd:3 ']' >+++ for x in '/dev/mapper/*' >++++ stat_device /dev/mapper/luks-md4 >+++++ stat -c %t:%T /dev/mapper/luks-md4 >++++ majmin=fd:2 >++++ test -z fd:2 >++++ echo fd:2 >+++ devmajmin=fd:2 >+++ '[' 9:0 == fd:2 ']' >+++ return 1 >++ tmp_fname= >++ test -n '' >++ echo /dev/md0 >++ return 0 >+ bootdir_device=/dev/md0 >+ test x/dev/mapper/luks-md2 '!=' x/dev/md0 >+ root_device=/dev/md0 >+ grub_prefix=/grub >++ find_device /boot/grub >+++ df /boot/grub/ >+++ sed -n 's%.*\(/dev/[^ ]*\).*%\1%p' >++ tmp_fname=/dev/md0 >++ test -z /dev/md0 >+++ resolve_symlink /dev/md0 >+++ tmp_fname=/dev/md0 >+++ test -L /dev/md0 >+++ echo /dev/md0 >++ ret_fname=/dev/md0 >+++ find_mapper_device /dev/md0 >+++ '[' -b /dev/md0 ']' >+++ dev=/dev/md0 >+++ test -z /dev/md0 >++++ stat_device /dev/md0 >+++++ stat -c %t:%T /dev/md0 >++++ majmin=9:0 >++++ test -z 9:0 >++++ echo 9:0 >+++ majmin=9:0 >+++ for x in '/dev/mapper/*' >++++ stat_device /dev/mapper/control >+++++ stat -c %t:%T /dev/mapper/control >++++ majmin=a:3c >++++ test -z a:3c >++++ echo a:3c >+++ devmajmin=a:3c >+++ '[' 9:0 == a:3c ']' >+++ for x in '/dev/mapper/*' >++++ stat_device /dev/mapper/luks-md1 >+++++ stat -c %t:%T /dev/mapper/luks-md1 >++++ majmin=fd:1 >++++ test -z fd:1 >++++ echo fd:1 >+++ devmajmin=fd:1 >+++ '[' 9:0 == fd:1 ']' >+++ for x in '/dev/mapper/*' >++++ stat_device /dev/mapper/luks-md2 >+++++ stat -c %t:%T /dev/mapper/luks-md2 >++++ majmin=fd:0 >++++ test -z fd:0 >++++ echo fd:0 >+++ devmajmin=fd:0 >+++ '[' 9:0 == fd:0 ']' >+++ for x in '/dev/mapper/*' >++++ stat_device /dev/mapper/luks-md3 >+++++ stat -c %t:%T /dev/mapper/luks-md3 >++++ majmin=fd:3 >++++ test -z fd:3 >++++ echo fd:3 >+++ devmajmin=fd:3 >+++ '[' 9:0 == fd:3 ']' >+++ for x in '/dev/mapper/*' >++++ stat_device /dev/mapper/luks-md4 >+++++ stat -c %t:%T /dev/mapper/luks-md4 >++++ majmin=fd:2 >++++ test -z fd:2 >++++ echo fd:2 >+++ devmajmin=fd:2 >+++ '[' 9:0 == fd:2 ']' >+++ return 1 >++ tmp_fname= >++ test -n '' >++ echo /dev/md0 >++ return 0 >+ grubdir_device=/dev/md0 >+ test x/dev/md0 '!=' x/dev/md0 >+ test -n '/bin/mktemp /tmp/grub-install.img.XXXXXX' >++ /bin/mktemp /tmp/grub-install.img.XXXXXX >+ img_file=/tmp/grub-install.img.MT7WdX >+ test -n '/bin/mktemp /tmp/grub-install.log.XXXXXX' >++ /bin/mktemp /tmp/grub-install.log.XXXXXX >+ log_file=/tmp/grub-install.log.Fh7SLo >+ is_raid1_device /dev/md0 >+ case "$host_os" in >++ /sbin/mdadm --query --detail /dev/md0 >++ awk '/Raid Level :/ {print $4}' >+ level=raid1 >+ '[' raid1 = raid1 ']' >+ return 0 >++ find_real_devs /dev/md0 >++ source_device=/dev/md0 >++ case "$host_os" in >++ is_raid1_device /dev/md0 >++ case "$host_os" in >++ awk '{print $1}' >+++ /sbin/mdadm --query --detail /dev/md0 >+++ awk '/Raid Level :/ {print $4}' >++ level=raid1 >++ '[' raid1 = raid1 ']' >++ return 0 >++ list= >+++ /sbin/mdadm --query --detail /dev/md0 >+++ awk '/\/dev\/[^(md)]/ {print $7}' >++ for device in '`$mdadm --query --detail "${source_device}" | awk '\''/\/dev\/[^(md)]/ {print $7}'\''`' >++ list=' /dev/sda1' >++ for device in '`$mdadm --query --detail "${source_device}" | awk '\''/\/dev\/[^(md)]/ {print $7}'\''`' >++ list=' /dev/sda1 /dev/sdb1' >++ echo /dev/sda1 /dev/sdb1 >++ return 0 >+ root_device=/dev/sda1 >++ convert /dev/sda1 >++ test -e /dev/sda1 >++ : >++ case "$host_os" in >+++ echo /dev/sda1 >+++ grep -v '/mapper/control$' >+++ grep -v '/mapper/[[:alnum:]]\+-[[:alnum:]]\+$' >+++ uniq >+++ sed -e 's%\([sh]d[a-z]\)[0-9]*$%\1%' -e 's%\(d[0-9]*\)p[0-9]*$%\1%' -e 's%\(fd[0-9]*\)$%\1%' -e 's%/part[0-9]*$%/disc%' -e 's%\(c[0-7]d[0-9]*\).*$%\1%' -e 's%\(/mapper/[[:alpha:]]\+[[:digit:]]\+\)p[[:digit:]]\+$%\1%' -e 's%\(/mapper/isw_[[:alpha:]_]\+[[:alpha:]]\+[[:digit:]]\+\)p[[:digit:]]\+$%\1%' -e 's%\(/mapper/[[:alpha:]]\+_[[:alpha:]]\+\)[[:digit:]]\+$%\1%' >++ tmp_disk=/dev/sda >+++ echo /dev/sda1 >+++ grep -v '/mapper/control$' >+++ grep -v '/mapper/[[:alnum:]]\+-[[:alnum:]]\+$' >+++ uniq >+++ sed -e 's%.*/[sh]d[a-z]\([0-9]*\)$%\1%' -e 's%.*d[0-9]*p%%' -e 's%.*/fd[0-9]*$%%' -e 's%.*/floppy/[0-9]*$%%' -e 's%.*/\(disc\|part\([0-9]*\)\)$%\2%' -e 's%.*c[0-7]d[0-9]*p%%' -e 's%.*/mapper/[[:alpha:]]\+[[:digit:]]\+p\([[:digit:]]\+\)$%\1%' -e 's%.*/mapper/isw_[[:alpha:]_]\+[[:alpha:]]\+[[:digit:]]\+p\([[:digit:]]\+\)$%\1%' -e 's%.*/mapper/[[:alpha:]]\+_[[:alpha:]]\+\([[:digit:]]\+\)$%\1%' >+++ grep -v '.*/mapper/.*' >++ tmp_part=1 >+++ grep -v '^#' /boot/grub/device.map >+++ grep '/dev/sda *$' >+++ sed 's%.*\(([hf]d[0-9][a-g0-9,]*)\).*%\1%' >++ tmp_drive='(hd0)' >++ test 'x(hd0)' = x >++ test x1 '!=' x >++ case "$host_os" in >++ echo '(hd0)' >+++ expr 1 - 1 >++ sed 's%)$%,0)%' >+ root_drive='(hd0,0)' >+ '[' 'x(hd0,0)' = x ']' >+ for file in '${grubdir}/stage1' '${grubdir}/stage2' '${grubdir}/*stage1_5' >+ count=5 >++ echo /boot/grub/stage1 >++ sed 's|^/boot/grub|/grub|' >+ tmp=/grub/stage1 >+ test 5 -gt 0 >+ dump_boot_block '(hd0,0)' /tmp/grub-install.img.MT7WdX >+ sync >+ /sbin/grub --batch --device-map=/boot/grub/device.map >+ grep 'Error [0-9]*: ' /tmp/grub-install.log.Fh7SLo >+ cmp /boot/grub/stage1 /tmp/grub-install.img.MT7WdX >+ break >+ test 5 -eq 0 >+ for file in '${grubdir}/stage1' '${grubdir}/stage2' '${grubdir}/*stage1_5' >+ count=5 >++ echo /boot/grub/stage2 >++ sed 's|^/boot/grub|/grub|' >+ tmp=/grub/stage2 >+ test 5 -gt 0 >+ dump_boot_block '(hd0,0)' /tmp/grub-install.img.MT7WdX >+ sync >+ /sbin/grub --batch --device-map=/boot/grub/device.map >+ grep 'Error [0-9]*: ' /tmp/grub-install.log.Fh7SLo >+ cmp /boot/grub/stage2 /tmp/grub-install.img.MT7WdX >+ break >+ test 5 -eq 0 >+ for file in '${grubdir}/stage1' '${grubdir}/stage2' '${grubdir}/*stage1_5' >+ count=5 >++ echo /boot/grub/e2fs_stage1_5 >++ sed 's|^/boot/grub|/grub|' >+ tmp=/grub/e2fs_stage1_5 >+ test 5 -gt 0 >+ dump_boot_block '(hd0,0)' /tmp/grub-install.img.MT7WdX >+ sync >+ /sbin/grub --batch --device-map=/boot/grub/device.map >+ grep 'Error [0-9]*: ' /tmp/grub-install.log.Fh7SLo >+ cmp /boot/grub/e2fs_stage1_5 /tmp/grub-install.img.MT7WdX >+ break >+ test 5 -eq 0 >+ for file in '${grubdir}/stage1' '${grubdir}/stage2' '${grubdir}/*stage1_5' >+ count=5 >++ echo /boot/grub/fat_stage1_5 >++ sed 's|^/boot/grub|/grub|' >+ tmp=/grub/fat_stage1_5 >+ test 5 -gt 0 >+ dump_boot_block '(hd0,0)' /tmp/grub-install.img.MT7WdX >+ sync >+ /sbin/grub --batch --device-map=/boot/grub/device.map >+ grep 'Error [0-9]*: ' /tmp/grub-install.log.Fh7SLo >+ cmp /boot/grub/fat_stage1_5 /tmp/grub-install.img.MT7WdX >+ break >+ test 5 -eq 0 >+ for file in '${grubdir}/stage1' '${grubdir}/stage2' '${grubdir}/*stage1_5' >+ count=5 >++ echo /boot/grub/ffs_stage1_5 >++ sed 's|^/boot/grub|/grub|' >+ tmp=/grub/ffs_stage1_5 >+ test 5 -gt 0 >+ dump_boot_block '(hd0,0)' /tmp/grub-install.img.MT7WdX >+ sync >+ /sbin/grub --batch --device-map=/boot/grub/device.map >+ grep 'Error [0-9]*: ' /tmp/grub-install.log.Fh7SLo >+ cmp /boot/grub/ffs_stage1_5 /tmp/grub-install.img.MT7WdX >+ break >+ test 5 -eq 0 >+ for file in '${grubdir}/stage1' '${grubdir}/stage2' '${grubdir}/*stage1_5' >+ count=5 >++ echo /boot/grub/iso9660_stage1_5 >++ sed 's|^/boot/grub|/grub|' >+ tmp=/grub/iso9660_stage1_5 >+ test 5 -gt 0 >+ dump_boot_block '(hd0,0)' /tmp/grub-install.img.MT7WdX >+ sync >+ /sbin/grub --batch --device-map=/boot/grub/device.map >+ grep 'Error [0-9]*: ' /tmp/grub-install.log.Fh7SLo >+ cmp /boot/grub/iso9660_stage1_5 /tmp/grub-install.img.MT7WdX >+ break >+ test 5 -eq 0 >+ for file in '${grubdir}/stage1' '${grubdir}/stage2' '${grubdir}/*stage1_5' >+ count=5 >++ echo /boot/grub/jfs_stage1_5 >++ sed 's|^/boot/grub|/grub|' >+ tmp=/grub/jfs_stage1_5 >+ test 5 -gt 0 >+ dump_boot_block '(hd0,0)' /tmp/grub-install.img.MT7WdX >+ sync >+ /sbin/grub --batch --device-map=/boot/grub/device.map >+ grep 'Error [0-9]*: ' /tmp/grub-install.log.Fh7SLo >+ cmp /boot/grub/jfs_stage1_5 /tmp/grub-install.img.MT7WdX >+ break >+ test 5 -eq 0 >+ for file in '${grubdir}/stage1' '${grubdir}/stage2' '${grubdir}/*stage1_5' >+ count=5 >++ echo /boot/grub/minix_stage1_5 >++ sed 's|^/boot/grub|/grub|' >+ tmp=/grub/minix_stage1_5 >+ test 5 -gt 0 >+ dump_boot_block '(hd0,0)' /tmp/grub-install.img.MT7WdX >+ sync >+ /sbin/grub --batch --device-map=/boot/grub/device.map >+ grep 'Error [0-9]*: ' /tmp/grub-install.log.Fh7SLo >+ cmp /boot/grub/minix_stage1_5 /tmp/grub-install.img.MT7WdX >+ break >+ test 5 -eq 0 >+ for file in '${grubdir}/stage1' '${grubdir}/stage2' '${grubdir}/*stage1_5' >+ count=5 >++ echo /boot/grub/reiserfs_stage1_5 >++ sed 's|^/boot/grub|/grub|' >+ tmp=/grub/reiserfs_stage1_5 >+ test 5 -gt 0 >+ dump_boot_block '(hd0,0)' /tmp/grub-install.img.MT7WdX >+ sync >+ /sbin/grub --batch --device-map=/boot/grub/device.map >+ grep 'Error [0-9]*: ' /tmp/grub-install.log.Fh7SLo >+ cmp /boot/grub/reiserfs_stage1_5 /tmp/grub-install.img.MT7WdX >+ break >+ test 5 -eq 0 >+ for file in '${grubdir}/stage1' '${grubdir}/stage2' '${grubdir}/*stage1_5' >+ count=5 >++ echo /boot/grub/ufs2_stage1_5 >++ sed 's|^/boot/grub|/grub|' >+ tmp=/grub/ufs2_stage1_5 >+ test 5 -gt 0 >+ dump_boot_block '(hd0,0)' /tmp/grub-install.img.MT7WdX >+ sync >+ /sbin/grub --batch --device-map=/boot/grub/device.map >+ grep 'Error [0-9]*: ' /tmp/grub-install.log.Fh7SLo >+ cmp /boot/grub/ufs2_stage1_5 /tmp/grub-install.img.MT7WdX >+ break >+ test 5 -eq 0 >+ for file in '${grubdir}/stage1' '${grubdir}/stage2' '${grubdir}/*stage1_5' >+ count=5 >++ echo /boot/grub/vstafs_stage1_5 >++ sed 's|^/boot/grub|/grub|' >+ tmp=/grub/vstafs_stage1_5 >+ test 5 -gt 0 >+ dump_boot_block '(hd0,0)' /tmp/grub-install.img.MT7WdX >+ sync >+ /sbin/grub --batch --device-map=/boot/grub/device.map >+ grep 'Error [0-9]*: ' /tmp/grub-install.log.Fh7SLo >+ cmp /boot/grub/vstafs_stage1_5 /tmp/grub-install.img.MT7WdX >+ break >+ test 5 -eq 0 >+ for file in '${grubdir}/stage1' '${grubdir}/stage2' '${grubdir}/*stage1_5' >+ count=5 >++ echo /boot/grub/xfs_stage1_5 >++ sed 's|^/boot/grub|/grub|' >+ tmp=/grub/xfs_stage1_5 >+ test 5 -gt 0 >+ dump_boot_block '(hd0,0)' /tmp/grub-install.img.MT7WdX >+ sync >+ /sbin/grub --batch --device-map=/boot/grub/device.map >+ grep 'Error [0-9]*: ' /tmp/grub-install.log.Fh7SLo >+ cmp /boot/grub/xfs_stage1_5 /tmp/grub-install.img.MT7WdX >+ break >+ test 5 -eq 0 >+ rm -f /tmp/grub-install.img.MT7WdX >+ rm -f /tmp/grub-install.log.Fh7SLo >+ test -e /boot/grub/grub.conf >+ test -n '/bin/mktemp /tmp/grub-install.log.XXXXXX' >++ /bin/mktemp /tmp/grub-install.log.XXXXXX >+ log_file=/tmp/grub-install.log.nJifYU >+ for install_drive in '$install_drives' >++ convert /dev/sda1 >++ test -e /dev/sda1 >++ : >++ case "$host_os" in >+++ echo /dev/sda1 >+++ grep -v '/mapper/control$' >+++ grep -v '/mapper/[[:alnum:]]\+-[[:alnum:]]\+$' >+++ uniq >+++ sed -e 's%\([sh]d[a-z]\)[0-9]*$%\1%' -e 's%\(d[0-9]*\)p[0-9]*$%\1%' -e 's%\(fd[0-9]*\)$%\1%' -e 's%/part[0-9]*$%/disc%' -e 's%\(c[0-7]d[0-9]*\).*$%\1%' -e 's%\(/mapper/[[:alpha:]]\+[[:digit:]]\+\)p[[:digit:]]\+$%\1%' -e 's%\(/mapper/isw_[[:alpha:]_]\+[[:alpha:]]\+[[:digit:]]\+\)p[[:digit:]]\+$%\1%' -e 's%\(/mapper/[[:alpha:]]\+_[[:alpha:]]\+\)[[:digit:]]\+$%\1%' >++ tmp_disk=/dev/sda >+++ echo /dev/sda1 >+++ grep -v '/mapper/control$' >+++ grep -v '/mapper/[[:alnum:]]\+-[[:alnum:]]\+$' >+++ uniq >+++ sed -e 's%.*/[sh]d[a-z]\([0-9]*\)$%\1%' -e 's%.*d[0-9]*p%%' -e 's%.*/fd[0-9]*$%%' -e 's%.*/floppy/[0-9]*$%%' -e 's%.*/\(disc\|part\([0-9]*\)\)$%\2%' -e 's%.*c[0-7]d[0-9]*p%%' -e 's%.*/mapper/[[:alpha:]]\+[[:digit:]]\+p\([[:digit:]]\+\)$%\1%' -e 's%.*/mapper/isw_[[:alpha:]_]\+[[:alpha:]]\+[[:digit:]]\+p\([[:digit:]]\+\)$%\1%' -e 's%.*/mapper/[[:alpha:]]\+_[[:alpha:]]\+\([[:digit:]]\+\)$%\1%' >+++ grep -v '.*/mapper/.*' >++ tmp_part=1 >+++ grep -v '^#' /boot/grub/device.map >+++ grep '/dev/sda *$' >+++ sed 's%.*\(([hf]d[0-9][a-g0-9,]*)\).*%\1%' >++ tmp_drive='(hd0)' >++ test 'x(hd0)' = x >++ test x1 '!=' x >++ case "$host_os" in >++ echo '(hd0)' >+++ expr 1 - 1 >++ sed 's%)$%,0)%' >+ root_drive='(hd0,0)' >+ '[' 'x(hd0,0)' = x ']' >+ install_boot_block '(hd0,0)' '(hd0)' >+ sync >+ /sbin/grub --batch --device-map=/boot/grub/device.map >+ for install_drive in '$install_drives' >++ convert /dev/sda1 >++ test -e /dev/sda1 >++ : >++ case "$host_os" in >+++ echo /dev/sda1 >+++ grep -v '/mapper/control$' >+++ grep -v '/mapper/[[:alnum:]]\+-[[:alnum:]]\+$' >+++ uniq >+++ sed -e 's%\([sh]d[a-z]\)[0-9]*$%\1%' -e 's%\(d[0-9]*\)p[0-9]*$%\1%' -e 's%\(fd[0-9]*\)$%\1%' -e 's%/part[0-9]*$%/disc%' -e 's%\(c[0-7]d[0-9]*\).*$%\1%' -e 's%\(/mapper/[[:alpha:]]\+[[:digit:]]\+\)p[[:digit:]]\+$%\1%' -e 's%\(/mapper/isw_[[:alpha:]_]\+[[:alpha:]]\+[[:digit:]]\+\)p[[:digit:]]\+$%\1%' -e 's%\(/mapper/[[:alpha:]]\+_[[:alpha:]]\+\)[[:digit:]]\+$%\1%' >++ tmp_disk=/dev/sda >+++ echo /dev/sda1 >+++ grep -v '/mapper/control$' >+++ grep -v '/mapper/[[:alnum:]]\+-[[:alnum:]]\+$' >+++ uniq >+++ sed -e 's%.*/[sh]d[a-z]\([0-9]*\)$%\1%' -e 's%.*d[0-9]*p%%' -e 's%.*/fd[0-9]*$%%' -e 's%.*/floppy/[0-9]*$%%' -e 's%.*/\(disc\|part\([0-9]*\)\)$%\2%' -e 's%.*c[0-7]d[0-9]*p%%' -e 's%.*/mapper/[[:alpha:]]\+[[:digit:]]\+p\([[:digit:]]\+\)$%\1%' -e 's%.*/mapper/isw_[[:alpha:]_]\+[[:alpha:]]\+[[:digit:]]\+p\([[:digit:]]\+\)$%\1%' -e 's%.*/mapper/[[:alpha:]]\+_[[:alpha:]]\+\([[:digit:]]\+\)$%\1%' >+++ grep -v '.*/mapper/.*' >++ tmp_part=1 >+++ grep -v '^#' /boot/grub/device.map >+++ grep '/dev/sda *$' >+++ sed 's%.*\(([hf]d[0-9][a-g0-9,]*)\).*%\1%' >++ tmp_drive='(hd0)' >++ test 'x(hd0)' = x >++ test x1 '!=' x >++ case "$host_os" in >++ echo '(hd0)' >+++ expr 1 - 1 >++ sed 's%)$%,0)%' >+ root_drive='(hd0,0)' >+ '[' 'x(hd0,0)' = x ']' >+ install_boot_block '(hd0,0)' '(hd1)' >+ sync >+ /sbin/grub --batch --device-map=/boot/grub/device.map >+ grep 'Error [0-9]*: ' /tmp/grub-install.log.nJifYU >+ test yes = yes >+ cat /tmp/grub-install.log.nJifYU > > > GNU GRUB version 0.97 (640K lower / 3072K upper memory) > > [ Minimal BASH-like line editing is supported. For the first word, TAB > lists possible command completions. Anywhere else TAB lists the possible > completions of a device/filename.] >grub> root (hd0,0) > Filesystem type is ext2fs, partition type 0xfd >grub> setup --stage2=/boot/grub/stage2 --prefix=/grub (hd0) > Checking if "/grub/stage1" exists... yes > Checking if "/grub/stage2" exists... yes > Checking if "/grub/e2fs_stage1_5" exists... yes > Running "embed /grub/e2fs_stage1_5 (hd0)"... 23 sectors are embedded. >succeeded > Running "install --stage2=/boot/grub/stage2 /grub/stage1 (hd0) (hd0)1+23 p (hd0,0)/grub/stage2 /grub/grub.conf"... succeeded >Done. >grub> quit > > > GNU GRUB version 0.97 (640K lower / 3072K upper memory) > > [ Minimal BASH-like line editing is supported. For the first word, TAB > lists possible command completions. Anywhere else TAB lists the possible > completions of a device/filename.] >grub> root (hd0,0) > Filesystem type is ext2fs, partition type 0xfd >grub> setup --stage2=/boot/grub/stage2 --prefix=/grub (hd1) > Checking if "/grub/stage1" exists... yes > Checking if "/grub/stage2" exists... yes > Checking if "/grub/e2fs_stage1_5" exists... yes > Running "embed /grub/e2fs_stage1_5 (hd1)"... 23 sectors are embedded. >succeeded > Running "install --stage2=/boot/grub/stage2 /grub/stage1 d (hd1) (hd1)1+23 p (hd0,0)/grub/stage2 /grub/grub.conf"... succeeded >Done. >grub> quit >+ rm -f /tmp/grub-install.log.nJifYU >+ echo 'Installation finished. No error reported.' >Installation finished. No error reported. >+ echo 'This is the contents of the device map /boot/grub/device.map.' >This is the contents of the device map /boot/grub/device.map. >+ echo 'Check if this is correct or not. If any of the lines is incorrect,' >Check if this is correct or not. If any of the lines is incorrect, >+ echo 'fix it and re-run the script `grub-install'\''.' >fix it and re-run the script `grub-install'. >+ echo > >+ cat /boot/grub/device.map ># this device map was generated by anaconda >(hd0) /dev/sda >(hd1) /dev/sdb >+ exit 0 >]0;bruno@localhost:/home/bruno[root@localhost bruno]# exit >exit > >Script done on Thu 19 Jun 2008 03:38:49 PM CDT
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 160563
:
115503
|
120181
|
120182
|
124046
| 309880