Re: Is that all there is to it??
On Wed, Mar 14, 2007 at 01:27:06PM +0100, Joe Hart wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Cassiano Leal wrote:
> > Tarek Soliman wrote:
> >> An even nicer thing is that you can run sid in a chroot and "try before
> >> you upgrade" if you have enough space on a partition.
> >
> > Really? I didn't know that. What are the basic steps to do it? I was
> > really eager to try sid, but didn't want to break my etch and have to
> > reinstall everything!
> >
> > Cheers
> > Cassiano
>
> The first step is to create a new partition for it, then install etch on
> that partition. It will update your grub to give two options for
> booting etch. Pick one of them and then change /etc/apt/sources.list
> and change all occurrences of "etch" to sid, and then do:
>
> apt-get update && apt-get dist-upgrade. You'll then have Sid.
>
> Of course, instead of installing etch over again, you can just copy
> everything to the new partition, but clean installs are easier to deal with.
>
> Once everything is set up, you can choose to boot sid, or change which
> system you are using without rebooting by using the chroot command. See
> man chroot for more information about chroot.
>
If you have an internet connection that can do a netinstall,
you don't actually need to partition anything, boot, or install.
debootstrap will dump a debian installation into an empty directory.
After following the howtos and debian docs on debootstrap I have this to
say:
The best way to debootstrap sid is to debootstrap stable and then chroot
into it and upgrade it to testing then to unstable.
You can also set up a vt to let you log in to the chroot.
Also, mount rbind came in handy.
--
Tarek
Reply to: