Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Custom Disk Images
PostPosted: Tue Aug 19, 2008 4:53 am 
Offline
Senior Member

Joined: Fri Feb 17, 2006 9:47 pm
Posts: 91
Is it possible for me to upload and use a custom Gentoo Image on my linode? I was thinking maybe use a small section of my disk then delete the running section(after powering down of course) then resize my image and make it the new running directory?

Has anyone attempted this with any distros? Success? Failure?

Cheers.


Top
   
 Post subject:
PostPosted: Tue Aug 19, 2008 6:38 am 
Offline
Senior Member
User avatar

Joined: Tue Aug 17, 2004 11:37 pm
Posts: 262
Website: http://www.our-lan.com
WLM: nf@our-lan.com
Location: Brisbane, Australia
yeah its pretty simple to do actually and you dont need to waste the space.
Setup a finnix profile.. Put your hdd as /dev/ubdb..

and then ssh/dd your image over..

i can never remeber the command though.. something like ssh user@host -c 'dd -if=/dev/imageonremote' | dd of = /dev/ubdb should do the trick.. although im probably slightly off

_________________
ServerAdmin - www.our-lan.com
"Diplomacy is the art of saying nice doggy whilst looking for a really big stick"
"In my experiece, any attempt to make any system idiot proof will only challenge God to make a better idiot"


Top
   
 Post subject:
PostPosted: Tue Aug 19, 2008 6:40 am 
Offline
Senior Member

Joined: Fri Feb 17, 2006 9:47 pm
Posts: 91
Sweet thanks that should get me on the right track :)


Top
   
 Post subject:
PostPosted: Tue Aug 19, 2008 6:40 am 
Offline
Senior Member
User avatar

Joined: Fri Oct 24, 2003 3:51 pm
Posts: 965
Location: Netherlands
I've done it with CentOS, and I built a custom Gentoo on the Linode itself. Check out mikegrb's howto for details on how to 'Linode-ify' your distro.

_________________
/ Peter


Top
   
 Post subject:
PostPosted: Tue Aug 19, 2008 7:02 am 
Offline
Senior Member

Joined: Fri Feb 17, 2006 9:47 pm
Posts: 91
It's not really clear on what's going on. Where is his custom system coming from? Finnix? Am I sshing it onto the finnix system?

is it dd if=/dev/image_on_my_machine of=/dev/partition_on_linode?


Top
   
 Post subject:
PostPosted: Tue Aug 19, 2008 8:49 am 
Offline
Senior Member
User avatar

Joined: Fri Oct 24, 2003 3:51 pm
Posts: 965
Location: Netherlands
cherring wrote:
is it dd if=/dev/image_on_my_machine of=/dev/partition_on_linode?


More like dd if=/dev/partition_on_my_machine of=/dev/partition_on_linode

I did it using LVM snapshots - then you can use a live machine as the source.

_________________
/ Peter


Top
   
 Post subject:
PostPosted: Tue Aug 19, 2008 6:25 pm 
Offline
Senior Member

Joined: Fri Feb 17, 2006 9:47 pm
Posts: 91
Cheers. People are doing it, I feel quite reassured that I can too then :D.

I guess my last question is do I run the command from my computer(source) or my destination (linode).

Thanks guys.


Top
   
 Post subject:
PostPosted: Tue Aug 19, 2008 6:33 pm 
Offline
Senior Member
User avatar

Joined: Mon Dec 10, 2007 4:30 pm
Posts: 341
Website: http://markwalling.org
pclissold wrote:
Check out mikegrb's howto for details on how to 'Linode-ify' your distro.


Top
   
 Post subject:
PostPosted: Tue Aug 19, 2008 6:41 pm 
Offline
Senior Member

Joined: Fri Feb 17, 2006 9:47 pm
Posts: 91
mwalling wrote:
pclissold wrote:
Check out mikegrb's howto for details on how to 'Linode-ify' your distro.


I did, I already mentioned how I didn't find it that clear, but thanks for your very helpful input.


Top
   
 Post subject:
PostPosted: Tue Aug 19, 2008 7:02 pm 
Offline
Senior Member
User avatar

Joined: Mon Dec 10, 2007 4:30 pm
Posts: 341
Website: http://markwalling.org
Quote:
Boot Finnix on source system, and dd to Finnix on your Linode via SSH. Destination is /dev/xvdb for Xen or /dev/ubdb for UML Linodes.


Top
   
 Post subject:
PostPosted: Tue Aug 19, 2008 7:15 pm 
Offline
Senior Member

Joined: Fri Feb 17, 2006 9:47 pm
Posts: 91
Thanks, I guess I'm just a little bit lost since I can't just go and do it right now, and without being able to just jump in and get my hands dirty like I normally would I'm a little bit muddled, it'll be sweet when I can do it though.


Top
   
 Post subject:
PostPosted: Tue Aug 19, 2008 7:19 pm 
Offline
Senior Member
User avatar

Joined: Mon Jul 21, 2008 1:26 pm
Posts: 171
Website: http://www.rejecttheherd.net
Location: Seattle
I just booted to FINNIX, Boot Strapped Gentoo and saved a tarball of the basic install for future needs. Works great and has been running like a champ. ;)

Actually I just picked up another Linode, booted to FINNIX, extracted my saved tarball. Had my new Linode up and going in a few min's 8)


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


Who is online

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