Jump to content

Backtrack 5 Over Pxe?


potato
 Share

Recommended Posts

Hi everyone,

I would like to install the gnome 64 bit version of backtrack 5r1 on my new laptop ( dell latitude d630 4gb ram dual core 2.0ghz 500gb hdd Intel graphics) and I don't have any blank dvds's and would like to try setting up a pxe server on my desktop running windows 7 and installing backtrack 5. I was able to set up a pxe server and boot windows pe so I can install windows over pxe but what about Backtrack?

Link to comment
Share on other sites

Hi everyone,

I would like to install the gnome 64 bit version of backtrack 5r1 on my new laptop ( dell latitude d630 4gb ram dual core 2.0ghz 500gb hdd Intel graphics) and I don't have any blank dvds's and would like to try setting up a pxe server on my desktop running windows 7 and installing backtrack 5. I was able to set up a pxe server and boot windows pe so I can install windows over pxe but what about Backtrack?

I have no experience with doing this with BT but alternatively you could always install on an old USB or run in a VM like I do.. on a side note how did you setup your PXE server? (whats it running, etc) .. thanks

Link to comment
Share on other sites

I have no experience with doing this with BT but alternatively you could always install on an old USB or run in a VM like I do.. on a side note how did you setup your PXE server? (whats it running, etc) .. thanks

I am using TFTPD and a crossover ethernet cable. I was able to boot into windows pe, I am now trying to boot backtrack 5. Dose anyone know of a pxe server program that lets you send an iso? I would rather do a dual boot than run a vm and my only flash drive I have atm is 2gb and the backtrack iso is just over 2gb

Link to comment
Share on other sites

Well 8gb usb stick is like 9.99€ and I bet you would get easier by buying a bigger usb stick.

Could you use that installer which basic ubuntu comes with to install bt to your laptop, and is it possible to customize bt disk to remove some packages and then install them later.

Link to comment
Share on other sites

Well 8gb usb stick is like 9.99€ and I bet you would get easier by buying a bigger usb stick.

Could you use that installer which basic ubuntu comes with to install bt to your laptop, and is it possible to customize bt disk to remove some packages and then install them later.

It would be cool to use the ubuntu installer that pops up in windows but idk how to get it to work for backtrack

Link to comment
Share on other sites

It would be cool to use the ubuntu installer that pops up in windows but idk how to get it to work for backtrack

Don't know if you read this documentation, but it would be worth a shot.

https://help.ubuntu.com/community/Installation

Link to comment
Share on other sites

I am using TFTPD and a crossover ethernet cable. I was able to boot into windows pe, I am now trying to boot backtrack 5. Dose anyone know of a pxe server program that lets you send an iso? I would rather do a dual boot than run a vm and my only flash drive I have atm is 2gb and the backtrack iso is just over 2gb

Interesting.. glad to see you were able to figure it out. I read that link to Ubuntu help as-well .. good info

Link to comment
Share on other sites

  • 4 weeks later...

I recently added Backtrack to my PXE setup at home. Asserting you already have a working PXE setup with NFS, my tftp root is at /store/tftpboot.

0. Create Backtrack PXE directories:

mkdir -p /store/tftpboot/backtrack/5/R1/x{86,64}/{kde,gnome}

1. Mount iso and copy contents to PXE Backtrack directory:

