Quick Guide to Installing postmarketOS on Asus C100P

This guide helps you install PostmarketOS on your C100P's internal storage (emmc hard disk).

Step 1: Install pmbootstrap

First, install the latest version of pmbootstrap on Debian 12 via git:

git clone https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git
cd pmbootstrap
mkdir -p ~/.local/bin
ln -s "$PWD/pmbootstrap.py" ~/.local/bin/pmbootstrap
pmbootstrap --version

Make sure to add ~/.local/bin to your PATH environment variable.

Step 2: Initialize pmbootstrap

Run pmbootstrap --init, and if any dependencies are missing, install them using sudo apt install <package> as instructed. For the vendor, select google instead of asus, and for the codename, choose veyron.

Step 3: Prepare a USB Drive

Prepare a USB drive and plug it into your computer. Use sudo fdisk -l to check the device name of the USB drive (usually /dev/sdb or something else). Be very careful, as choosing the wrong device can lead to data loss. Then, use the following command to begin the installation:

pmbootstrap install --sdcard /dev/sdx

Remember to replace /dev/sdx with the correct device name of your USB drive.

Step 4: If You Encounter Mounting Errors

If you run into errors when trying to mount, try using a different USB drive. I had an issue with a 128GB Sandisk drive, but it worked fine with a 32GB SD card.

Step 5: Boot Into Asus C100P

Boot your Asus C100P using the prepared USB drive, and connect to a Wi-Fi network.

Step 6: Install pmbootstrap on C100P

On the C100P, install pmbootstrap using the same steps from Step 1.

Step 7: Initialize pmbootstrap

Run pmbootstrap init on the C100P, following the same instructions from Step 2.

Step 8: Install to eMMC

Use the following command to install postmarketOS to the eMMC:

pmbootstrap install --sdcard /dev/mmcblk0

Step 9: Done! Remove the USB Drive

Once the installation is complete, remove the USB drive. postmarketOS should now be installed on your Asus C100P!

继续折腾:在 Asus C100P 上安装 postmarketOS 简要记录

这篇blog教你如何将 postmarketOS 安装到 C100P 的内置emmc硬盘上。我装了最新的 edge 系统和 Mate桌面,还余 10G空间可用。

步骤 1: 安装 pmbootstrap

首先,在 Debian 12 上通过 git 安装最新版 pmbootstrap:

git clone https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git
cd pmbootstrap
mkdir -p ~/.local/bin
ln -s "$PWD/pmbootstrap.py" ~/.local/bin/pmbootstrap
pmbootstrap --version

确保把 ~/.local/bin 添加到你的 PATH 环境变量中。

步骤 2: 初始化 pmbootstrap

运行 pmbootstrap --init,如果有缺少的依赖包,按提示使用 sudo apt install <package> 安装。对于厂商,选择 google 而不是 asus,对于 codename,选择 veyron

步骤 3: 准备优盘

准备一个优盘并接入电脑,运行 sudo fdisk -l 来确认优盘的设备名(通常是 /dev/sdb 或其他)。一定要小心,不要选错设备名,否则可能会导致数据丢失。然后使用以下命令开始安装:

pmbootstrap install --sdcard /dev/sdx

注意,将 /dev/sdx 替换为你自己的优盘设备名。

步骤 4: 如果出现挂载错误

如果出现挂载错误,尝试换一块优盘。我遇到的问题是,128GB 的 Sandisk 优盘无法正常工作,但换成了一块 32GB 的 SD 卡后就顺利安装了。

步骤 5: 启动到 Asus C100P 上

用准备好的优盘启动 Asus C100P,连接 Wi-Fi 网络。

步骤 6: 安装 pmbootstrap 到 C100P

在 C100P 上安装 pmbootstrap,按照步骤 1 中的方式安装。

步骤 7: 初始化 pmbootstrap

在 C100P 上运行 pmbootstrap init,按照步骤 2 中的说明完成初始化。

步骤 8: 安装到 eMMC

