You are not logged in.
Installation Devuan Ascii on a Rasperry pi 3 B+
download the image of ascii from embedded for the Rasperry
# wget https://mirror.leaseweb.com/devuan/devu … pi3.img.xz
uncompress the xz file
# xz -d devuan_ascii_2.0.0_arm64_raspi3.img.xz
copy the image to the microSD card
# dd if=devuan_ascii_2.0.0_arm64_raspi3.img of=/dev/sde bs=2M
Put microSD card into the RaspBerry
Turn On
You can work locally by connecting a keyboard and screen to the Raspberrry
But the most comfortable thing to do is to do it for ssh.
ssh root@192.168.1.x
user: root
pass: toor
Change root password
# passwd
Change the language to your own. (default us_US)
edit /etc/locale.gen
# nano /etc/locale.gen
Select the decomposed locale you want, comment on the locale us
And then......
# locale-gen
Install keyboard-configuration
# apt-get install keyboard-configuration
dpkg-reconfigure keyboard-configuration
install console-data
# apt-get install console-data
dpkg-reconfigure console-data (choose keyboard language)
Install parted
# apt-get install parted
Resize the ext4 partition to the maximum of the card.
# parted /dev/sde
(parted) print
Model: Generic STORAGE DEVICE (scsi)
Disk /dev/sde: 16,4GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 135MB 134MB primary fat16 lba
2 135MB 1983MB 1848MB primary ext4
(parted) resizepart 2 -1s
(parted) print
Model: Generic STORAGE DEVICE (scsi)
Disk /dev/sde: 16,4GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 135MB 134MB primary fat16 lba
2 135MB 16.4GB 16.2GB primary ext4
There is now room to install programs, for example based on ncurses.
I hope it will be useful
Basati
Gora gu ta gutarrok
8=þ
Offline
I think this is missing a part.
While parted does show the new size:
(parted) print
Model: SD SC16G (sd/mmc)
Disk /dev/mmcblk0: 15.9GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 135MB 134MB primary fat16 lba
2 135MB 15.9GB 15.8GB primary ext4
# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
mmcblk0 179:0 0 14.9G 0 disk
|-mmcblk0p1 179:1 0 128M 0 part /boot
`-mmcblk0p2 179:2 0 14.7G 0 part /
however ... the filesystem doesn't seem quite right:
# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 1743136 777240 859300 48% /
devtmpfs 438328 0 438328 0% /dev
tmpfs 88764 1200 87564 2% /run
tmpfs 5120 4 5116 1% /run/lock
tmpfs 177520 0 177520 0% /run/shm
/dev/mmcblk0p1 130798 35754 95044 28% /boot
/dev/root size should be much larger, it is only reporting 1,743,136 KB (~1.7 GB).
Offline
resize2fs
Offline
Thanks. It was very helpful.
I don't understand why we can't see these steps in a README file or on a wiki...
Offline