Results 1 to 7 of 7

Thread: Synaptic Package Manager error, cannot read from `/dev/sdb'

  1. #1
    Join Date
    Dec 2007
    Beans
    17

    Synaptic Package Manager error, cannot read from `/dev/sdb'

    I have the same problem with Synaptic and Update manager. When I do dpkg --configure -a, this is what I get:

    Code:
    jan@jan-laptop:~$ sudo dpkg --configure -a
    Setting up linux-image-2.6.31-21-generic (2.6.31-21.59) ...
    Running depmod.
    update-initramfs: Generating /boot/initrd.img-2.6.31-21-generic
    Running postinst hook script /usr/sbin/update-grub.
    error: cannot read from `/dev/sdb'
    Please help!

  2. #2
    Join Date
    Jul 2007
    Location
    UK
    Beans
    17,058
    Distro
    Ubuntu Development Release

    Re: Synaptic Package Manager error, cannot read from `/dev/sdb'

    Post moved to own thread.

  3. #3
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Synaptic Package Manager error, cannot read from `/dev/sdb'

    thewhiteraven,

    Grub2 is having a problem updating. Does your install include OS's on different partitions or G2 and your OS on different partitions? If not, it could be as simple as looking at (and removing references to sdb) from /boot/grub/device.map.

    You might also check the error messages by running update-grub by itself:
    Code:
    sudo update-grub
    Otherwise it may be easiest to just take a look at your system by using meierfra's bootinfo script:
    http://bootinfoscript.sourceforge.net/
    Last edited by drs305; May 14th, 2010 at 01:43 PM.
    New to Wayland.

    Retired.

  4. #4
    Join Date
    May 2007
    Beans
    10

    Re: Synaptic Package Manager error, cannot read from `/dev/sdb'

    Same problem here when grub tries to update... In /boot/grub/device.map I only have

    (hd0) /dev/disk/by-id/ata-SAMSUNG_HD753LJ_S13UJ90S510383
    (hd1) /dev/disk/by-id/ata-SAMSUNG_HD753LJ_S13UJ90S510378

  5. #5
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Synaptic Package Manager error, cannot read from `/dev/sdb'

    Quote Originally Posted by fher98 View Post
    Same problem here when grub tries to update... In /boot/grub/device.map I only have

    (hd0) /dev/disk/by-id/ata-SAMSUNG_HD753LJ_S13UJ90S510383
    (hd1) /dev/disk/by-id/ata-SAMSUNG_HD753LJ_S13UJ90S510378
    Try refreshing the device map with this command:
    Code:
    sudo grub-mkdevicemap
    You normally don't even need a device.map file, which is stored in /boot/grub.
    New to Wayland.

    Retired.

  6. #6
    Join Date
    May 2007
    Beans
    10

    Re: Synaptic Package Manager error, cannot read from `/dev/sdb'

    Thanks for your reply, I executed grub-mkdevicemap, then

    :~# update-grub
    Generating grub.cfg ...
    ...
    Found initrd image: /boot/initrd.img-2.6.26-2-amd64
    /dev/sdb: read failed after 0 of 4096 at 0: Input/output error
    /dev/sdb1: read failed after 0 of 2048 at 0: Input/output error
    /dev/sdb2: read failed after 0 of 2048 at 0: Input/output error
    /dev/sdb3: read failed after 0 of 4096 at 0: Input/output error
    No volume groups found

  7. #7
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Synaptic Package Manager error, cannot read from `/dev/sdb'

    Quote Originally Posted by fher98 View Post
    Thanks for your reply, I executed grub-mkdevicemap, then

    :~# update-grub
    Generating grub.cfg ...
    ...
    Found initrd image: /boot/initrd.img-2.6.26-2-amd64
    /dev/sdb: read failed after 0 of 4096 at 0: Input/output error
    /dev/sdb1: read failed after 0 of 2048 at 0: Input/output error
    /dev/sdb2: read failed after 0 of 2048 at 0: Input/output error
    /dev/sdb3: read failed after 0 of 4096 at 0: Input/output error
    No volume groups found
    fher98,

    Have you recently moved drives around, added drives, etc? The only references to this type of issue I could readily find recommended refreshing the initrd image.

    Code:
    man mkinitramfs
    New to Wayland.

    Retired.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •