CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Initrd updated:
[initrd.git] / filesystem / setup-chroot
CommitLineData
b84d82f0
JB
1#!/bin/sh
2
3mount --bind /dev /mnt/dev
4mount --bind /tmp /mnt/tmp
5mount -t proc proc /mnt/proc
6mount -t sysfs none /mnt/sys
7mount -t devpts devpts /mnt/dev/pts
8
9chroot /mnt /bin/bash
10