RSS: Blog | Wiki | Forum

Shortcut the first-boot

From Easyneufenglish

Jump to: navigation, search

[edit] Description

This HOW-TO presents the installation of a pre-initialized user partition. The point is to be able to test a gate without making the first boot.

[edit] Example

The steps of this procedurer can be done with many different manners. This example suppose that the gate is connected to the local neuf network and that that the dev1 (IP : 10.194.10.10) developpement server is accessible. It also supposed that the destination partition has enough space to receive the image file of the partition already initialized. The {{{sfdisk -s /dev/hda6}}} command can be used to verify the user partition destination size. This one is not inevitably fixed... easygates installed with the {{{9installer}}} program has a user partition size which depend on the partition displayed by the flash memory through the IDE interface (at least 500Mo).

  • Start the gate in safety mode (SHIFT left and right key pressed simultaneously during the boot process). Voir [wiki:9secours 9secours].
  • Open a root console and type:
udhcpc -i eth0
mkdir /mnt/images
portmap
mount 10.194.10.10:/var/images /mnt/images
cd /mnt/images
dd if=rw_with_firstboot_sim_done.part of=/dev/hda6
sync; reboot