Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Strony: 1
Ponizej informacja o aktualizacji i jej przebiegu
Current status: 1 update [+1]. root@osilek:/etc/samba# aptitude safe-upgrade The following packages will be upgraded: linux-image-3.2.0-4-amd64 The following packages are RECOMMENDED but will NOT be installed: firmware-linux-free 1 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 23.5 MB of archives. After unpacking 2,381 kB will be used. Do you want to continue? [Y/n/?] y Get: 1 http://security.debian.org/ stable/updates/main linux-image-3.2.0-4-amd64 amd64 3.2.63-2+deb7u2 [23.5 MB] Fetched 23.5 MB in 1min 8s (344 kB/s) Preconfiguring packages ... (Reading database ... 21924 files and directories currently installed.) Preparing to replace linux-image-3.2.0-4-amd64 3.2.63-2+deb7u1 (using .../linux-image-3.2.0-4-amd64_3.2.63-2+deb7u2_amd64.deb) ... Unpacking replacement linux-image-3.2.0-4-amd64 ... Examining /etc/kernel/postrm.d . run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.2.0-4-amd64 /boot/vmlinuz-3.2.0-4-amd64 run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.2.0-4-amd64 /boot/vmlinuz-3.2.0-4-amd64 Setting up linux-image-3.2.0-4-amd64 (3.2.63-2+deb7u2) ... Running depmod. Examining /etc/kernel/postinst.d. run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.2.0-4-amd64 /boot/vmlinuz-3.2.0-4-amd64 update-initramfs: Generating /boot/initrd.img-3.2.0-4-amd64 run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.2.0-4-amd64 /boot/vmlinuz-3.2.0-4-amd64 Generating grub.cfg ... Found linux image: /boot/vmlinuz-3.2.0-4-amd64 Found initrd image: /boot/initrd.img-3.2.0-4-amd64 grub-probe: error: cannot find a GRUB drive for /dev/xvdd1. Check your device.map. ls: reading directory /var/lib/os-prober/mount: Input/output error ls: reading directory /var/lib/os-prober/mount: Input/output error ls: reading directory /var/lib/os-prober/mount: Input/output error ls: reading directory /var/lib/os-prober/mount: Input/output error done
Czy coś poszło nie tak.
aptitude safe-upgrade No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B of archives. After unpacking 0 B will be used.
Pakiet niby zaktualizowany, ale czy grub poprawnie sobie zapisy o jądrze zaktualizował.
aptitude show linux-image-3.2.0-4-amd64 Package: linux-image-3.2.0-4-amd64 State: installed Automatically installed: yes Version: 3.2.63-2+deb7u2 Priority: optional Section: kernel Maintainer: Debian Kernel Team <debian-kernel@lists.debian.org> Architecture: amd64 Uncompressed Size: 108 M Depends: kmod | module-init-tools, linux-base (>= 3~), initramfs-tools (>= 0.99~) | linux-initramfs-tool PreDepends: debconf | debconf-2.0 Recommends: firmware-linux-free (>= 3~) Suggests: linux-doc-3.2, debian-kernel-handbook, grub-pc | extlinux | lilo Breaks: at (< 3.1.12-1+squeeze1), initramfs-tools (< 0.99~) Provides: linux-image, linux-modules-3.2.0-4-amd64 Description: Linux 3.2 for 64-bit PCs The Linux kernel 3.2 and modules for use on PCs with AMD64, Intel 64 or VIA Nano processors. This kernel also runs on a Xen hypervisor. It supports both privileged (dom0) and unprivileged (domU) operation.
Ostatnio edytowany przez bonus (2014-12-17 12:08:37)
Offline
grub-probe: error: cannot find a GRUB drive for /dev/xvdd1. Check your device.map.
Pokaż:
sudo fdisk -l
Offline
Disk /dev/xvda: 8589 MB, 8589934592 bytes 255 heads, 63 sectors/track, 1044 cylinders, total 16777216 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: 0x0004a9f0 Device Boot Start End Blocks Id System /dev/xvda1 2048 15988735 7993344 83 Linux /dev/xvda2 15990782 16775167 392193 5 Extended /dev/xvda5 15990784 16775167 392192 82 Linux swap / Solaris WARNING: GPT (GUID Partition Table) detected on '/dev/xvdd'! The util fdisk doesn't support GPT. Use GNU Parted. Disk /dev/xvdd: 232 MB, 232783872 bytes 255 heads, 63 sectors/track, 28 cylinders, total 454656 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: 0x22a3e522 Device Boot Start End Blocks Id System /dev/xvdd1 * 0 454655 227328 0 Empty /dev/xvdd2 3440 4335 448 ef EFI (FAT-12/16/32) WARNING: GPT (GUID Partition Table) detected on '/dev/xvdd1'! The util fdisk doesn't support GPT. Use GNU Parted. Disk /dev/xvdd1: 232 MB, 232783872 bytes 255 heads, 63 sectors/track, 28 cylinders, total 454656 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: 0x22a3e522 Device Boot Start End Blocks Id System /dev/xvdd1p1 * 0 454655 227328 0 Empty /dev/xvdd1p2 3440 4335 448 ef EFI (FAT-12/16/32)
Ten debian jako VM na Xenserve'rze po wysunięciu obrazu iso podmontowanego do VM'a (jeszcze z instalacji) jest ok:
Disk /dev/xvda: 8589 MB, 8589934592 bytes 255 heads, 63 sectors/track, 1044 cylinders, total 16777216 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: 0x0004a9f0 Device Boot Start End Blocks Id System /dev/xvda1 2048 15988735 7993344 83 Linux /dev/xvda2 15990782 16775167 392193 5 Extended /dev/xvda5 15990784 16775167 392192 82 Linux swap / Solaris
Tylko co Grub chciał zrobić z tym dyskiem, szukał systemu czy co?
Offline
Majaczył coś o GPT, podaj wynik:
parted -l
Offline
To wirtualka na xenie?
Offline
marcin'82 napisał(-a):
Majaczył coś o GPT, podaj wynik:
Kod:
parted -l
parted -l Model: Xen Virtual Block Device (xvd) Disk /dev/xvda: 8590MB Sector size (logical/physical): 512B/512B Partition Table: msdos Number Start End Size Type File system Flags 1 1049kB 8186MB 8185MB primary ext4 2 8187MB 8589MB 402MB extended 5 8187MB 8589MB 402MB logical linux-swap(v1)
Jednak MBR 512B czyli wszystko ok.
Offline
mati75 napisał(-a):
To wirtualka na xenie?
Tak wirtualka na Xenserver (Xenie).
Offline
Strony: 1