x.cm 发表于 2008-5-23 10:30

BT3(slax)的live安装-grub引导双系统(windows+BT3)。

Live install, dual boot from grub
live安装-grub引导双系统.(这里是双linux;我们也可以是windows+BT3,只需要第4、5步就可以了。)

This is another method to create a live install of BackTrack 3 on your HD. The need for this was that an install of BT was required for a machine with only 4gb of disk space and that it also needed to be dual booted with another linux distro from grub. This is a very simple live install with no persistancy. it has been done on an eeepc.

1. Create partition for backtrack (750mb) 2. Copy CONTENTS of iso to said partition 3. Edit your grub bootloader 4. Boot
为BT3(750mb)建立分区(如果和windows放在同一分区就不用这步了)->解压iso文件中的目录到该分区->编辑 grub bootloader ->启动

So here goes...

1. create a partition for the BT iso (750mb will do). 2. grab a copy of the iso from download section. 2. mount the iso somewhere i.e.

   mount -t iso9660 -o loop,ro /path/to/theiso.iso /mnt/iso

3. mount the partition you want BT upon. i.e.

   mount /dev/hdX /mnt/bt

replacing /dev/hdX with the name of the disk and partition you are installing to (i.e. hda2 (first hdd, second partition)

4. copy the contents of the iso to the new partition. i.e.
   相当于把iso直接解压到根目录
   cp -r /mnt/iso /mnt/bt

5. edit grub /boot/grub/menu.lst

Add this:

   title BackTrack
   root (hd0,1)   (与具体硬盘、分区有关)
   kernel /boot/vmlinuz max_loop=255 initrd=initrd.gz init=linuxrc load_ramdisk=1
         prompt_ramdisk=0 ramdisk_size=6666 root=/dev/ram0 rw
   initrd /boot/initrd.gz
   boot

Obviously replacing root hd(0,1) with the partition number the kernel is on and changing the path of 'boot/vmlinuz' to point to the kernel.
如果和windows一起引导,就要编辑boot.ini用ntldr引导grub先(grldr="GRUB Loader")。

6. If you want a directory that will save your changes and merge them with the live install to create the illusion of a 'real' install (the best way if you ask me) then:

a) Create another partition formated to ext2/3
b) create a directory on this partition called 'changes'
c) add to grub conf (above) at the end of the kernel line:changes=/dev/sdx rw

Where sdx is the name of the disk/partition you wish to use.


[ Edited byx.cm on 2008-5-23 10:37 ]

269569 发表于 2008-5-27 21:14

哈哈 好东西 顶你了


昨天弄了一天 装到 U盘的启动不了今天又下个教程 ,
启动起来了但是进入BT3的选择菜单,随便选了个 ,回车黑屏了 ,等了好长时间没反应
然后又重启,又选个 都是的上述现象
明天搞你这方法试试

269569 发表于 2008-5-27 21:23

LZ 能把grub.EXEntldr grldr
这3个文件打包给我么?

x.cm 发表于 2008-5-30 13:45

Posted by 269569 on 2008-5-27 21:23 http://www.ibmnb.com/images/common/back.gif
LZ 能把grub.EXEntldr grldr
这3个文件打包给我么?
baidu一下一大把。

cigaryang 发表于 2008-6-2 09:21

谢谢楼主!有耐心,肯钻研啊

heidy922 发表于 2008-6-13 20:46

我怀疑这个在win+bt3中不能实现
我自己测试了
最后引导的时候显示filesystem type unkown,partition type 0xf
估计还是要格一块linux的盘给bt3,不能用win的盘

x.cm 发表于 2008-6-15 00:56

Posted by heidy922 on 2008-6-13 20:46 http://www.ibmnb.com/images/common/back.gif
我怀疑这个在win+bt3中不能实现
我自己测试了
最后引导的时候显示filesystem type unkown,partition type 0xf
估计还是要格一块linux的盘给bt3,不能用win的盘
说是不能放在ntfs分区,但我试了好像可以。
可能是这个原因了。你放到fat分区试试。

moon_lai 发表于 2008-12-1 13:42

:$ 為了看看.專門註冊啦

x.cm 发表于 2008-12-4 10:06

:) 多谢捧场。

269569 发表于 2008-12-4 23:04

这玩意我电脑启动不了刻录盘也没用

dameia 发表于 2009-4-9 09:58

我电脑内置网卡好像不兼容·!
进入BT3,搜索不到无线网卡设备!
有解决方法吗?
我电脑 HP V3808

挟鸡以令嫖客 发表于 2009-4-30 10:00

我刻了张bt3的盘,要用的时候也不多,就破解的时候用一下,所以还是不用装在硬盘里面了
页: [1]
查看完整版本: BT3(slax)的live安装-grub引导双系统(windows+BT3)。