Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Roll Your Own - How?
PostPosted: Sun Jan 13, 2008 2:15 am 
Offline
Senior Member
User avatar

Joined: Wed Jan 24, 2007 12:04 am
Posts: 90
Website: http://www.smiffysplace.com
Location: Rural South Australia
Quoth the FAQ: "You can also roll your own distribution and upload it." I have just had a quick look at the wiki front page and can't find any reference to that, neither did anything come up in a forum search.

Just _how_ does one do this? If the kernel is a given, how you can you have a "roll your own" unless it's based on one of the existing distros?


Top
   
 Post subject:
PostPosted: Tue Jan 15, 2008 6:50 am 
Offline
Senior Member

Joined: Fri Feb 13, 2004 11:30 am
Posts: 140
Location: England, UK
The kernel is a given, but don't forget that the same Linode-provided kernel is used regardless of which distribution you choose, even if you choose it from the Distro Wizard. In other words, it's not distro-specific; in fact, very few kernels nowadays will be distro-specific, since most will compile everything in a modular fashion. The kernel provided by Linode is monolithic, but that's okay because the hardware on each Linode is, I suspect, the same or very close. (Does UML emulate specific hardware or is everything virtualised?)

To actually roll your own distro you'll need to be aware of the steps at http://www.linode.com/wiki/index.php/Cu ... stribution to get it working properly on Linode. Otherwise, you should be able to proceed as with a normal distro, I guess.

Although this does bring to mind one question I have, if anybody can answer it - what happens so far as boot loaders go?


Top
   
 Post subject:
PostPosted: Tue Jan 15, 2008 6:59 am 
Offline
Linode Staff
User avatar

Joined: Sat Jun 21, 2003 2:21 pm
Posts: 160
Location: Absecon, NJ
Quote:
Although this does bring to mind one question I have, if anybody can answer it - what happens so far as boot loaders go?


Linode's don't have a boot loader. The host system performs those functions.


Top
   
PostPosted: Tue Jan 15, 2008 8:49 am 
Offline

Joined: Tue Jan 15, 2008 8:41 am
Posts: 1
Website: http://9souldier.org
I have done this on the xen beta program, i'm not sure if this works on uml, though it should be the same.

1, you'll need a distro build with the distro wizard to start off.

2, then add a disk image for your new distro, and add it to the existing distro's config profile.

3, boot your distro

4, do a chroot install of the distro of your choice, the kernel should work fine
I had a problem because for some reason the xen linodes get the (deprecated) nodevfs kernel parameter passed to them at boot time, and my distro was trying to boot into the nodevfs runlevel. I went around this by adding a nodevfs runlevel to my distro.

5, add a config profile to your linode account using the disk image you installed the chroot onto.
Done.
I'm running sourcemage linux installed this way.
Also, for custom distros, imho it's best to deactivat all the xenify options in the config profile.
Hope this helps!
Cheers!


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


Who is online

Users browsing this forum: No registered users and 2 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