16
18-5-2014 Dual-boot Windows 7 and Kali Linux | LinuxBSDos.com http://www.linuxbsdos.com/2013/03/24/dual-boot-windows-7-and-kali-linux/ 1/16 Home About Contact Sitemap Newsly the Forum Subscribe search... Search Came here in search of an answer to a problem, but didn't find it? Visit the forum @ LinuxBSDos.com , pick a category and ask a question. Dualboot Windows 7 and Kali Linux in Kali Linux , Tutorials/Tips / on March 24, 2013 at 6:54 pm / I am reading page: 1 2 This article is a stepbystep guide on how to dualboot Windows 7 and Kali Linux on a single hard disk drive (HDD). Kali Linux is what used to be BackTrack Linux , a distribution designed for penetration testing and security professionals. It ships with about 300 penetration testing and hacking applications installed. While BackTrack is based on Ubuntu , Kali Linux is based on Debian , and uses the complete Debian Installer. As a result, the installation process is different from that of BackTrack, which uses Ubuntu’s graphical installation program. The objective here is to show how to install it on an HDD alongside an existing installation of Windows 7, with the Windows 7 boot manager as the “master” boot loader, so that at the end, when the computer is (re)booted, you will be presented with a boot menu that looks just like the one shown below. Selecting Windows 7 boots the system into Windows 7 and choosing Kali Linux will, by default, take you to the Kali Linux boot menu, which is the same thing as the GRUB 2 menu, the version of GRUB used by Kali Linux. To bypass Kali Linux’s boot menu, simply edit the file named /etc/default/grub and change GRUB_TIMEOUT=5 to GRUB_TIMEOUT=0. Then run the updategrub command.

Dual-boot Windows 7 and Kali Linux _ LinuxBSDos

Embed Size (px)

DESCRIPTION

informatica

Citation preview

  • 18-5-2014 Dual-boot Windows 7 and Kali Linux | LinuxBSDos.com

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

    HomeAboutContactSitemapNewslytheForum

    Subscribesearch... Search

    Camehereinsearchofananswertoaproblem,butdidn'[email protected],pickacategoryandaskaquestion.

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

    ThisarticleisastepbystepguideonhowtodualbootWindows7andKaliLinuxonasingleharddiskdrive (HDD).KaliLinuxiswhatusedtobeBackTrackLinux,adistributiondesignedforpenetrationtestingandsecurityprofessionals.Itshipswithabout300penetrationtestingandhackingapplicationsinstalled.

    WhileBackTrackisbasedonUbuntu,KaliLinuxisbasedonDebian,andusesthecompleteDebianInstaller.Asaresult,theinstallationprocessisdifferentfromthatofBackTrack,whichusesUbuntusgraphicalinstallationprogram.

    TheobjectivehereistoshowhowtoinstallitonanHDDalongsideanexistinginstallationofWindows7,withtheWindows7bootmanager asthemasterbootloader,sothatattheend,whenthecomputeris(re)booted,youwillbepresentedwithabootmenuthatlooksjustliketheoneshownbelow.SelectingWindows7bootsthesystemintoWindows7andchoosingKaliLinuxwill,bydefault,takeyoutotheKaliLinuxbootmenu,whichisthesamethingastheGRUB2menu,theversionofGRUBusedbyKaliLinux.

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

  • 18-5-2014 Dual-boot Windows 7 and Kali Linux | LinuxBSDos.com

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

    Nowthatweknowwhattodo,andwhattheresultwillbe,letsgetitdone.Ifyouhavenotdonesoalready,downloadaninstallationimageofKaliLinuxfromhere.

    1.ShrinktheWindows7CDrive:MytestsystemhasanexistinginstallationofWindows7ona500GBHDD,withjusttwoprimarypartitions.ThisishowtheyappearinWindows7spartitionmanager .ThetaskhereistoshrinktheCdrivetocreateroomforinstallingKaliLinux.Todothat,rightclickontheCdriveandselectShrinkVolume.

    Note:IfyouintendtoinstallWindows7afresh,thisprocesswillbealoteasierifyousetasidethefreespacethatwillbeusedforKaliLinuxduringtheinstallationofWindows7.

    IfyouhaveenoughfreespaceontheCdrive,thesystemwillsuggesta5050splitofthefreespace.Whichisjustgoodenoughforthistestinstallation.Shrink.

  • 18-5-2014 Dual-boot Windows 7 and Kali Linux | LinuxBSDos.com

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

    Aftertheoperationhascompleted,youshouldseethenewlyreclaimedspacenexttotheCdrive.Youmayexitthepartitionmanagerandrebootthecomputer.BesuretohavetheinstallationdiscofKaliLinuxintheopticaldrivebeforerebooting.

    2.InstallKaliLinux:ThebestoptiontoselectonKaliLinuxsbootmenuisGraphicalInstall.Itgivesyouapointandclickinstallationprocess.Installworksjustaswell,buttheinterfaceisncursesbased.

    ForinstallingKaliLinux,thefollowingpartitionswillbecreated:/boot,/,/home,andSwap.Inthatorder.The/homepartitionisoptional.Atthediskpartitioningmethodsstepoftheinstallationprocess,yougetabunchofoptions.Becausenoneoftheguidedoptionswillcreateaseparate/bootpartition,

  • 18-5-2014 Dual-boot Windows 7 and Kali Linux | LinuxBSDos.com

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

    creatingthepartitionswillhavetobedonemanually.SoselectManualandclickContinue.

    HereyoucanseetheexistingWindows7partitions,bothofwhichareprimarypartitions.Thefreespace,reclaimedfromWindows7inthepreviousstepiswhatwillbeusedforcreatingthepartitionsforKaliLinux.Tostartcreatingthepartitions,selectthefreespaceandclickContinue.

    Createanewpartition.Continue.

  • 18-5-2014 Dual-boot Windows 7 and Kali Linux | LinuxBSDos.com

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

    ThisshowsthetotalamountofdiskspaceavailableforKaliLinux.The/bootpartitionwillbecreatedfirst,soyouneedtospecifytheamountofdiskspaceforit.

    Forthistestsystem,Iassigned300MBtoit.Continue.

    Becauseyoustillhavetwoprimarypartitionstouse,youcancreatethebootpartitionasaprimaryorlogicalpartition.Eitheroptionwillwork,buttheinstallerpreferscreatingitasaprimarypartition,ifthebootloaderisgoingtobeinstalledinit.Forthistestinstallation,Ichosetocreateitasalogicalpartition.Continue.

    Beginning.Continue.

  • 18-5-2014 Dual-boot Windows 7 and Kali Linux | LinuxBSDos.com

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

    Thisstepshowsthedetailsofthebootpartitionyoujustcreated.Theonlythingyouneedtochangehereisthemountpoint.Doubleclickingonitwillopenanotherwindowwhereyoucanspecifythecorrectmountpoint.

    Hereswhatitshouldlooklikeafterthemountpointhasbeenspecified.TheotheroptionyoumightwanttochangehereistheBootableflag.

    Thereisagoodreasonitshouldbeenabled,butthesystemwillbootevenifitisdisabled.ItjustdependsonyourBIOSversion.Forthistestinstallation,itwasdisabledandthesystemstillworkedperfectly.

  • 18-5-2014 Dual-boot Windows 7 and Kali Linux | LinuxBSDos.com

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

    Heresthefinaldetailsofthebootpartition.ScrolltoDonesettingupthepartition,thenclickContinue.Notethatthestepsyouusedtocreatethebootpartitionwillberepeatedfortheotherpartitions.

    Backtothemaindiskpartitioningwindow,youcanseethebootpartitionyoujustcreated,plustheremainingfreespace.Select,thefreespace,thenclickContinue.

  • 18-5-2014 Dual-boot Windows 7 and Kali Linux | LinuxBSDos.com

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

    StumbleUpon20

    Tweet

    21 132

    Megusta

    1saves

    Save

    submit

    reddit

    3 TohavearticleslikethisdeliveredautomaticallytoyourFeedReaderorInbox,subscribeviaRSSoremail.

    Iamreadingpage:12

    Tags:kalilinux1.0Relatedarticles:

    DigitalOceanisaVPS/Cloudhostingprovider.Forjust$5permonth,youcangetyourselfaCloud serverwith512MBofRAM,20GBsuperfastSSD,freesnapshots,plusbackupsforaminimalfee.Allviaasimplegraphicalinterface.

    Andbysigningupwiththisreferrallink,youcanhelpsupportthiswebsite.

    Ifyouarereadingthis,youradcouldalsobeoccupyingthisspace.Contactustomakeithappen.

    Ifcommentingonthisarticleisclosed,pleasepostyourcommentsat

    BackTrack5orKaliLinux1.0

    KaliLinux1.0.6released.Cryptsetuphasnuclearoptionintegrated

    AKaliLinuxcryptsetuppatchthatcannukeanencrypteddisk

    DualbootWindows8orWindows7andUbuntu13.10,withUbuntuonabtrfsfilesystem

    HowtoInstallUbuntu13.10onanexternalharddrive

    Pentesting,digitalforensics,andhackingdistributions

    InstallationanddiskpartitioningguideforUbuntu13.10

    Wifislax4.6review

    Related

    WindowXpBootDisk WindowsBootDisk BootDisc AboutLinux

    DualBootSystem EmergencyBootDisk DualbootWindows LinuxSoftware

    UltimateBootDisk XpBootDisk MakeABootDisk LinuxTutorials

  • 18-5-2014 Dual-boot Windows 7 and Kali Linux | LinuxBSDos.com

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

    forum.linuxbsdos.com.

    20Comments

    1. NICKsays:April14,2014at11:58am

    Youneedtosetit/not/boot

    Reply

    2. krishnasays:April10,2014at10:48am

    hiallniceinfoiamrunningwindows7ultimateincdriveandhave2morelogicalpartitionsamd1unallocatedpartition/space.iwanttoinstallin1ofthese2logicalpartitionsnothavingwindows.howmayidothis?shouldihavetoremergepartitionstocandddrivesandrepartiteusindkali?pleasesuggestmewaytoinstallanddualbootitwithwin7sothatiwontgetanyproblemsinmyexistingwindows.thanxinadvanceforhelp

    Reply

    Diviksays:April11,2014at12:39am

    HowmuchmemoryyouwanttoallocatetoKali?

    FormeIhaveoverall500GbHDDsoIallocated170toWindowsand100GbtoKaliandresttomyDatathatcanbeusebothinKaliandWindows.

    PleasepostyourwindowsDiskStoragemaptoUnderstand.

    HowtoOpenDiskStorageMap.RightClickonMyComputer>Manage>onleftpanelDiskManagement.

    PostthatImagetohelpyoubetter.contactmeviamail:[email protected]

    Reply

    3. Juliensays:November9,2013at8:12am

    Doesntworkformeto

    Reply

    DivikRastogisays:November9,2013at9:46am

    WhatProblemyourgetting?

    Reply

    4. Alexsays:September13,2013at9:08pm

    Ifollowedtheinstructionsandinstalledkaliintomylaptopandnowitssaying:

    BOOTMGRismissingPressCtrl+Alt+Doltorestart

    IamunabletobooteitherOS.

    Howdoifixthis?Helpplease!

    Reply

    Diviksays:September14,2013at7:23am

  • 18-5-2014 Dual-boot Windows 7 and Kali Linux | LinuxBSDos.com

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

    Yourwindowsmayhavecorruptwhileinstalling.

    Reply

    5. Diviksays:July20,2013at1:20am

    ThanksbutrightnowImaccessingitbyusingotheraccountusername:rootpassword:theonewhichIcreatedattimeofinstallingit..

    Reply

    6. Troysays:June25,2013at8:55am

    Ididitasspecifiedandmycomputerbootstomissingoperatingsystem!Thatsit!IboottowindowsbootmanagerandigetthisFile:\Boot\BCDStatus:0xc0000225Info:Anerroroccuredwhileattemptingtoreadthebootconfigurationdata.

    Whatisthebestwaytofixthis,Iwasthinkingreinstallkaliagain,butchangeastepor2withthebootoptionsorgrubIdontwanttoscrewitupworsethough.itseemedtobootfinewhenimadethenewpartitionwithwindowsdiskmanagersoiwentaheadtoseeifkaliwouldinstallanditseemedallgooduntilthestepwhereitwassupposedtoboottowindowsforthelaststeps.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.ItisopeningaswellasbutIhaveaprobleminAuthenticationasitisshowingonlyloginforOtherUserandifImtypingmyusernameandpasswordAuth.Faliure

    https://imageshack.com/a/img29/6412/uima.jpg

    Reply

    finidsays:June23,2013at4:49am

    ShouldntyoubelogginginasKY?Isthattheuseryoucreatedduringinstallation?

    Reply

  • 18-5-2014 Dual-boot Windows 7 and Kali Linux | LinuxBSDos.com

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

    Diviksays:June23,2013at5:18am

    IcantclickonthatUSERonlyotheroptionisavailtome.

    Reply

    finidsays:June23,2013at5:48am

    Ifthatistheuseryoucreatedduringinstallationandyoucannotclickonit,thenobviously,somethingsnotright.Ifyousetrootspasswordduringinstallation,trylogginginwithrootastheuseraccount.Ifyoucandothat,youcanthencreatedanotheruserseeifthatworks.

    Reply

    Diviksays:June23,2013at6:23am

    Itriedtousingotheroptionandtryingentermyusernamebutstillauthfailure.

    Isthereanywaydatnottocreatepasswordwhileinstalling

    Diviksays:June25,2013at2:04am

    IreinstalledKalibutsameerrorcanlogin

    Suatsays:July19,2013at6:27pm

    TrytoaddanewuseratloginscreenbyholdingCTRL+ALTF2typethefollowingcommandwithoutquotes:suandgiverootpasswd

    ifyoudon`thaveaccesstorootpasswordthenyoucantrythissudopasswdfortocreateanewoneOnceyougottherootaccessyoucanaddanewuserbytyping:adduserdivikhittheenterandchooseapasswordforthenewlycreateduseraccount.WhenyouaredonewiththatnowyoucanexitorrebootorholddownCTRL+ALTF7togobacktologinscreenandloginwithyournewuseraccountinfo.

    Reply

    8. Shariqsays:June3,2013at11:24pm

    IhaveLenevoG580andIhaveinstallWin764,whenIfollowaboveprocedurebutIhavemorethan4partitionbutitsnotappear.duringprocedure

    Reply

    LeaveaComment

    Name(required)

    Email(willnotbepublished)(required)

    Website

  • 18-5-2014 Dual-boot Windows 7 and Kali Linux | LinuxBSDos.com

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

    AddReply

    Notifymeoffollowupcommentsviaemail

    Ad

    SubscribebyEmail

    Signup toautomaticallyreceivethelatestarticlesandtutorialsinyourInbox.

    Enteryouremail Subscribe

    Reachout&followus

    TwitterFollowusonTwitter

    GooglePlusJoinaprestigiouscircle

    RSSFeedSubscribetoourRSSFeed

    EmailReachouttousviaemail

    ForHackers,pentesters&forensicspros

    BuildyourselfaNASserver

  • 18-5-2014 Dual-boot Windows 7 and Kali Linux | LinuxBSDos.com

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

    PostsfromNewsly

    UkrainesdecliningpopulationMay18,2014AtitanosauristhelargestknownanimalevertowalktheEarthMay18,2014RussiatosuspendAmericanGPSsitesonRussianterritoryMay13,2014USNavyscustomereaderwillhavenoportsandnoInternetconnectivityMay13,2014WhyRussiacandisregardEUssanctionsMay13,2014MetalmunchingplantcanbeusedtocleanuppollutedsoilsMay13,2014AroboticarmthatcancatchobjectsontheflyMay12,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

    ALTLinuxCentOSDebian

  • 18-5-2014 Dual-boot Windows 7 and Kali Linux | LinuxBSDos.com

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

    FedoraForesightgNewSenseKnoppixLinpusMandrivaMintPardusParsixPCLinuxOSSabayonUbuntuVineLinuxZenwalk

    System/NetworkAdmin

    ClonezillaGRMLPartedMagicSystemRescueCd

    Mobile&Cloud

    AndroidBadaLiMoMeeGoSymbian

    BSDDistros

    DesktopBSDFreeBSDMirOSBSDNetBSDOpenBSDPCBSDTrueBSD

    Firewall&Router

    AstaroSecurityGatewayBackTrackClearOSDevilLinuxEndianFirewallCommunityEnGardeSecureLinuxGibraltarIPCopIPFireNuFW.LivepfSenseSmoothWallExpressUntangleNetworkGatewayVyattaXORPZentyalZeroshell

  • 18-5-2014 Dual-boot Windows 7 and Kali Linux | LinuxBSDos.com

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

    ServiceUnavailable

    HTTPError503.Theserviceisunavailable.

    ServiceUnavailable

    HTTPError503.Theserviceisunavailable.

    RecentPosts

    LinuxMint17CinnamonandMATEscreenshotpreviewNexentatargetsa2015IPO

    ROSADesktopFreshR3review

    MozillaexplainswhyitgaveintoproDRMinHTMLforcesMozillacavesintoindustryforcesbehindDRMinHTMLstandard

    ScreenshotsofKDEPlasmaNextbeta1

    LinuxDeepinrenamedtoDeepin.Deepin2014betareleased

  • 18-5-2014 Dual-boot Windows 7 and Kali Linux | LinuxBSDos.com

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

    RostockUniversityFacultytoawardEdwardSnowdenanhonorarydoctorate

    PopularSinceForever

    HowtodualbootUbuntu12.04andWindows7562commentsHowtodualbootLinuxMint13Cinnamon/MATEandWindows7319commentsHowtodualbootWindows7andUbuntu11.04136commentsDualbootWindows8andUbuntu12.10onUEFIhardware134commentsDualbootUbuntu12.04andWindows7onacomputerwith2harddrives130commentsShouldtherootaccountbedisabledinFedora18?101commentsInstallUbuntu11.04onexternalharddisk85commentsPCLinuxOS2010review84commentsDualbootLinuxMint11andWindows782comments

    Menu

    HomeAboutContactSitemapNewslytheForum

    Partners

    HighSchoolDiplomaOnline

    Search

    search... Search

    Categories

    SelectCategory

    Archives

    SelectMonth

    SubscribebyEmail

    SignuptoautomaticallyreceivelinkstolatestpostsandtutorialsinyourInbox.

    Enteryouremail Subscribe

    Reachout&followus

    TwitterFollowusonTwitter

    GooglePlusJoinaprestigiouscircle

    RSSFeedSubscribetoourRSSFeed

    ContactusReachouttousviaemail

    Copyright2014LinuxBSDos.com.AllRightsReserved.