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

2018-08-15 Thread local10
Aug 14, 2018, 2:30 PM by delop...@gmail.com:

> > but why you don't run it in VM or VBox or extract, or use unetbootin?
>
Yes,  eventually I installed unetbootin and got it working with it. Thanks to 
everyone who responded.



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

2018-08-15 Thread Pascal Hambourg

Le 14/08/2018 à 15:31, local10 a écrit :



The goal here is to create an sd card containg a bootable windows 7 image, I 
need to test something quick in windows. The iso file  is a windows 7 image.


What kind of Windows 7 image ? An installation DVD image ? AFAIK these 
ISO images are not hybrid and cannot boot from a SD card when written 
directly with dd or the like. You may have more luck with special tools 
such as Unetbootin or Rufus.




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

2018-08-14 Thread Jude DaShiell
On Tue, 14 Aug 2018, local10 wrote:

> Date: Tue, 14 Aug 2018 08:44:26
> From: local10 
> 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 + (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: 0x
>
> Disk /dev/sdb doesn't contain a valid partition table
>
>

-- 

files and partitions are two  different kinds of animal.  '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.




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

2018-08-14 Thread deloptes
local10 wrote:

> The goal here is to create an sd card containg a bootable windows 7 image,
> I need to test something quick in windows. The iso file  is a windows 7
> image.

is it live windows7 - I have heard rumors that such thing exists?
Is it recovery disk?

but why you don't run it in VM or VBox or extract, or use unetbootin?

Still it is not clear what you want to do with that- well, obviously this
thing with dd on sd card does not work.

regards





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

2018-08-14 Thread Nicolas George
local10 (2018-08-14):
> The goal here is to create an sd card containg a bootable windows 7
> image, I need to test something quick in windows. The iso file  is a
> windows 7 image. 

Then I suspect you would have more luck asking people familiar with
windows.

Regards,

-- 
  Nicolas George


signature.asc
Description: Digital signature


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

2018-08-14 Thread local10
Aug 14, 2018, 8:47 AM by geo...@nsup.org:

> > You can try to mount /dev/sdb itself.
>
Yes, you're right, I can mount it on /dev/sdb.


> > But you are probably doing something wrong in the first place. What is your 
> > endgame?
>
The goal here is to create an sd card containg a bootable windows 7 image, I 
need to test something quick in windows. The iso file  is a windows 7 image. 

Thanks



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

2018-08-14 Thread Nicolas George
local10 (2018-08-14):
> 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.

That is perfectly normal, an ISO file is an ISO-9660 filesystem image,
it does not contain a MBR-style partition table.

You can try to mount /dev/sdb itself. But you are probably doing
something wrong in the first place. What is your endgame?

Regards,

-- 
  Nicolas George


signature.asc
Description: Digital signature


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

2018-08-14 Thread local10
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: 0x

Disk /dev/sdb doesn't contain a valid partition table