以下内容转载自新浪博客,Halloocc的博客

The quieter you become, the more you are able to hear ...

硬盘安装BackTrack4 R2(Ubuntu内核版本2.6.35.8),需要作为Desktop使用的,最好预留10G以上的空间。

1.将ISO文件中的bootcasper目录拷贝到C盘。
2.将GRUB4DOS的grldrgrub.exemenu.lst三文件拷贝到C盘的根目录下。
3.在BOOT.ini中加入c:\grldr="Load GRUB4DOS"条目,使启动菜单加载GRUB的启动项。
4.编辑menu.lst,加入如下条目
title Boot BackTrack 4 Image
kernel (hd0,0)/boot/vmlinuz BOOT=casper boot=casper nopersistent rw vga=0x317
initrd (hd0,0)/boot/initrd.gz

如果使用persistent替代nopersistent,则确保有SWEP分区,且卷标为casper-rw
5.重新启动进入BT系统后,点击桌面的install.sh执行安装 (umount -l /cdrom)。

安装过程中让BT4安装Bootloader,修改MBR,导致无法启动原有的windows操作系统,可以用windows的系统盘的命令修复模式,命令fixmbr来恢复原有的MBR信息。但此时要手动修复BT4R2的启动项。

准备好一款可以读取ext3分区的工具,如ext2explore.exe
打开ext2explore,打开BT4R2所在的ext3分区,浏览到/boot/grub/menu.lst
将其中对应的启动项记录下来,再添加到C盘根目录下的menu.lst中。

偶机器上得看起来如下:
title BackTrack 4 R2, kernel 2.6.35.8
uuid 50d1a882-d0b1-41fb-8960-792f9427d131
kernel (hd0,5)/boot/vmlinuz-2.6.35.8 root=UUID=50d1a882-d0b1-41fb-8960-792f9427d131 ro vga=0x317
initrd (hd0,5)/boot/initrd.img-2.6.35.8
其中(hd0,5)代表BT4R2是安装在E分区上的。

安装后,自动挂载NTFS分区
察看分区资料 fdisk -l|grep NTFS
备份fstab,cp /etc/fstab /etc/fstab.bak
编辑fstab,vim /etc/fstab
在最后一行加入
+last line-> /dev/<your partition> /media/<mount point> ntfs-3g silent,umask=0,locale=en_US.utf8 0 0
同样确保
vim /etc/modules
+last line-> fuse
            -> lp
重启动下就OK了。需要手动加载的,直接用ntfs-3g命令映射

