Fast & Small Debian only for Flashrom


Rendering Error in layout Widget/Social: Call to a member function exists() on null. Please enable debug mode for more information.
More
3 years 2 months ago - 3 years 2 months ago #2894 by KingBonecrusher
Tiny Debian for the Pi3. Tiny kernel + base system! No graphical stuff, only ssh + network. Works like a normal Debian, fully updateable.

Connect to the pi using:
user: root
pass: toor

Startup finished in 2.778s (kernel) + 2.678s (userspace) = 5.457s
It`s so fast, you can smell it... ;)
Linux flashpi 4.1.20-flashpi+

These are the main steps to create the card from the archive. Rewrite to fit to your system!!
card=/dev/mmcblk0
p1=/dev/mmcblk0p1
p2=/dev/mmcblk0p2

parted -s ${card} mklabel msdos
parted -s -a optimal ${card} mkpart primary fat32 8192s 64M
parted -s -a optimal ${card} mkpart primary ext4 64M -- -1s

mkfs.vfat -n boot ${p1}
mkfs.ext4 -FL root ${p2}
tune2fs -O ^huge_file ${p2}
fsck.ext4 -pf ${p2}

mount ${p2} /mnt && mkdir -p /mnt/boot /mnt/sys /mnt/dev /mnt/proc /mnt/run
mount ${p1} /mnt/boot

cd /mnt && tar -xvf PATHTOFILE/flashpi_backup_minbase_03.25.2016.tar.xz -C ./ ./
cd ..
sync
umount /mnt/boot
umount /mnt

Download
Last edit: 3 years 2 months ago by KingBonecrusher.

Please Log in or Create an account to join the conversation.

More
3 years 2 months ago #2911 by thaGH05T
Hey, thanks for posting this it is really great to have something so small for small jobs like using flashrom.
The following user(s) said Thank You: KingBonecrusher

Please Log in or Create an account to join the conversation.

More
3 years 2 months ago - 3 years 2 months ago #2933 by KingBonecrusher
Startup finished in 917ms (kernel) + 1.574s (userspace) = 2.492s

Kernel: 4.6.0-rc1
Flashrom: v0.9.9-r1954

Connect to the pi using:
user: root
pass: toor


SD-Card Script
Download
Attachments:
Last edit: 3 years 2 months ago by KingBonecrusher.

Please Log in or Create an account to join the conversation.

Who's Online

We have 753 guests and one member online

  • bazkill47

N00BZ

  • arivera102
  • Raiko I
  • torrek502
  • Mooz
  • gogzy

Cookies