On Saturday, 7 March 2020 00:57:37 GMT Colleen Beamer wrote: > On 2020-02-15 8:48 a.m., Alec Ten Harmsel wrote: > > On Fri, Feb 14, 2020, at 15:03, Colleen Beamer wrote: > >> Hi, > >> > >> There seems to be a problem with loading MySQL. During the boot process > >> when it comes to the loading of MySQL it hangs. Is there a way to > >> bypass the loading of MySQL so the computer will complete booting and I > >> can make sure I've gotten everything that I want off of it before I wipe > >> it?> > > Probably the easiest way would be to download the gentoo boot CD or the > > LiveCD of another Linux distro, boot the computer w/ the LiveCD, mount > > the hard drive, and see if there's anything you need that way. > > > > Once you're booted from a LiveCD, you could also chroot into your Gentoo > > install and prevent MySQL starting on boot with OpenRC/systemd if you > > wanted to reboot from Gentoo and look at your files from Gentoo. > > > > Alec > > I've downloaded the Gentoo Live CD and managed to mount the hard drive > on my computer. However, I can't figure out how to get any files that I > want off the computer. I put a blank CD in the drive, but it won't let > me write to it. I've also tried using a USB hard drive that I have, but > it won't let me mount it. I've never actually used a Live CD for > recovery purposes so, I'm at a bit of a loss here. The second > suggestion would be okay, but I don't know how to do that. > > Colleen
You don't mention what commands you tried and what was the output. In any case, to mount a USB drive which is probably more versatile than the limited space of a CD: 1. Create a directory to mount your USB device under: mkdir /mnt/myusb 2. Check dmesg to find out what the USB drive is recognised as, by the kernel. dmesg | tail 3. Mount it (assuming it was recognised as '/dev/sdb1'): mount /dev/sdb1 /mnt/myusb 4. Mount desired directories and copy stuff over, excluding any subdirectories you're not interested in, e.g.: mount /dev/sda3 /mnt/gentoo/home/colleen rsync -av --progress --safe-links --exclude={".cache/*",".gvfs/*",".local/ share/gvfs-metadata/*","/lost+found"} /mnt/gentoo/home/colleen/ /mnt/myusb Check you've copied over successfully what you wanted, then unmount the USB and shutdown the PC (unless you want to wipe its hard drive first). 5. sync && umount /dev/sdb1 An alternative approach would be to set a root user passwd, start sshd, then copy the files over the LAN to another PC using rsync, or scp. If you get any problems please be more specific on what action you took and what was the error printed out. HTH.
signature.asc
Description: This is a digitally signed message part.