Date
1 - 17 of 17
Installing draws image
Steve McGrane <temporarilyoffline@...>
Douglas, It sounds like you're trying to write the image from your Pi? Can you issue an `lsblk` command and tell us anything useful about the drives it shows that you know? (like which ones you don't want to overwrite for example) From there we can help you construct a command that should work to burn the image. Failing that, etcher on a "real" computer is your best bet. - Steve
On Wed, Mar 27, 2019 at 10:41 PM Douglas KI7LIK <KI7LIK.AZ@...> wrote: First, thanks to everyone for helping. I may be missing something. I keep getting the same read only errors whether or not the card is in the locked position.
|
|
Douglas, A few points:
It does sound like you may have a defective card, it is hard to say. Many of the image writing programs have the ability to verify the writes. Also, since the partitions/filesystem (except /boot) are foreign to Windows and MacOS, you probably won't see them from your PC/Mac.
On Wed, Mar 27, 2019 at 8:41 PM Douglas KI7LIK <KI7LIK.AZ@...> wrote: First, thanks to everyone for helping. I may be missing something. I keep getting the same read only errors whether or not the card is in the locked position.
|
|
Douglas
First, thanks to everyone for helping. I may be missing something. I keep getting the same read only errors whether or not the card is in the locked position.
Sunday night and last night i used diskimager, for some reason it didn't work. After attempting to boot the pi on sunday and nothing happening, i check the card on the pc, it had nothing on it and said it was empty. I tried again last night, and still nothing. The card is a pny 32gb micro sdhc card and looks to be a class 1 card. I formatted to fat 32 before writing the image to the card. I used the same computer as when i first wrote the raspbian. I'm thinking its possibly the card or maybe even the user.
|
|
Steve KC1AWV
Also, sudo "command" runs command as root. If you want to switch to root, use the command su
On Sun, Mar 24, 2019, 11:28 AM Steve KC1AWV via Groups.Io <smiller=kc1awv.net@groups.io> wrote:
|
|
Steve KC1AWV
When using umount, you must unmount a partition, like /dev/sdb1 . You can't mount/unmount a block device, only partitions Steve KC1AWV
On Sat, Mar 23, 2019, 11:48 PM Douglas KI7LIK <KI7LIK.AZ@...> wrote: How do i get to root?
|
|
Douglas
How do i get to root?
|
|
Christopher Day
From: main@nw-digital-radio.groups.io on behalf of Douglas KI7LIK <ki7lik.az@...>
Sent: Saturday, March 23, 2019 20:12 To: main@nw-digital-radio.groups.io Subject: Re: [nw-digital-radio] Installing draws image Here is what i keep getting
pi@Lakelandpi:~$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sdb 8:16 1 29.6G 1 disk
mmcblk0 179:0 0 14.9G 0 disk
├─mmcblk0p1 179:1 0 43.8M 0 part /boot
└─mmcblk0p2 179:2 0 14.8G 0 part /
pi@Lakelandpi:~$ dd if=draws_beta9.img of=/dev/sdb bs=4M
dd: failed to open '/dev/sdb': Permission denied
pi@Lakelandpi:~$ dcfldd if=draws_beta9.img of=/dev/sdb bs=4M
bash: dcfldd: command not found
pi@Lakelandpi:~$ dd if=draws_beta9.img of=/dev/sdb bs=4M
dd: failed to open '/dev/sdb': Permission denied
I've been trying to right to sdb, it matches the sd card i have in the card reader. when i use dd, it gives me permission denied.
|
|
Are you saying it's working, or not working? One more thing... If you're still getting the read-only file system error, then check to see if the physical switch on the side of the SD card is in the write position. If not, then there's your problem.
On Sat, Mar 23, 2019 at 11:36 PM Douglas KI7LIK <KI7LIK.AZ@...> wrote: Unmounted
|
|
Douglas
Unmounted
pi@Lakelandpi:~$ umount /dev/sdb
umount: /dev/sdb: not mounted
|
|
Make sure the volume on the card is unmounted first.
On Sat, Mar 23, 2019 at 11:31 PM Douglas KI7LIK <KI7LIK.AZ@...> wrote:
|
|
Douglas
I get read only file system with sudo. KI7LIK Granada Estates Neighborhood Watch
On Sat, Mar 23, 2019, 20:28 John D Hays - K7VE <john@...> wrote:
|
|
Try with sudo
On Sat, Mar 23, 2019, 20:12 Douglas KI7LIK <KI7LIK.AZ@...> wrote:
|
|
Prefix the command with "sudo".
On Sat, Mar 23, 2019 at 10:59 PM Douglas KI7LIK <KI7LIK.AZ@...> wrote:
|
|
Douglas
Here is what i keep getting
pi@Lakelandpi:~$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sdb 8:16 1 29.6G 1 disk
mmcblk0 179:0 0 14.9G 0 disk
├─mmcblk0p1 179:1 0 43.8M 0 part /boot
└─mmcblk0p2 179:2 0 14.8G 0 part /
pi@Lakelandpi:~$ dd if=draws_beta9.img of=/dev/sdb bs=4M
dd: failed to open '/dev/sdb': Permission denied
pi@Lakelandpi:~$ dcfldd if=draws_beta9.img of=/dev/sdb bs=4M
bash: dcfldd: command not found
pi@Lakelandpi:~$ dd if=draws_beta9.img of=/dev/sdb bs=4M
dd: failed to open '/dev/sdb': Permission denied
I've been trying to right to sdb, it matches the sd card i have in the card reader. when i use dd, it gives me permission denied.
|
|
Douglas
I changed to the /dev/sdb, when i do a look up for devices, it shows sdb as the the 32 gb device, which what the card is im writing to. The card in the pi is sixteen gb. It gives me access denied when i do sdb. Granada Estates Neighborhood Watch
|
|
That error message dd is giving you is correct. You can't write an image file to a directory. You need to write an image file to the device representing the flash card. You want of=/dev/X where "X" is the name of the device. It could be sdd or mmcblk0. You'll have to ls your /dev directory to know for sure. Hope this helps. 73, -Dave W3DJS
On Sat, Mar 23, 2019 at 8:39 PM Douglas KI7LIK <KI7LIK.AZ@...> wrote:
|
|
Douglas
I am stuck. I have gotten to the point of installing it via command line, but it just keeps saying that the card is a directory. Here is the command: dd bs=4M if=draws_beta9.img of=/media/pi/8B6D-99CF Error: dd: failed to open '/media/pi/8B6D-99CF': Is a directory This is after i have downloaded the file and unzipped it. Thanks, Douglas Granada Estates Neighborhood Watch
|
|