Re: [blfs-support] running lfs as guestOS on virtulisation setup

2014-03-08 Thread lux-integ
On Friday 07 March 2014 12:39:31 Pierre Labastie wrote:
 For (ii), you can:
 - copy an existing LFS/BLFS to a virtual disk (using for example 
 qemu-img), or
 - use qemu-nbd to see a virtual disk as a system disk, and build to that 
 disk
 (you need the nbd kernel module, and the nbd-client utility).


thanks a lot for this.
I did not know about qemu-img nor qemu-nbd
(Indicently do you know of any documentation on these utilities I can read ? )

=
ps
I had already managed to install qemu on lfs  which I intend to be  a  host.

thanks again.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] running lfs as guestOS on virtulisation setup

2014-03-08 Thread lux-integ
On Friday 07 March 2014 17:07:12 Bruce Dubbs wrote:
 You could probably boot to a live iso and copy files from a LFS/BLFS 
 partition to the virtual disk.  Note that the kernel drivers will be 
 different, so you would need to rebuild the kernel.  Other files such as 
 ifconfig.eth0, hostname, etc would be different, but could be changed 
 after boot.


thanks for the info will give it a whirl sometime
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[blfs-support] iptables

2014-03-08 Thread Richard Melville
Can anybody tell me what the reason is for not using iptables-save and
iptables-restore?

Richard
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-support] running lfs as guestOS on virtulisation setup

2014-03-08 Thread Pierre Labastie
Le 07/03/2014 16:42, lux-integ a écrit :
 I did not know about qemu-img nor qemu-nbd
 (Indicently do you know of any documentation on these utilities I can read ? )
 

The html documentation shipped with qemu,and the man page for qemu-img are
good for qemu-img (I think you need qemu-img convert).

For qemu-nbd. I used:
http://blog.vmsplice.net/2011/02/how-to-access-virtual-machine-image.html
with thesse 2 differences:
- I did not use kpartx
- the command for disconnection is nbd-client -d /dev/nbd0.

Pierre

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] iptables

2014-03-08 Thread Bruce Dubbs
Richard Melville wrote:
 Can anybody tell me what the reason is for not using iptables-save and
 iptables-restore?

You can use them if you want, but I don't see a use for them unless you 
are doing some kind of dynamic control of the tables.  It's better if 
the admin knows what rules are being used and they can be easily 
documented in rc.iptables.

   -- Bruce

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[blfs-support] Gcr-3.10.1 need to set correct path for successful compilation

2014-03-08 Thread me
Hello,

While I was attempting to compile Gcr-3.10.1 from the stable BLFS-7.5 book
I was not able to do so until I did the following:

XDG_DATA_HOME=/usr/share
export XDG_DATA_HOME

XDG_DATA_DIRS=/usr/share/
export XDG_DATA_DIRS

I do not yet have KDE or GNOME fully installed, and was doing the compile
from an xterm terminal.

These are only set from the kde.sh script.

perhaps adding those instructions to the page may help others from getting
the same result that I did initially, which was unable to find gio and
gobject 2.0 in vala search path.

It was rather misleading, as it was neither of those that was the actual
problem but the lack of the XDG search paths.

My apologies if all but me knew to set these, but when following a written
guide line, it would be nice if those of us who do not deviate from it,
can get something to install as per the instructions.

Regards,

Christopher
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Gcr-3.10.1 need to set correct path for successful compilation

2014-03-08 Thread Bruce Dubbs
m...@pc-networking-services.com wrote:
 Hello,

 While I was attempting to compile Gcr-3.10.1 from the stable BLFS-7.5 book
 I was not able to do so until I did the following:

 XDG_DATA_HOME=/usr/share
 export XDG_DATA_HOME

 XDG_DATA_DIRS=/usr/share/
 export XDG_DATA_DIRS

 I do not yet have KDE or GNOME fully installed, and was doing the compile
 from an xterm terminal.

Can you post the error message?

 These are only set from the kde.sh script.

In BLFS-7.5 the /etc/profile script has changed.  XDG_DATA_DIRS is set 
there now.  I'm not sure XDG_DATA_HOME is needed.

That said, grepping though the gcr source shows no references to 
XDG_DATA.  It is used in glib though.

   -- Bruce


-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page