Raspberry Pi/5 16GB/Debian/13: Difference between revisions
Jump to navigation
Jump to search
| Line 115: | Line 115: | ||
console=serial0,115200 console=tty1 root=PARTUUID=e336fa03-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles cfg80211.ieee80211_regdom=MY | console=serial0,115200 console=tty1 root=PARTUUID=e336fa03-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles cfg80211.ieee80211_regdom=MY | ||
' | ' | ||
</syntaxhighlight> | |||
|} | |||
|} | |||
==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' | |||
!scope='col' style='text-align:left' colspan='2'| | |||
bootfs » config.txt | |||
|- | |||
|valign='top' style='width:50%'| | |||
<syntaxhighlight style='margin:3px 0' lang='ini'> | |||
cat <<'INI' | tee -a /media/${USER}/bootfs/config.txt >/dev/null | |||
dtoverlay=dwc2 | |||
INI | |||
</syntaxhighlight> | |||
|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'| | |||
bootfs » cmdline.txt | |||
|- | |||
|valign='top'| | |||
<syntaxhighlight style='margin:3px 0' lang='ini'> | |||
# modules-load=dwc2 | |||
cat <<'INI' | tee /media/${USER}/bootfs/cmdline.txt >/dev/null | |||
console=serial0,115200 console=tty1 root=PARTUUID=e336fa03-02 rootfstype=ext4 fsck.repair=yes rootwait modules-load=dwc2 quiet splash plymouth.ignore-serial-consoles cfg80211.ieee80211_regdom=MY | |||
INI | |||
</syntaxhighlight> | |||
|- | |||
|valign='top'| | |||
<syntaxhighlight style='margin:3px 0' lang='ini'> | |||
# modules-load=dwc2,g_ether | |||
cat <<'INI' | tee /media/${USER}/bootfs/cmdline.txt >/dev/null | |||
console=serial0,115200 console=tty1 root=PARTUUID=e336fa03-02 rootfstype=ext4 fsck.repair=yes rootwait modules-load=dwc2,g_ether quiet splash plymouth.ignore-serial-consoles cfg80211.ieee80211_regdom=MY | |||
INI | |||
</syntaxhighlight> | |||
|- | |||
|valign='top'| | |||
<syntaxhighlight style='margin:3px 0' lang='ini'> | |||
# modules-load=dwc2,g_ether | |||
# g_ether.host_addr=12:a5:cf:42:92:fd | |||
# g_ether.dev_addr=5e:bc:ca:27:92:b1 | |||
cat <<'INI' | tee /media/${USER}/bootfs/cmdline.txt >/dev/null | |||
console=serial0,115200 console=tty1 root=PARTUUID=e336fa03-02 rootfstype=ext4 fsck.repair=yes rootwait modules-load=dwc2,g_ether quiet splash plymouth.ignore-serial-consoles cfg80211.ieee80211_regdom=MY g_ether.host_addr=12:a5:cf:42:92:fd g_ether.dev_addr=5e:bc:ca:27:92:b1 | |||
INI | |||
</syntaxhighlight> | </syntaxhighlight> | ||
|} | |} | ||
Revision as of 15:36, 8 January 2026
lsblk
:'
sdb 8:16 1 29.8G 0 disk
├─sdb1 8:17 1 512M 0 part /media/shahed/bootfs
└─sdb2 8:18 1 29.3G 0 part /media/shahed/rootfs
'
|
ls -alh /media/${USER}/bootfs/{ssh,{config,cmdline}.txt}
:'
-rw-r--r-- 1 shahed shahed 176 Jan 1 1980 /media/shahed/bootfs/cmdline.txt
-rw-r--r-- 1 shahed shahed 1.3K Dec 4 22:40 /media/shahed/bootfs/config.txt
-rw-r--r-- 1 shahed shahed 0 Jan 8 22:30 /media/shahed/bootfs/ssh
'
| ||||||
ls -lah /media/${USER}/rootfs/etc/netplan/
:'
total 16K
drwxr-xr-x 2 root root 4.0K Oct 17 16:18 .
drwxr-xr-x 133 root root 12K Dec 4 22:50 ..
'
|
ls -lah /media/${USER}/rootfs/etc/udev/rules.d/
:'
total 12K
drwxr-xr-x 2 root root 4.0K Dec 4 22:41 .
drwxr-xr-x 4 root root 4.0K Dec 4 22:39 ..
-rw-r--r-- 1 root root 337 Dec 4 22:41 99-rpi-keyboard.rules
'
| ||||||
| |||||||
SD Card » Pre-Boot
|
SD Card » Pre-Boot | ||||||||
|---|---|---|---|---|---|---|---|---|
| ||||||||
References
|
References | ||
|---|---|---|