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
8 years 2 weeks ago - 8 years 2 weeks 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: 8 years 2 weeks ago by KingBonecrusher.

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

More
8 years 2 weeks 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
8 years 1 week ago - 8 years 1 week 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: 8 years 1 week ago by KingBonecrusher.

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

Who's Online

We have 498 guests and no members online

N00BZ

  • ljamal
  • ljamal74
  • mikeg2atest
  • ducchinhbui
  • anjarezt

Cookies