Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
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.


  Search this Thread
Old 11-29-2005, 04:14 AM   #1
Registered: Oct 2005
Location: Rezekne, Latvia
Distribution: LFS
Posts: 38

Rep: Reputation: 15
LFS building on a remote PC with LiveCD - how to?

The idea is:
I have a PC (Celeron 700) with WinXP which I use for my daily works (I am a student)
And I have another PC (PIII 450MHz) which I decided to build LFS on.

The problem is that I have only one monitor, one keyboard and one mouse. I do not want to buy any of those KVM switches - they rarely appear in local shops.

So is there any way how I can build LFS remotely - to check from WinXP how LFS is going and to give new compilation tasks?

I have tried TightVNC on Windows, I like it, but it seems a bit complicated task to get VNC onto LiveCD image and in autoboot scripts. But if you could tell how to achieve this (or any useful link about LFS livecd structure and bootscripts) I would be grateful!

It seems I need to know, where exactly LFS LiveCD boot scripts are located and how to edit them without spoiling the image (will UltraISO or WinISO do the thing right?). I have found some TightVNC Linux tutorials, will see, if I can get that thing running. I need it to be running when the LiveCD boots.

Or maybe there is any simpler solution which I just do not see (I am a bit new to LFS)?

Old 12-02-2005, 09:37 AM   #2
Registered: Nov 2005
Location: Houston Texas
Distribution: Debian Sid
Posts: 379

Rep: Reputation: 31
This is what I WOULD suggest:

Boot your LFS machine up with the LiveCD.
Wait a few minutes for it to completely boot to the shell.
Use your Windows machine to check your router's (or equiv) dhcp table to see what IP your LFS machine retrieved from DHCP.
Download a program call "putty". A simple search of "putty ssh" to get it. Install this onto Windows.
You can now use this putty program to SSH into your LFS system. Use Fullscreen to make it seem your monitor/kb is hooked to LFS machine.

Lookup SSH if you dont knwo what it is. Its a great tool for shell on a remote computer. It's almost like VNC, but for shell.

NOW. The reason why I can't suggest this almost perfect plan... The live cd requires you to answer a few questions before it boots up. Timezone, language, keyboard layout, etc... I don't think the SSH server is running at the time of these questions.

Theoretical Solution: Edit the boot process on the LiveCD so it doesnt ask these questions on boot. Hard code your responses int th code, recompile, reburn to make new LiveCD. --- This I have no idea how to do, or if it can be done. Its just an idea that popped into my head.

Thats your REAL showstopper here. The LiveCD asks these questions before the system is even booted up. This would prevent any type of VNC or SSH type program/server from running.

BUT! I do not know from first hand about this bootup process. I've only booted from this LiveCD twice. I guess it would be a good idea to try to SSH to the LFS machine before you try anything else.

Hope I helped.

Last edited by BillyGalbreath; 12-02-2005 at 09:40 AM.
Old 12-03-2005, 08:02 PM   #3
Registered: Nov 2005
Distribution: Ubuntu 9.10 and Slackware 13.1
Posts: 78

Rep: Reputation: 15
That will work. Just connect monitor, mouse, and keyboard to LFS computer, get it booted and start sshd if you need to. Then connect the cables to your Windows box, boot it up and run putty. Or can you not hot-swap those kinds of cables? The monitor cable will work, and if you have usb mouse/keyboard, that will work. I don't know about PS/2.


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
Own LFS LiveCD <100MB? rocknarl Linux From Scratch 1 10-13-2005 08:15 AM
What I should do with LFS LiveCD files? golden_warrior Linux From Scratch 7 10-04-2005 02:57 PM
How to build LiveCD from LFS isilinux Linux From Scratch 1 08-24-2005 03:45 AM
A question on LFS LiveCD satimis Linux From Scratch 7 08-17-2005 07:22 AM
LFS LiveCD 6.1-2 satimis Linux From Scratch 6 07-25-2005 09:32 PM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 02:34 PM.

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