Perfect BackTrack5 (BT5) hard disk installation tutorial

Source: Internet
Author: User

About a month ago, I sent a series of articles about BackTrack5, including BT5 downloads and BT5 Hard Drive boot. Of course, there are some hard drive installation errors in the article, cause missing filesystem. the installation cannot continue. Er, BT5 installation is not necessary. Why? The BT5 system is not very suitable as a desktop system, so it is not recommended to install it for novice cows. As long as you can boot the hard disk, all the tools in it can be used normally, there is no need for installation. Of course, if you want to install it, you can use the tutorial of the cow. The cow installs it once and installs it perfectly.
 
 
 
 
The hard disk of BackTrack5 is installed in two steps. The first step is the hard disk Boot of BT5, and the second step is the hard disk installation of BT5. BT5 LIVE images are used in the process. You can download BackTrack5 and download multiple images here.
 
 
 
 
Part 1 BackTrack5 (BT5) Hard Disk boot
 
 
 
The hard disk of BackTrack5 (BT5) guides us through grub4dos, and grub and grub2 are still tested. Grub4dos can use boot in xp and win7. ini method to complete, win7 also know boot. ini. If you are using xp, directly modify boot. ini. If you are Windows 7, create a new boot under the root directory of the system disk. ini.
 
 
 
 
Write content:
 
 
 
C: \ grldr = "GRUB4DOS Menu"
 
 
Xp adds the above line to the end of the file. win7 only writes this line in the blank file. Of course, Windows 7 can also use easyBCD to install grub4dos. You can refer to the detailed tutorial on hard disk installation in ubuntu11.04 by referring to the cow's article. xp and Windows 7 are perfectly supported.
 
 
 
 
Next, you need to download the grub4dos configuration file prepared by the cows: Click here to download the configuration file and decompress it to the system root directory.
 
 
 
 
In fact, if you are familiar with grub menu. lst, you can refer to menu. lst to guide BT5.
 
 
 
 
 
Title BackTrack5 Text-Default Boot Text Mode
Root (hd0, 0)
Kernel/casper/vmlinuz file =/preseed/custom. seed boot = casper text splash vga = 791 --
Initrd/casper/initrd.gz
Boot
 
 
After downloading the CD image, use UltraISO to decompress all the files to the root directory of the system disk (your system disk.
 
 
 
 
When you restart, select the boot option to go to The BackTrack5 guide. After completing this step, you have completed the hard disk boot work and can normally enter the BT5 LIVE. The default account is root, the password is toor, And the password is startx on the graphic desktop.
 
 
 
 
Part 2 BackTrack5 (BT5) hard disk installation
 
 
 
In this section, let's talk about missing filesystem. cause of size error, missing filesystem. size is because install. sh file cannot find the filesystem required for installation. size, and the file is in/cdrom. When you run umount-l/cdrom, the directory becomes an empty directory, therefore, the system cannot find the file filesystem we copied. therefore, an error is returned. How can this problem be solved? There are two solutions: one is to copy all the files in the iso image to the/cdrom folder again. Of course, this is not feasible. At least 2 GB of memory for the cows is done by wood, maybe you can use 4G memory ~~~ We can pass this method. Now let's talk about the real method. Use loop to mount the iso file to the/cdrom directory. Specific Practices:
 
 
 
1. prepare your bt5 installation iso. It is best to put it in your system disk, that is, sda1. if you can't put it on another disk, you can also name it all in English, avoid unnecessary troubles. Open a terminal in the attachment of the program.
 
 
 
 
Run in Terminal
 
 
 
Cd/
Sudo mkdir nenew
Sudo umount-l/cdrom
Sudo mount/dev/sda1/nenew
Ls/nenew | grep iso
 
 
When running this step, check whether your image file exists in the ECHO result. If you put it in the first partition, you can see your image name, you can continue step 2. If you do not place it in the system root directory, run the following command to increment the number of sda until the ls result has your image.
 
 
 
Sudo umount-l/nenew
Sudo mount/dev/sda2/nenew
Ls/nenew | grep iso
 
 
Now, let's assume that you have seen your BackTrack5 iso image file. If you haven't seen it, find the reason for it.
 
 
 
 
2. Execute the following commands
 
 
 
Sudo modprobe loop
Sudo mount-o loop/nenew/BT5-GNOME-32.iso/cdrom
 
 
The BT5-GNOME-32.iso here is your BT5 image name.
 
 
 
Sudo umount-l/nenew
Ls/cdrom
 
 
At this time, the files in the cdrom directory will be displayed, and you can determine whether they are consistent with the iso files. If they are consistent, OK, your operation is correct and you can install them. If they are inconsistent, sorry, go back to the tutorial and find the reason.
 
 
 
 
3. Run install on the desktop to install ubuntu. For the installation process, refer to the ubuntu installation process. After the installation is complete, the system prompts whether to restart. Select reboot to restart. When the prompt prompts "enter", Press enter. This place cannot be reached. Of course, this has no effect, you can simply turn off the power, because all the things to be turned off have been turned off. If you are a laptop, you can press the power-on button to shut down. After you restart the instance, you can access the system. Of course, you do not see the windows Startup item. After the startup is normal, the user name and root Password toor enter the system, startx enter the graphics, open the terminal, and sudo update-grub has a windows Startup item.
 
 
 
 
So far, the BackTrack5 (BT5) hard disk installation is perfect, and the missing filesystem. size error is also fixed. It may be a bit complicated during the installation process, because you lack basic linux knowledge, so we suggest you have some basic friends to try it. I don't want to explain any errors during installation. I have sprayed a lot on the internet, and I have already tested them myself. If an error is reported during installation, please solve it by yourself. It is not easy to write a tutorial. Well, that's it ~~~ Everyone is welcome to sit in a dairy blog. It's good to subscribe to a dairy blog ~~~
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.