Results 1 to 8 of 8

Thread: How do I build a Live CD?

  1. #1
    Join Date
    2014-Dec
    Location
    Indianapolis, Indiana
    Posts
    105

    How do I build a Live CD?

    Hi, I have Kali Linux 2 64-bit on VMware and Windows 10 Host. I'm having problems creating a Live CD. I read the other threads on Live CD's but no one has the same error as me. I try:

    apt install curl git live-build cdebootstrap
    git clone git://git.kali.org/live-build-config.git
    cd live-build-config
    ./build.sh --distribution kali-rolling --verbose

    After running, I get an error:

    Reading package lists...
    Building dependency tree...
    Reading state information...
    Build of kali-rolling/default/amd64 live image failed (see build.log for details)

    I'm attaching a link to my build.log file. It's too large to upload to the description. Please look over it and find the problem so I can build my Live Cd. Thanks

    https://mega.nz/#!gY9RjKQQ!uIJkS8I8-...F55adLBesJe9BA

  2. #2
    Join Date
    2017-May
    Posts
    5
    If you look through the log file, you'll see that some packages can't be downloaded.

    Try to fix any mirror problems, and update apt, before starting the build process again

    /Kent

  3. #3
    Join Date
    2014-Dec
    Location
    Indianapolis, Indiana
    Posts
    105
    Hi, How can I fix problems with the mirrors? I changed sources.list to http://http.kali.org/kali Etc... but it still doesn't create the Live CD. I tried changing the DNS to Google's 8.8.8.8 but that didn't work either. Can I set it up to not use mirrors? I ran apt-get update && apt-get upgrade after each.

  4. #4
    Join Date
    2014-Dec
    Location
    Indianapolis, Indiana
    Posts
    105
    Hi, I'm checking in since it's been a week since my last post. Can anyone explain how to fix mirror problems so I can download all the packages for a Live CD? I changed my repository back to:
    deb http://http.kali.org/kali kali-rolling main contrib non-free
    # For source package access, uncomment the following line
    deb-src http://http.kali.org/kali kali-rolling main contrib non-free
    It's still not working and asks me to look at the build.log file. Any ideas? Thanks

  5. #5
    Join Date
    2017-May
    Posts
    5
    Hi, sorry for the delay

    Well, for starters, don't build on any kind of virtual host. Install a real host, and use that as build host.
    As far as I know, there aren't any problems with the mirrors you're using, so the problem have to be somewhere else (eg in your network).

    If you *must* build on a virtual host, at least make sure it got enough resources available to it.

    Have you read the logfile ? What did it say ?

  6. #6
    Join Date
    2014-Dec
    Location
    Indianapolis, Indiana
    Posts
    105
    Hi, thanks for your reply. I attached the log file above but I'm not sure what the problem is. I'm not good with log files. I'm not sure how to Install a real host because I don't want to dual-boot. I currently have it on VMware. It has 4 GB RAM and 2 CPU cores. When I attach the Kali Linux ISO to the virtual drive a "Live CD" pops up on the Kali Desktop. Is there anyway I can burn that? If I have to install host I might not be able to build a Live CD. I'm going to try to boot my PC from the Kali Linux 2018.1 DVD I made. Maybe that will have the Live CD option. Or I can try building from there. I'll report back. Thanks again

  7. #7
    Join Date
    2014-Dec
    Location
    Indianapolis, Indiana
    Posts
    105
    Hi, I got it to work kinda. I booted from a Kali Linux 2018.1 Image I burnt to a DVD and the option to start a Live CD is on there. Right by Install Kali. So I booted to the Live CD and it came up with the Kali Desktop. It's cool to have Kali using all my PC and not a VM. So, that works. Thanks for the help!

  8. #8
    Join Date
    2017-May
    Posts
    5
    Yes, as you've found out. Kali can run in live mode, directly from CD/DVD/USB. It's a way to run it, when you can't install it. If you want to make changes (install software, be able to save in your /root), look into live USB with persistence)
    I don't know fi you're on a desktop or laptop, but one option would be to add a second harddrive, disable the first drive, install Kali on drive two, turn drive one on again, and use the bios boot menu to choose the OS at boot up)
    That way, you're not dual booting as such, since they have their own separate MBR, separate drive.
    So, I guesss you were after just running it, not really to build it. That makes quite a difference

    One of the reasons you'd want to build a custom iso,is for example to add your own tools into it, but I would recommend getting used to it first, before trying to do a build.
    But I can promise you, the day the time comes for your first build, you're in for a lof of fun hours
    And that sweet sensation when it completes it's first boot / install.. that's true magic

    /Kent

Similar Threads

  1. Errors during Live Build
    By cyb3runkn0wn in forum Building Archive
    Replies: 2
    Last Post: 2013-12-25, 10:22
  2. live build help
    By Skye in forum Building Archive
    Replies: 0
    Last Post: 2013-06-28, 13:14
  3. Replies: 1
    Last Post: 2013-05-01, 12:43

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •