-
Posts
51 -
Joined
-
Last visited
Posts posted by eassy
-
-
The main idea is to replace the content of the Wubi’s root disk. Continue reading to know how to achieve this.
First, grab Wubi here: http://us.releases.ubuntu.com/12.04/wubi.exe
and the Ubuntu ISO for your architecture:
http://us.releases.ubuntu.com/12.04/ubuntu-12.04-desktop-i386.iso
http://us.releases.ubuntu.com/12.04/ubuntu-12.04-desktop-amd64.iso
Note: You may change the version number and the mirror for your country.
Get also your BT image:
BT5
http://mirror.switch.ch/ftp/pool/1/mirror/backtrack/BT5-GNOME-32.iso
http://mirror.switch.ch/ftp/pool/1/mirror/backtrack/BT5-GNOME-64.iso
http://mirror.switch.ch/ftp/pool/1/mirror/backtrack/BT5-KDE-32.iso
http://mirror.switch.ch/ftp/pool/1/mirror/backtrack/BT5-KDE-64.iso
BT5R1
http://mirror.switch.ch/ftp/pool/1/mirror/backtrack/BT5r1-GNOME-32.iso
http://mirror.switch.ch/ftp/pool/1/mirror/backtrack/BT5r1-GNOME-64.iso
http://mirror.switch.ch/ftp/pool/1/mirror/backtrack/BT5r1-KDE-32.iso
http://mirror.switch.ch/ftp/pool/1/mirror/backtrack/BT5r1-KDE-64.iso
BT5R2
http://mirror.switch.ch/ftp/pool/1/mirror/backtrack/BT5r2-GNOME-32.iso
http://mirror.switch.ch/ftp/pool/1/mirror/backtrack/BT5r2-GNOME-64.iso
http://mirror.switch.ch/ftp/pool/1/mirror/backtrack/BT5r2-KDE-32.iso
http://mirror.switch.ch/ftp/pool/1/mirror/backtrack/BT5r2-KDE-64.iso
BT5R3
http://mirror.switch.ch/ftp/pool/1/mirror/backtrack/BT5r3-GNOME-32.iso
http://mirror.switch.ch/ftp/pool/1/mirror/backtrack/BT5r3-GNOME-64.iso
http://mirror.switch.ch/ftp/pool/1/mirror/backtrack/BT5r3-KDE-32.iso
http://mirror.switch.ch/ftp/pool/1/mirror/backtrack/BT5r3-KDE-64.iso
Once all files are downloaded, you are now ready to go.
First part is pretty easy… just install Ubuntu from Wubi inside Windows.
Once it is fully installed, you will need to make a backup copy of these files:
“/boot/grub/grub.cfg”
“/etc/fstab”
The easiest way to do that (we need to mount the virtual disk anyway), is to access it from outside. In my case, I already have Ubuntu installed beside Windows. You may also use a Ubuntu Live CD (like the Installer, or even any Linux based Live CD). In fact, all you need is Linux Smilie:
To not have to sudo everything (for Ubuntu), we just do it once to become root:
sudo -i
Create your temporary mount points:
cd /mnt
mkdir ./windows (your Windows C drive)
mkdir ./wubi (Wubi's virtual disk)
mkdir ./backtrack (Backtrack CD)
mkdir ./bt (Backtrack root disk image)
Mount your Windows partition containing Wubi (your C partition). Here is an example (where “Windows” is the label of your partition):
mount /dev/disk/by-label/Windows/ /mnt/windows
mount -o loop /mnt/windows/ubuntu/disks/root.disk /mnt/wubi
Note: “/mnt/wubi” is now our reference to access your root partition (/) inside your Wubi’s installation.
Prepare the backup directory:
cd /root
mkdir ./wubi-backup
Now we can backup our two files:
cp /mnt/wubi/boot/grub/grub.cfg /root/wubi-backup/
cp /mnt/wubi/etc/fstab /root/wubi-backup/
Once backup is completed, say goodbye to your Wubi’s installation. You can backup “root.disk” if you want, but it’s not an obligation.
DON’T DO A TYPO ERROR HERE, OR YOU’LL SAY GOODBYE TO YOUR CURRENT SYSTEM TOO… THAT’S NOT THE OBJECTIVE HERE…
rm -r /mnt/wubi/*
Extract BT’s root image from the ISO. If you don’t already have your BT ISO, you can download it by typing:
wget <a href="http://mirror.switch.ch/ftp/pool/1/mirror/backtrack/BT5r3-GNOME-32.iso">http://mirror.switch.ch/ftp/pool/1/mirror/backtrack/BT5r3-GNOME-32.iso</a>
Note: Again, just use the version for your architecture. See above to know the right file to download.
For this step, you have two choices. First is to mount the ISO and copy the file, second is to extract the ISO archive and copy the file. Let’s go for the first one:
mount -o loop ./BT5r3-GNOME-32.iso /mnt/backtrack
mount /mnt/backtrack/casper/filesystem.squashfs /mnt/bt
Summary of your mount points:
mount -o loop ./BT5r3-GNOME-32.iso /mnt/backtrack
mount /dev/disk/by-label/Windows /mnt/windows
mount /mnt/backtrack/casper/filesystem.squashfs /mnt/bt
mount -o loop /mnt/windows/ubuntu/disks/root.disk /mnt/wubi
Time to copy the system files:
cp -fpr /mnt/bt/* /mnt/wubi/
And now, copy the two files that you have made a backup of before:
cp -f /root/wubi-backup/grub.cfg /mnt/wubi/boot/grub/
cp -f /root/wubi-backup/fstab /mnt/wubi/etc/
Adjust the boot config file for your kernel version. Use gedit’s find and replace function to do everything in a single step:
gedit /mnt/wubi/boot/grub/grub.cfg
Note: To know what version your BT ISO have, just get a look in “/mnt/bt/boot/”. It is a good idea to adjust also boot parameters like “ro splash vga=791”
Update Root Account:
chroot /mnt/wubi
pwconv
Create root’s password
passwd
It’s finish! Just unmount your mount points and remove temporary folders:
umount /mnt/bt
umount /mnt/backtrack
umount /mnt/wubi
umount /mnt/windows
rm -r /mnt/bt
rm -r /mnt/backtrack
rm -r /mnt/wubi
rm -r /mnt/windows
exit (to exit root shell)
You can now reboot your system, and choose “Ubuntu” at boot… I assume that you know what to do from there…
Additional tweaks, once BT is up and running
Use Make
If you would like to use make instructions (like is you want to compile your wireless drivers)
prepare-kernel-sources (ensure that you are connected to Internet)
cd /usr/src/linux
cp -fr include/generated/* include/linux/
Personally, I prefer to use the BT’s graphical interface rather than the text version:
Startx automatically
Add these lines to /root/.bashrc
if [ -z “$DISPLAY” ]; then
startx
fi
Enable full auto-complete in bash
Uncomment these lines:
if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
. /etc/bash_completion
fi
Here is a tweak if you NEVER use the graphical interface:
Activate automatically eth0
nano /etc/network/interfaces
And add these lines:
auto eth0
allow-hotplug eth0
iface eth0 inet dhcp (uncomment this line)
Other bash tweaks:
Disable terminal beep
nano /root/.inputrc
add “set bell-style none” line in the new file and save it
Change keyboard layout
apt-get install console-common
and follow on screen instructions
sursa:solutions-ouvertes.com
-
: ai putea sa fii calaul sau macar martor la asa ceva stiind ca ala nu ti-a omrat tie pe nimeni ci altcuiva cu care tu nu ai nici o legatura ? Asta e intrebarea.
nu la toti se aplica.eu unu da(martor). daca ajunge acolo sigur a facut ceva
-
W3Schools Books - JavaScript and Ajax
-
-
Sunt inca activ.
-
)) old time's -
-
-
nu merge pe orice atm ...trebuie sa sti tipu de atm si banca
merge aproape pe orice atm.
-
C
Nu ai niciun motiv pentru care ai postat, nu ai un argument concret prin care sa`ti exprimi parerea. Asta inseamna post mai mult sau mai putin inutil de genul(https://rstcenter.com/forum/50171-prezentare-eassy.rst#post334573). In fine, nu avea rost aceasta explicatie in plus, nu ma incalzeste daca vei intelege sau nu unde bat, am vrut strict sa accentuez, sa`i spunem importanta, filtrarii posturilor inutile. Poti continua postarea off-topicului si "trollingului" acum.
ia-o cum vrei tu. dar eu daca pun o intrebare aici: gen cum a fost aia de mai sus sunt vazut prost, noob sau in altfel nu? nu cred ca e correct.... si ce ar mai fi sa pun alte intrebari? crezi ca daca fac "trolling" il fac aiurea? prefer sa incerc de 10 ori ceva decat sa postez si sa fiu luat la misto sau injurat
P.S. : http://www.youtube.com/watch?v=tE4wxHHM_tQ&feature=endscreen
-
Asta e un bun exemplu de asa nu. Asa ceva ar nu ar fi fost aprobat si implicit nu ar fi fost postat. Nu ajuta cu nimic, nu intereseaza absolut pe nimeni, cat timp nu are un argument concret.
esti glumet de fel? )))) ce argument vrei tu? ce sa intereseze pe cine? si pe cine sa ajute cu ce?
-
. Daca o face la alta categorie primeste ban pentru ca inseamna ca nu a citit regulamentul. Daca pune intrebarile unde trebuie si se gasesc alti "destepti" sa faca misto de el fara sa ii raspunda la intrebare le dam ban "desteptilor".
Pareri?
si ce mi-ar placeeeeeeeeeeeeeee )))
-
Ingeru meu pazitor e drogat pe canapea
Vezi coaie ca n-ai grija de persoana mea
Sa moara mata-n zbor, esti mai mort ca noi
Daca stiam ca te bagi fumam pentru amandoi
-
iPhone: un brand cu mult prea multa reclama. mass-media face tot.
-
gluma e gluma. dar i-a gandeste-te ca metoda asta merge aproape pe orice atm. eu stau si ma gandesc: Oare cati or sa mai incerce?
))))))))))))
-
-
lucrez zi de zi. timp nu am si nici net. pana pe 20sept voi incerca sa tin pasul cu voi cum pot si eu.
-
... Prostia nu e un motiv de mandrie, la fel cum nici inteligenta nu e un motiv de rusine.
+ Respect
-
ne transforma in sclavi, fara voia noastra. romanu nu e prost, e foarte prostit...
-
aleg alti pentru noi. asta e partea proasta....
-
SA NU FACI LABA trebuie sa fie tot pe-acolo, dar totusi o incalci.
eu nu gasesc asa ceva daca u ai gasit.... imi pare rau de tine ca practici asa ceva.
-
SA NU FURI, zice una din cele 10 porunci.
-
))))))))) esti sigur ca nu mai vrei nimic in plus?
-
yo mama so stupid that she got hit by a parked car
Yo mama so stupid, when she threw a grenade at me, I pulled the pin and threw it back.
Yo mama so stupid, she threw a rock at the ground and missed.
yo mama so stupid she sold her car for gas money
yo mama so stupid that she got fired from the M&M factory for throwing away all the W's ))))))
The world without Romania
in Off-topic
Posted