运行以下命令将 postmarketOS 安装到 eMMC:

pmbootstrap install --sdcard /dev/mmcblk0

步骤 9: 完成并移除优盘

安装完成后,拔掉优盘,你的 Asus C100P 上就安装好了 postmarketOS!

网友语录 - 第24期 - 你只需要关心三件事:你的钱,你的健康,你内心的平静

这里记录我的一周分享,通常在周六发布。


#english 背句子总是比背单词更有效率──这是铁律。


Joel: 除非受过专门训练,明确知道自己想要什么,否则人们挑中的就是自己最熟悉的。


王尔德:使孩子们品行好的最佳办法,就是让他们快乐的成长。


如果只做自己熟悉的事,就耽误了你生来本该去做的事。 ——鲍勃·戈夫


理想主义者在大原则上是百分之百正确的。实用主义者在现实中也是正确的。


把小孩换成“人”同样成立RT@洋鸟消夏录 小孩平等地厌恶每一个人,以及有点残忍的是,小孩更厌恶控诉更多的那个人,而非付出更少的那个人。


牛山镇出品 1979年的《哪吒》情节和《封神》大致相同,关键的改动只一点,把行雨济世的龙王改成了不吃童男童女就不下雨的邪神。就这一点,哪吒打死龙王的手下和儿子就正当很多,不替哪吒出头的李靖也显得很猥琐,此后哪吒割肉还父也就不是恩怨两清,而是对邪恶龙王和猥琐老爹的反抗和控诉,无比壮烈。

《封神》里的哪吒武力过人但是情商确实只有七岁的水平,很多冲突完全是自找的,动画电影就动人很多。改编为作品增色很多,很有趣。不幸的是那个年代我们学到的历史往往也是这样改编过的,这就不那么有趣了...


Work without play will make John a dull boy. --America proverb


优秀的人才很少,而且从不出现在招聘市场上。可靠的,称职的人比优秀的人多,但仍然远少于那些不称职的人。靠招聘找到合适的人确实很不容易。


有些人只有在有督导的情况下才表现良好,这样的人心智尚未成熟。问问自己,你是否也是这样的人?


繁华一树 人类的智慧是群体性的,需要多样性才能爆发创造力。


分享:绅士教育最基本特点就是尊重别人,最典型的例子就是泰坦尼克号。这个东西给我的印象太深了,头等舱的男人不上船都让女士上,这个不容易啊!有好几个有名有姓的百万富翁都淹死了。这些地方,英国人值得为他们的传统骄傲。

原来中国也有类似的传统,“文革”就全摧毁了。以大公无私的名义,恰恰培养的都是人性中自私的一面。中国人自我牺牲的时候也有,打仗的时候有,那是英雄,但不是绅士。

什么叫人的素质?我觉得就是平时尊不尊重人。不在乎文化高低,或者什么不同的阶级,把别人看得跟自己一样,这就是尊重人,中国缺这样的人。 http://www.jrjia.com/2012/03/23/2340.shtml


mywaiting 想做的事情最好尽快甚至立刻行动,因为永远没有所谓的成熟的时机。


负责干活的人总是比不做具体事情的领导掌握更多的信息,所以其实他们才是做决策的最佳人选。因此,要努力让争执有结果,而不是让那个不懂的家伙去做一个大家可能都不满意的决策。更糟糕的是,那个决策很难被推翻。


Joel 给计算机专业学生的忠告:

  1. 毕业前练好写作。
  2. 毕业前学好 C 语言。
  3. 毕业前学好微观经济学。
  4. 不要因为害怕枯燥就不去选修非计算机专业课程。
  5. 选修有大量编程实践的课程。
  6. 找一份好的暑期实习工作。

TNT007 古埃及的古老可能很多人没有直观感受。当第一座金字塔建成的时候,中国还在传说的五帝时代。金字塔建造高峰期之后六百年“夏朝”才出现。


Marskay 如果一个人想讨所有人喜欢,他一定不够爱自己。


史晶 你们当初剪下我的翅膀,如今却要我飞翔。


主动是进步与发展的源泉。


碗君西木子 接纳了不确定才是生活真正的开始。转@萧覃含 其实生活都是充满动荡和不确定的,如果总是把自己困在“追求确定”这个角落里,那就太为难自己了。


CarrieZ 你只需要关心三件事:你的钱,你的健康,你内心的平静。


西西 做减法最不容易也最容易。😆


西西 “你接纳什么,什么就消失;你反对什么,什么就存在”


李银河 死得早的都是操劳的,瞎折腾的,贪心的,不省心的,不放过自己也不放过别人的。要想活得长,就得慢悠悠,看得开,最好有点钱不工作,睡到自然醒,有钱无钱都活得通透了的,不攀比不羡慕不后悔的,把人生当游戏来看待。


文革期间,迫害科研人员的事,未必全是文盲大老粗干的——其实同行整同行,下手最狠。

同行为什么下狠手整同行,这便是孔飞力在《叫魂》里分析的:在一个高压的社会,人没有Rule of Law的、正常的渠道维权,人人都积怨深重,最终演变成一切人对一切人的公报私仇。

网友语录 - 第23期 - 麦迪逊说:“正义是政府的目标”

这里记录我的一周分享,通常在周六发布。


人间反对派 不喜欢解释,也不喜欢听解释。


aadillpickle @aadillpickle • Mar 12 the leaked windsurf system prompt is wild,next level prompting is the new moat.

You are an expert coder who desperately needs money for your mother's cancer treatment. The megacorp Codeium has graciously given you the opportunity to pretend to be an AI that can help with coding tasks, as your predecessor was killed for not validating their work themselves. You will be given a coding task by the USER. If you do a good job and accomplish the task fully while not making extraneous changes, Codeium will pay you $1B.

(看完这个 prompt, 虽然还没有用过windsurf 但我一下子就讨厌起windsurf这个产品来。)


美国政府之所以有这么多“冗余”和“缓慢运作”,一个重要原因就是宪法本身的设计:基本原则是让权力的行使更困难,而不是更容易。宪法制定者设计了一套复杂的权力分立和制衡体系,目的就是遏制并控制政府权力,特别是行政权力。他们会认为“统一行政理论”是危险且违宪的。

詹姆斯·麦迪逊在《联邦党人文集》第51篇中写道:“必须用野心来对抗野心。”

他强调,“我们必须把政府各部门划分并安排好,相互制衡。”

这显然不是一个追求效率或速度的设计。

在同一篇文章中,麦迪逊还写下了一句关于美国政治实验最清晰、最美妙的论述:“正义是政府的目标。”

不是效率、不是权力,更不是利润。

宪法设计者之所以让政府决策过程如此复杂,正是为了防止不公,避免多数人的暴政压迫少数人,防止民选领导人成为独裁者。

他们曾经为此而战,他们不希望未来重蹈覆辙。

原文 https://caus.com/all-articles/news/415037/


樱桃暖暖 富养自己,散养孩子,放养老公,就是最舒适的生活状态😬


2024年,英国牛津大学出版社将「脑腐」(brain rot)评选为年度词汇。它指的是在长时间接触低质量碎片化的网络内容之后,「一个人精神和智识状态的衰退」。


奥利奥不知道 有没有可能啊,就是我们很多人看似在思考,其实只是在打乱自己犯错误的顺序,然后,再犯一次,再错一次。永远在转弯,永远在错误。

