突发奇想在 2021 年安装 BT3 这种远古 Linux,写一篇记录一下
安装配置如何安装到硬盘由于 BT3 没有安装文件,所以我们要自己手动安装,具体安装命令和顺序如下:
fdisk /dev/sda n # new p # partition 1 # partition number 1 [Enter] +200M # Boot patition n p 2 [Enter] +4096M # swap n p 3 [Enter] # Set your disk size here or just press enter to auto set as rest of your disk [Enter] t 2 82 # swap id number w # save mkfs.ext3 /dev/sda1 mkfs.ext3 /dev/sda3 mkswap /dev/sda2 swapon /dev/sda2 mkdir /mnt/bt3 mount /dev/sda3 /mnt/bt3 mkdir /mnt/bt3/boot mount /dev/sda1 /mnt/bt3/boot cp --preserve -R /{bin,dev,home,pentest,root,usr,etc,lib,opt,sbin,var} /mnt/bt3/ mkdir /mnt/bt3/{mnt,proc,sys,tmp} mount --bind /dev/ /mnt/bt3/dev/ mount -t proc proc /mnt/bt3/proc/ cp /boot/vmlinuz /mnt/bt3/boot/ chroot /mnt/bt3/ /bin/bash splash -s -f /etc/bootsplash/themes/Linux/config/bootsplash-1024x768.cfg >> /boot/splash.initrd nano /etc/lilo.conf # add following to lilo.conf lba32 boot /dev/sda prompt timeout=10 change-rules reset vga=791 initrd = /boot/splash.initrd image = /boot/vmlinuz root = /dev/sda3 label = BackTrack3 # add '#' to read-only lilo -v exit reboot 进入图形界面startx如虚拟机遇到无法开启 X 界面的问题,挂载 VirtualBox 的虚拟机拓展 iso 之后运行 VBoxLinuxAdditions.run 文件安装图形驱动成功加载。