添加中文显示和中文输入
按如下步骤拷贝微软的字体(msyh.ttf  simhei.ttf  simkai.ttf  simsun.ttc
#mkdir /usr/share/fonts/truetype/msfont
#cp *.ttf /usr/share/fonts/truetype/msfont
#cp *.ttc /usr/share/fonts/truetype/msfont

#fc-cache -fv

#localedef -i zh_CN -f GB18030 zh_CN
#localedef -i zh_CN -f GBK zh_CN
#localedef -i zh_CN -f UTF-8 zh_CN
#localedef -i zh_CN -f GB2312 zh_CN
#localedef -i zh_HK -f UTF-8 zh_CN

#vim /etc/environment
修改或添加
LC_CTYPE=zh_CN.UTF-8
LANG=zh_CN.UTF-8

输入法偶用的是fcitx(fcitx_3.6.0-1_i386.deb),在KDE下工作的很好

 
默认支持了TPLINK/WN322/422G+ 芯片。网上TPLINK/WN322和422G+有两个硬件版本,v1、v2,驱动是不一样的。v2版本用的是ath9k_htc的驱动。对应的内核也要在>=2.6.35.原先的BT4R1是2.6.34内核,所以对v2的支持不好。本本原配的Wireless 2200BG却因为缺了Firmware无法驱动,可以从R1的版本中或网上直接下载IPW2200的firmware,偶下得ipw2200-fw-3.1.tgz,拷贝到了/lib/firmware的目录后,工作正常了。

Nvidia的linux支持比Ati的好许多,在Nvidia主站上下得NVIDIA-Linux-x86-275.43.run的最新驱动,安装让双屏显示,当然还要安装nvidia-settings的包(apt-get install nvidia-settings)。之后就可以在KDE桌面的System找到nvdia-settings的菜单项。

有分区空间预留的不够,需要动态划分。虽然对应的工具很多选择,但GParted(http://gparted.sourceforge.net/)是最有效的。在Ext3的Resize/Migration中,GParted的效率明显快速的多,可能是其本身是Linux族的原因吧。下载ZIP或ISO后,将目录livesyslinux拷贝到C盘。将live改名为live-hd
在menu.lst加入如下条目
title GParted
kernel (hd0,0)/live-hd/vmlinuz boot=live config union=aufs noswap noprompt vga=788 ip=frommedia live
-media-path=/live-hd toram=filesystem.squashfs
initrd (hd0,0)/live-hd/initrd.img

BackTrack5安装问题总结:

BackTrack5的ISO镜像,如果硬盘安装过程中umount -l /cdrom的话,会导致文件复制的异常,所以解决如下:

cd /
sudo mkdir halloocc
sudo umount -l /cdrom
sudo mount /dev/sda1 /halloocc
ls /halloocc | grep iso

sudo modprobe loop
sudo mount -o loop /halloocc/BT5-GNOME-32.iso /cdrom

sudo umount -l /halloocc
ls /cdrom


BIOS和系统时间同步问题的解决

sudo gedit /etc/default/rcS
将其中UTC=yes改成UTC=no


“Could not connect to wicd's D-Bus interface“的解决

root@bt:/# dpkg-reconfigure wicd
root@bt:/# update-rc.d wicd defaults


Browser's flashplayer plugin 的解决

sudo apt-get install nspluginwrappersudo cp ~/Downloads/libflashplayer.so /usr/lib/mozilla/plugins/ sudo nspluginwrapper -i /usr/lib/flashplugin-installer/libflashplayer.so

BT5 (Ubuntu 10.04LTS) sources.list (Be available on 2013.8.25)

deb http://all.repository.backtrack-linux.org revolution main microverse non-free testing
deb http://32.repository.backtrack-linux.org revolution main microverse non-free testing
deb http://source.repository.backtrack-linux.org revolution main microverse non-free testing

(Be available on 2013.9.22)
deb http://ubuntu.uestc.edu.cn/ubuntu/ lucid main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ lucid-backports restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ lucid-proposed main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ lucid-security main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ lucid-updates main restricted universe multiverse

Ubuntu 10.1 , sources.list (Be available on 2013.8.25)

deb http://old-releases.ubuntu.com/ubuntu/ maverick main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick universe
deb http://old-releases.ubuntu.com/ubuntu/ maverick multiverse

deb http://old-releases.ubuntu.com/ubuntu/ maverick-updates main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick-updates universe
deb http://old-releases.ubuntu.com/ubuntu/ maverick-updates multiverse

deb-src http://old-releases.ubuntu.com/ubuntu/ maverick main restricted
deb-src http://old-releases.ubuntu.com/ubuntu/ maverick universe
deb-src http://old-releases.ubuntu.com/ubuntu/ maverick multiverse

deb-src http://old-releases.ubuntu.com/ubuntu/ maverick-updates main restricted
deb-src http://old-releases.ubuntu.com/ubuntu/ maverick-updates universe
deb-src http://old-releases.ubuntu.com/ubuntu/ maverick-updates multiverse

deb http://mirror.lupaworld.com/ubuntu maverick main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu maverick-security main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu maverick-updates main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu maverick-backports main restricted universe multiverse

deb-src http://mirror.lupaworld.com/ubuntu maverick main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu maverick-security main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu maverick-updates main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu maverick-backports main restricted universe multiverse

编辑完 /etc/modprobe.d/blacklist.conf 需执行如下更新
update-initramfs -u

Different cards might manage this differently. Check /sys/class/backlight to find out.
Brightness can then be set (as root) with echo. Obviously you cannot go any higher than your screen's maximum brightness. The values for maximum brightness and brightness in general vary wildly among cards.

# echo 5 > /sys/class/backlight/acpi_video0/brightness

If you see "device not managed" then probably your NIC is indeed not managed from network-manager. Please check the following file:

/etc/NetworkManager/nm-system-settings.conf

[ifupdown]
managed=?

if it's set to "false", switch it to "true", save the file and run a:
"sudo service network-manager restart"

转载于:https://blog.51cto.com/181647568/1790163

W-2 Grub4dos硬盘安装BackTrack相关推荐

  1. 用Grub4Dos硬盘安装Linux

    用Grub4Dos硬盘安装Linux 1.  首先下载Fedora Linux的光盘镜像(iso文件,cd/dvd版的都行,非Live_CD),把它们放在某个Fat(

  2. win8下硬盘安装linux,通用解决方案:使用grub4dos硬盘安装实现win7 win8和Ubuntu linux多系统...

    2012年6月5日|发布者:英里 Mile今天向喜欢介绍Windows和linux系统共存安装方法的朋友介绍.无论如何,请首先备份重要的系统数据并杀死所有不确定因素.迈尔遭受了很多苦难,我希望我不熟悉 ...

  3. grub 硬盘安装linux,Grub4Dos硬盘安装Fedora/CentOS Linux操作系统

    从硬盘安装Linux/GNU操作系统,有不需要光盘驱动器及刻录光盘等便利特点,因而具有实用价值.本文描述了Windows XP环境下使用Grub4Dos进行硬盘安装Fedora/CentOS Linu ...

  4. arch linux 2014 安装教程,Arch Linux 2014.03.01 硬盘安装 Win + Grub4dos + Arch

    Arch Linux 安装有很多方法,但是,Grub4dos 下安装可以具有更多的灵活性,且可以随时调整. 好了,步入正题吧. 第一步,准备 1.首先,还是GRUB4DOS,这个资料Linux公社很多 ...

  5. 《BackTrack 5 Cookbook中文版——渗透测试实用技巧荟萃》—第1章1.2节安装BackTrack到硬盘...

    本节书摘来自异步社区<BackTrack 5 Cookbook中文版--渗透测试实用技巧荟萃>一书中的第1章1.2节安装BackTrack到硬盘,作者[美]Pritchett Willie ...

  6. archlinux 2014.03.01 硬盘安装 win + grub4dos + arch

    archlinux 安装有很多方法 但是,Grub4dos 下安装可以具有更多的灵活性,且可以随时调整. 好了,步入正题吧. 第一步,准备 1.首先,还是GRUB4DOS,这个资料很多,就不说了. 2 ...

  7. BackTrack3 硬盘安装教程

    一 硬盘安装backtrack3 1.我的虚拟机设置:256内存,iso文件位置为F:\bt3b141207.iso,硬盘为SCSI: 5G,网络:桥接 2.启动虚拟机后,进入"BT3 Te ...

  8. 惠普硬盘安装linux,hp台式电脑原本是linux系统,如何安装win7系统

    你是想安装虚拟机还是真正的系统,如果是虚拟机,就比较简单,但效果没有xp和ubuntu双系统爽. 我给你简要说一些安装双系统怎么弄.因为你没有启动盘,就只有硬盘安装了.其实也可以把它刻录成光盘在安装, ...

  9. debian linux 硬盘,[Debian] 硬盘安装Debian,

    [Debian] 硬盘安装Debian, 硬盘安装Debian 环境:Windows XP ,只有一块硬盘. 1 下载Debian 只要下载第一张CD就行了,不需要下载DVD,因为一张DVD的ISO会 ...

最新文章

  1. OriginPro 2021 for win 科学绘图软件最新版 中英文 完美稳定附下载安装使用教程
  2. keras从入门到放弃(十三)卷积神经网络处理手写数字识别
  3. 老笔记整理四:字符串的完美度
  4. Java内存模型常见问题
  5. mysql连接非常慢的觖决办法及其它常见问题解决办法
  6. 怎么修改win11睡眠时间
  7. M1 Mac上运行Windows 11
  8. 项目总结(四)邮件订阅
  9. 不管怎么换相,电机始终反转 。这是怎么回事?
  10. ubuntu翻译软件安装
  11. golang中的reflect(反射)
  12. 去除latex中cctbook里面二级章节标题中前面的双s符号
  13. 在ROS中使用中文语音交互(百度语音baidu_speech)
  14. php获取用户访问的dns,dnsproxy in php
  15. 搭建通过路由器连接到光猫的服务器
  16. 高等数学(总结9-多重积分)
  17. readxl包导入excel报错Error: `path` does not exist解决方法
  18. java拼图游戏(未补全)
  19. IDEA2020安装教程
  20. python自动化测试selenium(四)切换页面、切换窗口

热门文章

  1. no package identifier when getting value for resource number 0x00000005
  2. err = Problems with launching via XPC. XPC error : Connection interrupted (0x00000005)
  3. RIPS-0.55 对securing fuction的检查方法
  4. 途家木鸟美团夏日折扣对垒,门槛低就一定香吗?
  5. 将Windows电脑上的浏览器书签同步至iPad中的Safari
  6. 新闲鱼验机源码+独立后台
  7. Markdown懒办法排版微信公众号文章
  8. 转载 | 2020年腾讯技术工程十大热门文章
  9. JPush+SAE+J2EE实现微信公众平台账号服务
  10. 如何写一个仿真文件——testbench