Can't mount rootfs files

A place to ask all newbie questions and not get flamed, though you will get beaten down if you post a newbieish question outside of these walls.
Post Reply
teitoku
Novice
Posts: 29
Joined: Wed Sep 01, 2004 5:29 pm
Contact:

Can't mount rootfs files

Post by teitoku »

I'm trying to do a full native install. I've formatted my 10GB drive and sent over the rootfs file.

Code: Select all

Resctoox:> ls -l /mnt
drwxr-xr-x    2 root     root         1024 Aug  3  2003 e
drwxr-xr-x    3 root     root           72 Oct 18 22:11 hda2
drwxr-xr-x    2 root     root         1024 Oct 18 22:33 loopback
drwxr-xr-x    2 root     root         1024 Aug  3  2003 swap
drwxr-xr-x    2 root     root         1024 Aug  3  2003 temp

Code: Select all

Resctoox:> df
Filesystem           1k-blocks      Used Available Use% Mounted on
rootfs                   24785     22359      1146  96% /
/dev/root                24785     22359      1146  96% /
/dev/hda2              9269728   4132912   5136816  45% /mnt/hda2
Looks good so far, but wait...there's more!

Code: Select all

Resctoox:> mount -o loop /mnt/hda2/rootfs /mnt/loopback
mount: Mounting /mnt/hda2/rootfs on /mnt/loopback failed: Not a directory
Now that's just baloney. How do I mount rootfs to copy the files from it?
teitoku
Novice
Posts: 29
Joined: Wed Sep 01, 2004 5:29 pm
Contact:

Post by teitoku »

Oh, and mount /mnt/hda2/rootfs /mnt/loopback -o loop=/dev/loop/0 fails with "Block device required"
cheesyboofs
Power user
Posts: 239
Joined: Wed Jan 26, 2005 1:32 pm
Location: Luton UK
Contact:

Post by cheesyboofs »

Sounds to me like your rootfs file is incomplete or corrupt in some way…
Go fully native, it's the destiny of all Mk1 XboxesImage
The needs of the many out way the needs of the few or the one ...
teitoku
Novice
Posts: 29
Joined: Wed Sep 01, 2004 5:29 pm
Contact:

Post by teitoku »

I'll run md5sum on it and see...
orochi
Gentoox Guru!
Posts: 606
Joined: Sun Oct 24, 2004 8:11 am

Post by orochi »

your rootfs should be about 4gigs, run

Code: Select all

ls -la
in the directory rootfs resides
ShALLaX
Site Admin
Posts: 1973
Joined: Sun Aug 10, 2003 9:25 pm
Location: England
Contact:

Post by ShALLaX »

Sounds to me like you didnt mkdir /mnt/loopback.
The original Xbox adaptation of Gentoo
teitoku
Novice
Posts: 29
Joined: Wed Sep 01, 2004 5:29 pm
Contact:

Post by teitoku »

Of course I did. Look at the original post.
ShALLaX
Site Admin
Posts: 1973
Joined: Sun Aug 10, 2003 9:25 pm
Location: England
Contact:

Post by ShALLaX »

Oops my browser formatted the text weirdly, my bad.
The original Xbox adaptation of Gentoo
Post Reply