Sainadh J wrote:


On Sunday, 15 February 2015 7:51 PM, Pierre Labastie
<[email protected]> wrote:


Le 15/02/2015 13:20, Sainadh J a écrit :


On Sunday, 15 February 2015 3:59 PM, Pierre Labastie
<[email protected]> wrote:


Le 15/02/2015 11:21, Sainadh J a écrit :

Hello to all,

i build LFS/BLFS 7.6 i want to use this os on another system is it
possible or not?if yes how?please guide me thanks in advance.



I think you just need to copy your LFS partition to an empty partition on
the new system, recompile the kernel (on iether machine) for new
hardware, and set up grub to boot the newly installed kernel with the new
partition as root filesystem.

Pierre

Hello,

sorry i don't understand what you said.


Maybe same here ;-)

I understand you have two systems. Let's call them system1 and system2.
You have LFS/BLFS on system1. You want to use LFS/BLFS on system2 without
rebuilding. System1 and system2 are two different machine. Do I understand
correctly? If not, please stop here and tell me...

On system1, you have a partition with LFS/BLFS on it. Let's call it
/dev/sdaX On system2, you have another os, but you should have an empty
partition for installing LFS/BLFS. Let's call it /dev/sdaY.

The first thing to do is copy the entire /dev/sdaX to /dev/sdaY. There are
several ways to do it. The easiest might be to copy /dev/sdaX to a stick
memory then the stick memory to /dev/sdaY.

Then, you need a kernel for system2, except if system2 and system1 have
the same hardware. So you have to recompile a kernel with the needed
options for the system2 hardware. I guess it is easier to do that on
system1, but you could do on system2 as well.

Once you have the new kernel, copy it to the /boot partition on system2.
Then edit /boot/grub/grub.cfg on system2 to add an entry for the new
kernel: --- linux /boot/<new-kernel> root=/dev/sdaY ---

Hello Pierre, Thank u for well explanation.i have a planed this is for one
perpose i.e actually i explained LFS/BLFS system to my friends and they asked
to me that ur LFS/BLFS system is instalable os on another system like
ubuntu,slackaware,fedora etc..so that i started this theread is it possible
to install LFS/BLFS system on another system like fedora,ubuntu etc..plz
guide me this is very important task to me and i planed to show this os in my
college.plz guide me.Thanks in advance.

Pierre's explanation is pretty clear in my opinion, but there are a few other changes that are necessary. /etc/hostname, /etc/hosts, /etc/passwd, /etc/shadow, /etc/fstab, and possibly the /etc/sysconfig/* files all need to be updated for the new system.

Also, it is not possible to build on a x86_64 and copy to a 686. It *might* be possible to go the other direction, but I wouldn't recommend it.

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

Reply via email to