Gesendet: Montag, 07. März 2016 um 18:02 Uhr
Von: "Pierre Labastie" <[email protected]>
An: "LFS Support List" <[email protected]>
Betreff: Re: [lfs-support] Is the compiled kernel ending up on the same machine that built it?
Von: "Pierre Labastie" <[email protected]>
An: "LFS Support List" <[email protected]>
Betreff: Re: [lfs-support] Is the compiled kernel ending up on the same machine that built it?
On 07/03/2016 16:54, "René Nidegger" wrote:
> Hi
> I have deciced that I want to build a Linux from scratch. It seems to
> me that the system (tht is the PC) that is building the kernel will
> also be the system that uses the kernel.
> Is this correct?
> I ask this because my intention is to have the my LSF on a system that
> does not yet have any Linux distribution installed. Will I be able to
> build the kernel in a Virtual Box on Windows
> and somehow transfer it to the target system including the boot sector?
>
How do you plan to do the transfer? Are you going to copy a virtual disk
to a real one? If so, it may be a better idea to use directly the target
real disk as the VM disk. If you do that, and the target machine is not
too different from the build machine (specially respective to CPU
capabilities), that seems doable.
> Hi
> I have deciced that I want to build a Linux from scratch. It seems to
> me that the system (tht is the PC) that is building the kernel will
> also be the system that uses the kernel.
> Is this correct?
> I ask this because my intention is to have the my LSF on a system that
> does not yet have any Linux distribution installed. Will I be able to
> build the kernel in a Virtual Box on Windows
> and somehow transfer it to the target system including the boot sector?
>
How do you plan to do the transfer? Are you going to copy a virtual disk
to a real one? If so, it may be a better idea to use directly the target
real disk as the VM disk. If you do that, and the target machine is not
too different from the build machine (specially respective to CPU
capabilities), that seems doable.
I currently do not have any plan for the transfer. This is part of the reason for
my question. When I skimmed the LFS book on how to do that, I seemed to
find no instructions on how to transfer the kernel, hence I assumed
that the kernel needs to be built on the target machine.
Since I have no experience with virtual disks, your suggestion currently
seems not a way forward to me.
I now assume that I will first to install a linux from any distribution and
will then do the Linux from scratch. Am I right?
Regards
René
-- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
