PDA

View Full Version : Install QtParted on real BT3


Saxappeal
05-28-2008, 03:06 PM
Since this is my preferred graphical partitioning program, I didn't rest till I've got it to work! :D

The 1st thing I've done was fix the Slapt-get, following this great Thread:
forums.remote-exploit.org/showthread.php?t=10433&highlight=slapt-get&page=2

Next, added some extra repositories:
nano /etc/slapt-get/slapt-getrc
(adding this lines)
#Repository per Slackware 12.1
SOURCE=hxxp://darkstar.ist.utl.pt/slackware/addon/slacky/slackware-12.1/
SOURCE=hxxp://slacky.uglyplace.org/repository/slackware-12.1/
SOURCE=hxxp://filer-1.filearena.net/pub/slackware/addon/slacky/slackware-12.1/
SOURCE=hxxp://mirrors.xservers.ro/slacky.eu/Slackware-12.1-DEV/

#Repository per Slackware 12.0
SOURCE=hxxp://darkstar.ist.utl.pt/slackware/addon/slacky/slackware-12.0/
SOURCE=hxxp://slacky.uglyplace.org/repository/slackware-12.0/
SOURCE=hxxp://filer-1.filearena.net/pub/slackware/addon/slacky/slackware-12.0/

#Repository per Gnome Slacky Extra 12.0
SOURCE=hxxp://darkstar.ist.utl.pt/slackware/addon/slacky/gnome-slacky-12.0/
SOURCE=hxxp://slacky.uglyplace.org/repository/gnome-slacky-12.0
SOURCE=hxxp://filer-1.filearena.net/pub/slackware/addon/slacky/gnome-slacky-12.0/

#Repository per Slackware 11.0
SOURCE=hxxp://darkstar.ist.utl.pt/slackware/addon/slacky/slackware-11.0/
SOURCE=hxxp://filer-1.filearena.net/pub/slackware/addon/slacky/slackware-11.0/
(replace hxxp for http :))
Ok, next I've done an overall update:
slapt-get --update
And searched for qtparted:
slapt-get --search qtparted
And found one:
qtparted-0.4.4-i486-1asz
So I've installed it:
slapt-get -i qtparted-0.4.4-i486-1asz
Everything went just great except when I've tried to run it!! Then it gave me this sh*tty output:
qtparted: error while loading shared libraries: libparted-1.6.so.13: cannot open shared object file: No such file or directory
So I've had to somehow install this missing lib...
After some searching I've found this RPM:

hxxp://rpm.pbone.net/index.php3/stat/4/idpl/2502313/com/libparted-1.6.24-alt1.i586.rpm.html
(again, replace the hxxp for http)

that provides the following libs:
libparted-1.6.so.13
libparted
So, now I only needed to convert it to .lzm or to .tgz... but how?

I've downloaded the rpm2tgz program! :) From this location:
fxp://81.0.235.161/SLAX-5-modules/develop/Rpm2Lzm_pfix_0_1.mo
(replace fxp for ftp :p)

Next I've installed the program:
mo2lzm Rpm2Lzm_pfix_0_1.mo Rpm2Lzm_pfix_0_1.lzm
lzm2dir Rpm2Lzm_pfix_0_1.lzm /
And finally converted and installed the missing lib:
rpm2tgz libparted-1.6.24-alt1.i586.rpm
installpkg libparted-1.6.24-alt1.i586.tgz

Now the qtparted runs just great! :cool:

graabeklis
05-29-2008, 09:00 AM
well i have some problems here.
so what i do:
1: download.airdump.net/data/backtrack/fix/bt3-fix.tar.gz
2:
installpkg gpgme-1.1.4-i486-1.tgz
installpkg gnupg-1.4.7-i486-1.tgz
installpkg libassuan-1.0.1-i486-1.tgz
installpkg slapt-get-0.9.12c-i386-1.tgz

3:
slapt-get --update

4: i downloaded qtparted
linuxpackages.net/pkg_details.php?id=5948

5:
installpkg qtparted-0.4.4-i486-1asz.tgz

6:
slapt-get --search qtparted
got this:
qtparted-0.4.4-i486-1asz [inst=yes]: QTParted (partitoning tool)

7:
slapt-get -i qtparted-0.4.4-i486-1asz
got this:
Reading Package Lists... Done
No such package: qtparted-0.4.4-i486-1asz
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

that all... but i split on it and tun qtparted and it worked.
only error when i run it is:
bt ~ # qtparted
Warning: Unable to open /dev/hdc read-write (Read-only file system). /dev/hdc has been opened read-only.

how to fix it ?

greyspace
05-29-2008, 09:46 AM
Great Information:

I wish I would have read this before I made this video tutorial on burning a
QTParted DVD while in a windows (R) environment.

http://forums.remote-exploit.org/showthread.php?t=14115

Could someone please tell us why they took the QTParted module out of the
BT3 Beta ISO; when they knew the wiki used QTParted to install this
great product?

Saxappeal
05-29-2008, 06:47 PM
So.. Let me see if I understand your problem:
You've installed qtparted from a file you've downloaded:

4: i downloaded qtparted
linuxpackages.net/pkg_details.php?id=5948

5:
installpkg qtparted-0.4.4-i486-1asz.tgz

Ok.
Next, you've searched it with the slapt-get and tried to install it. Why, if it was already installed?
6:
slapt-get --search qtparted
got this:
qtparted-0.4.4-i486-1asz [inst=yes]: QTParted (partitoning tool)

7:
slapt-get -i qtparted-0.4.4-i486-1asz
got this:
Reading Package Lists... Done
No such package: qtparted-0.4.4-i486-1asz
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Then you were able to run it without any error related to missing libs! :) Or you are very lucky or that package you've installed is better than mine!! :P
that all... but i split on it and tun qtparted and it worked.
only error when i run it is:
bt ~ # qtparted
Warning: Unable to open /dev/hdc read-write (Read-only file system). /dev/hdc has been opened read-only.

how to fix it ?
The "error" you've got is regarding a read-only device, like a cd-rom drive, that doesn't allow you to write on it! So it's not quite an error.. it's more sort of a Warning! ;)
So I don't really see what to fix.. :)

Saxappeal
05-29-2008, 07:01 PM
Great Information:

I wish I would have read this before I made this video tutorial on burning a
QTParted DVD while in a windows (R) environment.

forums.remote-exploit.org/showthread.php?t=14115

Could someone please tell us why they took the QTParted module out of the
BT3 Beta ISO; when they knew the wiki used QTParted to install this
great product?

LOL

Well, I have to remember you that this is only a beta! In the final version the qtparted will come back! In this point is normal that some apps are missing or not running very well... That's why we all should help each other whenever is possible :)

Anyway, that's always a handy CD (DVD??) to have by hand!.. :) So your work will never be in vain! :p