Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #198772 > unrolled thread
| Started by | local10 <local10@tutanota.com> |
|---|---|
| First post | 2018-08-14 14:50 +0200 |
| Last post | 2018-08-15 05:50 +0200 |
| Articles | 8 — 5 participants |
Back to article view | Back to linux.debian.user
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
| From | local10 <local10@tutanota.com> |
|---|---|
| Date | 2018-08-14 14:50 +0200 |
| Subject | ISO file to sd card: Disk /dev/sdb doesn't contain a valid partition table |
| Message-ID | <wmGVP-2Mc-5@gated-at.bofh.it> |
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
[toc] | [next] | [standalone]
| From | Nicolas George <george@nsup.org> |
|---|---|
| Date | 2018-08-14 14:50 +0200 |
| Message-ID | <wmGVP-2Mc-9@gated-at.bofh.it> |
| In reply to | #198772 |
[Multipart message — attachments visible in raw view] — view raw
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
[toc] | [prev] | [next] | [standalone]
| From | Nicolas George <george@nsup.org> |
|---|---|
| Date | 2018-08-14 15:40 +0200 |
| Message-ID | <wmHIe-3gJ-5@gated-at.bofh.it> |
| In reply to | #198774 |
[Multipart message — attachments visible in raw view] — view raw
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
[toc] | [prev] | [next] | [standalone]
| From | local10 <local10@tutanota.com> |
|---|---|
| Date | 2018-08-14 15:40 +0200 |
| Message-ID | <wmHIe-3gJ-7@gated-at.bofh.it> |
| In reply to | #198774 |
Aug 14, 2018, 8:47 AM by george@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
[toc] | [prev] | [next] | [standalone]
| From | deloptes <deloptes@gmail.com> |
|---|---|
| Date | 2018-08-14 20:40 +0200 |
| Subject | Re: ISO file to sd card: Disk /dev/sdb doesn't contain a valid partition table |
| Message-ID | <wmMoy-60l-19@gated-at.bofh.it> |
| In reply to | #198777 |
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
[toc] | [prev] | [next] | [standalone]
| From | local10 <local10@tutanota.com> |
|---|---|
| Date | 2018-08-15 11:00 +0200 |
| Subject | [SOLVED] Re: ISO file to sd card: Disk /dev/sdb doesn't contain a valid partition table |
| Message-ID | <wmZON-5kC-7@gated-at.bofh.it> |
| In reply to | #198788 |
Aug 14, 2018, 2:30 PM by deloptes@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.
[toc] | [prev] | [next] | [standalone]
| From | Pascal Hambourg <pascal@plouf.fr.eu.org> |
|---|---|
| Date | 2018-08-15 10:10 +0200 |
| Message-ID | <wmZ2p-55n-11@gated-at.bofh.it> |
| In reply to | #198777 |
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.
[toc] | [prev] | [next] | [standalone]
| From | Jude DaShiell <jdashiel@panix.com> |
|---|---|
| Date | 2018-08-15 05:50 +0200 |
| Message-ID | <wmUYN-2vR-1@gated-at.bofh.it> |
| In reply to | #198772 |
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.
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web