Mailinglist Archive: opensuse-factory (331 mails)
| < Previous | Next > |
Re: [opensuse-factory] update another partition possible?
- From: "Carlos E. R." <robin.listas@xxxxxxxxxxxxxx>
- Date: Sat, 26 Jan 2008 14:14:55 +0100 (CET)
- Message-id: <alpine.LSU.1.00.0801261410540.16301@xxxxxxxxxxxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Content-ID: <alpine.LSU.1.00.0801261412551.16301@xxxxxxxxxxxxxxxx>
The Wednesday 2008-01-16 at 09:53 -0200, Leonardo Chiquitto wrote:
Here I assume I would insert the update procedure.
I still have not tested this procedure on my factory partition, but I used it as part of the recovery procedure of an old system, sucessfully, so I must say thank you :-)
- -- Cheers,
Carlos E. R.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)
iD8DBQFHmzJbtTMYHG2NR9URApReAJ4kuiml9imzsGvp3rIrzeEXG7vdkACgh6Dz
EJFliIllxYT5MmxQMGZwplE=
=Tb4K
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx
Hash: SHA1
Content-ID: <alpine.LSU.1.00.0801261412551.16301@xxxxxxxxxxxxxxxx>
The Wednesday 2008-01-16 at 09:53 -0200, Leonardo Chiquitto wrote:
Carlos E. R. wrote:
I wonder if it is possible to update a partition containing factory (10.3
beta, actually) while the running system (different system version)
resides in another partition.
It is possible with a simple chroot(1). I run SLED10-SP1 daily, but have
a separated partition with openSUSE-Factory, for development purposes.
Assuming that the openSUSE installation is on /dev/sda2, you can use
the following script (you'll probably have to tweak it to fit your environment):
#!/bin/bash
if ! grep -q /dev/sda2 /proc/mounts; then
mount /dev/sda2 /opensuse
fi
for part in proc sys dev; do
if ! grep -q /opensuse/$part /proc/mounts; then
mount --bind /$part /opensuse/$part
fi
done
cp -f /etc/resolv.conf /opensuse/etc/resolv.conf
chroot /opensuse
Here I assume I would insert the update procedure.
umount /opensuse/proc
umount /opensuse/sys
umount /opensuse/dev
umount /opensuse
I still have not tested this procedure on my factory partition, but I used it as part of the recovery procedure of an old system, sucessfully, so I must say thank you :-)
- -- Cheers,
Carlos E. R.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)
iD8DBQFHmzJbtTMYHG2NR9URApReAJ4kuiml9imzsGvp3rIrzeEXG7vdkACgh6Dz
EJFliIllxYT5MmxQMGZwplE=
=Tb4K
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx
| < Previous | Next > |