26 4月 2009 @ 6:46 AM 

怒られた内容は以下。

# update-grub
Generating grub.cfg …
Warning: update-grub_lib is deprecated, use grub-mkconfig_lib instead
Found linux image: /boot/vmlinuz-2.6.26-2-amd64
Found initrd image: /boot/initrd.img-2.6.26-2-amd64
Found linux image: /boot/vmlinuz-2.6.26-1-amd64
Found initrd image: /boot/initrd.img-2.6.26-1-amd64
Found linux image: /boot/vmlinuz-2.6.24-1-amd64
Found initrd image: /boot/initrd.img-2.6.24-1-amd64
done

あ、はい。
とりあえずそういうときはgrepだろ。

# cd /etc/grub.d/
# grep update-grub *
00_header:# update-grub helper script.
10_hurd:# update-grub helper script.
10_hurd:. ${libdir}/grub/update-grub_lib
10_linux:# update-grub helper script.
30_os-prober:# update-grub helper script.

あ。はい。

# vi 10_hurd

. ${libdir}/grub/update-grub_lib

. ${libdir}/grub/grub-mkconfig_lib
に書き換え。

# update-grub
Generating grub.cfg …
Found linux image: /boot/vmlinuz-2.6.26-2-amd64
Found initrd image: /boot/initrd.img-2.6.26-2-amd64
Found linux image: /boot/vmlinuz-2.6.26-1-amd64
Found initrd image: /boot/initrd.img-2.6.26-1-amd64
Found linux image: /boot/vmlinuz-2.6.24-1-amd64
Found initrd image: /boot/initrd.img-2.6.24-1-amd64
done

幸せになれた。


Posted By: ゆ。
Last Edit: 27 4月 2009 @ 01:52 AM

EmailPermalink
Tags
Tags: ,
Categories: Linux, PC


 

Responses to this post » (None)

 
Post a Comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>


 Last 50 Posts
 Back
Change Theme...
  • Users » 100
  • Posts/Pages » 314
  • Comments » 177
Change Theme...
  • VoidVoid « Default
  • LifeLife
  • EarthEarth
  • WindWind
  • WaterWater
  • FireFire
  • LightLight