LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 03-12-2019, 01:48 PM   #1
invinciblycool
LQ Newbie
 
Registered: Jan 2019
Posts: 24

Rep: Reputation: Disabled
What to do after building kernel on a VPS(Virtual Private Server)?


After successfully building the kernel on a VPS running Fedora, hosted on Digital Ocean, the book talks about configuring the host's grub file.

Since till now I have built the LFS on a VPS, how do I proceed from here?

To be precise the last command issued was
Code:
make modules_install
on this chapter.

Also, I have copied the kernel image, System.map and .config file to my local machine using scp.

Last edited by invinciblycool; 03-12-2019 at 02:27 PM. Reason: Updating the answer
 
Old 03-23-2019, 07:49 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,126

Rep: Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260
"make install" should have copied the kernel to /boot. "update-grub" will find it and add it to your grub menu. Try it out before making it the default kernel.
 
Old 03-23-2019, 01:22 PM   #3
arch-linq
Member
 
Registered: Sep 2018
Location: Midwest, USA
Distribution: Arch,LFS,BLFS
Posts: 110

Rep: Reputation: Disabled
There is no "make install" for LFS kernel in the book. You copy the 3 kernel files as the book says to /boot dir on your lfs build. You would rechroot per book and build the kernel right on the lfs vm not copy it using scp.

GRUB I assume you are goiing to use fedora grub to boot the new lfs so you want to read their docs on dual-booting linux and add the lfs to it's grub. Also make sure your fstab file is correct too. Finish with sect 9.3 rebooting.

Hope ya made the right choices in the kernel config for running on a VM vs real hardware.

Last edited by arch-linq; 03-23-2019 at 01:32 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to audit a CentOS VPS (Virtual Private Server) wek888 Linux - Newbie 2 09-09-2009 06:16 PM
Where can I download UML VPS or Xen VPS to make a virtual private server? abefroman Linux - Software 3 12-09-2005 10:00 AM
How to install a VPS / where to find it (Virtual Private Server) McNadia Linux - Software 1 01-05-2005 03:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 03:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration