Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
15.7 Legacy Series
»
[SOLVED] USB Installer img dd problem
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] USB Installer img dd problem (Read 9946 times)
plip
Newbie
Posts: 5
Karma: 2
[SOLVED] USB Installer img dd problem
«
on:
October 24, 2015, 03:41:42 pm »
Hello,
This is just a notification of a problem I had installing via USB following the software installation guide.
Using linux to "dd" the image to the USB drive seemed to work fine, at least fdisk -l showed two partitions (in my case /dev/sdc4 and /dev/sdc4p4). However, booting from it was not possible; just a blank screen with a spinning cursor, no text of any kind. I confirmed that the hash of the bz2 file matched the checksum provided on the mirror, so a dodgy download couldn't be the problem.
I tried with a second USB drive from a different manufacturer, again same result.
So I tried a third time to dd the image, this time I didn't specify the "bs=16k" option, I just removed that. To my surprise, I was able to boot and install without any issues!
I have no idea if this is some sort of quirk with my particular system or not, just thought a heads up would be in order in any case.
Thanks!
«
Last Edit: October 27, 2015, 11:19:04 am by franco
»
Logged
lucifercipher
Jr. Member
Posts: 55
Karma: 9
Re: USB Installer img dd problem
«
Reply #1 on:
October 24, 2015, 08:02:02 pm »
Hello plip,
If you happen to have a Windows PC then the easiest way to do it is use
http://sourceforge.net/projects/win32diskimager/
. Simply select your flash drive as the target and flash it.
Have a good day.
Logged
plip
Newbie
Posts: 5
Karma: 2
Re: USB Installer img dd problem
«
Reply #2 on:
October 24, 2015, 08:43:43 pm »
Thanks for the tip lucifercipher, if I need to do this in Windows at some point I'll know what to use.
I just wanted to raise a flag as to the blocksize used in the dd command specified in the install guide; perhaps 16k isn't optimal? Maybe others are having/have had the same problem, maybe it's just me.
Logged
franco
Administrator
Hero Member
Posts: 17276
Karma: 1569
Re: USB Installer img dd problem
«
Reply #3 on:
October 25, 2015, 11:38:27 am »
I always use bs=1m, but that's on OSX. No block size is terribly slow, good workaround nevertheless, yet shouldn't matter. Data layout remains consistent unless the writing is screwed up on the hardware (may be the controller or linux driver), definitely not the usb stick. Do you have a different PC with different hardware to crosscheck?
Logged
plip
Newbie
Posts: 5
Karma: 2
Re: [HEADS-UP] USB Installer img dd problem
«
Reply #4 on:
October 25, 2015, 08:13:34 pm »
Quote from: franco on October 25, 2015, 11:38:27 am
Do you have a different PC with different hardware to crosscheck?
Yes! I dd'd the USB stick again, using bs=16k and plugged it into an old laptop, and booted without any issue.
Logged
franco
Administrator
Hero Member
Posts: 17276
Karma: 1569
Re: [HEADS-UP] USB Installer img dd problem
«
Reply #5 on:
October 26, 2015, 07:05:26 am »
Wait, now I'm confused. Was the USB stick written on different hardware or booted on different hardware?
Logged
plip
Newbie
Posts: 5
Karma: 2
Re: [HEADS-UP] USB Installer img dd problem
«
Reply #6 on:
October 26, 2015, 09:29:37 pm »
The stick was written on the same hardware, booted on different hardware.
Logged
franco
Administrator
Hero Member
Posts: 17276
Karma: 1569
Re: [HEADS-UP] USB Installer img dd problem
«
Reply #7 on:
October 27, 2015, 11:18:54 am »
That makes less sense than the other way around. Either the stick is written incorrectly or there was a temporary glitch. Is this new stick still not bootable on the original hardware?
(This is more out of interest, feel free to disregard.)
Logged
plip
Newbie
Posts: 5
Karma: 2
Re: [SOLVED] USB Installer img dd problem
«
Reply #8 on:
October 28, 2015, 07:50:08 pm »
Yes, that same USB stick that previously wouldn't boot on the original hardware now boots correctly. It was a full moon a couple of days ago, that must have been it
Thanks anyway
Logged
franco
Administrator
Hero Member
Posts: 17276
Karma: 1569
Re: [SOLVED] USB Installer img dd problem
«
Reply #9 on:
October 28, 2015, 11:00:52 pm »
Yeah, that's been known to happen. Thanks for taking the time to report back.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
15.7 Legacy Series
»
[SOLVED] USB Installer img dd problem