Talk:RPi Advanced Setup
I think that the section on the serial connection should just be completely removed - the RPi doesn't have an easily accessible console connection so these instructions are completely irrelevant. I'm new here though and I'm just not confident enough to actually remove it. If you agree that I'm right, please do get rid of it :-) --Rockhawk 11:31, 12 February 2012 (UTC)
- As this is the advanced setup page there may be some call for documentation, though I agree it does seem a little pointless. I'll move the section to a separate page, and wait for others to discuss potential deletion. --Tufty 12:10 12 February, 2012 (UTC)
"Additional GPU firmware images, rename over start.elf to use them:"
Given that you're choosing from the three files, and using it as a fourth, wouldn't it be more appropriate to copy the file to start.elf, rather than rename it, so as not to lose one or another of them as you change your options over time? This would keep your options open down the road, and choosing one, and then another wouldn't result in the loss of one of the options. -rpUral
- Agree, changed Rockhawk 00:39, 9 March 2012 (UTC)
In the section about SSH setup, I'm a little unclear which steps are done on the Pi, which are done on a different computer, and which direction file copying is done. Could these be more explicit? -Agontile
ssh is enabled by default
I just set up my first Pi. I used my Debian PC to write a Raspbian image to the SD card, plugged it into the Pi, then I did a ping sweep:
nmap -sP 192.168.0.*
Then I attached the Pi to the network, plugged in power, and went to get a snack while it booted. When I got back I did another ping sweep and saw a new ip address had popped up, just as I expected. I attempted to connect with ssh and was greeted with a password prompt. I discovered this page while looking for the default user name and password, but they're not here. My next step was to Google "raspbian default user" to find the answer. This page was completely useless. For the record, it's pi/raspbery.
Everything worked right out of the box. I did not have to connect a keyboard and monitor, and none of the stuff on this page was necessary. Is it necessary when accessing a Pi from a windows machine?
- [View source↑]
|Thread title||Replies||Last modified|
|SD card geometry||0||09:02, 18 June 2016|
This article use the "255 heads/63 sectors" geometry, but doesn't explains why.
According to https://lwn.net/Articles/428584/ ,this is a bad idea because the partitions are unlikely to be aligned with segments.
Unfortunately, the fdisk and sfdisk tools from util-linux make it particularly hard to do this correctly, because they try to preserve an archaic geometry of 255 "heads" and 63 "sectors" and, by default, align partitions to "cylinder" boundaries. None of these units have any significance on today's hard drives or flash drives, but they are kept for backwards compatibility with existing software. The result is that most partitions are as misaligned as possible, they start on a odd-numbered 512-byte sector, which defeats all optimizations that a filesystem can do to align its accesses to logical blocks and segments inside of the partition.
So, Is there a reason to this geometry ? If not, we should replace all the "Formatting SD card" section. I guess the first partition should start at 4MB, and each partition should be aligned with that.