![]() |
2010-08-13
, 14:45
|
Posts: 838 |
Thanked: 292 times |
Joined on Apr 2010
|
#22
|
![]() |
2010-08-13
, 15:32
|
Posts: 3,428 |
Thanked: 2,856 times |
Joined on Jul 2008
|
#23
|
fdisk /dev/sdc
fdisk /dev/sdc1
![]() |
2010-08-13
, 15:52
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#24
|
The Following 2 Users Say Thank You to qole For This Useful Post: | ||
![]() |
2010-08-13
, 15:58
|
Posts: 3,428 |
Thanked: 2,856 times |
Joined on Jul 2008
|
#25
|
But honestly, other than a preference for Red Hat, what is the advantage of running Fedora instead of Debian?
The Following User Says Thank You to fatalsaint For This Useful Post: | ||
![]() |
2010-08-13
, 16:43
|
Posts: 838 |
Thanked: 292 times |
Joined on Apr 2010
|
#26
|
The Following User Says Thank You to extendedping For This Useful Post: | ||
![]() |
2010-08-13
, 19:55
|
Posts: 838 |
Thanked: 292 times |
Joined on Apr 2010
|
#27
|
![]() |
2010-08-13
, 23:52
|
|
Posts: 1,187 |
Thanked: 816 times |
Joined on Apr 2010
@ Australia
|
#28
|
![]() |
2010-08-14
, 00:12
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#29
|
sudo qchroot /home/user/MyDocs/meego-handset.img.ext3 /.meego su user
The Following 2 Users Say Thank You to qole For This Useful Post: | ||
![]() |
2010-08-14
, 00:19
|
Posts: 838 |
Thanked: 292 times |
Joined on Apr 2010
|
#30
|
chroot fedora
remember to use gnu tools (ie gtar and gdd) not the busybox stuff
get bzip image
make a final destination folder (I made /.fedora)
make a loopable 2gb ext2 image file to do this do (in /home/user/MyDocs)
* gdd if=/dev/zero of=/home/user/MyDocs/fedora.img bs=1024 count=2097152
* mkfs.ext2 /home/user/MyDocs/fedora.img
now you have an empty 2G loopable ext2 file called fedora.img
mount the file (I made a directory called /mnt/fedmount). remember the process is mount the file as a loop device and copy the contents of the downloaded fedora file system directory to this. once unmounted you will have transferred the root file system to the /home/user/MyDocs/fedora.img file from the downloaded file using the /mnt/fedmount (or whatever) as your middleman.
* qmount /home/user/MyDocs/fedora.img /mnt/fedmount ----- please note this is qmount not mount
* cp /home/user/MyDocs/rootfs-f12.tar.bz2 /mnt/fedmount
* cd /mnt/fedmount
* gtar -xjf rootfs-f12.tar.bz2
now you cd into rootfs-f12 and copy everything there (cp -ar * ../) up one directory, then rm -rf both rootfs-f12 and rootfs-f12.tar.bz2 (you need to get rid of the tar file and the top level dir holding the file system).
* umount /mnt/fedmount (please not this is regular umount now qumount
* qchroot /home/user/MyDocs/fedora.img /.fedora
then you are chrooted in.
umount (or was it qumount?) leaves things hanging in df... (ie looking for mountpoints that are not there and the only way to clear the output is to reboot phone).