HowTo Install EmDebian Grip (deboostrap)

For installing Emdebian grip on a flash or USB drive (ext2 or greater required):

mkdir /media/grip/
mount /dev/sdc1 /media/grip/
sudo debootstrap lenny /media/grip/ http://www.emdebian.org/grip/
cd /media/grip/
mount -o bind /dev/ dev/
mount -o bind /proc proc/
chroot . /bin/bash
aptitude update
aptitude install linux-image-2.6.28-1-686 initramfs-tools
aptitude install what-you-want
aptitude install grub
grub-install /dev/sdc
update-grub
exit
umount dev/
umount proc/
cd ../
umount grip/

Now you have a bootable EmDebian Grip install (less than ~80 Mb required)

When installing a kernel, an error may appear:

Running depmod.
Running update-initramfs.
Error retreiving answer for linux-image-2.6.28-1-686/postinst/create-kimage-link-2.6.28-1-686: Unsupported command "update-initramfs:" (full line was "update-initramfs: Generating /boot/initrd.img-2.6.28-1-686") received from confmodule. at /var/lib/dpkg/info/linux-image-2.6.28-1-686.postinst line 671,  line 3.
dpkg: error processing linux-image-2.6.28-1-686 (--configure):
subprocess post-installation script returned error exit status 128
Errors were encountered while processing:
linux-image-2.6.28-1-686

For fixing it, insert in /etc/kernel-img.conf:

do_symlinks = yes
relative_links = yes
do_bootloader = no
do_bootfloppy = no
do_initrd = yes
link_in_boot = no
postinst_hook = update-grub
postrm_hook   = update-grub

🇬🇧 🇺🇸 If you found value in my content, consider supporting me by treating me to a coffee, beer, or pizza. Your contributions help fuel more quality content creation.

🇮🇹 Se hai apprezzato i miei contenuti, considera di supportarmi offrendomi un caffè, una birra o una pizza. I tuoi contributi aiutano a creare contenuti di qualità.

🇬🇧 🇺🇸 If you have found inaccuracies or wish to improve this article, please use the comments section below (after clicking on Load Comments).

🇮🇹 Se hai trovato imprecisioni o vuoi migliorare questo articolo, utilizza la sezione commenti qui sotto (dopo aver cliccato Load Comments)

Comments