Raspberry Pi/Zero 2W/Ubuntu/24.04: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 128: | Line 128: | ||
==SD Card » Pre-Boot== | ==SD Card » Pre-Boot== | ||
{|class='wikitable mw-collapsible' style='width:100%;margin:3px 0' | |||
!scope='col' style='text-align:left'| | |||
SD Card » Pre-Boot | |||
|- | |||
|valign='top'| | |||
{|class='wikitable mw-collapsible' style='width:100%;margin:3px 0' | {|class='wikitable mw-collapsible' style='width:100%;margin:3px 0' | ||
!scope='col' style='text-align:left' colspan='2'| | !scope='col' style='text-align:left' colspan='2'| | ||
system-boot » config.txt | |||
|- | |- | ||
|valign='top' style='width:50%'| | |valign='top' style='width:50%'| | ||
| Line 143: | Line 148: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
|valign='top' style='width:50%'| | |valign='top' style='width:50%'| | ||
<syntaxhighlight style='margin:3px 0' lang='bash'> | |||
lsmod | grep -E 'dwc2|g_ether' | |||
dmesg | grep -E 'dwc2' | |||
sudo dtoverlay dwc2 | |||
</syntaxhighlight> | |||
|} | |||
{|class='wikitable mw-collapsible mw-collapsed' style='width:100%;margin:6px 0 3px 0' | |||
!scope='col' style='text-align:left'| | |||
system-boot » cmdline.txt | |||
|- | |- | ||
|valign='top | |valign='top'| | ||
<syntaxhighlight style='margin:3px 0' lang='ini'> | <syntaxhighlight style='margin:3px 0' lang='ini'> | ||
# modules-load=dwc2 | # modules-load=dwc2 | ||
| Line 152: | Line 170: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
|- | |- | ||
|valign='top | |valign='top'| | ||
<syntaxhighlight style='margin:3px 0' lang='ini'> | <syntaxhighlight style='margin:3px 0' lang='ini'> | ||
# modules-load=dwc2,g_ether | # modules-load=dwc2,g_ether | ||
| Line 160: | Line 178: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
|- | |- | ||
|valign='top | |valign='top'| | ||
<syntaxhighlight style='margin:3px 0' lang='ini'> | <syntaxhighlight style='margin:3px 0' lang='ini'> | ||
# modules-load=dwc2,g_ether | # modules-load=dwc2,g_ether | ||
| Line 169: | Line 187: | ||
INI | INI | ||
</syntaxhighlight> | </syntaxhighlight> | ||
|} | |||
|} | |} | ||
Revision as of 01:15, 30 December 2025
lsblk
:'
sdb 8:16 1 29.8G 0 disk
├─sdb1 8:17 1 512M 0 part /media/shahed/system-boot
└─sdb2 8:18 1 29.3G 0 part /media/shahed/writable
'
|
ls -alh /media/${USER}/system-boot/{ssh,{config,cmdline}.txt}
:'
-rw-r--r-- 1 shahed shahed 170 Dec 30 01:03 /media/shahed/system-boot/cmdline.txt
-rw-r--r-- 1 shahed shahed 1.8K Dec 29 21:13 /media/shahed/system-boot/config.txt
-rw-r--r-- 1 shahed shahed 0 Dec 29 17:45 /media/shahed/system-boot/ssh
'
| ||||||
ls -lah /media/${USER}/writable/etc/netplan/
:'
total 12K
drwxr-xr-x 2 root root 4.0K Dec 30 08:29 .
drwxr-xr-x 108 root root 4.0K Dec 29 20:55 ..
-rw------- 1 root root 262 Dec 29 17:22 50-cloud-init.yaml
'
|
ls -lah /media/${USER}/writable/etc/udev/rules.d/
:'
total 72K
drwxr-xr-x 2 root root 4.0K Aug 6 01:00 .
drwxr-xr-x 4 root root 4.0K Dec 29 20:47 ..
-rw-r--r-- 1 root root 62K Aug 6 01:00 70-snap.snapd.rules
'
| ||||||
| |||||||
SD Card » Pre-Boot
|
SD Card » Pre-Boot | ||||||||
|---|---|---|---|---|---|---|---|---|
| ||||||||
References
|
References | ||
|---|---|---|