1

Topic: BackTrack 3 hard-disk instalation

Hi,
After testing the BT3 Live, I like it alot, so I’d like to install it onto the HDD. I’ve read the wiki and read the instalation instructions, but when i use the instalator and set it to install as a Live system, after restart it boots from the HDD. During the statrtup process FatalError pops out. If I try to install it as Real system, it doesn’t want to boot nomatter where LILO is.
Is there another way to install BT on hard-disk?? Thanks

2

Re: BackTrack 3 hard-disk instalation

My way of installing BackTrack 3 Beta on HD: from Live CD (Knopix or other)

Run QT Parted and divide the harddisk into 3 partitions. On hda1 I have Win(use it occacionaly). The hda2 should be about 4GB so you have enough space for updates and so on. And finaly Swap on the last hda3 (0.5 Gb is more than enough.)

Run Live CD BT3 and lets do the instalation. It’s a really easy way I use a long time:

After installing the BackTrack 3 to /mnt/hda2 , will record a new MBR on the /mnt/dev2
I do not use "Restore original MBR" so untick it.

Type this into the shell console:

dd if=/dev/hda2 of=/linux.bin bs=512 count=1

..enter it and in root linux.bin will appear. Copy that image somewhere (USB is the best place) usinig Midnoght Commander and then reboot into Win and copy it into C:

Edit the hidden file boot.ini so the Win loader knkows what else there is to boot into. The line should look lpike this c:linux.bin="Linux"

..it should look like this:

[boot loader]
redirect=usebiossetting
redirectbaudrate=
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)WINDOWS="Microsoft Windows XP Professional" /fastdetect windows
C:linux.bin="Linux"

Restart the mashine and now it has to work!

(I’d like to thank to the whole AirDump team that localized BT into czech language so BT can be used for common tasks also)

3

Re: BackTrack 3 hard-disk instalation

Nice, simple and fast. I’ll definetly try it out.

BT3 BETA doesn’t work installed on my hdd. it stops with error:

triggering udev events:/sbin/udevtrigger --retry-failed

so I have to use LiveCD…

Where can I downlnoad the czech BT version from?

Last edited by marian34 (2023-01-17 12:27:34)

4

Re: BackTrack 3 hard-disk instalation

Sup. I partitioned the disk in advance. Made Swap and a linux partition. And after the instalation it didn’t want to boot. This nicohamone‘s way is good and easy 😉 Thanx

5

Re: BackTrack 3 hard-disk instalation

In the czech wiki BackTrack install article, there is a how-to on fixing a bootsector (making newone). I bet live cd super grub can do it (or whatever it’s called). It checks the disks and then creates a new bootloader that is then written on the right place (and is of course editable).

6

Re: BackTrack 3 hard-disk instalation

So the BT3beta instalation onto the HDD went withou trouble. First I created the partitions, then ran the instalation from the LiveCD installer, modified the path to the partitions, chose "real" and removed the "Restore" tick. Rebooted after installation. LILO came up just with BT, so I edited "lilo.conf" so it matched my setup, ran the "lilo -v" command.

After a reboot everything was the way it was supposed to be.

7

Re: BackTrack 3 hard-disk instalation

Sup. I got WIn, ubuntu and Backtrack 3 on my HD, but I don’t know how to add a bootpath to Backtrack 3 for GRUB 🙁 Could someone help me? THX 😉

8

Re: BackTrack 3 hard-disk instalation

Guys, help me. I have installed BackTrack 3 but if I tick the MBR durring the instalation, LILO loads in and when I don’t tick it, it boots just into Windows

If I do it the first way, it loads, but hangs somewhere on load. If I do it the second way and try to load Linux it doesn’t do anything, the cursor just blinks.

9

Re: BackTrack 3 hard-disk instalation

scorpik wrote:

Sup. I got WIn, ubuntu and Backtrack 3 on my HD, but I don’t know how to add a bootpath to Backtrack 3 for GRUB 🙁 Could someone help me? THX 😉

Just to get rid of the confusion. Know that a bootloader may appear in three variations.

1. If you already have Win on your system. You may keep then MS’s bootloader and modify it so it gives you the choice to boot into othher systems, the way nicohamone described it up there.

2. If you have Win and Ubuntu and your installing BackTrack. The original MS’s bootloader has been replaced by Ubuntu’s Grub and you will not let BackTrack write it over with it’s bootloader. You just edit the Grub in Ubuntu (insert a record about BT being present -> shsown at the end of the comment).

3. If you have any number of operating systems, you may let BackTrack overwrite the formere bootloader with LILO for example. But then you have to edit the lilo.conf to insert the information about the systems you had already installed. Don’t forget to write the LILO in.

Thhis is my edit (inserting BackTrack record into Ubuntu’s GRUB):

title BackTrack
root (hd0,5)
kernel /boot/vmlinuz root=/dev/sda6 ro quiet splash vga=792
initrd /boot/splash.initrd boot

where root (hd0,5) and root=/dev/sda6 will be your own partition number where you have BT installed. Just typing in something is not enough. You have to define the right systems location in partiotion from the configuration’s point of view. The commands for partition detection or information are

cat /proc/partitions
cat /etc/fstab
mount

Disk backup is like this..

dd if=/dev/sda1 of=image_sda1.iso

Last edited by wire (2022-07-05 10:45:42)

10

Re: BackTrack 3 hard-disk instalation

I wanted to try it this way. I’ve entered this but it still doesn’t work :

title BackTrack #the name under which it is shown, that's clear
root (hd0,6) #hd(disk number, partition number) , thats clear also
kernel /boot/vmlinuz root=/dev/hda6 ro quiet splash vga=792 #patch to the core
initrd /boot/splash.initrd boot #I don't know what this is. it's not even in the directory :-(

Could you help me edit the setup so it works? The "real" install is on HD0,6. It wrote the lilo over my grub so I put back Grub, but I don’t know how to set it up to boot BT 🙁 pls help THX 😉

Last edited by scorpik (2023-01-20 21:33:45)

11

Re: BackTrack 3 hard-disk instalation

I see you use diagnostic commands as there is at least 50 of them on the czech wiki 🙂 Do you at least know if you have SATA or PATA disk? If you have SATA then in the GRUB configuration the root (hd0,6) and kernel /boot/vmlinuz root=/dev/sda6 is wrong! The right config is sda7 (not sda6)! If you have PATA disk, then it won’t be sdaX but hdaX. What’s up there is dump of my configuration. If you don’t know how to find out your configuration (in the system or on the CD) you’ve started at the wrong end.

The important thing in lilo.conf to boot BT3 is (my configuration):

boot = /dev/sda7
prompt
timeout = 60
#bitmap=/boot/splash.bmp
change-rules
reset
#vga = 769,771/773/792
vga = 769
image = /boot/vmlinuz
  root = current
  label = BackTrack
  read-only

the lilo synthaxe is a bit different from Grub’s and the BT2 bootloader setup is a bit different from BT3

configuration – BackTrack 3 (same thing) for GRUB

title BackTrack
rootnoverify (hd0,6)
kernel /boot/vmlinuz vga=791 root=/dev/sda7 ro
boot

12

Re: BackTrack 3 hard-disk instalation

I know its off-topic, butu how big is the BT3 instalation?

Admin Edit: Please, open a new thread for a new question.