Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Jun 28, 2007 10:39 pm 
Offline
Junior Member

Joined: Mon May 10, 2004 9:55 am
Posts: 33
Ok, so I have a home box that I have slowly managed to build, offline, the way I want it. My goal is to upload this to a new Linode I recently activated.

I understand the mechanics of using Finnix to boot, and synch the files up off my local pc to a Finnix mounted empty Linode disk image.

My question(s):

The distribution i've been building uses Grub to boot, and has the /boot directory w/ kernels, grub stuff, etc, like most distributions. I understand that the linode won't be using my kernel that the PC is currently booting off.

Should I just upload the entire directory tree, minus the /boot folder to my new, empty Linode disk image?

My local system I'll be uploading is based off of Ubuntu 7.04 server. When I pick a Linode kernel to use, would any kernel that is 2.6 based work, or do I need to be careful about choosing a certain kernel?

What about the current contents of /usr/src? Will that create any conflict with the running Linode kernel if I run a Linode kernel that is slightly different than what the machine was built with?

Any kind of comments or caveats from anyone who has done this are most appreciated.


Top
   
 Post subject:
PostPosted: Fri Jun 29, 2007 11:38 am 
Offline
Junior Member

Joined: Mon May 10, 2004 9:55 am
Posts: 33
Also, what other directories should I omit off the stand alone PCs root file system?

I am thinking /boot and /proc

Any other directories that definately would not be needed on the Linode?

Thanks!!


Top
   
 Post subject:
PostPosted: Fri Jun 29, 2007 1:07 pm 
Offline
Junior Member

Joined: Mon May 10, 2004 9:55 am
Posts: 33
Ok, I uploaded the filesystem, without the /boot or /proc and it boots fine.

My only problem is I only have a loopback interface.

My /etc/network/interfaces reads:

Code:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet dhcp



and here is my error: Any ideas?

Quote:
root@GX620:/home/dilcher# ifup eth0
eth0: ERROR while getting interface flags: No such device
There is already a pid file /var/run/dhclient.eth0.pid with pid 134993416
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

SIOCSIFADDR: No such device
eth0: ERROR while getting interface flags: No such device
eth0: ERROR while getting interface flags: No such device
Bind socket to interface: No such device
Failed to bring up eth0.


Top
   
 Post subject:
PostPosted: Fri Jun 29, 2007 1:14 pm 
Offline
Junior Member

Joined: Mon May 10, 2004 9:55 am
Posts: 33
messages while booting, related to network:

Quote:
* Configuring network interfaces... [ OK ]
line_ioctl: tty0: unknown ioctl: 0x541e
line_ioctl: tty0: unknown ioctl: 0x5603
hwclock is unable to get I/O port access: the iopl(3) call failed.



???


Top
   
 Post subject:
PostPosted: Fri Jun 29, 2007 2:31 pm 
Offline
Junior Member

Joined: Mon May 10, 2004 9:55 am
Posts: 33
Ok, to continue this conversation with myself, for all those following along at home...

I fixed the networking issue by removing a file called /etc/iftab

My home PC, whose file system was uploaded to a Linode, must have created this file, which confuses Linode-

It references a mac address, I believe, and assigns that device to eth0. I removed it, rebooted, and I'm online.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: apkehoe and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group