Hard disk installed dual system win7 + BT5

Yesterday, on their computers and shift for a long time, I want to own win7 installed on BT5, know the next day to get it, then I share the installation process under.

ready:

1. The computer system has been installed win7

2.EasyBCD software

3.BT5 Mirror

A copy, bt5 c iso file to the root directory (without changing the iso file name).

Second, the decompression bt5 c iso file to disk (extract to the current folder is instead to extract .., both are different, here it is required to extract the current folder, i.e. to extract the C root directory) .

Third, copy the casper folder unzip the initrd.gz and vmlinuz two files copied c root directory!

2

Fourth, the use easybcd add grub menu. After the new menu point [configuration]

3

Add in the configuration inside at the contents:

title BackTrack5 install
root(hd0,0)
kernel /casper/vmlinuz file=/preseed/custom.seed boot=casper text splash vga=791--
initrd /casper/initrd.gz
boot

Note: The start position of the specified root, root (hd0, 0) represents the first partition of the first hard disk. If you have a computer in front of an unused partition 100M, then here we should change root (hd0,1) , in particular the value of several regional situation depends on your computer

4

Fifth, the shutdown restart select your new menu to go! (The default is that the bottom, i.e., a line in the boot loader NeoGrub windows7 below)

5

Six, into the direction of the key, will change back and forth between the black and white background bt5 dos.

Just a jump command, circumstances and ubuntu start almost. Later it has been prompt  please provide a name for this disk such as. . . . . Behind not remember.

Tried for a long time useless, forced shutdown reboot into bt5 again, this time I pressed on the keyboard ALT + F1, interface changes, and the emergence of a black dos window in the middle of wallpaper, try to lose command, I did not react?

Later, according to more than a few have root # Enter word shows.

Command this time decisive input into the graphical interface: startx

After installation, if prompted for a username or password: username root password toor 

Note: If you have been in a state of black screen, then you should consider switching to a mirror, and then start from the first step.

 IMG_20121201_213334

Note: Step Seven Step Eight and tried, users can be summed up in his own attempt, I skip VII and VIII, installed BT5 to shut down (shutdown command is with the command in the terminal: the shutdown -h now )

Seven, the desktop is successful, you can now use bt5 functions but can not save.

Open a terminal bt5 input command ( direct command to fight the red, the other characters do not see if there is an error the middle of what I look at the blue and black font! ):

cd /
sudo mkdir nenew
sudo umount -l / cdrom                Note that -L -l lowercase letters!
Mount sudo / dev / sda1 / nenew
LS / nenew | grep ISO

命令意思就是,切换到根目录,创建一个nenew的文件夹,取消挂载cdrom,然后把你的c盘挂载到nenew目录下,再查找iso文件(这时候你之前放在c盘的bt5.iso也该用到了)

输完后你就可以看到它列出来的 BT5.iso了。如果没有出现说明你的c盘不是系统的第一分区!请将sudo mount /dev/sda1 /nenew中的sda1改成sda2,类推。。。

继续输入命令:

sudo modprobe loop
sudo mount -o loop /nenew/BT5.iso /cdrom

八、运行桌面上的install来安装即可!

安装过程和ubuntu基本一样,如果你没装过ubuntu或其他linux系统的话,看看别人的安装教程吧!

选择分区的时候,我的建议是

350M /boot分区,这样安装好后bt5的grub就不会接管win7等系统的引导了。

4096M swap交换分区(一般是内存的两倍,我的是2g,如果你的有2g或者更多,完全可以不必划这个分区。)

其他空间(至少30g吧) / 分区。

分好区进入下一步后有个[高级]按钮,选择引导分区为你的/boot分区!我的是sda5,你的不一定是这个请自己分区的时候看清楚!

 

九、安装好后进入windows使用easybcd进行下面操作



Boot appears GNU GRUB version 1.98 of the title screen, select the first to enter the BT5, check the bottom of the win7 windows7 entered



Published 11 original articles · won praise 7 · views 10000 +

Guess you like

Origin blog.csdn.net/LQ753799168/article/details/45291079