how is the rootfs created and mounted

Ask questions regarding Gentoox, Gentoo and Linux in general in these forums and we'll do our best to help you!
Post Reply
drahz
Newbie
Posts: 4
Joined: Tue Feb 10, 2004 8:36 pm

how is the rootfs created and mounted

Post by drahz »

I don't understand how the rootfs file was created. I would like to know. was it a dummy file that was created then formated to standard. also how would you mount this file as a drive?
meh
orochi
Gentoox Guru!
Posts: 606
Joined: Sun Oct 24, 2004 8:11 am

Post by orochi »

to read back files, i.e. mount it
mkdir /mnt/loopback
mount -o loop /location/to/rootfs /mnt/loopback
donno what but after you mount it you can format the filesystem after the previous commands
Post Reply