Skip to content

Running the Alpine Linux Sample #147

Closed Answered by NewComer00
cemalgnlts asked this question in Q&A
Discussion options

You must be logged in to vote

As far as I know, there are at least two ways to chroot into a Linux rootfs with blink. I have tried them out on my Cygwin 3.4.9-1.x86_64.

Blink with VFS feature

The new VFS feature of blink is documented in README.md since #115. Built with this feature, blink -C rootfs can correctly handle the absolute symlinks in your rootfs (typically those under the rootfs/bin/ directory when busybox is used). Also, blink will take care of the new /dev/ and /proc/ directory after your chroot-ing to the rootfs.

More info can be found here.

cd ~
git clone https://github.com/jart/blink.git

# build blink with VFS feature
cd blink
./configure --enable-vfs
make -j4
make install

cd ~
wget https://dl-cdn.al…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@cemalgnlts
Comment options

Comment options

You must be logged in to vote
1 reply
@cemalgnlts
Comment options

Answer selected by cemalgnlts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants