Sei sulla pagina 1di 16

18-5-2014

Dual-boot Windows 7 and Kali Linux | LinuxBSDos.com

Home
About
Contact
Camehereinsearchofananswertoaproblem,butdidn'tfindit?Visittheforum@LinuxBSDos.com,pickacategoryandaskaquestion.
Sitemap
Newsly
theForum

DualbootWindows7andKaliLinux
search...
Search
Subscribe

inKaliLinux,Tutorials/Tips/onMarch24,2013at6:54pm/
Iamreadingpage:12

ThisarticleisastepbystepguideonhowtodualbootWindows7andKaliLinuxonasingleharddiskdrive (HDD).KaliLinuxiswhatusedtobe
BackTrackLinux,adistributiondesignedforpenetrationtestingandsecurityprofessionals.Itshipswithabout300penetrationtestingandhacking
applicationsinstalled.
WhileBackTrackisbasedonUbuntu,KaliLinuxisbasedonDebian,andusesthecompleteDebianInstaller.Asaresult,theinstallationprocessis
differentfromthatofBackTrack,whichusesUbuntusgraphicalinstallationprogram.
TheobjectivehereistoshowhowtoinstallitonanHDDalongsideanexistinginstallationofWindows7,withtheWindows7bootmanager asthe
masterbootloader,sothatattheend,whenthecomputeris(re)booted,youwillbepresentedwithabootmenuthatlooksjustliketheoneshownbelow.
SelectingWindows7bootsthesystemintoWindows7andchoosingKaliLinuxwill,bydefault,takeyoutotheKaliLinuxbootmenu,whichisthesame
thingastheGRUB2menu,theversionofGRUBusedbyKaliLinux.

TobypassKaliLinuxsbootmenu,simplyeditthefilenamed/etc/default/grubandchangeGRUB_TIMEOUT=5toGRUB_TIMEOUT=0.Thenrun
theupdategrubcommand.

http://www.linuxbsdos.com/2013/03/24/dual-boot-windows-7-and-kali-linux/

1/16

18-5-2014

Dual-boot Windows 7 and Kali Linux | LinuxBSDos.com

Nowthatweknowwhattodo,andwhattheresultwillbe,letsgetitdone.Ifyouhavenotdonesoalready,downloadaninstallationimageofKaliLinux
fromhere.
1.ShrinktheWindows7CDrive:MytestsystemhasanexistinginstallationofWindows7ona500GBHDD,withjusttwoprimarypartitions.Thisis
howtheyappearinWindows7spartitionmanager .ThetaskhereistoshrinktheCdrivetocreateroomforinstallingKaliLinux.Todothat,rightclick
ontheCdriveandselectShrinkVolume.
Note:IfyouintendtoinstallWindows7afresh,thisprocesswillbealoteasierifyousetasidethefreespacethatwillbeusedforKaliLinux
duringtheinstallationofWindows7.

IfyouhaveenoughfreespaceontheCdrive,thesystemwillsuggesta5050splitofthefreespace.Whichisjustgoodenoughforthistestinstallation.
Shrink.

http://www.linuxbsdos.com/2013/03/24/dual-boot-windows-7-and-kali-linux/

2/16

18-5-2014

Dual-boot Windows 7 and Kali Linux | LinuxBSDos.com

Aftertheoperationhascompleted,youshouldseethenewlyreclaimedspacenexttotheCdrive.Youmayexitthepartitionmanagerandrebootthe
computer.BesuretohavetheinstallationdiscofKaliLinuxintheopticaldrivebeforerebooting.

2.InstallKaliLinux:ThebestoptiontoselectonKaliLinuxsbootmenuisGraphicalInstall.Itgivesyouapointandclickinstallationprocess.Install
worksjustaswell,buttheinterfaceisncursesbased.

ForinstallingKaliLinux,thefollowingpartitionswillbecreated:/boot,/,/home,andSwap.Inthatorder.The/homepartitionisoptional.Atthedisk
partitioningmethodsstepoftheinstallationprocess,yougetabunchofoptions.Becausenoneoftheguidedoptionswillcreateaseparate/bootpartition,
http://www.linuxbsdos.com/2013/03/24/dual-boot-windows-7-and-kali-linux/

3/16

18-5-2014

Dual-boot Windows 7 and Kali Linux | LinuxBSDos.com

creatingthepartitionswillhavetobedonemanually.SoselectManualandclickContinue.

HereyoucanseetheexistingWindows7partitions,bothofwhichareprimarypartitions.Thefreespace,reclaimedfromWindows7inthepreviousstepis
whatwillbeusedforcreatingthepartitionsforKaliLinux.Tostartcreatingthepartitions,selectthefreespaceandclickContinue.

Createanewpartition.Continue.
http://www.linuxbsdos.com/2013/03/24/dual-boot-windows-7-and-kali-linux/

4/16

18-5-2014

Dual-boot Windows 7 and Kali Linux | LinuxBSDos.com

ThisshowsthetotalamountofdiskspaceavailableforKaliLinux.The/bootpartitionwillbecreatedfirst,soyouneedtospecifytheamountofdiskspace
forit.

Forthistestsystem,Iassigned300MBtoit.Continue.

Becauseyoustillhavetwoprimarypartitionstouse,youcancreatethebootpartitionasaprimaryorlogicalpartition.Eitheroptionwillwork,butthe
installerpreferscreatingitasaprimarypartition,ifthebootloaderisgoingtobeinstalledinit.Forthistestinstallation,Ichosetocreateitasalogical
partition.Continue.

Beginning.Continue.

http://www.linuxbsdos.com/2013/03/24/dual-boot-windows-7-and-kali-linux/

5/16

18-5-2014

Dual-boot Windows 7 and Kali Linux | LinuxBSDos.com

Thisstepshowsthedetailsofthebootpartitionyoujustcreated.Theonlythingyouneedtochangehereisthemountpoint.Doubleclickingonitwill
openanotherwindowwhereyoucanspecifythecorrectmountpoint.

Hereswhatitshouldlooklikeafterthemountpointhasbeenspecified.TheotheroptionyoumightwanttochangehereistheBootableflag.

Thereisagoodreasonitshouldbeenabled,butthesystemwillbootevenifitisdisabled.ItjustdependsonyourBIOSversion.Forthistestinstallation,it
wasdisabledandthesystemstillworkedperfectly.

http://www.linuxbsdos.com/2013/03/24/dual-boot-windows-7-and-kali-linux/

6/16

18-5-2014

Dual-boot Windows 7 and Kali Linux | LinuxBSDos.com

Heresthefinaldetailsofthebootpartition.ScrolltoDonesettingupthepartition,thenclickContinue.Notethatthestepsyouusedtocreatetheboot
partitionwillberepeatedfortheotherpartitions.

Backtothemaindiskpartitioningwindow,youcanseethebootpartitionyoujustcreated,plustheremainingfreespace.Select,thefreespace,thenclick
Continue.

http://www.linuxbsdos.com/2013/03/24/dual-boot-windows-7-and-kali-linux/

7/16

18-5-2014

Dual-boot Windows 7 and Kali Linux | LinuxBSDos.com

StumbleUpon
21
20
Tweet

132
Megusta

saves

Save

submit

TohavearticleslikethisdeliveredautomaticallytoyourFeedReaderorInbox,subscribe
viaRSSoremail.

reddit

Iamreadingpage:12
Tags:kalilinux1.0

Relatedarticles:

BackTrack5orKaliLinux

KaliLinux1.0.6released.

AKaliLinuxcryptsetup

DualbootWindows8or

HowtoInstallUbuntu

Pentesting,digital

1.0

Cryptsetuphasnuclear

patchthatcannukean

Windows7andUbuntu

13.10onanexternalhard

forensics,andhacking

optionintegrated

encrypteddisk

13.10,withUbuntuona

drive

distributions

btrfsfilesystem

Installationanddisk

Wifislax4.6review

partitioningguidefor
Ubuntu13.10

DigitalOceanisaVPS/Cloudhosting
provider.Forjust$5permonth,youcan
getyourselfaCloud serverwith512
MBofRAM,20GBsuperfastSSD,
freesnapshots,plusbackupsfora
minimalfee.Allviaasimplegraphical
interface.
Andbysigningupwiththisreferrallink,
youcanhelpsupportthiswebsite.
Ifyouarereadingthis,youradcouldalso
beoccupyingthisspace.Contactusto
makeithappen.
Related

WindowXpBootDisk

WindowsBootDisk

BootDisc

AboutLinux

DualBootSystem

EmergencyBootDisk

DualbootWindows

LinuxSoftware

UltimateBootDisk

XpBootDisk

MakeABootDisk

LinuxTutorials

Ifcommentingonthisarticleisclosed,pleasepostyourcommentsat
http://www.linuxbsdos.com/2013/03/24/dual-boot-windows-7-and-kali-linux/

8/16

18-5-2014

Dual-boot Windows 7 and Kali Linux | LinuxBSDos.com

forum.linuxbsdos.com.
20Comments

1.

NICKsays:
April14,2014at11:58am
Youneedtosetit/not/boot
Reply

2.

krishnasays:
April10,2014at10:48am
hiallniceinfoiamrunningwindows7ultimateincdriveandhave2morelogicalpartitionsamd1unallocatedpartition/space.iwanttoinstallin1
ofthese2logicalpartitionsnothavingwindows.howmayidothis?
shouldihavetoremergepartitionstocandddrivesandrepartiteusindkali?pleasesuggestmewaytoinstallanddualbootitwithwin7sothati
wontgetanyproblemsinmyexistingwindows.thanxinadvanceforhelp
Reply
Diviksays:
April11,2014at12:39am
HowmuchmemoryyouwanttoallocatetoKali?
FormeIhaveoverall500GbHDDsoIallocated170toWindowsand100GbtoKaliandresttomyDatathatcanbeusebothinKaliand
Windows.
PleasepostyourwindowsDiskStoragemaptoUnderstand.
HowtoOpenDiskStorageMap.
RightClickonMyComputer>Manage>onleftpanelDiskManagement.
PostthatImagetohelpyoubetter.
contactmeviamail:dbz.divik@gmail.com
Reply

3.

Juliensays:
November9,2013at8:12am
Doesntworkformeto
Reply
DivikRastogisays:
November9,2013at9:46am
WhatProblemyourgetting?
Reply

4.

Alexsays:
September13,2013at9:08pm
Ifollowedtheinstructionsandinstalledkaliintomylaptopandnowitssaying:
BOOTMGRismissing
PressCtrl+Alt+Doltorestart
IamunabletobooteitherOS.
Howdoifixthis?Helpplease!
Reply
Diviksays:
September14,2013at7:23am

http://www.linuxbsdos.com/2013/03/24/dual-boot-windows-7-and-kali-linux/

9/16

18-5-2014

Dual-boot Windows 7 and Kali Linux | LinuxBSDos.com

Yourwindowsmayhavecorruptwhileinstalling.
Reply
5.

Diviksays:
July20,2013at1:20am
ThanksbutrightnowImaccessingitbyusingotheraccount
username:root
password:theonewhichIcreatedattimeofinstallingit..
Reply

6.

Troysays:
June25,2013at8:55am
Ididitasspecifiedandmycomputerbootstomissingoperatingsystem!Thatsit!IboottowindowsbootmanagerandigetthisFile:\Boot\BCD
Status:0xc0000225Info:Anerroroccuredwhileattemptingtoreadthebootconfigurationdata.
Whatisthebestwaytofixthis,Iwasthinkingreinstallkaliagain,butchangeastepor2withthebootoptionsorgrubIdontwanttoscrewitup
worsethough.itseemedtobootfinewhenimadethenewpartitionwithwindowsdiskmanagersoiwentaheadtoseeifkaliwouldinstallandit
seemedallgooduntilthestepwhereitwassupposedtoboottowindowsforthelaststeps.lol
Ihopeididnotscrewituptoobad.plshelp!Thx.
Reply
Troysays:
June25,2013at10:19am
Alsoicanstillbootthelivekalidvdandseethedrivewithwindowsonitandallmyfiles
Reply
Diviksays:
June27,2013at9:37am
TrytouseUSBforinstallingandliveBootKali.
IfyouwanttoinstallKalitrytodeleteallfreepartitionusingwindows.
Reply
Diviksays:
June27,2013at9:39am
usewin32diskmanagertomakeliveUSB.
https://launchpad.net/win32imagewriter
Tryit.
Reply

7.

Diviksays:
June23,2013at4:04am
HihaveinstalledKaliasyoutold.
ItisopeningaswellasbutIhaveaprobleminAuthenticationasitisshowingonlyloginforOtherUserandifImtypingmyusernameand
passwordAuth.Faliure
https://imageshack.com/a/img29/6412/uima.jpg
Reply
finidsays:
June23,2013at4:49am
ShouldntyoubelogginginasKY?Isthattheuseryoucreatedduringinstallation?
Reply

http://www.linuxbsdos.com/2013/03/24/dual-boot-windows-7-and-kali-linux/

10/16

18-5-2014

Dual-boot Windows 7 and Kali Linux | LinuxBSDos.com

Diviksays:
June23,2013at5:18am
IcantclickonthatUSERonlyotheroptionisavailtome.
Reply
finidsays:
June23,2013at5:48am
Ifthatistheuseryoucreatedduringinstallationandyoucannotclickonit,thenobviously,somethingsnotright.Ifyousetroots
passwordduringinstallation,trylogginginwithrootastheuseraccount.Ifyoucandothat,youcanthencreatedanotherusersee
ifthatworks.
Reply
Diviksays:
June23,2013at6:23am
Itriedtousingotheroptionandtryingentermyusernamebutstillauthfailure.
Isthereanywaydatnottocreatepasswordwhileinstalling

Diviksays:
June25,2013at2:04am
IreinstalledKalibutsameerrorcanlogin