sudo mount -o loop,ro -t iso9660 BT5R1-KDE-32.iso /mnt
cp -av /mnt/* /store/tftpboot/backtrack/5/R1/x86/kde/
umount /mnt

Repeat as needed for other permutations.

2. Add exports to NFS:

# /etc/exports
/store/tftpboot/backtrack/5/R1/x64/kde          192.168.1.0/24(ro,sync,no_subtree_check)
/store/tftpboot/backtrack/5/R1/x86/kde          192.168.1.0/24(ro,sync,no_subtree_check)

Repeat as needed for other permutations.

3. Create a backtrack.menu file for PXE:

LABEL 21
    MENU LABEL Backtrack 5 R1 x86 KDE
    KERNEL /backtrack/5/R1/x86/kde/casper/vmlinuz
    APPEND initrd=/backtrack/5/R1/x86/kde/casper/initrd.gz boot=casper text vga=789 netboot=nfs nfsroot=your.LAN.IP.addr:/store/tftpboot/backtrack/5/R1/x86/kde
    TEXT HELP
    Boot the Backtrack 5 R1 x86 KDE Live CD
ENDTEXT
LABEL 22
    MENU LABEL Backtrack 5 R1 x64 KDE
    KERNEL /backtrack/5/R1/x64/kde/casper/vmlinuz
    APPEND initrd=/backtrack/5/R1/x64/kde/casper/initrd.gz boot=casper text vga=789 netboot=nfs nfsroot=your.LAN.IP.addr:/store/tftpboot/backtrack/5/R1/x64/kde
    TEXT HELP
    Boot the Backtrack 5 R1 x64 KDE Live CD
ENDTEXT

Repeat as needed for other permutations.

4. Add the Backtrack menu into your pxelinux.cfg/default:

MENU BEGIN Backtrack
MENU TITLE Backtrack
        LABEL Previous
        MENU LABEL Previous Menu
        TEXT HELP
        Return to previous menu
        ENDTEXT
        MENU EXIT
        MENU SEPARATOR
        MENU INCLUDE backtrack/backtrack.menu
MENU END

Restart your nfs and tftp daemons and you should be good to go. SJ every day.

Link to comment
Share on other sites

  • 2 weeks later...

I recently added Backtrack to my PXE setup at home. Asserting you already have a working PXE setup with NFS, my tftp root is at /store/tftpboot.

0. Create Backtrack PXE directories:

mkdir -p /store/tftpboot/backtrack/5/R1/x{86,64}/{kde,gnome}

1. Mount iso and copy contents to PXE Backtrack directory:

sudo mount -o loop,ro -t iso9660 BT5R1-KDE-32.iso /mnt
cp -av /mnt/* /store/tftpboot/backtrack/5/R1/x86/kde/
umount /mnt

Repeat as needed for other permutations.

2. Add exports to NFS:

# /etc/exports
/store/tftpboot/backtrack/5/R1/x64/kde          192.168.1.0/24(ro,sync,no_subtree_check)
/store/tftpboot/backtrack/5/R1/x86/kde          192.168.1.0/24(ro,sync,no_subtree_check)

Repeat as needed for other permutations.

3. Create a backtrack.menu file for PXE:

LABEL 21
    MENU LABEL Backtrack 5 R1 x86 KDE
    KERNEL /backtrack/5/R1/x86/kde/casper/vmlinuz
    APPEND initrd=/backtrack/5/R1/x86/kde/casper/initrd.gz boot=casper text vga=789 netboot=nfs nfsroot=your.LAN.IP.addr:/store/tftpboot/backtrack/5/R1/x86/kde
    TEXT HELP
    Boot the Backtrack 5 R1 x86 KDE Live CD
ENDTEXT
LABEL 22
    MENU LABEL Backtrack 5 R1 x64 KDE
    KERNEL /backtrack/5/R1/x64/kde/casper/vmlinuz
    APPEND initrd=/backtrack/5/R1/x64/kde/casper/initrd.gz boot=casper text vga=789 netboot=nfs nfsroot=your.LAN.IP.addr:/store/tftpboot/backtrack/5/R1/x64/kde
    TEXT HELP
    Boot the Backtrack 5 R1 x64 KDE Live CD
ENDTEXT

Repeat as needed for other permutations.

4. Add the Backtrack menu into your pxelinux.cfg/default:

MENU BEGIN Backtrack
MENU TITLE Backtrack
        LABEL Previous
        MENU LABEL Previous Menu
        TEXT HELP
        Return to previous menu
        ENDTEXT
        MENU EXIT
        MENU SEPARATOR
        MENU INCLUDE backtrack/backtrack.menu
MENU END

Restart your nfs and tftp daemons and you should be good to go. SJ every day.

I don't remember Hak5 doing a PXE server setup. So sounds like it would be an excellent segment to do int0x80. :D

You could go into detail on what programs are needed and how to add a few Distros to the PXE with maybe a nice boot screen to it? :P

Link to comment
Share on other sites

  • 11 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...