<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Backtrack 4 &#8211; USB/Persistent Changes/Nessus</title>
	<atom:link href="http://www.infosecramblings.com/backtrack/backtrack-4-usbpersistent-changesnessus/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.infosecramblings.com</link>
	<description>ramblings on various information security topics</description>
	<lastBuildDate>Tue, 07 Feb 2012 23:34:55 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: install system backtrack &#171; Team Torment</title>
		<link>http://www.infosecramblings.com/backtrack/backtrack-4-usbpersistent-changesnessus/#comment-57217</link>
		<dc:creator>install system backtrack &#171; Team Torment</dc:creator>
		<pubDate>Thu, 02 Feb 2012 23:34:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.infosecramblings.com/?page_id=682#comment-57217</guid>
		<description>[...]  –   تثبيت البلاك تراك &gt; ثابت  على لـ  With Nessus  )  USB) [...]</description>
		<content:encoded><![CDATA[<p>[...]  –   تثبيت البلاك تراك &gt; ثابت  على لـ  With Nessus  )  USB) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BackTrack 4 R2 USB wersja z zapisywaniem zmian (persistent) &#171; Lost.one.pl</title>
		<link>http://www.infosecramblings.com/backtrack/backtrack-4-usbpersistent-changesnessus/#comment-52776</link>
		<dc:creator>BackTrack 4 R2 USB wersja z zapisywaniem zmian (persistent) &#171; Lost.one.pl</dc:creator>
		<pubDate>Mon, 12 Dec 2011 12:13:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.infosecramblings.com/?page_id=682#comment-52776</guid>
		<description>[...] obraz to nic innego jak to co zostało opisane tutaj: http://www.infosecramblings.com/backtrack/backtrack-4-usbpersistent-changesnessus/ z tą drobną różnica że mój obraz można wrzucić na nośnik USB nie posiadając innego [...]</description>
		<content:encoded><![CDATA[<p>[...] obraz to nic innego jak to co zostało opisane tutaj: <a href="http://www.infosecramblings.com/backtrack/backtrack-4-usbpersistent-changesnessus/" rel="nofollow">http://www.infosecramblings.com/backtrack/backtrack-4-usbpersistent-changesnessus/</a> z tą drobną różnica że mój obraz można wrzucić na nośnik USB nie posiadając innego [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: frankmir</title>
		<link>http://www.infosecramblings.com/backtrack/backtrack-4-usbpersistent-changesnessus/#comment-50321</link>
		<dc:creator>frankmir</dc:creator>
		<pubDate>Fri, 11 Nov 2011 02:56:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.infosecramblings.com/?page_id=682#comment-50321</guid>
		<description>i have a question...about back-track5r1.....
back-track5r1 can&#039;t fond &quot;persistent&quot; or &quot;nopersistent&quot; in syslinux.cfg....
so ,it can&#039;t keep the changes....</description>
		<content:encoded><![CDATA[<p>i have a question...about back-track5r1.....<br />
back-track5r1 can't fond "persistent" or "nopersistent" in syslinux.cfg....<br />
so ,it can't keep the changes....</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: How do I manually install and update plugin in OpenVAS3? - Admins Goodies</title>
		<link>http://www.infosecramblings.com/backtrack/backtrack-4-usbpersistent-changesnessus/#comment-44630</link>
		<dc:creator>How do I manually install and update plugin in OpenVAS3? - Admins Goodies</dc:creator>
		<pubDate>Sun, 21 Aug 2011 06:03:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.infosecramblings.com/?page_id=682#comment-44630</guid>
		<description>[...] Install backtrack4 on a usb stick. From your home boot up on this and update all the tools that you want such as OpenVas and Metasploit. Then bring it back into work and boot off the USB stick to do your vulnerability scan. [...]</description>
		<content:encoded><![CDATA[<p>[...] Install backtrack4 on a usb stick. From your home boot up on this and update all the tools that you want such as OpenVas and Metasploit. Then bring it back into work and boot off the USB stick to do your vulnerability scan. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrea</title>
		<link>http://www.infosecramblings.com/backtrack/backtrack-4-usbpersistent-changesnessus/#comment-43673</link>
		<dc:creator>Andrea</dc:creator>
		<pubDate>Tue, 02 Aug 2011 17:02:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.infosecramblings.com/?page_id=682#comment-43673</guid>
		<description>&quot;As it sits, it does not work with Backtrack 5. If you have a 16GB stick, please try this one&quot; 
AND IT&#039;S true , but why ?  
I do not understand what changes in a 16-gigabyte memory stick
thanks for your time</description>
		<content:encoded><![CDATA[<p>"As it sits, it does not work with Backtrack 5. If you have a 16GB stick, please try this one"<br />
AND IT'S true , but why ?<br />
I do not understand what changes in a 16-gigabyte memory stick<br />
thanks for your time</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: astroboy</title>
		<link>http://www.infosecramblings.com/backtrack/backtrack-4-usbpersistent-changesnessus/#comment-43631</link>
		<dc:creator>astroboy</dc:creator>
		<pubDate>Mon, 01 Aug 2011 19:06:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.infosecramblings.com/?page_id=682#comment-43631</guid>
		<description>hey guys it seems that the link for BackTrack4 R2 is down permanently .It gives nothing found..........Any ideas from where can i download not using torrents?</description>
		<content:encoded><![CDATA[<p>hey guys it seems that the link for BackTrack4 R2 is down permanently .It gives nothing found..........Any ideas from where can i download not using torrents?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Creating a Persistent Partition for BT4 Live</title>
		<link>http://www.infosecramblings.com/backtrack/backtrack-4-usbpersistent-changesnessus/#comment-41816</link>
		<dc:creator>Creating a Persistent Partition for BT4 Live</dc:creator>
		<pubDate>Sun, 26 Jun 2011 15:05:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.infosecramblings.com/?page_id=682#comment-41816</guid>
		<description>[...] Follow the instructions here. [...]</description>
		<content:encoded><![CDATA[<p>[...] Follow the instructions here. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chris</title>
		<link>http://www.infosecramblings.com/backtrack/backtrack-4-usbpersistent-changesnessus/#comment-39374</link>
		<dc:creator>chris</dc:creator>
		<pubDate>Sat, 21 May 2011 17:19:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.infosecramblings.com/?page_id=682#comment-39374</guid>
		<description>I have used this how-to in order to have a BT4+persistent+nessus but without truecrypt : it was perfect
Now, I have tried to reuse this USB key for BT5 by just changing BT4 files with the new BT5 ones and reformatting the &quot;casper-rw&quot; partition in order to avoid &quot;side effects&quot; : of course, as added in the beginning of this topic, my attempt was not a success.
The problem seems to be quite &quot;simple&quot; : the boot breaks during initrd scripts by giving an error on an attempt to mount the first partition on my USB and claiming &quot;already mounted or device busy&quot;.
This was the start of my investigation in order to find out a way to get things working.
I am not sure I have found the &quot;root cause&quot; but I have a solution which works on my case and I wish to share it with the community. 
In fact, the system mount /dev/sdb as /cdrom instead of /dev/sdb1 which is the real vfat partition, then the system refuses to mount sdb1 ,sdb2, sdb3 since the whole drive is busy.
The error seems to be inside the function subdevices() in initrd:/scripts/casper-helpers where the code is supposed to check drive partitions but starts with the whole disk device (for my USB key, the function tries &#039;/dev/sdb /dev/sdb/sdb1 /dev/sdb/sdb2 ...&quot;) unfortunately, the analysis done in this function found that /dev/sdb IS the correct partition instead of /dev/sdb1 !!.
What did I try ? I patched this faulty script as :

subdevices() {
    sysblock=$1
    r=&quot;&quot;
    for dev in &quot;${sysblock}&quot; &quot;${sysblock}&quot;/*; do
        if [ -e &quot;${dev}/dev&quot; ]; then
            r=&quot;${r} ${dev}&quot;
        fi
    done
    echo ${r}
}

by

subdevices() {
    sysblock=$1
    r=&quot;&quot;
    for dev in &quot;${sysblock}&quot;/*; do
        if [ -e &quot;${dev}/dev&quot; ]; then
            r=&quot;${r} ${dev}&quot;
        fi
    done
    if [ -z &quot;$r&quot; ]; then
        if [ -e &quot;${sysblock}/dev&quot; ]; then
            r=&quot;${sysblock}&quot;
        fi
    fi
    echo ${r}
}


Of course then, I played with CPIO to create a new inird (don&#039;t forget the bloody --format=&quot;newc&quot; !!) and modified my boot menu to use my patched version BUT IT WORKS LIKE A CHARM FOR ME : I NOW HAVE THE PERSISTENT USB !!!

If this could help developers trying to find out a way to get things working for this superb security distro and to write a new version for this really clear how-to ....

--chris</description>
		<content:encoded><![CDATA[<p>I have used this how-to in order to have a BT4+persistent+nessus but without truecrypt : it was perfect<br />
Now, I have tried to reuse this USB key for BT5 by just changing BT4 files with the new BT5 ones and reformatting the "casper-rw" partition in order to avoid "side effects" : of course, as added in the beginning of this topic, my attempt was not a success.<br />
The problem seems to be quite "simple" : the boot breaks during initrd scripts by giving an error on an attempt to mount the first partition on my USB and claiming "already mounted or device busy".<br />
This was the start of my investigation in order to find out a way to get things working.<br />
I am not sure I have found the "root cause" but I have a solution which works on my case and I wish to share it with the community.<br />
In fact, the system mount /dev/sdb as /cdrom instead of /dev/sdb1 which is the real vfat partition, then the system refuses to mount sdb1 ,sdb2, sdb3 since the whole drive is busy.<br />
The error seems to be inside the function subdevices() in initrd:/scripts/casper-helpers where the code is supposed to check drive partitions but starts with the whole disk device (for my USB key, the function tries '/dev/sdb /dev/sdb/sdb1 /dev/sdb/sdb2 ...") unfortunately, the analysis done in this function found that /dev/sdb IS the correct partition instead of /dev/sdb1 !!.<br />
What did I try ? I patched this faulty script as :</p>
<p>subdevices() {<br />
    sysblock=$1<br />
    r=""<br />
    for dev in "${sysblock}" "${sysblock}"/*; do<br />
        if [ -e "${dev}/dev" ]; then<br />
            r="${r} ${dev}"<br />
        fi<br />
    done<br />
    echo ${r}<br />
}</p>
<p>by</p>
<p>subdevices() {<br />
    sysblock=$1<br />
    r=""<br />
    for dev in "${sysblock}"/*; do<br />
        if [ -e "${dev}/dev" ]; then<br />
            r="${r} ${dev}"<br />
        fi<br />
    done<br />
    if [ -z "$r" ]; then<br />
        if [ -e "${sysblock}/dev" ]; then<br />
            r="${sysblock}"<br />
        fi<br />
    fi<br />
    echo ${r}<br />
}</p>
<p>Of course then, I played with CPIO to create a new inird (don't forget the bloody --format="newc" !!) and modified my boot menu to use my patched version BUT IT WORKS LIKE A CHARM FOR ME : I NOW HAVE THE PERSISTENT USB !!!</p>
<p>If this could help developers trying to find out a way to get things working for this superb security distro and to write a new version for this really clear how-to ....</p>
<p>--chris</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aalex</title>
		<link>http://www.infosecramblings.com/backtrack/backtrack-4-usbpersistent-changesnessus/#comment-39125</link>
		<dc:creator>aalex</dc:creator>
		<pubDate>Mon, 16 May 2011 12:47:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.infosecramblings.com/?page_id=682#comment-39125</guid>
		<description>Hi guys,

While my BT4 encrypted usb stick works perfectly, i deleted and then emptied the trash for 3 crucial files i had on the desktop, thinking that i had them saved on another drive.

Is it possible to somehow recover them?  Can anyone suggest something that might work to help me recover them?

Thanks very much

aalex</description>
		<content:encoded><![CDATA[<p>Hi guys,</p>
<p>While my BT4 encrypted usb stick works perfectly, i deleted and then emptied the trash for 3 crucial files i had on the desktop, thinking that i had them saved on another drive.</p>
<p>Is it possible to somehow recover them?  Can anyone suggest something that might work to help me recover them?</p>
<p>Thanks very much</p>
<p>aalex</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: michael</title>
		<link>http://www.infosecramblings.com/backtrack/backtrack-4-usbpersistent-changesnessus/#comment-39058</link>
		<dc:creator>michael</dc:creator>
		<pubDate>Sun, 15 May 2011 00:35:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.infosecramblings.com/?page_id=682#comment-39058</guid>
		<description>another bt5 solution is to use the installer provided on the desktop :-)
boot from bt5 dvd
insert usb stick prior to starting x (otherwise you would probably have to unmount it)
then startx
start the installer on the desktop
click, click, click to your liking.
when it comes to disk/partition selection, just select manual or advanced and choose your usb (be carefull not to wipe your hdd)

installing takes a while but be patient.

reboot, eject cd, boot from usb.
worked for me :-)

btw: great guide you got here :-)</description>
		<content:encoded><![CDATA[<p>another bt5 solution is to use the installer provided on the desktop <img src='http://www.infosecramblings.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /><br />
boot from bt5 dvd<br />
insert usb stick prior to starting x (otherwise you would probably have to unmount it)<br />
then startx<br />
start the installer on the desktop<br />
click, click, click to your liking.<br />
when it comes to disk/partition selection, just select manual or advanced and choose your usb (be carefull not to wipe your hdd)</p>
<p>installing takes a while but be patient.</p>
<p>reboot, eject cd, boot from usb.<br />
worked for me <img src='http://www.infosecramblings.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>btw: great guide you got here <img src='http://www.infosecramblings.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

