Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
litesom:debian [2019/04/12 13:39] piotr.figlarek [Boot Debian on liteboard] |
litesom:debian [2019/06/24 15:04] piotr.figlarek [Boot Debian on liteboard] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== About Debian ====== | ====== About Debian ====== | ||
+ | |||
+ | <columns 100% 10% - -> | ||
+ | {{: | ||
+ | |||
+ | < | ||
Debian is a Unix-like operating system consisting entirely of free software. | Debian is a Unix-like operating system consisting entirely of free software. | ||
Line 10: | Line 15: | ||
New distributions are updated continually, | New distributions are updated continually, | ||
+ | |||
+ | </ | ||
;;# | ;;# | ||
Line 22: | Line 29: | ||
< | < | ||
- | wget https:// | + | $ wget https:// |
</ | </ | ||
Line 28: | Line 35: | ||
< | < | ||
- | tar xf liteboard-debian-stretch-lite-2019-04-12.img.tar.gz | + | $ tar xf liteboard-debian-stretch-lite-2019-04-12.img.tar.gz |
</ | </ | ||
Line 34: | Line 41: | ||
< | < | ||
- | sudo dd if=liteboard-debian-stretch-lite-2019-04-12.img of=/ | + | $ sudo dd if=liteboard-debian-stretch-lite-2019-04-12.img of=/ |
- | sync | + | $ sync |
</ | </ | ||
Line 91: | Line 98: | ||
Insert programmed SD card to the [[litesom: | Insert programmed SD card to the [[litesom: | ||
- | Configure boot switches | + | Configure |
- | + | ||
- | |< 50% >| | + | |
- | ^ BMODE0 | + | |
- | | | ON | | | | | | + | |
- | | OFF | + | |
- | ^ 1 | + | |
Connect your [[litesom: | Connect your [[litesom: | ||
Line 479: | Line 480: | ||
</ | </ | ||
- | With default configuration you can log as a '' | + | Default user is '' |
+ | |||
+ | ==== Resize rootfs ==== | ||
+ | |||
+ | You can use '' | ||
+ | |||
+ | < | ||
+ | # rootfs-resize | ||
+ | </ | ||
+ | |||
+ | <button collapse=" | ||
+ | < | ||
+ | < | ||
+ | root@liteboard:~# rootfs-resize | ||
+ | Backup files: | ||
+ | MBR (offset | ||
+ | |||
+ | Disk / | ||
+ | Units: sectors of 1 * 512 = 512 bytes | ||
+ | Sector size (logical/ | ||
+ | I/O size (minimum/ | ||
+ | Disklabel type: dos | ||
+ | Disk identifier: 0x00000000 | ||
+ | |||
+ | Old situation: | ||
+ | |||
+ | Device | ||
+ | / | ||
+ | / | ||
+ | |||
+ | >>> | ||
+ | >>> | ||
+ | >>> | ||
+ | >>> | ||
+ | >>> | ||
+ | / | ||
+ | Partition #1 contains a vfat signature. | ||
+ | / | ||
+ | Partition #2 contains a ext4 signature. | ||
+ | / | ||
+ | |||
+ | New situation: | ||
+ | |||
+ | Device | ||
+ | / | ||
+ | / | ||
+ | |||
+ | The partition table has been altered. | ||
+ | Calling ioctl() to re-read partition table. | ||
+ | Re-reading the partition table failed.: Device or resource busy | ||
+ | The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8). | ||
+ | Syncing disks. | ||
+ | resize2fs 1.43.4 (31-Jan-2017) | ||
+ | Filesystem at / | ||
+ | old_desc_blocks = 2, new[ 526.821101] EXT4-fs (mmcblk0p2): | ||
+ | _desc_blocks = 29 | ||
+ | [ 530.024573] EXT4-fs (mmcblk0p2): | ||
+ | The filesystem on / | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | Now your board is ready to work! |