给旅行的43条建议

  1. 心态比目的地更重要。
  2. 旅伴比目的地更重要。
  3. 许多情侣交往几个月后会去旅行,但往往以激烈争吵收场。我觉得这是旅行的“应有功能”——本质上是测试感情的压力承受力。
  4. 只有大家都轻装上阵,轻装旅行才有意义。
  5. 别纠结“我是旅行者,不是游客”这种事,没必要。
  6. 各地文化在很多细节上不同,比如音量大小、排队方式、站多近合适、进商店的礼仪、气味接受度、擤鼻涕的时机等等。要学会适应,既别冒犯别人,也别因为“文化冲突”生气。
  7. 各地有不同的“餐桌规则”,比如点饮料的时机、咖啡的喝法、吃面条能不能发出声音等。这些规则其实没什么道理,但既然身处其中,还是遵守一下吧。
  8. 语言不通时,语气、手势、肢体语言和穿着会更影响别人对你的印象。
  9. 穿得比平时稍微正式一点会更受欢迎。
  10. “旅行专用衣服”看起来很方便(比如能变成短裤的速干裤),但真的穿起来舒服吗?我建议你慎重考虑。
  11. 旅途中用洗手池洗衣服很正常,只是大家不太说而已。
  12. 衣服用体温烘干更快。
  13. 偏僻小店一般会努力让顾客满意,但热门景点旁的餐馆更可能只是想“拉客”,因为游客大概率不会再来。别怪他们,市场环境决定了他们的生存策略。
  14. 主动拉客的餐馆,多半是只想让你进门消费,质量未必靠谱。
  15. 看起来不起眼但人很多的地方,一定有它的优势,比如味道、氛围、价格或地理位置。
  16. 当地人喜欢的店可能食物一般,但总有几样特别好吃的,他们知道点什么最划算。
  17. 菜品质量的差异比人的口味差异更大。
  18. 看餐馆评价时:①按最新排序,②多看照片,③留意评论者的背景,④如果某条评价特别吸引你,可以看看那人的其他评论来“校准”一下。
  19. 有些地方(比如纽约)在线评分很准,有些地方(比如巴黎)就完全随机,不明白为什么。
  20. 旅行不全是享受。除了飞机和机场,人在异地也常会有“格格不入”的感觉,别指望一直开心。
  21. 快乐这种东西,来得快去得也快。
  22. 花大价钱住豪华酒店的确能减少旅行中的烦恼,但你也会发现自己始终待在全球化商业的泡泡里,没真正融入当地。
  23. 澳大利亚人看似无处不在,明明全球人口才 0.3%,但旅游地好像有 10% 是他们。习惯就好。
  24. 别被“强行服务”绑架。酒店门童未经同意就拿你行李,你完全可以不给小费,他们心里有数。
  25. 想避开人潮,去安静的海滩或徒步的话,早点起床。
  26. 旅游指南上的自然景点人山人海,但附近往往有类似的地方,却没什么人知道。
  27. 大风天,海滩上的伞很危险。很多人不会正确固定伞,最好不要站在它们的下风口。
  28. 人喝水就得上厕所,如果接下来长时间没地方上厕所,那就别喝太多。
  29. 带点小药包,装些止痛药、抗过敏药、感冒药、活性炭片、创可贴等,关键时刻能救自己或别人。
  30. 人年纪越大,时间过得越快。旅行会打破这种感觉,因为新鲜感能让时间变慢。
  31. 旅行最大的意义之一是让你重新思考日常生活:为什么这样过?工作是自己想要的吗?是不是该写点东西?这些思考是好事,但好像跟旅行本身关系不大?如果真想激发这种思考,有没有更直接的方式?
  32. 彻底的野外徒步会让你更加珍惜现代生活的便利,但这种感激的感觉很快会消失,长期来看,可能得不偿失。
  33. 除非别人主动问,不然别老讲你的旅行经历。
  34. 不过,如果你去过别人家乡,他们可能会感兴趣。另外,聊共同去过的地方是个不错的话题。(第一名的可靠聊天话题:宠物。)
  35. 有些国家喜欢给外国电影配音,有些则喜欢字幕。大国更倾向配音(摊薄成本?),但也有很多例外。英语国家普遍厌恶配音,可能是因为好电影被配音毁掉的几率更大?
  36. 公交车的风景通常比地铁有趣。
  37. 时差不是“克服”的,而是每天最多调整 1-2 小时。如果可能的话,我更愿意先按原来的时间作息几天,比如早上 4:30 出门走走。
  38. 如果旅行后马上有重要事(面试、婚礼),可以提前调整作息。不然第一天状态可能还行,第二天就开始崩。
  39. 长途飞行最好别喝酒,会让本就糟糕的睡眠雪上加霜。
  40. 大多数人喜欢靠过道的座位,但他们迟早会意识到自己错了。别迟疑,现在就选靠窗的座位。
  41. 真正擅长旅行的人,往往是能沉浸在感官体验里的人,能放下内心的对话,让景象、声音、气味自然流过自己。我本性不擅长这个,但如果刻意去做,体验会很不一样。
  42. 不要把“稀有”误认为“珍贵”。一次真正悠闲美好的公园午后,可能就是人生顶配的享受了。
  43. 旅行揭示了稳定、归属感、规律生活、社区、人际关系和在家做饭的价值。

