slick204
|
2008-08-16
, 20:36
|
Posts: 41 |
Thanked: 8 times |
Joined on Mar 2008
|
#51
|
|
2008-08-16
, 22:15
|
|
Posts: 903 |
Thanked: 632 times |
Joined on Apr 2008
|
#52
|
Thanks for the reply Qole. When I look at the .chroot file all the lines are commented out. Is this normal?
|
2008-08-17
, 05:33
|
Posts: 37 |
Thanked: 5 times |
Joined on Feb 2007
|
#53
|
mount -o loop /path/to/currentimgfile /debian
mount /dev/mmcblkxxxx /media/mmc1
cd /debian /home/user/img-install/tar cf - . | (cd /media/mmc1/; tar xvf -)
The Following User Says Thank You to Maxoueb For This Useful Post: | ||
|
2008-08-18
, 03:49
|
Posts: 41 |
Thanked: 8 times |
Joined on Mar 2008
|
#54
|
you have to mount the partition, then extract the data. Best thing to do is to modify your /home/user/.chroot file to say the following:
Then do "sudo debian" to mount the filesystem (and chroot into it). Just type "exit" to get back out of the (empty) chroot. (Do a "ls" just to make sure that it IS empty. If it isn't empty, you may have already mounted your img file, and so you may need to reboot and type "sudo debian" again) Now you've got your partition mounted and you can "cd /debian" and extract the tarball there. Once the file is extracted, you can do "sudo debian" and you're in your new Debian chroot!Code:IMGFILE=/dev/mmcblk0p2
|
2008-08-18
, 17:25
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#55
|
3 --------
Mount the current Debian image:
You can do it by starting Qole's "Debian chroot" menu item.
Alternatively, you can do so with this command (as root):
Mount the new formated partition:Code:mount -o loop /path/to/currentimgfile /debian
Code:mount /dev/mmcblkxxxx /media/mmc1
|
2008-08-18
, 18:04
|
Posts: 41 |
Thanked: 8 times |
Joined on Mar 2008
|
#56
|
|
2008-08-19
, 06:29
|
Posts: 186 |
Thanked: 56 times |
Joined on Mar 2008
|
#57
|
debian sudo mount -o loop debian.img.ext2 debian cd debian sudo cp -R --preserve=all * /media/disk-1
|
2008-08-19
, 15:07
|
|
Posts: 903 |
Thanked: 632 times |
Joined on Apr 2008
|
#58
|
Simply edited .chroot (no need to touch /sbin/debian) and it fit like a glove!
In my case I formatted an entire 2 GB microsd card to ext3. I noticed that I had to restart my tablet again for the partition to mount; initially, it complained that it could not read the disk.
|
2008-08-19
, 15:32
|
Posts: 186 |
Thanked: 56 times |
Joined on Mar 2008
|
#59
|
|
2008-08-19
, 18:05
|
Posts: 41 |
Thanked: 8 times |
Joined on Mar 2008
|
#60
|
Tags |
chroot, debian, easy debian |
|