Booting Linux from a Live CD - Help?

Discussion in 'Computer Software and Operating Systems' started by dj505, Nov 3, 2015.

  1. dj505
    OP

    dj505 Inexperienced Romhacker

    Member
    520
    119
    Oct 4, 2014
    Canada
    Most likely at the arcade
    Hi all,

    I've been having a bit of trouble with booting a live Linux CD, and I thought I'd ask here, since I couldn't find anything on Google, and I've gotten the most help here in the past. So, about a year ago, I accidentally wiped my hard drive trying to put a really small Linux partition on a floppy disk but accidentally selected m hard drive instead of the disk to format, but recovered all the data. There was some difficulty after, and a few errors during recovery. But now after trying to boot Linux from a CD, it works, but my laptop gives me errors and runs a disk check after I boot back into Windows. I don't want to risk wrecking my hard drive, but I would like to be able to run Kali on my laptop. Any help is appreciated!

    System info:
    Windows 10 Pro
    8GB RAM
    Intel I7-3630QM
    64 Bit

    Burning Linux OS to:
    4.7GB rewritable DVD+R (this has worked in the past)
     
    Last edited by dj505, Nov 3, 2015
  2. FAST6191

    FAST6191 Techromancer

    pip Reporter
    23,359
    9,149
    Nov 21, 2005
    Are you mounting your laptop hard drive in Kali? Linux NTFS support is pretty good these days but if you fail to unmount it properly it will not set all the relevant flags and windows might detect that as the equivalent of not shut down properly. Kali has, or at least its precursor did have, some interesting tools for manipulating hard drives securely (kind of hard to be stealthy if access times are updated and such like) but I can not imagine they would trigger something so obvious as this.

    Alternatively if Windows 10 is anything like Windows 8 in its approach to hard drives, power and hibernate/sleep modes (and though I have not confirmed this everything I have read says it will be) it will have some interesting things with low power modes and the data it stores. In this case you might consider mounting the hard drive with the secure options to prevent it from detecting something has a mismatch in terms of dates. I do not imagine UEFI itself will get in the way.

    Ultimately it should not trouble your windows install so if you can skip past it then do so and it should not be a problem -- any problems will come if you delete things or edit the system files like it would if you deleted or edited things in Windows itself. Also if you have that kind of grunt then why are you running kali as a standalone operating system? Stick it in a virtual machine and you will have the vast majority of the things it can do available to you.
     
  3. dj505
    OP

    dj505 Inexperienced Romhacker

    Member
    520
    119
    Oct 4, 2014
    Canada
    Most likely at the arcade
    Thanks for the quick reply! I've tried a few other live CD distros (like Puppy Linux) and they saved data to the DVD instead of the hard drive (I assume), and usually if I want to boot back into Windows, I just reboot the computer. I don't see how it would manipulate system files, but Windows still gives me trouble on startup. I wouldn't try mounting my hard drive, because I wouldn't need to access it unless I'm running Windows, but it might be useful to have later on if I want to recover lost data or something, but not unless it's absolutely necessary.

    I think I put my laptop's BIOS in Legacy mode, because UEFI was giving me trouble in general, as in whenever I rebooted it would go straight to the BIOS. Not sure if that was UEFI that was responsible, but Legacy seems to work fine.

    As for the virtual machine, it can take up quite a bit of space, especially considering how full my laptop usually is, and a lot of the time Virtualbox doesn't want to work properly. I'd rather just have something that saves the data to the DVD itself.
     
    Last edited by dj505, Nov 3, 2015
  4. jurassicplayer

    jurassicplayer Completionist Themer

    Member
    4,355
    505
    Mar 7, 2009
    United States
    Pantsuland
    Normally Live-CDs aren't persistent across reboots unless you are running it with like a persistence flag set or installed an actual distro onto the USB (preferably while minimizing the number of writes to the USB).

    I'm imagining right now that maybe the dirty flag has been set on your hard drive and it has nothing really to do with Kali linux and you just haven't cleared it yet, thus it keeps asking you to give it a check whenever you try to boot Windows. If on the other hand, you are clearing the dirty flag (by letting it check your drive or w/e) and it is still coming up every time after using a live CD then it might be as FAST said. I used to try a variety of persistent USB installs and I don't recall ever encountering something like the second situation though.