Results 1 to 10 of 11

Thread: Turn HD install into USB install?

Hybrid View

  1. #1
    Member
    Join Date
    Feb 2007
    Posts
    229

    Default Turn HD install into USB install?

    Is there a way to recompress the full HD install, with all the modifications i've made to it, into the normal USB image that i can boot from anywhere?

  2. #2
    Senior Member MikeCa's Avatar
    Join Date
    Jan 2010
    Location
    DC
    Posts
    129

    Default

    Definitely, it is a lot of fun

    This guide walks you through the important steps:
    https://help.ubuntu.com/community/Li...ionFromScratch

  3. #3
    prowl3r
    Guest

    Default

    This is another way to do it (from scratch).

    http://www.offensive-security.com/bl...ck-up-to-date/

  4. #4
    Member
    Join Date
    Feb 2007
    Posts
    229

    Default

    prowl3r's method seems to use the original ISO and updates that, is there a way to do that with the current system instead of using the ISO - i've made a ton of changes to mine and would rather not re-do it all in the chroot environment for the iso. not even sure i can.

  5. #5
    Member
    Join Date
    Feb 2007
    Posts
    229

    Default

    So i set up my distro mostly correctly, i tried following the ubuntu guide, but it sets up a barebones ubuntu system instead of the BT4 system as it appears to get everything from ubuntu.com.

    That doesnt seem right as the kernel version is wrong and so forth.

    Since bt4 already has everything needed to boot from a USB drive, is there any way to re-compress the contents of / into iso format?

    EDIT: i looked over the bt4-customize.sh script and its a bit more complex than i can quickly grasp @ this hour of night. I suppose a good amount of casper related reading is in order here. If someone's turned a full HD install with all their numerous changes into bootable casper iso that has the functionality of the original bt4-pf iso, i'd love to know how it was done .

  6. #6
    Just burned his ISO KOn_TrOLL's Avatar
    Join Date
    Jun 2009
    Posts
    6

    Default

    Is there a way to recompress the full HD install, with all the modifications i've made to it, into the normal USB image that i can boot from anywhere?
    Reply With Quote
    Yes there is...

    Backup you HD install with tar.
    cd /

    Code:
    tar cvpzf backup.tgz --exclude=/proc --exclude=/lost+found --exclude=/backup.tgz --exclude=/mnt --exclude=/sys /

    Then reboot with backtrack DVD ,insert usb flash drive and install backtrack to it.

    Now shut down and pull out usb flash drive and reboot normaly ,put flash drive back in and move your backup.tgz to / of flash drive and restore backup like so.

    cd /of flashdrive
    Code:
    tar xvpfz backup.tgz -C /

  7. #7
    Senior Member
    Join Date
    Aug 2007
    Posts
    916

    Default

    KOn_TrOLL: that won't work because there's no bootloader installed.

    RageLtMan: There has been suggestions on IRC to use remastersys. I'd give that a shot.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •