Emdebian

  • About Emdebian
  • News
  • Toolchain
  • Distributions
  • Development
  • Documentation
  • Support
  • Search

Emdebian Grip 2.0

Emdebian Grip 2.0


Preparing a USB stick for Debian

The current preseeding has been tested with the installer from Lenny 5.0.6. For Squeeze (Emdebian Grip 2.0.3, Debian 6.0.3), prebuilt ISO images are available.

Emdebian uses a debconf preconfiguration file called preseed.cfg which is available at http://www.emdebian.org/d-i/squeeze/preseed.cfg to ease installation using standard Debian installer images. However, late changes in the installer have complicated things.

Example graphics

  1. Result of using pre-seeding for Emdebian Squeeze
  2. First non-automated step after pre-seeding
  3. Proxy setup screen
  4. Partitioning is not pre-seeded.
  5. Base system install screen

Current issues in Debian Installer for Grip

  1. Grub needs work after the normal install and can cause misleading errors during the install. Before finishing the install, choose to Execute a shell or, if the machine has already failed to reboot, use the Rescue Mode to enter a shell in the installed system.

    # grub-mkconfig > /boot/grub/grub.cfg
    

    Alternatively:

    # apt-get --reinstall install grub-pc
    
  2. Unconfigured passwords and users. passwd may fail to set the root password or create a normal user.

    # passwd
    # adduser <USERNAME>
    # usermod -a -G sudo <USERNAME>
    
  3. hostname not configured.

    # hostname <HOSTNAME>
    # editor /etc/hosts
    

To use the official images, follow the instructions for Debian which will erase all data on the chosen USB stick:

Unmount the USB stick if it has been automounted. Use the device node, not the partition, so /dev/sdb, not /dev/sdb1.

# zcat /path/to/boot.img.gz> /dev/sdz

Before mounting, unplug the USB stick and reinsert it.

Download the relevant ISO image. Depending on your system, you may need the small CD ISO (180Mb) or the mini netboot ISO (15Mb).

Copy the ISO image onto the mounted USB stick.

cp debian-testing-i386-netinst.iso /media/Debian\ Inst/

Boot from the USB stick. From the Debian Installer menu, select Advanced Options and move the cursor to either Automated Install or Graphical automated install but do not hit ENTER. Press TAB to configure the automated install configuration. A command line is now offered - keep everything that is already specified and add:

url=http://www.emdebian.org/d-i/squeeze/preseed.cfg

Note that if you delete characters on the command line, the existing command line may repeat for each deletion. Now hit ENTER.

(The shorthand url=www.emdebian.org does not appear to work.)

See also #599640

Using debootstrap

debootstrap can be used to generate a chroot which can be compressed and used in other installation methods.

Native debootstrap

$ mkdir grip/
$ sudo debootstrap squeeze grip/ http://www.emdebian.org/grip/
$ cd grip/
$ sudo tar -czf ../emdeban-grip-debootstrap.tgz .
$ cd ../
$ sudo rm -rf ./grip/

Cross debootstrap

To add extra packages for specific machines, use --include= $package1,$package2 etc. after the --foreign option.

$ mkdir grip/
$ sudo debootstrap --arch=armel --foreign squeeze grip/ http://www.emdebian.org/grip/
$ cd grip/
$ sudo tar -czf ../emdebian-grip-armel-debootstrap.tgz .
$ cd ../
$ sudo rm -rf ./grip/

See customisation for more about how multistrap can be used with Emdebian Grip.

Emdebian Grip repositories

Emdebian Grip target package repository.

All repositories use Secure Apt via the Emdebian Archive Signing Key. Stable releases are also signed by other Debian keys including 0x28BCB3E3.

apt sources

Main install

deb http://www.emdebian.org/grip/ squeeze main
deb-src http://www.emdebian.org/grip/ squeeze main

All components

deb http://www.emdebian.org/grip/ squeeze main dev debug java doc
deb-src http://www.emdebian.org/grip/ squeeze main dev debug java doc

Back to the Emdebian Project homepage.

Home

  • About Emdebian
    • Emdebian & Debian
    • Purpose
    • Flavours
    • Extending Emdebian
    • Localisation support
    • Emdebian Tdebs
  • Cross toolchains
    • Packages
    • Build toolchain
    • Status
    • Search
  • Emdebian Grip
    • Packages
    • Repository Key
    • Installation Guide
    • Ports
  • Emdebian Crush
  • Emdebian Baked
  • Documentation
  • Support
    • Contact Us
    • Mailing List Archives
  • Help Emdebian
    • Developers' Info
    • Subversion
  • News
  • History
    • Slind
    • Stag
    • Emdebsys
  • Links

To report a problem with the web site, e-mail debian-embedded@lists.debian.org.For other contact information, see the Emdebian contact page.

website sources

Last Modified: Mon, Oct 10 02:49:59 UTC 2011
Copyright © 2000-2011 The Embedded Debian Project;
Debian is a registered trademark of Software in the Public Interest, Inc.