{"id":634,"date":"2012-01-04T02:07:06","date_gmt":"2012-01-04T00:07:06","guid":{"rendered":"http:\/\/www.shukko.com\/x3\/?p=634"},"modified":"2012-01-04T02:07:06","modified_gmt":"2012-01-04T00:07:06","slug":"debian-lvm-disk-eklemece-grub-vs-grub2-grub-pc","status":"publish","type":"post","link":"https:\/\/www.shukko.com\/x3\/2012\/01\/04\/debian-lvm-disk-eklemece-grub-vs-grub2-grub-pc\/","title":{"rendered":"debian lvm disk eklemece grub vs grub2 (grub-pc ?)"},"content":{"rendered":"<p>root@yedek:~# cat \/etc\/debian_version<br \/>\n6.0.3<\/p>\n<p>debian kurduk standart br sekilde lvm ile<br \/>\ndaha sonra lvm mizi yeni diskler ekleyerek buyuttuk<br \/>\nlegacy grub lvmyi sikine takmasada kullandigim grub2 default gelen yeni debian ile yeni kernel guncellemesinde sicti.<br \/>\nneden<br \/>\ncunku grub2 lvm de ne oluyor bitiyor onemsiyor.<br \/>\nbenim icin acil cozum gerekli idi<br \/>\nsu sekilde yaptim<\/p>\n<p>1- aptitude purge grub<br \/>\n2- aptitude purge grub-common (30 tane sey sorcak he de gec)<br \/>\n3- aptitude install grub-pc (grub2 paketi bu olsa gerek)<br \/>\nbunlari yapamadi gene hata verdi<br \/>\ncunku disk uid leri ile ilgili bir salaklik vardi<br \/>\no zaman su komutu calistirdim<\/p>\n<p>#1 | Written by drdrape about 4 months ago.<\/p>\n<p>You can also run<br \/>\nsudo grub-mkdevicemap<br \/>\nwhich will update \/boot\/grub\/device.map automatically<\/p>\n<p>device mapi guncelledi kendisi<br \/>\nsonra oldu bitti<\/p>\n<p>detayli hata logu ve basima gelende su posttakine benzer bir durumdu.<\/p>\n<p><code><br \/>\nWhile installing security updates in a seldomly used virtual machine, the latest kernel package was ready to be configured when I got the following error:<\/p>\n<p>Setting up linux-image-2.6.32-5-amd64 (2.6.32-31) ...<br \/>\nRunning depmod.<br \/>\nRunning update-initramfs.<br \/>\nupdate-initramfs: Generating \/boot\/initrd.img-2.6.32-5-amd64<br \/>\nExamining \/etc\/kernel\/postinst.d.<br \/>\nrun-parts: executing \/etc\/kernel\/postinst.d\/initramfs-tools 2.6.32-5-amd64 \/boot\/vmlinuz-2.6.32-5-amd64<br \/>\nrun-parts: executing \/etc\/kernel\/postinst.d\/zz-update-grub 2.6.32-5-amd64 \/boot\/vmlinuz-2.6.32-5-amd64<br \/>\nGenerating grub.cfg ...<br \/>\n\/usr\/sbin\/grub-probe: error: Couldn't find PV pv1. Check your device.map.<br \/>\nrun-parts: \/etc\/kernel\/postinst.d\/zz-update-grub exited with return code 1<br \/>\nFailed to process \/etc\/kernel\/postinst.d at \/var\/lib\/dpkg\/info\/linux-image-2.6.32-5-amd64.postinst line 799.<br \/>\ndpkg: error processing linux-image-2.6.32-5-amd64 (--configure):<br \/>\n subprocess installed post-installation script returned error exit status 2<br \/>\nErrors were encountered while processing:<br \/>\n linux-image-2.6.32-5-amd64<\/p>\n<p>First I didn't quite get the line about \"Couldn't find PV pv1. Check your device.map\", but after some time it dawned on me that \"PV\" might mean \"physical volume\", a term used by LVM. I also remembered that I extended the LVM volume group with an additional block device that I attached to the virtual machine.<\/p>\n<p><\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>root@yedek:~# cat \/etc\/debian_version 6.0.3 debian kurduk standart br sekilde lvm ile daha sonra lvm mizi yeni diskler ekleyerek buyuttuk legacy grub lvmyi sikine takmasada kullandigim grub2 default gelen yeni debian ile yeni kernel guncellemesinde sicti. neden cunku grub2 lvm de ne oluyor bitiyor onemsiyor. benim icin acil cozum gerekli idi su sekilde yaptim 1- aptitude [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-634","post","type-post","status-publish","format-standard","hentry","category-kategerisiz"],"_links":{"self":[{"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/posts\/634","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/comments?post=634"}],"version-history":[{"count":1,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/posts\/634\/revisions"}],"predecessor-version":[{"id":635,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/posts\/634\/revisions\/635"}],"wp:attachment":[{"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/media?parent=634"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/categories?post=634"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/tags?post=634"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}