Mount backtrack to hard disk through USB flash drive
Source: Internet
Author: User
Remember to reply to me after reading the review. don't read the post or reply to the U disk. it is better to prepare several software larger than 4G: grubinst1.1, grub4dos, and the green and backtrack versions of Apsara stack. iso first uses a softdisc to implement backtrack. iso is extracted to the root directory of the USB flash drive and then backtrack. iso is also placed in the root object... remember to reply to me after reading it.
Preferably larger than 4 GB
Prepare several software: grubinst 1.1, grub4dos, and the green and backtrack. iso software.
First, use a disk to extract backtrack. iso to the root directory of the USB flash drive, and then put backtrack. iso to the root directory.
Then, use grubinst to write the USB flash disk MBR (enable grub4dos recognition)
Open grubinst, select your own USB flash disk, and
Check: output detailed information. if you do not save the original MBR, do not search for a floppy disk or boot the original MBR.
Click install, and then press ENTER to close the software.
Decompress grub4dos and only need two files: grldr and menu. lst.
Put both files in the root directory of the USB flash drive.
Use Notepad to open menu. lst
Add a piece of code to the bottom
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 saving the work, you can now split the hard disk into one partition and mount the drive letter around 3 GB. Restart the computer, select the USB flash drive to start, and then select title BackTrack5 Text to enter. after entering, enter the command line interface and enter
Enter after umount-l/cdrom
Enter startx and continue enter
Wait a moment and enter the desktop environment. do not click the install backtrack icon. the missing filesystem. size error will occur during direct installation. then the installation will be simple. Open the terminal (similar to WINDOWS cmd) and enter the following command cd/sudo mkdir absudo umount-l/cdromsudo mount/dev/sda1/abls/AB | when grep iso runs to 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 with 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/AB
Sudo mount/dev/sda2/AB
Ls/AB | grep iso
Now, let's assume that you have already seen your BackTrack5 iso image file. if you haven't seen it, find the reason for it and don't explain it.
2. execute the following commands
Sudo modprobe loop
Sudo mount-o loop/AB/BT5-GNOME-32.iso/cdrom
Here the BT5-GNOME-32.iso for your BT5 image name, is the ISO file name you have to pay attention to read, change to your own ISO file name
Sudo umount-l/nenewls/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.
The user name root password toor enters the system, startx enters the graphics, opens the terminal, and sudo update-grub has a windows startup item.
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