Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #198798

Re: ISO file to sd card: Disk /dev/sdb doesn't contain a valid partition table

From Jude DaShiell <jdashiel@panix.com>
Newsgroups linux.debian.user
Subject Re: ISO file to sd card: Disk /dev/sdb doesn't contain a valid partition table
Date 2018-08-15 05:50 +0200
Message-ID <wmUYN-2vR-1@gated-at.bofh.it> (permalink)
References <wmGVP-2Mc-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, 14 Aug 2018, local10 wrote:

> Date: Tue, 14 Aug 2018 08:44:26
> From: local10 <local10@tutanota.com>
> To: debian-user@lists.debian.org
> Subject: ISO file to sd card: Disk /dev/sdb doesn't contain a valid partition
>     table
> Resent-Date: Tue, 14 Aug 2018 12:44:40 +0000 (UTC)
> Resent-From: debian-user@lists.debian.org
>
> Hi,
>
> Am having issues trasfering iso file to an sd card using dd:
>
> # dd if=/tmp/winfile.iso of=/dev/sdb bs=1M conv=fsync
>
> dd completes successfully without any issues but when I try to mount the sd card I can't (wrong fs type, bad option, bad superblock on /dev/sdb1) and fdisk says "Disk /dev/sdb doesn't contain a valid partition table". That's kind of strange as I can mount and read /tmp/winfile.iso and it seems to be in good order.
>
> Any ideas? Thanks
>
>
> # fdisk -l /dev/sdb
> ...
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disk identifier: 0x00000000
>
> Disk /dev/sdb doesn't contain a valid partition table
>
>

-- 

files and partitions are two  different kinds of animal.  IIII'm pretty
certain if you run lsblk you will not find an entry for sdb1 or sdb2 on
that disk either which means no valid partitions.  Not only do you need to
make a partition, you will also need to put a file system on it I'd
recommend vfat for the windows stuff unless you normally use ntfs and have
the necessary ntfs support utilities already on your system.
Just don't loose that source file until after you got this done.  Then
mount -t vfat /dev/sdb1 /mnt/dvd would get you a mounted partition and a
command like:
cp filename /mnt/dvd as root or sudo would put that file in a partition
with a file system on the drive you want.
ls /mnt/dvd should show you the filename too once done.

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

ISO file to sd card: Disk /dev/sdb doesn't contain a valid  partition table local10 <local10@tutanota.com> - 2018-08-14 14:50 +0200
  Re: ISO file to sd card: Disk /dev/sdb doesn't contain a valid  partition table Nicolas George <george@nsup.org> - 2018-08-14 14:50 +0200
    Re: ISO file to sd card: Disk /dev/sdb doesn't contain a valid  partition table Nicolas George <george@nsup.org> - 2018-08-14 15:40 +0200
    Re: ISO file to sd card: Disk /dev/sdb doesn't contain a valid  partition table local10 <local10@tutanota.com> - 2018-08-14 15:40 +0200
      Re: ISO file to sd card: Disk /dev/sdb doesn't contain a valid partition table deloptes <deloptes@gmail.com> - 2018-08-14 20:40 +0200
        [SOLVED] Re: ISO file to sd card: Disk /dev/sdb doesn't contain a  valid partition table local10 <local10@tutanota.com> - 2018-08-15 11:00 +0200
      Re: ISO file to sd card: Disk /dev/sdb doesn't contain a valid  partition table Pascal Hambourg <pascal@plouf.fr.eu.org> - 2018-08-15 10:10 +0200
  Re: ISO file to sd card: Disk /dev/sdb doesn't contain a valid  partition table Jude DaShiell <jdashiel@panix.com> - 2018-08-15 05:50 +0200

csiph-web