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!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2014-12-10 13:45:17

  bonus - Użytkownik

bonus
Użytkownik
Zarejestrowany: 2009-11-12

[SOLVED] grub-probe: cannot find a GRUB drive for /dev/xvdd1 - o co ?

Ponizej informacja o aktualizacji i jej przebiegu

Kod:

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.

Kod:

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ł.

Kod:

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

 

#2  2014-12-10 14:36:11

  mati75 - Psuj

mati75
Psuj
Skąd: default city
Zarejestrowany: 2010-03-14
Serwis

Re: [SOLVED] grub-probe: cannot find a GRUB drive for /dev/xvdd1 - o co ?

Kod:

grub-probe: error: cannot find a GRUB drive for /dev/xvdd1.  Check your device.map.

Pokaż:

Kod:

sudo fdisk -l

[img]https://l0calh0st.pl/obrazki/userbar.png[/img]

Offline

 

#3  2014-12-10 15:42:06

  bonus - Użytkownik

bonus
Użytkownik
Zarejestrowany: 2009-11-12

Re: [SOLVED] grub-probe: cannot find a GRUB drive for /dev/xvdd1 - o co ?

Kod:

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:

Kod:

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

 

#4  2014-12-10 17:24:03

  marcin'82 - Użytkownik

marcin'82
Użytkownik
Skąd: Sosnowiec
Zarejestrowany: 2011-10-02

Re: [SOLVED] grub-probe: cannot find a GRUB drive for /dev/xvdd1 - o co ?

Majaczył coś o GPT, podaj wynik:

Kod:

parted -l

marcin'82

Offline

 

#5  2014-12-10 23:54:24

  mati75 - Psuj

mati75
Psuj
Skąd: default city
Zarejestrowany: 2010-03-14
Serwis

Re: [SOLVED] grub-probe: cannot find a GRUB drive for /dev/xvdd1 - o co ?

To wirtualka na xenie?


[img]https://l0calh0st.pl/obrazki/userbar.png[/img]

Offline

 

#6  2014-12-15 09:52:39

  bonus - Użytkownik

bonus
Użytkownik
Zarejestrowany: 2009-11-12

Re: [SOLVED] grub-probe: cannot find a GRUB drive for /dev/xvdd1 - o co ?

[quote=marcin'82]Majaczył coś o GPT, podaj wynik:

Kod:

parted -l

[/quote]

Kod:

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

 

#7  2014-12-15 09:58:49

  bonus - Użytkownik

bonus
Użytkownik
Zarejestrowany: 2009-11-12

Re: [SOLVED] grub-probe: cannot find a GRUB drive for /dev/xvdd1 - o co ?

[quote=mati75]To wirtualka na xenie?[/quote]
Tak wirtualka na Xenserver (Xenie).

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
Możesz wyłączyć AdBlock — tu nie ma reklam ;-)

[ Generated in 0.009 seconds, 12 queries executed ]

Informacje debugowania

Time (s) Query
0.00008 SET CHARSET latin2
0.00005 SET NAMES latin2
0.00042 SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='18.191.200.114' WHERE u.id=1
0.00084 REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '18.191.200.114', 1732532738)
0.00064 SELECT * FROM punbb_online WHERE logged<1732532438
0.00060 DELETE FROM punbb_online WHERE ident='18.118.193.28'
0.00053 SELECT topic_id FROM punbb_posts WHERE id=280070
0.00096 SELECT id FROM punbb_posts WHERE topic_id=26780 ORDER BY posted
0.00080 SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=26780 AND t.moved_to IS NULL
0.00005 SELECT search_for, replace_with FROM punbb_censoring
0.00086 SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=26780 ORDER BY p.id LIMIT 0,25
0.00084 UPDATE punbb_topics SET num_views=num_views+1 WHERE id=26780
Total query time: 0.00667 s