Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Custom distro
PostPosted: Thu Apr 17, 2014 10:38 pm 
Offline
Newbie

Joined: Thu Apr 17, 2014 10:30 pm
Posts: 3
Hi,
So been following this how-to: https://library.linode.com/custom-insta ... stro-howto

So I did all of this on virtual box here on my local laptop. But I'm a bit lost once I jump over to the end, where I need to send it over to my target linode.... Reading this link: https://library.linode.com/migration/ssh-copy it seems to imply the way its written that I am sshing from one linode to another linode to transfer the disk image, rather than from my laptop to a target linode. The way its written the "receiving machine" is a linode in recovery mode, logged in w/ finnix, and its receiving it from another linode that I run virtual box on?

Maybe I am mis-reading this sentance? Locally means my laptop here?... or another linode w/ an X environment....

"We'll use a free virtualization suite called VirtualBox to install a Linux distribution locally"


Top
   
 Post subject: Re: Custom distro
PostPosted: Fri Apr 18, 2014 3:06 am 
Offline
Senior Member

Joined: Fri Feb 17, 2012 8:20 pm
Posts: 365
Disclaimer: I've never done this so I'm not 100% sure either -

Whether it's a Linode or a local (VirtualBox) machine doesn't really matter. In your case, you need to create a new disk image on your linode. That disk image will hold the dd of your virtualbox. Then boot the Linode into rescue mode and use SSH/scp to copy the dd image to the newly create disk image on the Linode.


Top
   
 Post subject: Re: Custom distro
PostPosted: Fri Apr 18, 2014 4:51 pm 
Offline
Newbie

Joined: Thu Apr 17, 2014 10:30 pm
Posts: 3
Ok so locally on my laptop I have a virtual box VDI machine image of Ubuntu 14.04 w/ an encrypted disk. (i.e. when I boot it it prompts me for a pw to decrypt the disk and then ubuntu boots)

So I'm looking for some help on how I can get a copy of this image up to my linode.

So I'm going to need to run the following on my laptop, while logged into the vbox maching booted into finnix?

dd if=/dev/<what device??> | dd of=/root/myCustom.img


Top
   
 Post subject: Re: Custom distro
PostPosted: Fri Apr 18, 2014 5:05 pm 
Offline
Newbie

Joined: Thu Apr 17, 2014 10:30 pm
Posts: 3
So if I boot to finnix on myvbox machine and do a "fdisk -l"

I get

/dev/sda
/dev/mapper/crypt_sda5
/dev/mapper/myhost--vg-root
/dev/mapper/myhost--vg-swap_1


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