Installation from CD image

Nils Kassube kassube at gmx.net
Mon Jan 7 07:36:20 UTC 2008


Joel Bryan Juliano wrote:
> If you have the ISO file, install it under QEMU or VMWare,

That's a nice idea, but I think you should include a warning that it is 
for an advanced user only.

> Under your virtual machine, type
>
> $ dd if=/dev/hda | nc 192.168.0.1 9000

Shouldn't that be hda1 instead of hda? And you should better replace the 
IP address because for many people 192.168.0.1 is the address of their 
router.

> And outside the virtual machine, you type
>
> $ nc -l -p 9000 | dd of=/dev/hda # where /dev/hda is your target
> partition, so be careful.

Again, I think it should be the device name for a partition not the entire 
disk.

> This will clone the system via network.

Yes it will clone the entire system - not only one partition. That will 
not work, if the virtual machine is on the same computer as the target 
system. And if it is really intended to overwrite the existing system, it 
will only work, if the target machine is running from a live CD.

> Make sure the virtual and real machine can see each other via network,
> you can assign a "unique" static ip address to both machines via
>
> $ rm /etc/hosts

Better rename the existing file - there may be valuable information in it.

> $ echo "127.0.0.1 localhost" > /etc/hosts
> $ echo "192.168.0.1 mymachine" >> /etc/hosts

Use different IP addresses on both the target and virtual machines - and 
avoid any address ending with ".1".


Nils




More information about the ubuntu-users mailing list