Friday, 19 November 2010
Installing Damn Vulnerable Linux under virtualbox
I had some problems while installing Damn Vulnerable Linux under virtualbox so I thought I would share the process I did to instal the DVL with virtualbox. I won't be going into the details of what the DVL is, anyway.
First, with the .iso file or the DVD drive, boot with the live DVD of Damn Vulnerable Linux(DVL) and login as root. Now we will prepare partition using fdisk utility. Follow the steps as i describe below:
-> Type startx to start the GUI for DVL.
-> Under konsole, type fdisk /dev/hda. Replace hda with the appropriate disk like /dev/sda for you.
-> Now you'll get the following prompt:
command (m for help):
type the letter n and press enter.
then type the letter p to create a primary partition and type 1 again.
Then type a and then type 1 to make the partition bootable. Finally type w to write the partition table.
-> Now we will format the newly created partition by entering the following command:
mkfs.ext3 /dev/hda1 Replace with the proper device like hda2 or sda1...You might need to restart the VM sometimes before or maybe after doing this.
-> now we create the folders to mount our hdd and DVL iso.
mkdir /mnt/dvl/
mkdir /mnt/iso/
-> Next we mount the hard drive and iso as below:
mount /dev/hda1 /mnt/dvl/
mount /dev/hdc /mnt/iso/
-> The prepartion phase is over. Now lets start the backtrack installer from application menu(Be ReSlaxed > System > Backtrack Installer)
-> Now configure the installer as shown below:
Source(Backtrack CD): /mnt/iso/
Install BackTrack to: /mnt/dvl/
Write MBR to: /dev/hda
Installation Method: Real
Next click on install and wait for the installation and copying of the Damn Vulnerable Linux.
-> Finally enter the following commands in terminal:
chroot /mnt/dvl/ /bin/bash
lilo -v
reboot
Now remove the DVD/.iso file and you should have your DVL installed in your virtual machine.
First, with the .iso file or the DVD drive, boot with the live DVD of Damn Vulnerable Linux(DVL) and login as root. Now we will prepare partition using fdisk utility. Follow the steps as i describe below:
-> Type startx to start the GUI for DVL.
-> Under konsole, type fdisk /dev/hda. Replace hda with the appropriate disk like /dev/sda for you.
-> Now you'll get the following prompt:
command (m for help):
type the letter n and press enter.
then type the letter p to create a primary partition and type 1 again.
Then type a and then type 1 to make the partition bootable. Finally type w to write the partition table.
-> Now we will format the newly created partition by entering the following command:
mkfs.ext3 /dev/hda1 Replace with the proper device like hda2 or sda1...You might need to restart the VM sometimes before or maybe after doing this.
-> now we create the folders to mount our hdd and DVL iso.
mkdir /mnt/dvl/
mkdir /mnt/iso/
-> Next we mount the hard drive and iso as below:
mount /dev/hda1 /mnt/dvl/
mount /dev/hdc /mnt/iso/
-> The prepartion phase is over. Now lets start the backtrack installer from application menu(Be ReSlaxed > System > Backtrack Installer)
-> Now configure the installer as shown below:
Source(Backtrack CD): /mnt/iso/
Install BackTrack to: /mnt/dvl/
Write MBR to: /dev/hda
Installation Method: Real
Next click on install and wait for the installation and copying of the Damn Vulnerable Linux.
-> Finally enter the following commands in terminal:
chroot /mnt/dvl/ /bin/bash
lilo -v
reboot
Now remove the DVD/.iso file and you should have your DVL installed in your virtual machine.
Labels:
hacking,
tricks and tips,
virtualbox
Bookmark this post:blogger tutorials
Social Bookmarking Blogger Widget |
Installing Damn Vulnerable Linux under virtualbox
2010-11-19T22:27:00+05:45
Cool Samar
hacking|tricks and tips|virtualbox|
Subscribe to:
Post Comments (Atom)