Backtrack 4 pre-final -Casper on root |
![]() ![]() |
Backtrack 4 pre-final -Casper on root |
Tue, 15 Sep 2009 19:05:36 +0000
Post
#1
|
|
|
Newbie Group: Members Posts: 4 Joined: Wed, 29 Jul 2009 12:11:39 +0000 Member No.: 14,927 |
Hi, I've got my multipass almost where I want it with several OSes, tools, etc. I only have 2 items on the root of the drive, my "grldr" and a directory named "multipass" which holds everything multipass related.
All of this works fine for everything I've added to my multipass except for Backtrack4 pre-final which absolutely refuses to boot without it's "casper" directory on ths drives root. Does anyone know a way to boot bt4-pre-final via grub legacy without "casper" residing on the root of the drive? P.S. I mention "pre-final" specifically because I have read things that suggest this is not an issue for bt4-beta. |
|
|
|
Tue, 15 Sep 2009 21:34:34 +0000
Post
#2
|
|
![]() Hak.5 Pirate ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 437 Joined: Sun, 28 Jun 2009 04:32:18 +0000 From: Sydney, Australia Member No.: 14,583 |
Yes, you need to modify the initrd scripts. Still awaiting a tutorial from H@L0_F00 on that.
-------------------- ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
|
|
|
Tue, 15 Sep 2009 23:51:27 +0000
Post
#3
|
|
|
Newbie Group: Members Posts: 4 Joined: Wed, 29 Jul 2009 12:11:39 +0000 Member No.: 14,927 |
If that's all that is needed I may do it myself and post.
thanks for the info |
|
|
|
Wed, 16 Sep 2009 05:14:19 +0000
Post
#4
|
|
|
Newbie Group: Members Posts: 4 Joined: Wed, 16 Sep 2009 05:09:27 +0000 Member No.: 15,701 |
What tools do you have installed? I can't get rid of BT3 (BackTrack 3), HBCD (Hiren's) root folders.
|
|
|
|
Wed, 16 Sep 2009 21:50:54 +0000
Post
#5
|
|
![]() HAL0_F00 ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 599 Joined: Wed, 08 Oct 2008 09:22:42 +0000 From: Sin city! Member No.: 11,143 |
Apologies for not getting that all done within the time frame i gave myself. I've just been quite busy with school, but I'll get it done. I haven't messed around with BT4 because I wasn't sure how I should write up the Ophcrack tutorial since keeping the flash drive as writable could potentially screw it up bad, as well as diminish the life of your flash drive MUCH faster the normal use. I think I'll post the Ophcrack tutorial on how to change the default directory to find the tables in without making the drive writable. Then I'll get the BT4 one done.
-------------------- |
|
|
|
Sat, 19 Sep 2009 09:30:35 +0000
Post
#6
|
|
|
Newbie Group: Members Posts: 4 Joined: Wed, 29 Jul 2009 12:11:39 +0000 Member No.: 14,927 |
Instead of using BT4 I decided I would just roll my own livecd with some tools from my favouraite distro that contains all the programs I need, which works great and for me is much better than BT4.
Problem is that it also uses squashfs. So, I decided to crack open it's initrd to see what I could hack up. Unfortunely I couldn't figure out what to change to cause it to look elswhere for the squashfs files. Taking a look at your work with the BT4 initrd (when you complete it) might be my only hope for getting my own to work. :/ I guess I'm basically posting to say that I'm back at square one, despite my efforts. |
|
|
|
Sun, 20 Sep 2009 04:02:55 +0000
Post
#7
|
|
![]() HAL0_F00 ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 599 Joined: Wed, 08 Oct 2008 09:22:42 +0000 From: Sin city! Member No.: 11,143 |
I finally wrote up the Ophcrack tutorial. Now I'll mess with Back|Track 4 PreFinal and post that guide
-------------------- |
|
|
|
Mon, 05 Oct 2009 11:53:32 +0000
Post
#8
|
|
|
Newbie Group: Members Posts: 1 Joined: Mon, 05 Oct 2009 10:35:59 +0000 Member No.: 15,915 |
hi guys,
I also was having issues with BT4 Pre Release, When that tutrial comes out i am sure alot of people will be thankful, I know ill be lookingat it. Thankyou for the Ophcrack tutorial, im working with that tonight. I plan on adding UBCD4win to min as well. |
|
|
|
Wed, 07 Oct 2009 16:10:44 +0000
Post
#9
|
|
![]() Hackling ![]() Group: Members Posts: 10 Joined: Wed, 23 Sep 2009 19:25:02 +0000 From: Earth Member No.: 15,777 |
looking foreward to hal0s guide-- does your backtrack boot with persistent changes? some reason mine always boots like a live cd.. (bt4-prefinal)
|
|
|
|
Wed, 07 Oct 2009 19:15:43 +0000
Post
#10
|
|
![]() HAL0_F00 ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 599 Joined: Wed, 08 Oct 2008 09:22:42 +0000 From: Sin city! Member No.: 11,143 |
I've run into a couple problems with Back|Track and it seems I'll have to do a bit more than I did with Ophcrack to get it to change the directory. I also want to make some other changes to it, like remove the idiotic message "remove the disk and press Enter to reboot" (or whatever it says), when you reboot, which means changing the actual squashfs, but I've found guides and I'll just incorporate them into my guide. I'm pretty flooded with homework and stuff for school, while also getting preoccupied with another project I'm trying to come up with, which I think I'll call the SAMGrabber (a very small Linux distro that will automatically and silently save the SAM and SYSTEM files of a Windows machine to your flash drive upon boot :) ), but I'll get back to the Back|Track project though and hopefully I'll be able to complete it before too long.
-------------------- |
|
|
|
Tue, 03 Nov 2009 13:30:57 +0000
Post
#11
|
|
![]() Newbie Group: Members Posts: 3 Joined: Sat, 03 Oct 2009 00:17:07 +0000 From: United States Member No.: 15,879 |
For ALL
Kk ada tutorial cara menggunakan Backtrack 4 pre final?, klau kk sekalian punya tolong berbagi ilmunya ya. Sory kk klau pertanyaanny cupu maklum baru belajar. Thanks |
|
|
|
Fri, 06 Nov 2009 17:09:09 +0000
Post
#12
|
|
|
Newbie Group: Members Posts: 1 Joined: Fri, 06 Nov 2009 16:56:51 +0000 Member No.: 16,303 |
I didn't do this for multipass, but for multi-boot USB i was compiling on my own. This will add an extra boot parameter to casper called "casperpath" that will point to where casper is stored:
1) mount the iso: CODE mount -o loop image_file.iso /path/to/iso/mount 2) make a build directory and extract the initrd.gz into it CODE mkdir build cd build gunzip /path/to/iso/mount/boot/initrd.gz | cpio -i 3) edit scripts/casper CODE towards the beginning add the line: export CASPERPATH="" then in the parse_cmdline() method: parse_cmdline() { for x in $(cat /proc/cmdline); do case $x in casperpath=*) <--- export CASPERPATH="${x#casperpath=}" <--- Add these three lines ;; <--- showmounts|show-cow) export SHOWMOUNTS='Yes';; then find path=$1 in is_casper_path() and matches_uuid() and change to: path="$1/${CASPERPATH}" then find directory=$1 in mount_images_in_directory() and change to: directory="$1/${CASPERPATH}" 4) rezip initrd.gz CODE find . | cpio -o -H newc | gzip -9 > ../initrd.gz 5) replace the initrd.gz file on the USB 6) add casperpath=/path/to/casperdir maybe not as nice as H@LO_FOO, but it worked for me |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: Sat, 21 Nov 2009 15:39:16 +0000 |