LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 07-26-2015, 05:58 AM   #1
killingthemonkey
Member
 
Registered: Mar 2011
Location: Winston-Salem, NC
Distribution: Fedora, CentOS, Linux Mint
Posts: 259

Rep: Reputation: 24
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
 
Old 07-26-2015, 06:26 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by killingthemonkey View Post
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 View Post
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?
 
Old 07-26-2015, 06:47 AM   #3
killingthemonkey
Member
 
Registered: Mar 2011
Location: Winston-Salem, NC
Distribution: Fedora, CentOS, Linux Mint
Posts: 259

Original Poster
Rep: Reputation: 24
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.
 
Old 07-26-2015, 08:27 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
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++).
 
Old 07-26-2015, 10:49 AM   #5
killingthemonkey
Member
 
Registered: Mar 2011
Location: Winston-Salem, NC
Distribution: Fedora, CentOS, Linux Mint
Posts: 259

Original Poster
Rep: Reputation: 24
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 12:01 PM.
 
Old 07-26-2015, 09:16 PM   #6
killingthemonkey
Member
 
Registered: Mar 2011
Location: Winston-Salem, NC
Distribution: Fedora, CentOS, Linux Mint
Posts: 259

Original Poster
Rep: Reputation: 24
Cool

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.
 
Old 07-27-2015, 01:09 AM   #7
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
well done.
 
  


Reply

Tags
emergency, fedora, mount, windows 8



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora 19 boots only in emergency mode after trying to replace Gnome with LXDE Neyzan Fedora 1 10-03-2013 10:54 AM
fail to reboot on fedora 19-emergency mode sryzdn Fedora 2 08-08-2013 03:57 PM
what should be done in emergency mode? and why...? irajjs Mandriva 6 08-07-2012 10:19 AM
Unable to Access to Single User Mode or Emergency Mode Pinglu Linux - Newbie 3 10-17-2011 01:25 PM
Emergency mode can mount the HDD with FS error but not in rescue or single user-mode kayod_jj Linux - Newbie 3 12-01-2010 07:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration