sm-discuss AT lists.ibiblio.org
Subject: Public SourceMage Discussion List
List archive
- From: Andrew <afrayedknot AT thefrayedknot.armory.com>
- To: SourceMage Discussion List <sm-discuss AT lists.ibiblio.org>
- Subject: Re: [SM-Discuss] Using chroot to cast and rebuild
- Date: Wed, 25 Sep 2002 09:59:18 -0700
On Wed, Sep 25, 2002 at 11:36:23AM +0100, Tim Squires wrote:
> The first try of a rebuild fell over when trying to access the device
> for my root partition directly.... i.e.
you may want to do the following two mounts (bindings)
mount -o vind /dev/ /chrootdir/dev
mount -o bind /proc/ /chrootdir/proc
you may also want to do that with /devices if you want, or just run devfsd
mounted in the right place.
>
> /dev/ide/host0/disk0/part5 or something similar
>
> and that device file is not available when running RH with the SM being
> used via chroot.
>
> I'm not sure why but I tried it again and it ran all the way through
> without trying to access the deivce files.
>
> The sorcery update command then started with
>
> <snip>
> root@tims:/var/lib/sorcery# sorcery update
> Error: /proc must be mounted
> To mount /proc at boot you need an /etc/fstab line like:
> /proc /proc proc defaults
> In the meantime, mount /proc /proc -t proc
> </snip>
>
> full output below...
>
> So it wants the /proc mounted that is not available when chrooted but
> still runs through OK? Should there be more to an update than the
> output below?
>
> Why is the output:
>
> line 1068: /var/log/sorcery/activity: Is a directory
>
> being seen any any cast, update or rebuild?
>
> Has anyone enough spare time to answer all my questions or an I just
> being a pain?
>
> Thanks for any time you can spare an inquisitive soul.
>
>
>
> Full output of update.....
>
>
> root@tims:/var/lib/sorcery# sorcery update
> Error: /proc must be mounted
> To mount /proc at boot you need an /etc/fstab line like:
> /proc /proc proc defaults
> In the meantime, mount /proc /proc -t proc
> --07:00:59--
> http://codex.sourcemage.org/stable-grimoire/sorcery.tar.bz2
> => `sorcery.tar.bz2'
> Resolving codex.sourcemage.org... done.
> Connecting to codex.sourcemage.org[152.2.210.81]:80... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 781,354 [application/x-tar]
>
> 100%[=================================================>] 781,354
> 17.86K/s ETA 00:00
>
> utime(sorcery.tar.bz2): No such file or directory
> 07:01:42 (17.86 KB/s) - `sorcery.tar.bz2' saved [781354/781354]
>
> mv: cannot stat `sorcery.tar.bz2': No such file or directory
> --07:01:43-- http://www.smee.org/smgl/stable/sorcery.tar.bz2
> => `sorcery.tar.bz2'
> Resolving www.smee.org... done.
> Connecting to www.smee.org[195.184.244.187]:80... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 781,354 [application/x-tar]
>
> 100%[=================================================>] 781,354
> 22.84K/s ETA 00:00
>
> 07:02:17 (22.84 KB/s) - `sorcery.tar.bz2' saved [781354/781354]
>
> /usr/sbin/summon: line 1068: /var/log/sorcery/activity: Is a directory
> /tmp/casting.6045.7697: line 1068: /var/log/sorcery/activity: Is a
> directory
>
>
>
>
>
>
> On Wed, 2002-09-25 at 07:46, Tim Squires wrote:
> > Hello again,
> >
> > I use my desktop all day to for Java development. I've install a couple
> > of other computers with SM and would like it on my main machine.
> > There's a spare ext3 partition of 20G's which now has Source Mage
> > installed.
> >
> > Can anyone see a problem with booting into my usual RH7.3 and running
> > cast and sorcery commands chrooted to the Source Mage partition?
> >
> > e.g.
> >
> > mount /dev/hda5 /mnt
> > chroot /mnt /bin/bash
> > sorcery rebuild
> >
> > It seems to be churning away quite happily in the background as I
> > continue programming. Just waiting for the rebuild to do something
> > err... interesting to my stable (read boring) RedHat installation.
> >
> > Ta,
> > Tim.
> >
> >
> > _______________________________________________
> > SM-Discuss mailing list
> > SM-Discuss AT lists.ibiblio.org
> > http://lists.ibiblio.org/mailman/listinfo/sm-discuss
>
>
>
> _______________________________________________
> SM-Discuss mailing list
> SM-Discuss AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-discuss
-
[SM-Discuss] Using chroot to cast and rebuild,
Tim Squires, 09/25/2002
-
Re: [SM-Discuss] Using chroot to cast and rebuild,
Tim Squires, 09/25/2002
- Re: [SM-Discuss] Using chroot to cast and rebuild, Andrew, 09/25/2002
-
Re: [SM-Discuss] Using chroot to cast and rebuild,
Tim Squires, 09/25/2002
Archive powered by MHonArc 2.6.24.