forked from flyher/shumeipai
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Debian Wheezy Raspberry Pi minimal image.html
34 lines (34 loc) · 20.6 KB
/
Debian Wheezy Raspberry Pi minimal image.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><meta name="exporter-version" content=mNote Mac 2.4.10"/><meta name="created" content="2013-07-29T14:24:12Z"/><meta name="updated" content="2013-07-29T14:24:12Z"/><title>Debian Wheezy Raspberry Pi minimal image</title></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div><div style="display: block; font-style: normal; font-variant: normal; font-weight: normal; font-size: 13px; line-height: normal; font-family: tahoma, arial, sans-serif; height: 1172.875px; padding: 0px; text-align: left; text-decoration: initial; width: 907px; word-wrap: break-word;"><p style="display: block; font-style: normal; font-variant: normal; font-weight: normal; font-size: 13px; line-height: normal; font-family: tahoma, arial, sans-serif; height: 15px; margin: 12.800000190734863px 0px; padding: 0px; text-align: left; text-decoration: initial; width: 907px; word-wrap: break-word;"><a href="http://www.linuxsystems.it/wp-content/uploads/2012/06/raspi.jpeg" style="border: 0px none rgb(102, 102, 102); color: rgb(102, 102, 102); display: inline; font-style: normal; font-variant: normal; font-weight: bold; font-size: 13px; line-height: normal; font-family: tahoma, arial, sans-serif; margin: 0px; outline: rgb(102, 102, 102) none 0px; padding: 0px; text-align: left; text-decoration: initial; word-wrap: break-word;"><img class="alignright size-medium wp-image-124" title="raspberry pi qemu" src="http://files.note.sdo.com/M5cEN~kg8lV9nM24s00Xce" alt="" width="300" height="243" style="width: 300px; height: 243px; float: right; background-image: none; background-attachment: scroll; background-origin: padding-box; background-clip: border-box; background-color: rgb(243, 243, 243); background-size: auto; background-position: 0% 0%; background-repeat: repeat repeat;"></a>I made my own Raspberry Pi custom image based on Debian Wheezy.</p>
<p style="display: block; font-style: normal; font-variant: normal; font-weight: normal; font-size: 13px; line-height: normal; font-family: tahoma, arial, sans-serif; height: 15px; margin: 12.800000190734863px 0px; padding: 0px; text-align: left; text-decoration: initial; width: 907px; word-wrap: break-word;">Features include:</p>
<ul style="display: block; font-style: normal; font-variant: normal; font-weight: normal; font-size: 13px; line-height: normal; font-family: tahoma, arial, sans-serif; height: 195px; margin: 10px 0px; padding: 0px 0px 0px 40px; text-align: left; text-decoration: initial; width: 867px; word-wrap: break-word; list-style: disc outside none;">
<li style="display: list-item; font-style: normal; font-variant: normal; font-weight: normal; font-size: 13px; line-height: normal; font-family: tahoma, arial, sans-serif; height: 30px; margin: 0px; padding: 0px; text-align: left; text-decoration: initial; width: 867px; word-wrap: break-word; list-style: disc outside none;">A <strong style="display: inline; font-style: normal; font-variant: normal; font-weight: bold; font-size: 13px; line-height: normal; font-family: tahoma, arial, sans-serif; margin: 0px; padding: 0px; text-align: left; text-decoration: initial; word-wrap: break-word;">minimal</strong> Debian Wheezy installation (similar to a netinstall) instead of the outdated Squeeze packages</li>
<li style="display: list-item; font-style: normal; font-variant: normal; font-weight: normal; font-size: 13px; line-height: normal; font-family: tahoma, arial, sans-serif; height: 15px; margin: 0px; padding: 0px; text-align: left; text-decoration: initial; width: 867px; word-wrap: break-word; list-style: disc outside none;">Disabled incremental updates, means apt-get update is much faster</li>
<li style="display: list-item; font-style: normal; font-variant: normal; font-weight: normal; font-size: 13px; line-height: normal; font-family: tahoma, arial, sans-serif; height: 15px; margin: 0px; padding: 0px; text-align: left; text-decoration: initial; width: 867px; word-wrap: break-word; list-style: disc outside none;">Workaround for a kernel bug which hangs the Raspberry Pi under heavy network/disk loads</li>
<li style="display: list-item; font-style: normal; font-variant: normal; font-weight: normal; font-size: 13px; line-height: normal; font-family: tahoma, arial, sans-serif; height: 15px; margin: 0px; padding: 0px; text-align: left; text-decoration: initial; width: 867px; word-wrap: break-word; list-style: disc outside none;">A custom 3.1.9+ kernel with latest raspberry pi patches</li>
<li style="display: list-item; font-style: normal; font-variant: normal; font-weight: normal; font-size: 13px; line-height: normal; font-family: tahoma, arial, sans-serif; height: 15px; margin: 0px; padding: 0px; text-align: left; text-decoration: initial; width: 867px; word-wrap: break-word; list-style: disc outside none;">Latest version of the firmwares</li>
<li style="display: list-item; font-style: normal; font-variant: normal; font-weight: normal; font-size: 13px; line-height: normal; font-family: tahoma, arial, sans-serif; height: 15px; margin: 0px; padding: 0px; text-align: left; text-decoration: initial; width: 867px; word-wrap: break-word; list-style: disc outside none;">Lower GPU ram usage (32MB) by default</li>
<li style="display: list-item; font-style: normal; font-variant: normal; font-weight: normal; font-size: 13px; line-height: normal; font-family: tahoma, arial, sans-serif; height: 15px; margin: 0px; padding: 0px; text-align: left; text-decoration: initial; width: 867px; word-wrap: break-word; list-style: disc outside none;">224MB of ram are available to the system now</li>
<li style="display: list-item; font-style: normal; font-variant: normal; font-weight: normal; font-size: 13px; line-height: normal; font-family: tahoma, arial, sans-serif; height: 15px; margin: 0px; padding: 0px; text-align: left; text-decoration: initial; width: 867px; word-wrap: break-word; list-style: disc outside none;">A very tiny <strong style="display: inline; font-style: normal; font-variant: normal; font-weight: bold; font-size: 13px; line-height: normal; font-family: tahoma, arial, sans-serif; margin: 0px; padding: 0px; text-align: left; text-decoration: initial; word-wrap: break-word;">107MB</strong> image: even with a 2GB SD there is <strong style="display: inline; font-style: normal; font-variant: normal; font-weight: bold; font-size: 13px; line-height: normal; font-family: tahoma, arial, sans-serif; margin: 0px; padding: 0px; text-align: left; text-decoration: initial; word-wrap: break-word;">a lot</strong> of free space</li>
<li style="display: list-item; font-style: normal; font-variant: normal; font-weight: normal; font-size: 13px; line-height: normal; font-family: tahoma, arial, sans-serif; height: 15px; margin: 0px; padding: 0px; text-align: left; text-decoration: initial; width: 867px; word-wrap: break-word; list-style: disc outside none;">ssh starts by default</li>
<li style="display: list-item; font-style: normal; font-variant: normal; font-weight: normal; font-size: 13px; line-height: normal; font-family: tahoma, arial, sans-serif; height: 15px; margin: 0px; padding: 0px; text-align: left; text-decoration: initial; width: 867px; word-wrap: break-word; list-style: disc outside none;">The clock is automatically updated using ntp</li>
<li style="display: list-item; font-style: normal; font-variant: normal; font-weight: normal; font-size: 13px; line-height: normal; font-family: tahoma, arial, sans-serif; height: 15px; margin: 0px; padding: 0px; text-align: left; text-decoration: initial; width: 867px; word-wrap: break-word; list-style: disc outside none;">IPv6 support</li>
<li style="display: list-item; font-style: normal; font-variant: normal; font-weight: normal; font-size: 13px; line-height: normal; font-family: tahoma, arial, sans-serif; height: 15px; margin: 0px; padding: 0px; text-align: left; text-decoration: initial; width: 867px; word-wrap: break-word; list-style: disc outside none;">Just 7MB of ram usage after the boot</li>
</ul>
<p style="display: block; font-style: normal; font-variant: normal; font-weight: normal; font-size: 13px; line-height: normal; font-family: tahoma, arial, sans-serif; height: 30px; margin: 12.800000190734863px 0px; padding: 0px; text-align: left; text-decoration: initial; width: 907px; word-wrap: break-word;">Here is the link to <strong style="display: inline; font-style: normal; font-variant: normal; font-weight: bold; font-size: 13px; line-height: normal; font-family: tahoma, arial, sans-serif; margin: 0px; padding: 0px; text-align: left; text-decoration: initial; word-wrap: break-word;">download</strong> my custom image: <a href="http://files2.linuxsystems.it/wheezy_20120608.img.7z" target="_blank" style="border: 0px none rgb(102, 102, 102); color: rgb(102, 102, 102); display: inline; font-style: normal; font-variant: normal; font-weight: bold; font-size: 13px; line-height: normal; font-family: tahoma, arial, sans-serif; margin: 0px; outline: rgb(102, 102, 102) none 0px; padding: 0px; text-align: left; text-decoration: initial; word-wrap: break-word;">http://files2.linuxsystems.it/wheezy_20120608.img.7z</a></p>
<p style="display: block; font-style: normal; font-variant: normal; font-weight: normal; font-size: 13px; line-height: normal; font-family: tahoma, arial, sans-serif; height: 15px; margin: 12.800000190734863px 0px; padding: 0px; text-align: left; text-decoration: initial; width: 907px; word-wrap: break-word;">You will have to extract the image with <a href="http://p7zip.sourceforge.net/" target="_blank" style="border: 0px none rgb(102, 102, 102); color: rgb(102, 102, 102); display: inline; font-style: normal; font-variant: normal; font-weight: bold; font-size: 13px; line-height: normal; font-family: tahoma, arial, sans-serif; margin: 0px; outline: rgb(102, 102, 102) none 0px; padding: 0px; text-align: left; text-decoration: initial; word-wrap: break-word;">p7zip</a>:</p>
<blockquote style="background-image: none; background-attachment: scroll; background-origin: padding-box; background-clip: border-box; background-color: rgb(244, 244, 244); background-size: auto; border: 1px solid rgb(225, 225, 225); clear: both; color: rgb(85, 85, 85); display: block; font-style: normal; font-variant: normal; font-weight: normal; font-size: 13px; line-height: normal; font-family: tahoma, arial, sans-serif; height: 40.59375px; margin: 12.800000190734863px 40px; outline: rgb(85, 85, 85) none 0px; padding: 12.796875px; text-align: left; text-decoration: initial; width: 799.40625px; word-wrap: break-word; background-position: 0% 0%; background-repeat: repeat repeat;"><p style="border: 0px none rgb(85, 85, 85); color: rgb(85, 85, 85); display: block; font-style: normal; font-variant: normal; font-weight: normal; font-size: 13px; line-height: normal; font-family: tahoma, arial, sans-serif; height: 15px; margin: 12.800000190734863px 0px; outline: rgb(85, 85, 85) none 0px; padding: 0px; text-align: left; text-decoration: initial; width: 799.40625px; word-wrap: break-word;">7za x wheezy_20120608.img.7z</p></blockquote>
<p style="display: block; font-style: normal; font-variant: normal; font-weight: normal; font-size: 13px; line-height: normal; font-family: tahoma, arial, sans-serif; height: 15px; margin: 12.800000190734863px 0px; padding: 0px; text-align: left; text-decoration: initial; width: 907px; word-wrap: break-word;">Then flash it to your SD with dd:</p>
<blockquote style="background-image: none; background-attachment: scroll; background-origin: padding-box; background-clip: border-box; background-color: rgb(244, 244, 244); background-size: auto; border: 1px solid rgb(225, 225, 225); clear: both; color: rgb(85, 85, 85); display: block; font-style: normal; font-variant: normal; font-weight: normal; font-size: 13px; line-height: normal; font-family: tahoma, arial, sans-serif; height: 40.59375px; margin: 12.800000190734863px 40px; outline: rgb(85, 85, 85) none 0px; padding: 12.796875px; text-align: left; text-decoration: initial; width: 799.40625px; word-wrap: break-word; background-position: 0% 0%; background-repeat: repeat repeat;"><p style="border: 0px none rgb(85, 85, 85); color: rgb(85, 85, 85); display: block; font-style: normal; font-variant: normal; font-weight: normal; font-size: 13px; line-height: normal; font-family: tahoma, arial, sans-serif; height: 15px; margin: 12.800000190734863px 0px; outline: rgb(85, 85, 85) none 0px; padding: 0px; text-align: left; text-decoration: initial; width: 799.40625px; word-wrap: break-word;">dd bs=1M if=wheezy_20120608.img of=/dev/sdX</p></blockquote>
<p style="display: block; font-style: normal; font-variant: normal; font-weight: normal; font-size: 13px; line-height: normal; font-family: tahoma, arial, sans-serif; height: 15px; margin: 12.800000190734863px 0px; padding: 0px; text-align: left; text-decoration: initial; width: 907px; word-wrap: break-word;">Finally, if you have an sd larger than 2GB, grow the partition with gparted (first move the swap partition at the end).</p>
<p style="display: block; font-style: normal; font-variant: normal; font-weight: normal; font-size: 13px; line-height: normal; font-family: tahoma, arial, sans-serif; height: 15px; margin: 12.800000190734863px 0px; padding: 0px; text-align: left; text-decoration: initial; width: 907px; word-wrap: break-word;">The <strong style="display: inline; font-style: normal; font-variant: normal; font-weight: bold; font-size: 13px; line-height: normal; font-family: tahoma, arial, sans-serif; margin: 0px; padding: 0px; text-align: left; text-decoration: initial; word-wrap: break-word;">root password</strong> is raspberry.</p>
<p style="display: block; font-style: normal; font-variant: normal; font-weight: normal; font-size: 13px; line-height: normal; font-family: tahoma, arial, sans-serif; height: 171px; margin: 12.800000190734863px 0px; padding: 0px; text-align: left; text-decoration: initial; width: 907px; word-wrap: break-word;"><a href="http://www.linuxsystems.it/wp-content/uploads/2012/06/raspiroot.png" style="border: 0px none rgb(102, 102, 102); color: rgb(102, 102, 102); display: inline; font-style: normal; font-variant: normal; font-weight: bold; font-size: 13px; line-height: normal; font-family: tahoma, arial, sans-serif; margin: 0px; outline: rgb(102, 102, 102) none 0px; padding: 0px; text-align: left; text-decoration: initial; word-wrap: break-word;"><img class="alignnone size-medium wp-image-125" title="raspberry pi chroot" src="http://files.note.sdo.com/M5cEN~kg8lV9nM24s00Xci" alt="" width="300" height="159" style="width: 300px; height: 159px; float: none; background-image: none; background-attachment: scroll; background-origin: padding-box; background-clip: border-box; background-color: rgb(243, 243, 243); background-size: auto; background-position: 0% 0%; background-repeat: repeat repeat;"></a></p>
<p style="display: block; font-style: normal; font-variant: normal; font-weight: normal; font-size: 13px; line-height: normal; font-family: tahoma, arial, sans-serif; height: 15px; margin: 12.800000190734863px 0px; padding: 0px; text-align: left; text-decoration: initial; width: 907px; word-wrap: break-word;">You will have to reconfigure your timezone after the first boot:</p>
<blockquote style="background-image: none; background-attachment: scroll; background-origin: padding-box; background-clip: border-box; background-color: rgb(244, 244, 244); background-size: auto; border: 1px solid rgb(225, 225, 225); clear: both; color: rgb(85, 85, 85); display: block; font-style: normal; font-variant: normal; font-weight: normal; font-size: 13px; line-height: normal; font-family: tahoma, arial, sans-serif; height: 40.59375px; margin: 12.800000190734863px 40px; outline: rgb(85, 85, 85) none 0px; padding: 12.796875px; text-align: left; text-decoration: initial; width: 799.40625px; word-wrap: break-word; background-position: 0% 0%; background-repeat: repeat repeat;"><p style="border: 0px none rgb(85, 85, 85); color: rgb(85, 85, 85); display: block; font-style: normal; font-variant: normal; font-weight: normal; font-size: 13px; line-height: normal; font-family: tahoma, arial, sans-serif; height: 15px; margin: 12.800000190734863px 0px; outline: rgb(85, 85, 85) none 0px; padding: 0px; text-align: left; text-decoration: initial; width: 799.40625px; word-wrap: break-word;">dpkg-reconfigure tzdata</p></blockquote>
<p style="display: block; font-style: normal; font-variant: normal; font-weight: normal; font-size: 13px; line-height: normal; font-family: tahoma, arial, sans-serif; height: 15px; margin: 12.800000190734863px 0px; padding: 0px; text-align: left; text-decoration: initial; width: 907px; word-wrap: break-word;">The keyboard layout:</p>
<blockquote style="background-image: none; background-attachment: scroll; background-origin: padding-box; background-clip: border-box; background-color: rgb(244, 244, 244); background-size: auto; border: 1px solid rgb(225, 225, 225); clear: both; color: rgb(85, 85, 85); display: block; font-style: normal; font-variant: normal; font-weight: normal; font-size: 13px; line-height: normal; font-family: tahoma, arial, sans-serif; height: 40.59375px; margin: 12.800000190734863px 40px; outline: rgb(85, 85, 85) none 0px; padding: 12.796875px; text-align: left; text-decoration: initial; width: 799.40625px; word-wrap: break-word; background-position: 0% 0%; background-repeat: repeat repeat;"><p style="border: 0px none rgb(85, 85, 85); color: rgb(85, 85, 85); display: block; font-style: normal; font-variant: normal; font-weight: normal; font-size: 13px; line-height: normal; font-family: tahoma, arial, sans-serif; height: 15px; margin: 12.800000190734863px 0px; outline: rgb(85, 85, 85) none 0px; padding: 0px; text-align: left; text-decoration: initial; width: 799.40625px; word-wrap: break-word;">dpkg-reconfigure console-data</p></blockquote>
<p style="display: block; font-style: normal; font-variant: normal; font-weight: normal; font-size: 13px; line-height: normal; font-family: tahoma, arial, sans-serif; height: 15px; margin: 12.800000190734863px 0px; padding: 0px; text-align: left; text-decoration: initial; width: 907px; word-wrap: break-word;">And the localization:</p>
<blockquote style="background-image: none; background-attachment: scroll; background-origin: padding-box; background-clip: border-box; background-color: rgb(244, 244, 244); background-size: auto; border: 1px solid rgb(225, 225, 225); clear: both; color: rgb(85, 85, 85); display: block; font-style: normal; font-variant: normal; font-weight: normal; font-size: 13px; line-height: normal; font-family: tahoma, arial, sans-serif; height: 40.59375px; margin: 12.800000190734863px 40px; outline: rgb(85, 85, 85) none 0px; padding: 12.796875px; text-align: left; text-decoration: initial; width: 799.40625px; word-wrap: break-word; background-position: 0% 0%; background-repeat: repeat repeat;"><p style="border: 0px none rgb(85, 85, 85); color: rgb(85, 85, 85); display: block; font-style: normal; font-variant: normal; font-weight: normal; font-size: 13px; line-height: normal; font-family: tahoma, arial, sans-serif; height: 15px; margin: 12.800000190734863px 0px; outline: rgb(85, 85, 85) none 0px; padding: 0px; text-align: left; text-decoration: initial; width: 799.40625px; word-wrap: break-word;">dpkg-reconfigure locales</p></blockquote>
<p style="display: block; font-style: normal; font-variant: normal; font-weight: normal; font-size: 13px; line-height: normal; font-family: tahoma, arial, sans-serif; height: 15px; margin: 12.800000190734863px 0px; padding: 0px; text-align: left; text-decoration: initial; width: 907px; word-wrap: break-word;"> </p>
<p style="display: block; font-style: normal; font-variant: normal; font-weight: normal; font-size: 13px; line-height: normal; font-family: tahoma, arial, sans-serif; height: 15px; margin: 12.800000190734863px 0px; padding: 0px; text-align: left; text-decoration: initial; width: 907px; word-wrap: break-word;">It’s done, I hope you will enjoy it.</p>
<p style="display: block; font-style: normal; font-variant: normal; font-weight: normal; font-size: 13px; line-height: normal; font-family: tahoma, arial, sans-serif; height: 15px; margin: 12.800000190734863px 0px; padding: 0px; text-align: left; text-decoration: initial; width: 907px; word-wrap: break-word;">Edit: I also released a <a href="http://www.linuxsystems.it/2012/06/raspbian-wheezy-armhf-raspberry-pi-minimal-image/" target="_blank" style="border: 0px none rgb(102, 102, 102); color: rgb(102, 102, 102); display: inline; font-style: normal; font-variant: normal; font-weight: bold; font-size: 13px; line-height: normal; font-family: tahoma, arial, sans-serif; margin: 0px; outline: rgb(102, 102, 102) none 0px; padding: 0px; text-align: left; text-decoration: initial; word-wrap: break-word;">Raspbian Wheezy armhf minimal image</a> with hardfp binaries.</p>
</div></div></body></html>