Bug#689733: After the command update-grub seems core.img not be built It's ok with grub-install

cep cepcasa at gmail.com
Fri Oct 5 17:37:59 UTC 2012


Package: grub-pc grub-common
Version: 1.99-23
Severity: normal

Hi,

After the command update-grub seems core.img not be built

It's ok with grub-install

regards,

cep

:~$ ls -l /boot/grub/*img
-rw-r--r-- 1 root root   512 oct.   2 16:12 /boot/grub/boot.img
-rw-r--r-- 1 root root   512 oct.   2 16:12 /boot/grub/cdboot.img
-rw-r--r-- 1 root root   512 oct.   2 16:12 /boot/grub/diskboot.img
-rw-r--r-- 1 root root   512 oct.   2 16:12 /boot/grub/g2hdr.img
-rw-r--r-- 1 root root 10240 oct.   2 16:12 /boot/grub/grldr.img
-rw-r--r-- 1 root root 30204 oct.   2 16:12 /boot/grub/kernel.img
-rw-r--r-- 1 root root  1024 oct.   2 16:12 /boot/grub/lnxboot.img
-rw-r--r-- 1 root root  1024 oct.   2 16:12 /boot/grub/pxeboot.img

:~$ sudo update-grub
Generating grub.cfg ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-3.4-trunk-686-pae
Found initrd image: /boot/initrd.img-3.4-trunk-686-pae
Found linux image: /boot/vmlinuz-3.1.0-1-amd64
Found initrd image: /boot/initrd.img-3.1.0-1-amd64
Found Debian GNU/Linux (wheezy/sid) on /dev/sda1
Found Ubuntu 12.04.1 LTS (12.04) on /dev/sda8
Found Debian GNU/Linux (wheezy/sid) on /dev/sdb1
done
:~$ ls -l /boot/grub/*img
-rw-r--r-- 1 root root   512 oct.   2 16:12 /boot/grub/boot.img
-rw-r--r-- 1 root root   512 oct.   2 16:12 /boot/grub/cdboot.img
-rw-r--r-- 1 root root   512 oct.   2 16:12 /boot/grub/diskboot.img
-rw-r--r-- 1 root root   512 oct.   2 16:12 /boot/grub/g2hdr.img
-rw-r--r-- 1 root root 10240 oct.   2 16:12 /boot/grub/grldr.img
-rw-r--r-- 1 root root 30204 oct.   2 16:12 /boot/grub/kernel.img
-rw-r--r-- 1 root root  1024 oct.   2 16:12 /boot/grub/lnxboot.img
-rw-r--r-- 1 root root  1024 oct.   2 16:12 /boot/grub/pxeboot.img

:~$ sudo grub-install --force /dev/sda2
/usr/sbin/grub-setup : attention :  Attempting to install GRUB to a 
partitionless disk or to a partition.  This is a BAD idea..
/usr/sbin/grub-setup : attention :  Installation impossible. GRUB peut 
seulement être installé sur cette configuration en utilisant les listes 
de blocs. Toutefois, les listes de blocs ne sont PAS fiables et leur 
emploi n'est pas conseillé..
Installation finished. No error reported.

:~$ ls -l /boot/grub/*img
-rw-r--r-- 1 root root   512 oct.   5 19:11 /boot/grub/boot.img
-rw-r--r-- 1 root root   512 oct.   5 19:11 /boot/grub/cdboot.img
-rw-r--r-- 1 root root 25989 oct.   5 19:11 /boot/grub/core.img
-rw-r--r-- 1 root root   512 oct.   5 19:11 /boot/grub/diskboot.img
-rw-r--r-- 1 root root   512 oct.   5 19:11 /boot/grub/g2hdr.img
-rw-r--r-- 1 root root 10240 oct.   5 19:11 /boot/grub/grldr.img
-rw-r--r-- 1 root root 30204 oct.   5 19:11 /boot/grub/kernel.img
-rw-r--r-- 1 root root  1024 oct.   5 19:11 /boot/grub/lnxboot.img
-rw-r--r-- 1 root root  1024 oct.   5 19:11 /boot/grub/pxeboot.img

:~$ apt-cache policy grub-pc grub-common  |grep Instal
   Installé : 1.99-23
   Installé : 1.99-23


--- System information. ---
Architecture: i386
Kernel: Linux 3.4-trunk-686-pae

Debian Release: wheezy/sid
500 unstable http.debian.net
1 experimental http.debian.net

--- Package information. ---
Depends (Version) | Installed
============================-+-============
debconf (>= 0.5) | 1.5.46
OR debconf-2.0 |
grub-common | 1.99-23
grub2-common (= 1.99-23) | 1.99-23
grub-pc-bin (= 1.99-23) | 1.99-23
ucf | 3.0025+nmu3


Recommends (Version) | Installed
=========================-+-===========
os-prober (>= 1.33) | 1.56


Suggests (Version) | Installed
=================================-+-================
multiboot-doc |
grub-emu |
xorriso (>= 0.5.6.pl00) | 1.2.2-2
desktop-base (>= 4.0.6) | 7.0.3



More information about the Pkg-grub-devel mailing list