Suatsays:
July19,2013at6:27pm
TrytoaddanewuseratloginscreenbyholdingCTRL+ALTF2typethefollowingcommandwithoutquotes:suandgiveroot
passwd
ifyoudon`thaveaccesstorootpasswordthenyoucantrythissudopasswdfortocreateanewone
Onceyougottherootaccessyoucanaddanewuserbytyping:adduserdivikhittheenterandchooseapasswordforthe
newlycreateduseraccount.WhenyouaredonewiththatnowyoucanexitorrebootorholddownCTRL+ALTF7togoback
tologinscreenandloginwithyournewuseraccountinfo.
Reply
8.

Shariqsays:
June3,2013at11:24pm
IhaveLenevoG580andIhaveinstallWin764,whenIfollowaboveprocedurebutIhavemorethan4partitionbutitsnotappear.duringprocedure
Reply

LeaveaComment
Name(required)
Email(willnotbepublished)(required)
Website

http://www.linuxbsdos.com/2013/03/24/dual-boot-windows-7-and-kali-linux/

11/16

18-5-2014

Dual-boot Windows 7 and Kali Linux | LinuxBSDos.com

AddReply

Notifymeoffollowupcommentsviaemail

Ad

SubscribebyEmail
Signup toautomaticallyreceivethelatestarticlesandtutorialsinyourInbox.
Enteryouremail

Subscribe

Reachout&followus
TwitterFollowusonTwitter
GooglePlusJoinaprestigiouscircle
RSSFeedSubscribetoourRSSFeed
EmailReachouttousviaemail

ForHackers,pentesters&forensicspros

BuildyourselfaNASserver

http://www.linuxbsdos.com/2013/03/24/dual-boot-windows-7-and-kali-linux/

12/16

18-5-2014

Dual-boot Windows 7 and Kali Linux | LinuxBSDos.com

PostsfromNewsly
UkrainesdecliningpopulationMay18,2014
AtitanosauristhelargestknownanimalevertowalktheEarthMay18,2014
RussiatosuspendAmericanGPSsitesonRussianterritoryMay13,2014
USNavyscustomereaderwillhavenoportsandnoInternetconnectivityMay13,2014
WhyRussiacandisregardEUssanctionsMay13,2014
MetalmunchingplantcanbeusedtocleanuppollutedsoilsMay13,2014
AroboticarmthatcancatchobjectsontheflyMay12,2014

RecentComments
finid:Buttheotherguys(Google,MicrosoftandApple)thathaved
AC:AdoptingDRMisnothinglessthanthedeathofMozilla.Ths
lozz:AfteradecadeofusageMozillahavefinallylostme.First,
JP:Iamparticulartotheclassicapplicationlauncher.Iwoul
ConnieNew:IfbydenyingDRMyoupreventusersgettingsomefunctionali

FriendlyLinks
DHgateComputersElectronics,CellPhones&more

UpgradefromWindows8

Desktop&Server
ALTLinux
CentOS
Debian
http://www.linuxbsdos.com/2013/03/24/dual-boot-windows-7-and-kali-linux/

13/16

18-5-2014

Dual-boot Windows 7 and Kali Linux | LinuxBSDos.com

Fedora
Foresight
gNewSense
Knoppix
Linpus
Mandriva
Mint
Pardus
Parsix
PCLinuxOS
Sabayon
Ubuntu
VineLinux
Zenwalk

System/NetworkAdmin
Clonezilla
GRML
PartedMagic
SystemRescueCd

Mobile&Cloud
Android
Bada
LiMo
MeeGo
Symbian

BSDDistros
DesktopBSD
FreeBSD
MirOSBSD
NetBSD
OpenBSD
PCBSD
TrueBSD

Firewall&Router
AstaroSecurityGateway
BackTrack
ClearOS
DevilLinux
EndianFirewallCommunity
EnGardeSecureLinux
Gibraltar
IPCop
IPFire
NuFW.Live
pfSense
SmoothWallExpress
UntangleNetworkGateway
Vyatta
XORP
Zentyal
Zeroshell

http://www.linuxbsdos.com/2013/03/24/dual-boot-windows-7-and-kali-linux/

14/16

18-5-2014

Dual-boot Windows 7 and Kali Linux | LinuxBSDos.com

Service
Unavailable
HTTPError503.The
serviceisunavailable.

ServiceUnavailable
HTTPError503.Theserviceisunavailable.

RecentPosts

LinuxMint17CinnamonandMATEscreenshotpreview
Nexentatargetsa2015IPO
ROSADesktopFreshR3review
MozillaexplainswhyitgaveintoproDRMinHTMLforces
MozillacavesintoindustryforcesbehindDRMinHTMLstandard
ScreenshotsofKDEPlasmaNextbeta1
LinuxDeepinrenamedtoDeepin.Deepin2014betareleased
http://www.linuxbsdos.com/2013/03/24/dual-boot-windows-7-and-kali-linux/

15/16

18-5-2014

Dual-boot Windows 7 and Kali Linux | LinuxBSDos.com

RostockUniversityFacultytoawardEdwardSnowdenanhonorarydoctorate

PopularSinceForever
HowtodualbootUbuntu12.04andWindows7562comments
HowtodualbootLinuxMint13Cinnamon/MATEandWindows7319comments
HowtodualbootWindows7andUbuntu11.04136comments
DualbootWindows8andUbuntu12.10onUEFIhardware134comments
DualbootUbuntu12.04andWindows7onacomputerwith2harddrives130comments
ShouldtherootaccountbedisabledinFedora18?101comments
InstallUbuntu11.04onexternalharddisk85comments
PCLinuxOS2010review84comments
DualbootLinuxMint11andWindows782comments

Menu
Home
About
Contact
Sitemap
Newsly
theForum

Partners
HighSchoolDiplomaOnline

Search
Search

search...

Categories
SelectCategory

Archives
SelectMonth

SubscribebyEmail
SignuptoautomaticallyreceivelinkstolatestpostsandtutorialsinyourInbox.
Enteryouremail

Subscribe

Reachout&followus
TwitterFollowusonTwitter
GooglePlusJoinaprestigiouscircle
RSSFeedSubscribetoourRSSFeed
ContactusReachouttousviaemail

Copyright2014LinuxBSDos.com.AllRightsReserved.

http://www.linuxbsdos.com/2013/03/24/dual-boot-windows-7-and-kali-linux/

16/16

Potrebbero piacerti anche