Translations of this page?:

Installation

Install the Debian bootstrap script

$ su -
# urpmi dpkg debootstrap 

Plug in a second USB stick and create filesystem on an empty partition in this case number two with ext2

# mkfs -t ext2 /dev/sdc2
# mkdir /mnt/gkey_root
# mount /dev/sdc2 /mnt/gkey_root/

Run the debootstrap command, this will download verify the packages and create a base layout for mips

# debootstrap --arch mipsel sid /mnt/gkey_root/ http://ftp.debian.org/debian/

Testing

Mount proc device, enter the new environment and check if everything is working well, you might like to change the settings in your /etc/fstab your host & network settings and so on

# mount -t proc none /mnt/gkey_root/proc
# mount -o bind /dev /mnt/gkey_root/dev
# chroot /mnt/gkey_root/

NOTE: After leaving the chroot environment you need to unmount the proc bindongs, otherwise it could cause trouble if you shut down your host host system

Now you could just start your new system

Troubleshoot

If the second stage did not work that then your sbin's are not in the path and the debootstrap cant find the chroot command to jump to the internal second step

Notes

fdisk -H 64 -S 32 -C 15272 /dev/sdc

Links


Personal Tools