LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   removing a IA32 chroot system? (https://www.linuxquestions.org/questions/debian-26/removing-a-ia32-chroot-system-414871/)

deroB 02-13-2006 06:43 AM

removing a IA32 chroot system?
 
Hi,

I'm running Debian AMD64 sarge and have installed a IA32 base system with the instructions here:
https://alioth.debian.org/docman/vie...d64-howto.html

the "problem" is that I have yet to use it.

how do i go about removing it?
I dont suppose deleting the folder /var/chroot/sarge-ia32 is the correct way to go?

nx5000 02-13-2006 07:56 AM

Not sure I understand what you want, I assume you want to move a chroot to a normal partition?
Create the destination partition ( mkfs.ext2,mkfs.reiserfs,..)
Copy the chroot to the destination partition using dd
Check the system for coherency (e2fsk,..)
Resize the partition (resize2fs -p,resize_reiserfs,..)
Recheck the system for coherency (e2fsck)

Be sure to keep the chroot in case you have to retry.

Should work :D

deroB 02-13-2006 08:33 AM

thanks nx5000,
I was actually keen on just deleting the chroot, as i don't need it.
From your info it sounds like deleting the chroot( /var/chroot/sarge-ia32) will do the trick?

nx5000 02-13-2006 08:46 AM

Ah you want to remove it, not put it on its own partition? Read too quickly :)

Well rm -rf yes!
Maybe in /etc/fstab you have added entries for the chroot procfs so remove it.


All times are GMT -5. The time now is 08:50 PM.