LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Image LiveCD to USB HD (https://www.linuxquestions.org/questions/linux-newbie-8/image-livecd-to-usb-hd-449365/)

GNewbie 05-28-2006 01:39 PM

Image LiveCD to USB HD
 
hi all,

i'm trying to image puppy or dsl linux too a laptop hard drive connected via an usb enclosure to my main desktop.

i've tried installing to sda2 like a normal hard drive and it doesn't work. the dsl install to hd program crashes and puppy only lets me install to hd drives.

is this possible?

if so, how?

tia...

MasterC 05-29-2006 10:14 PM

If you have actual access to the hard drive you are trying to image (meaning you can view it's contents on your desktop machine) then you can use dd, or even just cp:

mount -t iso9660 -o loopback /path/to/iso /mnt/cdrom
Then, assuming the other drive is mounted at /mnt/newdrive:
cp -a /mnt/cdrom/* /mnt/newdrive/

This won't install any bootloader into the MBR. You can do that after you do the cp, do a chroot to /mnt/newdrive and then from there you can install a bootloader et al.

HTH

Cool


All times are GMT -5. The time now is 07:11 AM.