Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-26-2015, 06:58 AM
|
#1
|
Member
Registered: Mar 2011
Location: Winston-Salem, NC
Distribution: Fedora, CentOS, Linux Mint
Posts: 269
Rep:
|
Need to Get Log From Fedora Emergency Mode
I've got a fresh install of Fedora on an Inspiron 11 3147. It doesn't even have X installed yet. It's a fresh install, because something caused the previous install to do the same thing.
So, once it booted into Emergence Mode this time, I ran 'journalctl -xb > journal.txt.' I'd like to get the 'journal.txt' file off the machine so I can post it up on the board and get a little help deciphering it. Also, it might be easier to decipher it on my big screen. Eleven inches is constraining.
So, I plug in a USB drive. fdisk -l tells me the drive is /dev/sdb1. I have a directory, /mnt/usb. I type the command, 'mount /dev/sdb1 /mnt/usb.' I receive no errors. It just returns to the command prompt. Then, 'mv ~/journal.txt /mnt/usb,' and, 'umount /dev/sdb1 /mnt/usb.' I receive errors here. If I remember correctly, '/dev/sdb1 /mnt/usb not mounted.'
Move the USB drive to my Win8 machine, and the files not there. Go back to my Fedora box, and the file sits in my /mnt/usb directory.
Please point out where I'm going wrong.
Thanks,
Doug
|
|
|
07-26-2015, 07:26 AM
|
#2
|
Moderator
Registered: May 2001
Posts: 29,415
|
Quote:
Originally Posted by killingthemonkey
So, I plug in a USB drive. fdisk -l tells me the drive is /dev/sdb1. I have a directory, /mnt/usb. I type the command, 'mount /dev/sdb1 /mnt/usb.' I receive no errors. It just returns to the command prompt. Then, 'mv ~/journal.txt /mnt/usb,' and, 'umount /dev/sdb1 /mnt/usb.' I receive errors here. If I remember correctly, '/dev/sdb1 /mnt/usb not mounted.'
|
It's 'umount <mountpoint>;': 'umount /mnt/usb' should do.
Quote:
Originally Posted by killingthemonkey
Move the USB drive to my Win8 machine, and the files not there. Go back to my Fedora box, and the file sits in my /mnt/usb directory.
|
If /dev/sdb1 isn't VFAT or NTFS-formatted The Other OS might not mount or recognize anything?
|
|
|
07-26-2015, 07:47 AM
|
#3
|
Member
Registered: Mar 2011
Location: Winston-Salem, NC
Distribution: Fedora, CentOS, Linux Mint
Posts: 269
Original Poster
Rep:
|
Thanks for the reply, unSpawn.
I've tried both vFat and NTFS. I can't get a file to move in either direction. I've been trying to get the wpa-supplicant tarball onto the Fedora box so I can connect it to the network. I have the drive formatted vFat. I download the tarball on my Win8 machine. Copy it to the drive. Move the drive to the Linux box. Mount it. /mnt/usb is empty.
|
|
|
07-26-2015, 09:27 AM
|
#4
|
Moderator
Registered: May 2001
Posts: 29,415
|
The vendor has the audacity to call this laptop "Designed for the real world" and it shows what world they live in because it doesn't come with a RJ-45 port for Ethernet. Bummer. No idea why windows doesn't "see" the files. If the stick is empty maybe formatting it in Windows before copying files onto it may help? Also before you 'cp ~/journal.txt /mnt/usb;' try 'unix2dos ~/journal.txt;' as the OSes have different ideas about line endings (or just open it in a good free editor like Notepad++).
|
|
|
07-26-2015, 11:49 AM
|
#5
|
Member
Registered: Mar 2011
Location: Winston-Salem, NC
Distribution: Fedora, CentOS, Linux Mint
Posts: 269
Original Poster
Rep:
|
I used diskpart to clean the drive an recreate the partition on it before formatting it and putting the wpa-supplicant file on it on my Win8 machine. After mounting the drive, Fedora doesn't see it.
I'll try the unix2dos tonight.
Thanks,
Doug
Last edited by killingthemonkey; 07-26-2015 at 01:01 PM.
|
|
|
07-26-2015, 10:16 PM
|
#6
|
Member
Registered: Mar 2011
Location: Winston-Salem, NC
Distribution: Fedora, CentOS, Linux Mint
Posts: 269
Original Poster
Rep:
|
OK, I was finally able to get wpa_supplicant to the Fedora box. I'll have it online tomorrow. I'll also be able to get the journal file an post it. So, I'm marking this as solved.
How did I do it, you ask? I installed Cygwin on my Win8 box and treated it like it was Linux: cp /cygdrive/c/Downloads /cygdrive/f
It worked.
|
|
|
07-27-2015, 02:09 AM
|
#7
|
Moderator
Registered: May 2001
Posts: 29,415
|
well done.
|
|
|
All times are GMT -5. The time now is 07:15 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|