Uploading a Custom Distribution to New Linode Question(s)
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.
4 Replies
I am thinking /boot and /proc
Any other directories that definately would not be needed on the Linode?
Thanks!!
My only problem is I only have a loopback interface.
My /etc/network/interfaces reads:
# 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?
> 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.
> * 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.
???
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.