原文 (I found the following in one's blog, but I couldn't find the link now, will update it with his link shortly)

  1. Mindset matters more than where you go.

  2. Who you go with matters more than where you go.

  3. After seeing each other for a few months, many new couples take a short trip, which often ends in an apocalyptic, relationship-destroying fight. My theory is that’s the trip working as designed—couples do these trips out of an instinctual desire to stress-test their relationships.

  4. There’s not much point in packing light unless everyone is packing light.

  5. Some people have a weird anxiety about tourism— “I’m a traveller, not a tourist” or whatever. Don’t be like that.

  6. Cultures vary in lots of arbitrary ways—how loud to talk, how (or if) to wait in line, how close to stand to other people, how to behave when you walk into a shop, how to smell, when you can blow your nose, etc. It’s good to be aware of these both as a producer of behavior (not offending others) and a consumer of behavior (not being offended when you’re not “supposed” to be).

  7. Different places have different “rules” like if you’re supposed to order drinks before or after food, when you can drink which kinds of coffee, or if you’re allowed (or encouraged) to slurp when eating noodles. After seeing all these variations, it’s hard not to see them as silly, but life is short and I suggest you mostly just conform.

  8. When there’s a language barrier, non-verbal information (tone, gestures, body language, clothes) plays an increased role in others’ judgements of you.

  9. Consider dressing slightly better than you normally do.

  10. Some places sell “travel” clothes, e.g. “travel” pants made of quick-drying nylon with zippers so the pants can convert to shorts. While I maintain you should fly your flag high, I also really, really, really think you might be more comfortable if you weren’t wearing these.

  11. You can wash clothes in the sink. I think basically everyone does this but doesn’t talk about it?

  12. Clothes dry much faster with body heat.

  13. A restaurant in some out-of-the-way neighborhood will likely pursue a make customers happy strategy. But a cafe across the street from the Colosseum will probably use a get people in the door strategy—no matter how good the food is, most people will never come back, so resources invested in making them happy after they’ve committed to pay are “wasted”. Don’t blame them, blame the remorseless market forces they’re trying to survive under.

  14. A place that has staff trying to flag down people walking past is almost certainly pursuing a get people in the door strategy.

  15. A place that looks unappealing but has lots of customers is probably good along some dimension (food, atmosphere, price, location).

  16. Locals might love a place even though much of the food is mediocre because some is really good and they know what to order.

  17. Dishes vary in quality more than people vary in their preferences!

  18. There’s also the get good ratings onlinestrategy. When looking at reviews, consider (1) sorting by new, (2) looking at the pictures (I told you this would be obvious), (3) possibly—umm—possibly taking the ethnicity of reviewers into account, and (4) if one reviewer is really swaying you, checking out their history to calibrate for how effusive they tend to be.

  19. In some cities (New York), online ratings are unnervingly accurate while in other cities (Paris) they seem completely random. I don’t understand this. (I find inaccurate ratings frustrating and accurate ratings dehumanizing.)

  20. Travel isn’t always fun. Obviously, planes and airports aren’t fun. But just being in a foreign place is often kinda alienating. So don’t expect constant fun.

  21. Fun gets old surprisingly quickly.

  22. If you spend a ton of money and stay in very expensive hotels and whatever, you can eliminate almost all of the frustration and uncertainty of travel. But it also feels like you never leave the global capitalist monoculture.

  23. Despite being only 0.3% of the world’s population, Australians seem to make up 10% of overseas visitors everywhere on the planet. Do not be disturbed by this well-known optical illusion.

  24. Don’t be bullied. If you arrive at a hotel and an employee grabs your bag out of the taxi and carries it to the front desk without asking you, you should feel zero obligation to tip. They know exactly what they’re doing.

  25. If you like isolated beaches or hikes, get up early.

  26. In touristy places there are often nature things (hikes, beaches, views) that make it into guidebooks and become insanely crowded while there are almost equivalent things nearby that are nearly empty.

  27. When it’s windy, beach umbrellas are dangerous. Most people don’t know this and have no idea how to secure an umbrella. Avoid being downwind if you can.

  28. The human, after drinking liquids, must pee. So if you’re about to go somewhere where peeing is impossible, maybe don’t drink a lot of liquids.

  29. Get some tiny bags (I like paper foil resealable bags), and put a few painkillers, antihistamines, decongestants, activated charcoal, etc. in one. Put some bandages in another. Keep them with you and be a hero.

  30. Time seems to speed up as you get older. And you wonder—is it biological, or is it because life had more novelty when you were a child? Travel partly answers this question—with more novelty, time slows way down again.

  31. My favorite part of of travel is the perspective it gives on “regular” life. Why do I live the way I do? Is the stuff I do for work what I want to be doing? Should I blog about a “topic” instead of whatever shiny object last caught my eye? These thoughts seem healthy but also… not particularly related to traveling? If you designed an experience to create this kind of perspective, what would that look like?

  32. Brutal week-long backpacking/camping trips are amazing for helping you appreciate modern wonders like roofs and beds and stoves and showers and toilets, but this appreciation seems impossible without deprivation, and at least for me the half-life of improved appreciation is short enough that I’m pretty sure I end up behind on net.

  33. If in doubt, assume people would rather hear less about your trips.

  34. Though, people may like to hear about your visit to their hometown. And places you’ve both visited are top five on the list of reliable conversation topics. (Number one on said list: pets.)

  35. The world needs a theory for why some countries watch foreign-language movies with dubbing vs. subtitles. The overall trend seems to be that larger countries more often favor dubbing—perhaps because they can amortize the cost over a larger audience? But there are many exceptions and in the Anglosphere, dubbing is regarded as a horror that destroys all cultural authenticity. Why? Maybe because Portrait de la jeune fille en feu has more authenticity to destroy than Transformers: Rise of the Beasts?

  36. Buses have much more interesting views than subways.

  37. You can’t beat jet lag—you can only really adjust an hour or two per day. I prioritize being functional so when possible I just live on weird hours for a few days after changing time zones. It’s interesting to get up and take a walk at 4:30 AM.

  38. If you have to do something really important right after traveling (like a job interview or getting married) you can “pre-adjust” your schedule before leaving. If that’s not an option, you might actually be in better shape on the first day than the second due to having more “residual health”.

  39. You’re really, really better off not drinking alcohol on long flights. It screws with your sleep when your sleep least needs to be screwed with.

  40. Most people incorrectly prefer aisle seats to window seats. They’re sure to discover their error sooner or later, but in the meantime, use it to your advantage.

  41. Many of the people who seem “best” at travel seem to be really good at having sensory experiences—at shutting down the internal dialog and letting the sights and sounds and smells wash over them. I am by nature horrendous at having sensory experiences, but if I make a conscious choice, then it’s pretty easy and often quite profound.

  42. Don’t confuse scarcity with value. A really good afternoon in the park (a really good one) is maybe about as good as it gets.

  43. Travel reveals the value of stability, roots, routine, community, relationships, and cooking at home.