I just received a Raspberry Pi 2b as a birthday gift. Apparently the operating system must be stored on an micro-SD card, the o/s can be downloaded but I have to get the SD card and whatever is required to program it from Fedora 21 or 22, or buy one preprogrammed.
Perhaps someone with experience there can enlighten as to what I need to order to do this?
Thanks,
Bob
On 04/29/15 22:46, bobgoodwin@wildblue.net wrote:
I just received a Raspberry Pi 2b as a birthday gift. Apparently the operating system must be stored on an micro-SD card, the o/s can be downloaded but I have to get the SD card and whatever is required to program it from Fedora 21 or 22, or buy one preprogrammed.
Perhaps someone with experience there can enlighten as to what I need to order to do this?
I don't do Raspberry, but if I were I would probably start here....
https://fedoraproject.org/wiki/Architectures/ARM
Notice 4.3 ....
On 04/29/15 10:59, Ed Greshko wrote:
On 04/29/15 22:46,bobgoodwin@wildblue.net wrote:
I just received a Raspberry Pi 2b as a birthday gift. Apparently the operating system must be stored on an micro-SD card, the o/s can be downloaded but I have to get the SD card and whatever is required to program it from Fedora 21 or 22, or buy one preprogrammed.
Perhaps someone with experience there can enlighten me as to what I need to order to do this?
I don't do Raspberry, but if I were I would probably start here....
https://fedoraproject.org/wiki/Architectures/ARM
Notice 4.3 ....
I had not seen that ...
Thanks,
Bob
On Wed, 2015-04-29 at 22:59 +0800, Ed Greshko wrote:
On 04/29/15 22:46, bobgoodwin@wildblue.net wrote:
I just received a Raspberry Pi 2b as a birthday gift. Apparently the operating system must be stored on an micro-SD card, the o/s can be downloaded but I have to get the SD card and whatever is required to program it from Fedora 21 or 22, or buy one preprogrammed.
Perhaps someone with experience there can enlighten as to what I need to order to do this?
I don't do Raspberry, but if I were I would probably start here....
IIRC the OP isn't asking about Fedora on the Pi, but how to create the SD card on a Fedora machine.
There are instructions at https://www.raspberrypi.org/help/noobs-setup/ but the card-formatting part isn't Linux-specific. See http://elinux.org/RPi_Easy_SD_Card_Setup#Flashing_the_SD_Card_using_Linux_.2... for more on formatting the card. The same site has info on a Fedora version for the Pi (other distros are available), but the card formatting doesn't depend on that.
poc
On Wed, Apr 29, 2015 at 06:53:53PM +0100, Patrick O'Callaghan wrote:
IIRC the OP isn't asking about Fedora on the Pi, but how to create the SD card on a Fedora machine.
As I read it, too.
Just a Caveat--I've recently been doing a fair bit with the RPi, since one client asked for a slideshow server with specific behavior, and another for an Internet kiosk for their waiting rooms. In building and backing up these machines, I discovered something: "8GB is 8GB the world 'round" isn't true for SD cards.
In fact, two different 8GB cards (that's all these kiosk apps need) were actually about 200MB different in size.
This breaks all the recommended methods for backing up or duplicating images, since all the tools--from Windows to 'dd'--use the raw size of the card for the transfer.
I finally ended up working out the procedure to move data from a larger-to-smaller card. (I've documented it if anyone needs.)
Cheers, -- Dave Ihnat dihnat@dminet.com
On 04/29/2015 11:01 AM, Dave Ihnat wrote:
On Wed, Apr 29, 2015 at 06:53:53PM +0100, Patrick O'Callaghan wrote:
IIRC the OP isn't asking about Fedora on the Pi, but how to create the SD card on a Fedora machine.
As I read it, too.
Just a Caveat--I've recently been doing a fair bit with the RPi, since one client asked for a slideshow server with specific behavior, and another for an Internet kiosk for their waiting rooms. In building and backing up these machines, I discovered something: "8GB is 8GB the world 'round" isn't true for SD cards.
In fact, two different 8GB cards (that's all these kiosk apps need) were actually about 200MB different in size.
This breaks all the recommended methods for backing up or duplicating images, since all the tools--from Windows to 'dd'--use the raw size of the card for the transfer.
I finally ended up working out the procedure to move data from a larger-to-smaller card. (I've documented it if anyone needs.)
As long as the SD card can handle the image, it shouldn't matter as "dd" should quit once it's transferred the ISO image (the copy is based on the input device/file size, not the target's size).
The ISO image will contain a partition table that will be stuffed onto the SD card, so yes, on a bigger SD card, parts of it might be unused. However, you can modify the partition table on it using fdisk or parted, create a new partition on the unused portion, format it and use it as another mountable filesystem. Or you could extend one of the partitions (probably the / partition) and "resize2fs" (or "xfs_growfs" or "btrfs filesystem resize" depending on the filesystem type) to expand into the newly acquired space. I don't see why not, but you'd need to do it on the machine you created the SD on...not on the RPi since the SD would be mounted.
I bought 32GB cards so I had no issues regardless of what the ISO said. An 8G card (whether it be 8GB or 8GiB) should be plenty to handle any standard ISO (a regular DVD is only about 4.4GB). Also note that I haven't done any of the partition mangling or FS resizes...the RPi is just an experimental platform for me at the moment. When I get some time I'll tinker a bit more. I'm also evaluating nVidia's Jetson TK1 for some odd projects I have on the burner. Fun, fun, fun! ---------------------------------------------------------------------- - Rick Stevens, Systems Engineer, AllDigital ricks@alldigital.com - - AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 - - - - Admitting you have a problem is the first step toward getting - - medicated for it. -- Jim Evarts (http://www.TopFive.com) - ----------------------------------------------------------------------
On Wed, Apr 29, 2015 at 11:26:23AM -0700, Rick Stevens wrote:
As long as the SD card can handle the image, it shouldn't matter as "dd" should quit once it's transferred the ISO image (the copy is based on the input device/file size, not the target's size).
But the SD card can't handle the image. As a practical matter--real-world experience--the short copies result in a non-booting image.
I bought 32GB cards so I had no issues regardless of what the ISO said.
It doesn't matter; if two 32GB cards, with the image on the source expanded to use the entire card, don't have either identical or larger destination raw capacity, the same problem will surface.
Cheers, -- Dave Ihnat dihnat@dminet.com
On Wed, Apr 29, 2015 at 8:46 AM, bobgoodwin@wildblue.net wrote:
I have to get the SD card and whatever is required to program it from Fedora 21 or 22, or buy one preprogrammed.
Pretty much any old SD card would do. I have this one:
http://www.amazon.com/SanDisk-Memory-Frustration-Free-Packaging--SDSDB-016G-...
By far the most popular OS for Rasperry Pi is Raspbian (a Debian derivative). There is a lot more third party software available for this. But there is also Pidora (a Fedora variant) which I have successfully installed and tested.
I currently have an older Pi model B in service as my Bacula storage server, with an external 4TB USB drive for online backups, plus a USB enclosure that allows swapping drives to use for archival backups. Works great. Pi's have lots of uses.
--Greg
On 04/29/15 11:19, Greg Woods wrote:
On Wed, Apr 29, 2015 at 8:46 AM, <bobgoodwin@wildblue.net mailto:bobgoodwin@wildblue.net> wrote:
I have to get the SD card and whatever is required to program it from Fedora 21 or 22, or buy one preprogrammed.
Pretty much any old SD card would do. I have this one:
http://www.amazon.com/SanDisk-Memory-Frustration-Free-Packaging--SDSDB-016G-...
By far the most popular OS for Rasperry Pi is Raspbian (a Debian derivative). There is a lot more third party software available for this. But there is also Pidora (a Fedora variant) which I have successfully installed and tested.
I currently have an older Pi model B in service as my Bacula storage server, with an external 4TB USB drive for online backups, plus a USB enclosure that allows swapping drives to use for archival backups. Works great. Pi's have lots of uses.
--Greg
.
Well I can see that it has to be the small micro SD type care if it's going to fit the socket and case that came with it.
But what I am really asking I guess is how do I connect the SD card to a desktop computer to install Pidora or whatever? The only thing I see that accepts the SD card is the Raspberry board.
Bob
On 29.04.2015 17:39, bobgoodwin@wildblue.net wrote:
On 04/29/15 11:19, Greg Woods wrote:
On Wed, Apr 29, 2015 at 8:46 AM, <bobgoodwin@wildblue.net mailto:bobgoodwin@wildblue.net> wrote:
I have to get the SD card and whatever is required to program it from Fedora 21 or 22, or buy one preprogrammed.
Pretty much any old SD card would do. I have this one:
http://www.amazon.com/SanDisk-Memory-Frustration-Free-Packaging--SDSDB-016G-...
By far the most popular OS for Rasperry Pi is Raspbian (a Debian derivative). There is a lot more third party software available for this. But there is also Pidora (a Fedora variant) which I have successfully installed and tested.
I currently have an older Pi model B in service as my Bacula storage server, with an external 4TB USB drive for online backups, plus a USB enclosure that allows swapping drives to use for archival backups. Works great. Pi's have lots of uses.
--Greg
.
Well I can see that it has to be the small micro SD type care if it's going to fit the socket and case that came with it.
But what I am really asking I guess is how do I connect the SD card to a desktop computer to install Pidora or whatever? The only thing I see that accepts the SD card is the Raspberry board.
Bob
On 04/29/2015 09:05 AM, poma wrote:
On 29.04.2015 17:39, bobgoodwin@wildblue.net wrote:
On 04/29/15 11:19, Greg Woods wrote:
On Wed, Apr 29, 2015 at 8:46 AM, <bobgoodwin@wildblue.net mailto:bobgoodwin@wildblue.net> wrote:
I have to get the SD card and whatever is required to program it from Fedora 21 or 22, or buy one preprogrammed.
Pretty much any old SD card would do. I have this one:
http://www.amazon.com/SanDisk-Memory-Frustration-Free-Packaging--SDSDB-016G-...
By far the most popular OS for Rasperry Pi is Raspbian (a Debian derivative). There is a lot more third party software available for this. But there is also Pidora (a Fedora variant) which I have successfully installed and tested.
I currently have an older Pi model B in service as my Bacula storage server, with an external 4TB USB drive for online backups, plus a USB enclosure that allows swapping drives to use for archival backups. Works great. Pi's have lots of uses.
--Greg
.
Well I can see that it has to be the small micro SD type care if it's going to fit the socket and case that came with it.
But what I am really asking I guess is how do I connect the SD card to a desktop computer to install Pidora or whatever? The only thing I see that accepts the SD card is the Raspberry board.
Bob
Bob, buy a MicroSD card that comes with the adapter to convert it to a normal SD card and get that SD<---->USB dongle.
1. Plug the MicroSD card into its adapter.
2. Plug the SD card adapter (with MicroSD card in it) into the USB dongle.
3. Plug the dongle into your desktop computer and note which device the SD card shows up as (probably /dev/sdb, but have a look at the output of dmesg to be sure).
4. Download the ISO that you want.
5. As root, "dd if=name-of-iso-file.iso of=/dev/sdb bs=1M" (assuming the SD card shows up as /dev/sdb...change as needed)
6. When dd ends, unplug the USB dongle, pull out the SD card adapter, pull the MicroSD from the adapter, stick it in your RPi and power up the RPi.
7. Voila! ---------------------------------------------------------------------- - Rick Stevens, Systems Engineer, AllDigital ricks@alldigital.com - - AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 - - - - Never test for an error condition you don't know how to handle. - ----------------------------------------------------------------------
On 04/29/2015 07:00 PM, Rick Stevens wrote:
Bob, buy a MicroSD card that comes with the adapter to convert it to a normal SD card and get that SD<---->USB dongle.
Plug the MicroSD card into its adapter.
Plug the SD card adapter (with MicroSD card in it) into the USB
dongle.
- Plug the dongle into your desktop computer and note which device the
SD card shows up as (probably /dev/sdb, but have a look at the output of dmesg to be sure).
Download the ISO that you want.
As root, "dd if=name-of-iso-file.iso of=/dev/sdb bs=1M" (assuming the
SD card shows up as /dev/sdb...change as needed)
- When dd ends, unplug the USB dongle, pull out the SD card adapter,
pull the MicroSD from the adapter, stick it in your RPi and power up the RPi.
- Voila!
- Rick Stevens, Systems Engineer
.
Well once I knew what to ask for my daughter had a Memory Card Reader, a "High Speed 55 in 1 card reader" that has connectors for 5 different types of devices. And I think I can find an SD card in my camera I can borrow if I don't get one first, so I'm making progress there. However the Raspberry project is secondary until I get this computer done. UPS delivered the new hard drive late this afternoon, it is installed and I have F22b installed on it and am in fact typing this message in Thunderbird from it although it is not completely configured as I want it.
I now have two F22 systems on separate drives, can just select the drive I want to boot. The only change I've made is to groupinstall xfce-desktop. The object is to see if this system will display the iPhone text messages that I can't with the first F22 install.
I guess I should buy at least a 16 gig micro SD card? What is the life expectancy of one with this use?
Thanks to all for the suggestions,
Bob
On 04/29/2015 06:48 PM, Bob Goodwin wrote:
On 04/29/2015 07:00 PM, Rick Stevens wrote:
Bob, buy a MicroSD card that comes with the adapter to convert it to a normal SD card and get that SD<---->USB dongle.
Plug the MicroSD card into its adapter.
Plug the SD card adapter (with MicroSD card in it) into the USB
dongle.
- Plug the dongle into your desktop computer and note which device the
SD card shows up as (probably /dev/sdb, but have a look at the output of dmesg to be sure).
Download the ISO that you want.
As root, "dd if=name-of-iso-file.iso of=/dev/sdb bs=1M" (assuming the
SD card shows up as /dev/sdb...change as needed)
- When dd ends, unplug the USB dongle, pull out the SD card adapter,
pull the MicroSD from the adapter, stick it in your RPi and power up the RPi.
- Voila!
Well once I knew what to ask for my daughter had a Memory Card Reader, a "High Speed 55 in 1 card reader" that has connectors for 5 different types of devices.
Bingo! That's the device!
And I think I can find an SD card in my camera I can
borrow if I don't get one first, so I'm making progress there.
Remember the RPi uses a micro SD card. If the thing your daughter has has a micro SD slot, you're in! If not, you'll need a microSD->SD adapter. If that's the case, then just wait and buy a micro SD that comes with the adapter. Most do.
However
the Raspberry project is secondary until I get this computer done. UPS delivered the new hard drive late this afternoon, it is installed and I have F22b installed on it and am in fact typing this message in Thunderbird from it although it is not completely configured as I want it.
I now have two F22 systems on separate drives, can just select the drive I want to boot. The only change I've made is to groupinstall xfce-desktop. The object is to see if this system will display the iPhone text messages that I can't with the first F22 install.
I guess I should buy at least a 16 gig micro SD card? What is the life expectancy of one with this use?
Depends on what you're going to store on it. 16G is good enough for most of what you want to do on something like an RPi. As far as how long it'll last? About the same as any other FLASHish drive. It's only good for N write sessions before it essentially goes read-only or self-destructs ("Good evening, Mr. Phelps...")
If you're going to do a bunch of data storage on the beastie, I'd get a cheap USB-based hard drive and use it for that sort of thing. That's sort of what I have on the Jetson TK1--although it has an integral SATA port. I have the TK1 boot the OS off an MMC card, but all of the heavy lifting (home directories, /tmp, etc.) is on a cheap 80G 2.5" SATA laptop drive plugged into the SATA port. It's not pretty but it works and I'm not worried about running out of write cycles on the MMC while compiling code on it. ---------------------------------------------------------------------- - Rick Stevens, Systems Engineer, AllDigital ricks@alldigital.com - - AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 - - - - Artificial Intelligence usually beats real stupidity. - ----------------------------------------------------------------------
On 04/29/2015 10:05 PM, Rick Stevens wrote:
Remember the RPi uses a micro SD card. If the thing your daughter has has a micro SD slot, you're in! If not, you'll need a microSD->SD adapter. If that's the case, then just wait and buy a micro SD that comes with the adapter. Most do.
I think it does, guess I'll find out or use an adapter.
Depends on what you're going to store on it. 16G is good enough for most of what you want to do on something like an RPi. As far as how long it'll last? About the same as any other FLASHish drive. It's only good for N write sessions before it essentially goes read-only or self-destructs ("Good evening, Mr. Phelps...")
If you're going to do a bunch of data storage on the beastie, I'd get a cheap USB-based hard drive and use it for that sort of thing. That's sort of what I have on the Jetson TK1--although it has an integral SATA port. I have the TK1 boot the OS off an MMC card, but all of the heavy lifting (home directories, /tmp, etc.) is on a cheap 80G 2.5" SATA laptop drive plugged into the SATA port. It's not pretty but it works and I'm not worried about running out of write cycles on the MMC while compiling code on it.
- Rick Stevens, Systems Engineer
.
One application that looked interesting, Adaware has been pushing one for tracking overflying aircraft. If you feed data back to their system you get better access to their tracking as a reward.
Dunno, I am an experimenter by nature, will try a desktop configuration first, using an external USB drive as you suggest.
Bob
On 29/04/15 22:05, Rick Stevens wrote:
On 04/29/2015 07:00 PM, Rick Stevens wrote:
Bob, buy a MicroSD card that comes with the adapter to convert it to a normal SD card and get that SD<---->USB dongle.
Plug the MicroSD card into its adapter.
Plug the SD card adapter (with MicroSD card in it) into the USB
dongle.
- Plug the dongle into your desktop computer and note which device the
SD card shows up as (probably /dev/sdb, but have a look at the output of dmesg to be sure).
Download the ISO that you want.
As root, "dd if=name-of-iso-file.iso of=/dev/sdb bs=1M" (assuming the
SD card shows up as /dev/sdb...change as needed)
- When dd ends, unplug the USB dongle, pull out the SD card adapter,
pull the MicroSD from the adapter, stick it in your RPi and power up the RPi.
- Voila!
. .
Ok, I give up, what do I do next?
I have a card reader with a GE brand name on it
[root@box10 ~]# lsusb
Bus 001 Device 002: ID 058f:6362 Alcor Micro Corp. Flash Card Reader/Writer
And I see the following for sdd through sdg -
[root@box10 ~]# ll /dev/sdd brw-rw----. 1 root disk 8, 48 May 1 10:10 /dev/sdd
Which I imagine relate to receptacles on the device. First I have no idea which /dev/sdx is the one the micro-SD in adapter is plugged into or how to identify it? Also I am not confident that the SD device is even being recognized?
Any help appreciated,
Bob
tail -f /var/log/messages with device un plugged and while plugging in you'll see the device get picked up if it's recognized.
On Fri, May 1, 2015 at 10:40 AM, Bob Goodwin - Zuni, Virginia, USA < bobgoodwin@wildblue.net> wrote:
On 29/04/15 22:05, Rick Stevens wrote:
On 04/29/2015 07:00 PM, Rick Stevens wrote:
Bob, buy a MicroSD card that comes with the adapter to convert it to a normal SD card and get that SD<---->USB dongle.
Plug the MicroSD card into its adapter.
Plug the SD card adapter (with MicroSD card in it) into the USB
dongle.
- Plug the dongle into your desktop computer and note which device the
SD card shows up as (probably /dev/sdb, but have a look at the output of dmesg to be sure).
Download the ISO that you want.
As root, "dd if=name-of-iso-file.iso of=/dev/sdb bs=1M" (assuming the
SD card shows up as /dev/sdb...change as needed)
- When dd ends, unplug the USB dongle, pull out the SD card adapter,
pull the MicroSD from the adapter, stick it in your RPi and power up the RPi.
- Voila!
.
.
Ok, I give up, what do I do next?
I have a card reader with a GE brand name on it
[root@box10 ~]# lsusb
Bus 001 Device 002: ID 058f:6362 Alcor Micro Corp. Flash Card Reader/Writer
And I see the following for sdd through sdg -
[root@box10 ~]# ll /dev/sdd brw-rw----. 1 root disk 8, 48 May 1 10:10 /dev/sdd
Which I imagine relate to receptacles on the device. First I have no idea which /dev/sdx is the one the micro-SD in adapter is plugged into or how to identify it? Also I am not confident that the SD device is even being recognized?
Any help appreciated,
Bob
-- Bob Goodwin - Zuni, Virginia, USA http://www.qrz.com/db/W2BOD box10 FEDORA-22b/64bit LINUX XFCE
-- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
On 01/05/15 11:10, Terry Polzin wrote:
tail -f /var/log/messages with device un plugged and while plugging in you'll see the device get picked up if it's recognized.
Ok, I found it, I didn't have the tiny device shoved into the adapter far enough, a new experience for me.
[bobg@box10 ~]$ journalctl -n 25
...... snip .... May 01 11:23:27 box10 NetworkManager[680]: <info> Connectivity check for uri 'https://fedoraproject.org/static/hotspot.txt' failed with 'Peer May 01 11:25:32 box10 kernel: sd 13:0:0:0: [sdd] 124735488 512-byte logical blocks: (63.8 GB/59.4 GiB) May 01 11:25:32 box10 kernel: sdd: sdd1
[root@box10 ~]# fdisk /dev/sdd
Disk /dev/sdd: 59.5 GiB, 63864569856 bytes, 124735488 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x00000000
Device Boot Start End Sectors Size Id Type /dev/sdd1 32768 124735487 124702720 59.5G 7 HPFS/NTFS/exFAT
I wont be able to get back to this until later but it looks as though I simply need to install the Pidora system to it?
Thanks for responding,
Bob
On 05/01/2015 08:38 AM, Bob Goodwin - Zuni, Virginia, USA wrote:
On 01/05/15 11:10, Terry Polzin wrote:
tail -f /var/log/messages with device un plugged and while plugging in you'll see the device get picked up if it's recognized.
Ok, I found it, I didn't have the tiny device shoved into the adapter far enough, a new experience for me.
[bobg@box10 ~]$ journalctl -n 25
...... snip .... May 01 11:23:27 box10 NetworkManager[680]: <info> Connectivity check for uri 'https://fedoraproject.org/static/hotspot.txt' failed with 'Peer May 01 11:25:32 box10 kernel: sd 13:0:0:0: [sdd] 124735488 512-byte logical blocks: (63.8 GB/59.4 GiB) May 01 11:25:32 box10 kernel: sdd: sdd1
[root@box10 ~]# fdisk /dev/sdd
Disk /dev/sdd: 59.5 GiB, 63864569856 bytes, 124735488 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x00000000
Device Boot Start End Sectors Size Id Type /dev/sdd1 32768 124735487 124702720 59.5G 7 HPFS/NTFS/exFAT
I wont be able to get back to this until later but it looks as though I simply need to install the Pidora system to it?
Yup. Essentially:
dd if=/path/to/pidora.iso of=/dev/sdd bs=1M
Note the "of=/dev/sdd" (the ENTIRE disk), NOT "of=/dev/sdd1" (a partition). You want to whack the entire MicroSD. ---------------------------------------------------------------------- - Rick Stevens, Systems Engineer, AllDigital ricks@alldigital.com - - AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 - - - - Change is inevitable, except from a vending machine. - ----------------------------------------------------------------------
On 05/01/2015 11:01 AM, Rick Stevens wrote:
On 05/01/2015 08:38 AM, Bob Goodwin - Zuni, Virginia, USA wrote:
On 01/05/15 11:10, Terry Polzin wrote:
tail -f /var/log/messages with device un plugged and while plugging in you'll see the device get picked up if it's recognized.
Ok, I found it, I didn't have the tiny device shoved into the adapter far enough, a new experience for me.
[bobg@box10 ~]$ journalctl -n 25
...... snip .... May 01 11:23:27 box10 NetworkManager[680]: <info> Connectivity check for uri 'https://fedoraproject.org/static/hotspot.txt' failed with 'Peer May 01 11:25:32 box10 kernel: sd 13:0:0:0: [sdd] 124735488 512-byte logical blocks: (63.8 GB/59.4 GiB) May 01 11:25:32 box10 kernel: sdd: sdd1
[root@box10 ~]# fdisk /dev/sdd
Disk /dev/sdd: 59.5 GiB, 63864569856 bytes, 124735488 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x00000000
Device Boot Start End Sectors Size Id Type /dev/sdd1 32768 124735487 124702720 59.5G 7 HPFS/NTFS/exFAT
I wont be able to get back to this until later but it looks as though I simply need to install the Pidora system to it?
Yup. Essentially:
dd if=/path/to/pidora.iso of=/dev/sdd bs=1M
Note the "of=/dev/sdd" (the ENTIRE disk), NOT "of=/dev/sdd1" (a partition). You want to whack the entire MicroSD.
Every solution has it's drawbacks. After the dd is finished, fedora will detect it as an optical medium. That's what happened to me :) I was not even able to make use of the flash stick as an ordinary partitionable device.
On 05/01/2015 01:57 PM, Tom Horsley wrote:
On Fri, 01 May 2015 11:09:17 -0600 jd1008 wrote:
I was not even able to make use of the flash stick as an ordinary partitionable device.
That's when you dd /dev/zero over the top of it and start from scratch :-).
Use gparted to look at it.
On 01/05/15 13:01, Rick Stevens wrote:
it looks as though I simply need to install the Pidora system to it?
Yup. Essentially:
dd if=/path/to/pidora.iso of=/dev/sdd bs=1M
Note the "of=/dev/sdd" (the ENTIRE disk), NOT "of=/dev/sdd1" (a partition). You want to whack the entire MicroSD.
The steps I performed:
[bobg@box10 Downloads]$ unzip Pidora-2014-R3.zip
[root@box10 ~]# dd if=/home/bobg/Downloads/Pidora-2014-R3.img of=/dev/sdd bs=1M
[root@box10 ~]# mount /dev/sdd1 /mnt/test/
The result:
[root@box10 ~]# ll /mnt/test/ total 22808 -rwxr-xr-x. 1 root root 17836 Aug 1 2014 bootcode.bin -rwxr-xr-x. 1 root root 2 Aug 1 2014 boot.scr -rwxr-xr-x. 1 root root 134 Aug 1 2014 cmdline.txt -rwxr-xr-x. 1 root root 93956 Aug 1 2014 config-3.12.23-2.20140626git25673c3.rpfr20 -rwxr-xr-x. 1 root root 599 Aug 1 2014 config.txt -rwxr-xr-x. 1 root root 465 Aug 1 2014 config.txt.hdmi_nooverscan -rwxr-xr-x. 1 root root 540 Aug 1 2014 config.txt.hdmi_overscan -rwxr-xr-x. 1 root root 524 Aug 1 2014 config.txt.ntsc_japan -rwxr-xr-x. 1 root root 541 Aug 1 2014 config.txt.ntsc_northamerica -rwxr-xr-x. 1 root root 494 Aug 1 2014 config.txt.pal -rwxr-xr-x. 1 root root 498 Aug 1 2014 config.txt.pal_brazil -rwxr-xr-x. 1 root root 2090 Aug 1 2014 fixup_cd.dat -rwxr-xr-x. 1 root root 5860 Aug 1 2014 fixup.dat -rwxr-xr-x. 1 root root 8833 Aug 1 2014 fixup_x.dat drwxr-xr-x. 2 root root 2048 Aug 1 2014 grub -rwxr-xr-x. 1 root root 8296084 Aug 1 2014 kernel-3.12.23-2.20140626git25673c3.rpfr20.img -rwxr-xr-x. 1 root root 8296084 Aug 1 2014 kernel.img drwxr-xr-x. 2 root root 2048 Aug 1 2014 lost+found -rwxr-xr-x. 1 root root 512952 Aug 1 2014 start_cd.elf -rwxr-xr-x. 1 root root 2572792 Aug 1 2014 start.elf -rwxr-xr-x. 1 root root 407 Aug 1 2014 start.elf.desc -rwxr-xr-x. 1 root root 3515752 Aug 1 2014 start_x.elf
That looks as though it might work but I need reassurance ...
Thanks,
Bob
On 05/01/2015 01:40 PM, Bob Goodwin - Zuni, Virginia, USA wrote:
On 01/05/15 13:01, Rick Stevens wrote:
it looks as though I simply need to install the Pidora system to it?
Yup. Essentially:
dd if=/path/to/pidora.iso of=/dev/sdd bs=1M
Note the "of=/dev/sdd" (the ENTIRE disk), NOT "of=/dev/sdd1" (a partition). You want to whack the entire MicroSD.
The steps I performed:
[bobg@box10 Downloads]$ unzip Pidora-2014-R3.zip
[root@box10 ~]# dd if=/home/bobg/Downloads/Pidora-2014-R3.img of=/dev/sdd bs=1M
[root@box10 ~]# mount /dev/sdd1 /mnt/test/
The result:
[root@box10 ~]# ll /mnt/test/ total 22808 -rwxr-xr-x. 1 root root 17836 Aug 1 2014 bootcode.bin -rwxr-xr-x. 1 root root 2 Aug 1 2014 boot.scr -rwxr-xr-x. 1 root root 134 Aug 1 2014 cmdline.txt -rwxr-xr-x. 1 root root 93956 Aug 1 2014 config-3.12.23-2.20140626git25673c3.rpfr20 -rwxr-xr-x. 1 root root 599 Aug 1 2014 config.txt -rwxr-xr-x. 1 root root 465 Aug 1 2014 config.txt.hdmi_nooverscan -rwxr-xr-x. 1 root root 540 Aug 1 2014 config.txt.hdmi_overscan -rwxr-xr-x. 1 root root 524 Aug 1 2014 config.txt.ntsc_japan -rwxr-xr-x. 1 root root 541 Aug 1 2014 config.txt.ntsc_northamerica -rwxr-xr-x. 1 root root 494 Aug 1 2014 config.txt.pal -rwxr-xr-x. 1 root root 498 Aug 1 2014 config.txt.pal_brazil -rwxr-xr-x. 1 root root 2090 Aug 1 2014 fixup_cd.dat -rwxr-xr-x. 1 root root 5860 Aug 1 2014 fixup.dat -rwxr-xr-x. 1 root root 8833 Aug 1 2014 fixup_x.dat drwxr-xr-x. 2 root root 2048 Aug 1 2014 grub -rwxr-xr-x. 1 root root 8296084 Aug 1 2014 kernel-3.12.23-2.20140626git25673c3.rpfr20.img -rwxr-xr-x. 1 root root 8296084 Aug 1 2014 kernel.img drwxr-xr-x. 2 root root 2048 Aug 1 2014 lost+found -rwxr-xr-x. 1 root root 512952 Aug 1 2014 start_cd.elf -rwxr-xr-x. 1 root root 2572792 Aug 1 2014 start.elf -rwxr-xr-x. 1 root root 407 Aug 1 2014 start.elf.desc -rwxr-xr-x. 1 root root 3515752 Aug 1 2014 start_x.elf
That looks as though it might work but I need reassurance ...
Thanks,
Bob
Bob, just try to boot it on your device.
On 01/05/15 15:54, jd1008 wrote:
That looks as though it might work but I need reassurance ...
Bob, just try to boot it on your device.
.
Yes I will but I still need to hook the stuff up. I have three monitors on hand but I think the only one with an HDMI input is the one I'm using here on my primary box.
But yes it will get tried I was just asking if that looked ok.
Bob
On 05/01/2015 02:01 PM, Bob Goodwin - Zuni, Virginia, USA wrote:
On 01/05/15 15:54, jd1008 wrote:
That looks as though it might work but I need reassurance ...
Bob, just try to boot it on your device.
.
Yes I will but I still need to hook the stuff up. I have three monitors on hand but I think the only one with an HDMI input is the one I'm using here on my primary box.
But yes it will get tried I was just asking if that looked ok.
Bob
Looks like a bootable device's files. But it ultimately depends on the boot sector(s), which you cannot see by mounting the device.
On 01/05/15 16:13, jd1008 wrote:
Looks like a bootable device's files. But it ultimately depends on the boot sector(s), which you cannot see by mounting the device.
.
Ok, that's what I wanted to know, I will try it but that will probably have to wait 'til tomorrow.
Thanks, Bob
On Fri, May 01, 2015 at 04:01:49PM -0400, Bob Goodwin - Zuni, Virginia, USA wrote:
Yes I will but I still need to hook the stuff up. I have three monitors on hand but I think the only one with an HDMI input is the one I'm using here on my primary box.
Note that StarTech has a very usable range of HDMI to DVI-D and HDMI to VGA adapters for not _too_ much money. Take a look at http://www.startech.com, "Browse by Technology" and select "HDMI", then in Product Category look for "HDMI Cables and Adapters". The HDMI to VGA I've used is the HD2VGAE2. It costs more than the RPi itself, but hopefully you only need one for testing.
Cheers, -- Dave Ihnat dihnat@dminet.com
On 05/01/2015 12:40 PM, Bob Goodwin - Zuni, Virginia, USA wrote:
On 01/05/15 13:01, Rick Stevens wrote:
it looks as though I simply need to install the Pidora system to it?
Yup. Essentially:
dd if=/path/to/pidora.iso of=/dev/sdd bs=1M
Note the "of=/dev/sdd" (the ENTIRE disk), NOT "of=/dev/sdd1" (a partition). You want to whack the entire MicroSD.
The steps I performed:
[bobg@box10 Downloads]$ unzip Pidora-2014-R3.zip
[root@box10 ~]# dd if=/home/bobg/Downloads/Pidora-2014-R3.img of=/dev/sdd bs=1M
[root@box10 ~]# mount /dev/sdd1 /mnt/test/
The result:
[root@box10 ~]# ll /mnt/test/ total 22808 -rwxr-xr-x. 1 root root 17836 Aug 1 2014 bootcode.bin -rwxr-xr-x. 1 root root 2 Aug 1 2014 boot.scr -rwxr-xr-x. 1 root root 134 Aug 1 2014 cmdline.txt -rwxr-xr-x. 1 root root 93956 Aug 1 2014 config-3.12.23-2.20140626git25673c3.rpfr20 -rwxr-xr-x. 1 root root 599 Aug 1 2014 config.txt -rwxr-xr-x. 1 root root 465 Aug 1 2014 config.txt.hdmi_nooverscan -rwxr-xr-x. 1 root root 540 Aug 1 2014 config.txt.hdmi_overscan -rwxr-xr-x. 1 root root 524 Aug 1 2014 config.txt.ntsc_japan -rwxr-xr-x. 1 root root 541 Aug 1 2014 config.txt.ntsc_northamerica -rwxr-xr-x. 1 root root 494 Aug 1 2014 config.txt.pal -rwxr-xr-x. 1 root root 498 Aug 1 2014 config.txt.pal_brazil -rwxr-xr-x. 1 root root 2090 Aug 1 2014 fixup_cd.dat -rwxr-xr-x. 1 root root 5860 Aug 1 2014 fixup.dat -rwxr-xr-x. 1 root root 8833 Aug 1 2014 fixup_x.dat drwxr-xr-x. 2 root root 2048 Aug 1 2014 grub -rwxr-xr-x. 1 root root 8296084 Aug 1 2014 kernel-3.12.23-2.20140626git25673c3.rpfr20.img -rwxr-xr-x. 1 root root 8296084 Aug 1 2014 kernel.img drwxr-xr-x. 2 root root 2048 Aug 1 2014 lost+found -rwxr-xr-x. 1 root root 512952 Aug 1 2014 start_cd.elf -rwxr-xr-x. 1 root root 2572792 Aug 1 2014 start.elf -rwxr-xr-x. 1 root root 407 Aug 1 2014 start.elf.desc -rwxr-xr-x. 1 root root 3515752 Aug 1 2014 start_x.elf
That looks as though it might work but I need reassurance ...
Yup, that's about right. The dd command created at least one partition and that's the contents of it. It also wrote a boot loader into the MBR of the SD card. I think you're pretty much there. Boot that SD on your RPi and you should be good to go. ---------------------------------------------------------------------- - Rick Stevens, Systems Engineer, AllDigital ricks@alldigital.com - - AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 - - - - To iterate is human, to recurse, divine. - ----------------------------------------------------------------------
On Fri, May 01, 2015 at 01:39:05PM -0700, Rick Stevens wrote:
Yup, that's about right. The dd command created at least one partition and that's the contents of it. It also wrote a boot loader into the MBR of the SD card. I think you're pretty much there. Boot that SD on your RPi and you should be good to go.
If you run 'fdisk' on it, you should see two partitions--the boot partition, and the RPi Linux partition.
Cheers, -- Dave Ihnat dihnat@dminet.com
On 01/05/15 18:53, Dave Ihnat wrote:
If you run 'fdisk' on it, you should see two partitions--the boot partition, and the RPi Linux partition.
Cheers,
Dave Ihnat
.
Did that and sure enough fdisk showed a couple of partitions. I finally got to try it today and after wasting a lot of time messing with an unknown device I had no success, the darn thing would not boot! More googling resulted in the note that "Pidora has not been ported to the RPi2!" Aargh!
I cleared the SD card and installed the raspbian-wheezy.img. That booted immediately. So far all I have done was check it out via ssh from this computer. Not what I wanted but perhaps Pidora will get fixed eventually?
It's not a total loss, I now know the thing works and have some understanding of how to deal with it. I need to order an *DVI* to *HDMI* adapter and a 5-volt, 2 amp power supply before I do any more with it.
Thanks to all,
Bob
On Sat, May 02, 2015 at 04:10:36PM -0400, Bob Goodwin - Zuni, Virginia, USA wrote:
I need to order an *DVI* to *HDMI* adapter ...
As I pointed out, StarTech has a good selection, and they work. Don't buy from them directly--once you find a part number, then go searching the 'Net. Discounts abound.
...and a 5-volt, 2 amp power supply before I do any more with it.
Frankly, the 5.25V 1A supply from Adafruit does fine, unless you're pulling a lot of power from the USB ports.
Cheers, -- Dave Ihnat dihnat@dminet.com
On 04/29/2015 07:48 PM, Bob Goodwin wrote:
Well once I knew what to ask for my daughter had a Memory Card Reader, a "High Speed 55 in 1 card reader" that has connectors for 5 different types of devices. And I think I can find an SD card in my camera I can borrow if I don't get one first, so I'm making progress there. However the Raspberry project is secondary until I get this computer done. UPS delivered the new hard drive late this afternoon, it is installed and I have F22b installed on it and am in fact typing this message in Thunderbird from it although it is not completely configured as I want it.
I now have two F22 systems on separate drives, can just select the drive I want to boot. The only change I've made is to groupinstall xfce-desktop. The object is to see if this system will display the iPhone text messages that I can't with the first F22 install.
I guess I should buy at least a 16 gig micro SD card? What is the life expectancy of one with this use?
Thanks to all for the suggestions,
Bob
I have not seen any sd card that explicitly states how many writes (per block) it can sustain before a read returns bad data. There are only estimates. Even if stated, it is at least somewhat exaggerated.
My best experience is with NAND flash cards. NAND cards are very pricey!!
On Ebay, cheapest NAND sd card I found was http://www.ebay.com/itm/LOT-OF-2-1GB-STEC-SLSD1GBBSIU-WITH-SAMSUNG-SLC-NAND-...
and sells for $140.97 including shipping.
On 04/29/2015 09:48 PM, Bob Goodwin wrote:
On 04/29/2015 07:00 PM, Rick Stevens wrote:
Bob, buy a MicroSD card that comes with the adapter to convert it to a normal SD card and get that SD<---->USB dongle.
Plug the MicroSD card into its adapter.
Plug the SD card adapter (with MicroSD card in it) into the USB
dongle.
- Plug the dongle into your desktop computer and note which device the
SD card shows up as (probably /dev/sdb, but have a look at the output of dmesg to be sure).
Download the ISO that you want.
As root, "dd if=name-of-iso-file.iso of=/dev/sdb bs=1M" (assuming the
SD card shows up as /dev/sdb...change as needed)
- When dd ends, unplug the USB dongle, pull out the SD card adapter,
pull the MicroSD from the adapter, stick it in your RPi and power up the RPi.
- Voila!
- Rick Stevens, Systems Engineer
.
Well once I knew what to ask for my daughter had a Memory Card Reader, a "High Speed 55 in 1 card reader" that has connectors for 5 different types of devices. And I think I can find an SD card in my camera I can borrow if I don't get one first, so I'm making progress there. However the Raspberry project is secondary until I get this computer done. UPS delivered the new hard drive late this afternoon, it is installed and I have F22b installed on it and am in fact typing this message in Thunderbird from it although it is not completely configured as I want it.
I now have two F22 systems on separate drives, can just select the drive I want to boot. The only change I've made is to groupinstall xfce-desktop. The object is to see if this system will display the iPhone text messages that I can't with the first F22 install.
I guess I should buy at least a 16 gig micro SD card? What is the life expectancy of one with this use?
I have a Microcomputer center a couple miles away, and they have mSD cards by the dozens at the checkout counters. Each comes with the SD adapter. I think I just spent $9 each for a few more 16Gb cards for my testing.
On 04/29/2015 10:46 PM, Robert Moskowitz wrote:
I guess I should buy at least a 16 gig micro SD card? What is the life expectancy of one with this use?
I have a Microcomputer center a couple miles away, and they have mSD cards by the dozens at the checkout counters. Each comes with the SD adapter. I think I just spent $9 each for a few more 16Gb cards for my testing.
.
Others should be in range of the electronics shop where they bought the Raspberry, I'll ask them to pick up a couple. Looks like I also need a video cable for the display too.
Thanks for the tip,
Bob
On Wed, Apr 29, 2015 at 10:46:38PM -0400, Robert Moskowitz wrote:
I have a Microcomputer center a couple miles away, and they have mSD cards by the dozens at the checkout counters. Each comes with the SD adapter. I think I just spent $9 each for a few more 16Gb cards for my testing.
I've been using the EMTec cards carried by MicroCenter. I don't trust no-name or store-branded cards. There are just too many fraudulent cards out there. I've considered using MicroCenter's, just because I can go back to the store if there are problems, but the difference in price hasn't been worth it.
Also, another thing you should consider is that there are speed classes of SD cards from 3-10. You want Class 10--10MB/s. You'll often see Class 2,4, and 6 cards at great prices--there's a reason.
I hate to recommend a Microsoft-based solution--try running it under wine or something, if it offends the sensibilities--but look for, get and run a little ditty called h2testw.exe (best site would be the source, http://www.heise.de/download/h2testw.html--it%27s a German author and site, but you can figure it out.) There are Linux alternatives--the one that comes to mind is F3:
http://oss.digirati.com.br/f3/
Others, and some discussion of the problem:
https://www.raymond.cc/blog/test-and-detect-fake-or-counterfeit-usb-flash-dr...
Some think that a RPi OS running off a SD card should be "tuned"; others dismiss this, as the card specs give a large number of R/W ops before MTBF. Nevertheless, especially if you're going to run 24x7, some things just make sense:
o Turn on noatime in fstab o Use tmpfs in fstab o Use a bigger card--not for storage space, but wear leveling.
As far as size--Raspbian comes as a 2GB image, which you expand to use the capacity of the card. If you'r not going to do a lot of local data storage, 8GB will work well (and be a lot cheaper). 16GB is a nice compromise on cost/capacity (and wear leveling, if you believe in that as an issue). 32GB is pricy, and if you're thinking about that much storage maybe you want to hang a USB HDD or even SDD off the box; after all, we now have four USB ports with the Pi 2.
Cheers, -- Dave Ihnat dihnat@dminet.com
On 04/30/2015 09:08 AM, Dave Ihnat wrote:
On Wed, Apr 29, 2015 at 10:46:38PM -0400, Robert Moskowitz wrote:
I have a Microcomputer center a couple miles away, and they have mSD cards by the dozens at the checkout counters. Each comes with the SD adapter. I think I just spent $9 each for a few more 16Gb cards for my testing.
I've been using the EMTec cards carried by MicroCenter. I don't trust no-name or store-branded cards. There are just too many fraudulent cards out there. I've considered using MicroCenter's, just because I can go back to the store if there are problems, but the difference in price hasn't been worth it.
That is why I blow away their partitions and do my own, even if I want a DOS partition. I once, REALLY, got a USB stick from ecost.com that had this strange hidden partition on it with this interesting code that had an IP address imbedded in it.
Also, another thing you should consider is that there are speed classes of SD cards from 3-10. You want Class 10--10MB/s. You'll often see Class 2,4, and 6 cards at great prices--there's a reason.
I am looking at the card I got last week and it says C10.
I hate to recommend a Microsoft-based solution--try running it under wine or something, if it offends the sensibilities--but look for, get and run a little ditty called h2testw.exe (best site would be the source, http://www.heise.de/download/h2testw.html--it%27s a German author and site, but you can figure it out.) There are Linux alternatives--the one that comes to mind is F3:
http://oss.digirati.com.br/f3/
Others, and some discussion of the problem:
https://www.raymond.cc/blog/test-and-detect-fake-or-counterfeit-usb-flash-dr...
Some think that a RPi OS running off a SD card should be "tuned"; others dismiss this, as the card specs give a large number of R/W ops before MTBF. Nevertheless, especially if you're going to run 24x7, some things just make sense:
o Turn on noatime in fstab o Use tmpfs in fstab o Use a bigger card--not for storage space, but wear leveling.
The latest uboot for F22 (and kernel) can just have uboot on the SD card and then switch to your sata for everything else. That is the nice thing about Cubies (and Wands and a few others). Real sata port. Hans is working on USB drive support out of uboot, but I have not heard if he has that working yet. There are a few things that won't made F22 and we will have to wait for F23 for them.
As far as size--Raspbian comes as a 2GB image, which you expand to use the capacity of the card. If you'r not going to do a lot of local data storage, 8GB will work well (and be a lot cheaper). 16GB is a nice compromise on cost/capacity (and wear leveling, if you believe in that as an issue). 32GB is pricy, and if you're thinking about that much storage maybe you want to hang a USB HDD or even SDD off the box; after all, we now have four USB ports with the Pi 2.
Better to go with a smallish SD and put on a USB drive for your root and such.
Just got this pointer in an email:
http://view.newsletter.rakuten.com/?j=fe8815707c6d017473&m=fe8d12717c620...
I have bought a number of items from Rakuten and a happy with them.
On 04/30/2015 10:08 AM, Robert Moskowitz wrote:
On 04/30/2015 09:08 AM, Dave Ihnat wrote:
On Wed, Apr 29, 2015 at 10:46:38PM -0400, Robert Moskowitz wrote:
I have a Microcomputer center a couple miles away, and they have mSD cards by the dozens at the checkout counters. Each comes with the SD adapter. I think I just spent $9 each for a few more 16Gb cards for my testing.
I've been using the EMTec cards carried by MicroCenter. I don't trust no-name or store-branded cards. There are just too many fraudulent cards out there. I've considered using MicroCenter's, just because I can go back to the store if there are problems, but the difference in price hasn't been worth it.
That is why I blow away their partitions and do my own, even if I want a DOS partition. I once, REALLY, got a USB stick from ecost.com that had this strange hidden partition on it with this interesting code that had an IP address imbedded in it.
Also, another thing you should consider is that there are speed classes of SD cards from 3-10. You want Class 10--10MB/s. You'll often see Class 2,4, and 6 cards at great prices--there's a reason.
I am looking at the card I got last week and it says C10.
I hate to recommend a Microsoft-based solution--try running it under wine or something, if it offends the sensibilities--but look for, get and run a little ditty called h2testw.exe (best site would be the source, http://www.heise.de/download/h2testw.html--it%27s a German author and site, but you can figure it out.) There are Linux alternatives--the one that comes to mind is F3:
http://oss.digirati.com.br/f3/
Others, and some discussion of the problem:
https://www.raymond.cc/blog/test-and-detect-fake-or-counterfeit-usb-flash-dr...
Some think that a RPi OS running off a SD card should be "tuned"; others dismiss this, as the card specs give a large number of R/W ops before MTBF. Nevertheless, especially if you're going to run 24x7, some things just make sense:
o Turn on noatime in fstab o Use tmpfs in fstab o Use a bigger card--not for storage space, but wear leveling.
The latest uboot for F22 (and kernel) can just have uboot on the SD card and then switch to your sata for everything else. That is the nice thing about Cubies (and Wands and a few others). Real sata port. Hans is working on USB drive support out of uboot, but I have not heard if he has that working yet. There are a few things that won't made F22 and we will have to wait for F23 for them.
As far as size--Raspbian comes as a 2GB image, which you expand to use the capacity of the card. If you'r not going to do a lot of local data storage, 8GB will work well (and be a lot cheaper). 16GB is a nice compromise on cost/capacity (and wear leveling, if you believe in that as an issue). 32GB is pricy, and if you're thinking about that much storage maybe you want to hang a USB HDD or even SDD off the box; after all, we now have four USB ports with the Pi 2.
Better to go with a smallish SD and put on a USB drive for your root and such.
On 30.04.2015 01:00, Rick Stevens wrote:
On 04/29/2015 09:05 AM, poma wrote:
On 29.04.2015 17:39, bobgoodwin@wildblue.net wrote:
On 04/29/15 11:19, Greg Woods wrote:
On Wed, Apr 29, 2015 at 8:46 AM, <bobgoodwin@wildblue.net mailto:bobgoodwin@wildblue.net> wrote:
I have to get the SD card and whatever is required to program it from Fedora 21 or 22, or buy one preprogrammed.
Pretty much any old SD card would do. I have this one:
http://www.amazon.com/SanDisk-Memory-Frustration-Free-Packaging--SDSDB-016G-...
By far the most popular OS for Rasperry Pi is Raspbian (a Debian derivative). There is a lot more third party software available for this. But there is also Pidora (a Fedora variant) which I have successfully installed and tested.
I currently have an older Pi model B in service as my Bacula storage server, with an external 4TB USB drive for online backups, plus a USB enclosure that allows swapping drives to use for archival backups. Works great. Pi's have lots of uses.
--Greg
.
Well I can see that it has to be the small micro SD type care if it's going to fit the socket and case that came with it.
But what I am really asking I guess is how do I connect the SD card to a desktop computer to install Pidora or whatever? The only thing I see that accepts the SD card is the Raspberry board.
Bob
Bob, buy a MicroSD card that comes with the adapter to convert it to a normal SD card and get that SD<---->USB dongle.
Plug the MicroSD card into its adapter.
Plug the SD card adapter (with MicroSD card in it) into the USB
dongle.
- Plug the dongle into your desktop computer and note which device the
SD card shows up as (probably /dev/sdb, but have a look at the output of dmesg to be sure).
- Download the ISO that you want.
http://www.digitaldreamtime.co.uk/images/Fidora/21/ Pi2B-Fedora-Xfce-armhfp-21-5-20150219-1-sda.raw.xz
https://lists.fedoraproject.org/pipermail/arm/2015-February/009054.html
- As root, "dd if=name-of-iso-file.iso of=/dev/sdb bs=1M" (assuming the
SD card shows up as /dev/sdb...change as needed)
- When dd ends, unplug the USB dongle, pull out the SD card adapter,
pull the MicroSD from the adapter, stick it in your RPi and power up the RPi.
- Voila!
- Rick Stevens, Systems Engineer, AllDigital ricks@alldigital.com -
- AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 -
-
- Never test for an error condition you don't know how to handle. -
On Wed, 2015-04-29 at 11:39 -0400, bobgoodwin@wildblue.net wrote:
what I am really asking I guess is how do I connect the SD card to a desktop computer to install Pidora or whatever? The only thing I see that accepts the SD card is the Raspberry board.
With a USB card reader. That's what I use to get photos from my digital camera. They're the sort of thing that sells for $20.
On 04/29/15 12:07, Tim wrote:
How do I connect the SD card to a> desktop computer to install Pidora or whatever? The only thing I see
that accepts the SD card is the Raspberry board.
With a USB card reader. That's what I use to get photos from my digital camera. They're the sort of thing that sells for $20.
Ok, I'll have to order one of those if someone in the house doesn't already have one. My daughter didn't seem to understand what I needed but it's a good bet that she has one, I will have to rephrase my question to her.
Thanks,
Bob
On 04/29/2015 12:07 PM, Tim wrote:
On Wed, 2015-04-29 at 11:39 -0400, bobgoodwin@wildblue.net wrote:
what I am really asking I guess is how do I connect the SD card to a desktop computer to install Pidora or whatever? The only thing I see that accepts the SD card is the Raspberry board.
With a USB card reader. That's what I use to get photos from my digital camera. They're the sort of thing that sells for $20.
You can get a little adapter that plugs into a USB port and has a slot for your SD card. Anywhere from a couple dollars to around $8.00 or so. See:
http://www.amazon.com/s/?ie=UTF8&keywords=usb+sd+card+adaptor&tag=go...
--doug
On 04/29/2015 09:39 AM, bobgoodwin@wildblue.net wrote:
On 04/29/15 11:19, Greg Woods wrote:
On Wed, Apr 29, 2015 at 8:46 AM, <bobgoodwin@wildblue.net mailto:bobgoodwin@wildblue.net> wrote:
I have to get the SD card and whatever is required to program it from Fedora 21 or 22, or buy one preprogrammed.
Pretty much any old SD card would do. I have this one:
http://www.amazon.com/SanDisk-Memory-Frustration-Free-Packaging--SDSDB-016G-...
By far the most popular OS for Rasperry Pi is Raspbian (a Debian derivative). There is a lot more third party software available for this. But there is also Pidora (a Fedora variant) which I have successfully installed and tested.
I currently have an older Pi model B in service as my Bacula storage server, with an external 4TB USB drive for online backups, plus a USB enclosure that allows swapping drives to use for archival backups. Works great. Pi's have lots of uses.
--Greg
.
Well I can see that it has to be the small micro SD type care if it's going to fit the socket and case that came with it.
But what I am really asking I guess is how do I connect the SD card to a desktop computer to install Pidora or whatever? The only thing I see that accepts the SD card is the Raspberry board.
Bob
There are several micro SD card adapters on Ebay for very cheap price. The only thing you need to look at your fedora machine is a thin slot that is slightly more than an inch in width which accepts the Macro size SD card. So, adapters which are of the Macro SD card size, accept micro SD cards as inserts, and of course, you insert the Macro SD card adapter into the thin slot mentioned above. If you have no such slot on your Fedora Machine, you can by a USB adapter that has micro and Macro SD card slots. Again Ebay is your friend.
On 04/29/15 16:29, jd1008 wrote:
There are several micro SD card adapters on Ebay for very cheap price. The only thing you need to look at your fedora machine is a thin slot that is slightly more than an inch in width which accepts the Macro size SD card. So, adapters which are of the Macro SD card size, accept micro SD cards as inserts, and of course, you insert the Macro SD card adapter into the thin slot mentioned above. If you have no such slot on your Fedora Machine, you can by a USB adapter that has micro and Macro SD card slots. Again Ebay is your friend.
There are no such 'thin slots' on these computers unless there's a socket on a mother board that I am not aware of, I built them all in rack style cases and Know what's there. And yes I've found some bargains on Ebay ...
So it will have to be a USB card reader apparently. I've accumulated a lot of information as a result of this question and have saved most of it.
Thanks to everyone,
Bob
On 04/29/2015 07:46 AM, bobgoodwin@wildblue.net wrote:
I just received a Raspberry Pi 2b as a birthday gift. Apparently the operating system must be stored on an micro-SD card, the o/s can be downloaded but I have to get the SD card and whatever is required to program it from Fedora 21 or 22, or buy one preprogrammed.
Perhaps someone with experience there can enlighten as to what I need to order to do this?
I have a Raspberry Pi (B+ model). I can give some ideas.
1. I bought micro SD cards that come with an adapter that converts micro SD to regular SD. I bought the fastest SDs I could find, but you can probably go slower/cheaper.
2. My laptop has an SD card slot on it, but I also have a USB card adapter (SD/MMC/others) that works just fine. About $15 US.
3. I've tried several OSes. The most common is Raspian (a Debian-based distro). I've also used OpenELEC (essentially a purpose-built media center package) and Pidora (a Fedora 20-based package). They all come as ISOs that you simply "dd" to the raw SD device (NOT a partition), e.g.:
dd if=pidora.iso of=/dev/sdb bs=1M
4. Just plug the micro SD into the Pi and power it up. It should boot up to the desktop (Raspian and Pidora) or the media center (OpenELEC).
Hope that helps. ---------------------------------------------------------------------- - Rick Stevens, Systems Engineer, AllDigital ricks@alldigital.com - - AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 - - - - Politicians are the opposite of pickpockets because you never see - - them take their hand out of your pocket. - - -- Larry Fine - ----------------------------------------------------------------------
On 04/29/15 12:39, Rick Stevens wrote:
On 04/29/2015 07:46 AM, bobgoodwin@wildblue.net wrote:
I just received a Raspberry Pi 2b as a birthday gift. Apparently the operating system must be stored on an micro-SD card, the o/s can be downloaded but I have to get the SD card and whatever is required to program it from Fedora 21 or 22, or buy one preprogrammed.
Perhaps someone with experience there can enlighten as to what I need to order to do this?
I have a Raspberry Pi (B+ model). I can give some ideas.
- I bought micro SD cards that come with an adapter that converts
micro SD to regular SD. I bought the fastest SDs I could find, but you can probably go slower/cheaper.
- My laptop has an SD card slot on it, but I also have a USB card
adapter (SD/MMC/others) that works just fine. About $15 US.
- I've tried several OSes. The most common is Raspian (a Debian-based
distro). I've also used OpenELEC (essentially a purpose-built media center package) and Pidora (a Fedora 20-based package). They all come as ISOs that you simply "dd" to the raw SD device (NOT a partition), e.g.:
dd if=pidora.iso of=/dev/sdb bs=1M
- Just plug the micro SD into the Pi and power it up. It should boot
up to the desktop (Raspian and Pidora) or the media center (OpenELEC).
Hope that helps.
- Rick Stevens, Systems Engineer, AllDigital ricks@alldigital.com -
- AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 -
- Politicians are the opposite of pickpockets because you never see -
them take their hand out of your pocket. -
-- Larry Fine -
At this point everything helps!
I will start a new section in my notes and save this.
Thanks,
Bob
On 04/29/2015 09:47 AM, bobgoodwin@wildblue.net wrote:
On 04/29/15 12:39, Rick Stevens wrote:
On 04/29/2015 07:46 AM, bobgoodwin@wildblue.net wrote:
I just received a Raspberry Pi 2b as a birthday gift. Apparently the operating system must be stored on an micro-SD card, the o/s can be downloaded but I have to get the SD card and whatever is required to program it from Fedora 21 or 22, or buy one preprogrammed.
Perhaps someone with experience there can enlighten as to what I need to order to do this?
I have a Raspberry Pi (B+ model). I can give some ideas.
- I bought micro SD cards that come with an adapter that converts
micro SD to regular SD. I bought the fastest SDs I could find, but you can probably go slower/cheaper.
- My laptop has an SD card slot on it, but I also have a USB card
adapter (SD/MMC/others) that works just fine. About $15 US.
- I've tried several OSes. The most common is Raspian (a Debian-based
distro). I've also used OpenELEC (essentially a purpose-built media center package) and Pidora (a Fedora 20-based package). They all come as ISOs that you simply "dd" to the raw SD device (NOT a partition), e.g.:
dd if=pidora.iso of=/dev/sdb bs=1M
- Just plug the micro SD into the Pi and power it up. It should boot
up to the desktop (Raspian and Pidora) or the media center (OpenELEC).
Hope that helps.
At this point everything helps!
I will start a new section in my notes and save this.
By the way, this isn't exactly what I have, but this is the sort of thing you need:
http://www.bestbuy.com/site/insignia-usb-2-0-multiformat-memory-card-reader-...
Just an example. There are LOTS of different ones out there. ---------------------------------------------------------------------- - Rick Stevens, Systems Engineer, AllDigital ricks@alldigital.com - - AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 - - - - Artificial Intelligence usually beats real stupidity. - ----------------------------------------------------------------------
On 04/29/2015 11:52 AM, Rick Stevens wrote:
On 04/29/2015 09:47 AM, bobgoodwin@wildblue.net wrote:
On 04/29/15 12:39, Rick Stevens wrote:
On 04/29/2015 07:46 AM, bobgoodwin@wildblue.net wrote:
<<<>>>
By the way, this isn't exactly what I have, but this is the sort of thing you need:
http://www.bestbuy.com/site/insignia-usb-2-0-multiformat-memory-card-reader-...
Just an example. There are LOTS of different ones out there.
that one will work, so will this for less;
http://www.bestbuy.com/site/gear-head-cr4200-23-in-1-usb-2-0-flash-card-read...
only problem is it will not work with 'contact pad' cards.
On 04/29/2015 10:46 AM, bobgoodwin@wildblue.net wrote:
I just received a Raspberry Pi 2b as a birthday gift. Apparently the operating system must be stored on an micro-SD card, the o/s can be downloaded but I have to get the SD card and whatever is required to program it from Fedora 21 or 22, or buy one preprogrammed.
Perhaps someone with experience there can enlighten as to what I need to order to do this?
For the Pi 2b you want to get on the F22 beta which is almost done:
https://fedoraproject.org/wiki/Architectures/ARM
I work with the Cubieboards with F22 and hopefully soon the Centos7 port. Discussions I have had indicate that they have not come out with the best armv7 board out there, not even for the money.
You can go through the fedora-arm list to see what has been done with your board: