LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 02-08-2020, 05:46 PM   #61
Rotwang2
Member
 
Registered: Aug 2014
Distribution: Ubuntu, Centos, Fedora
Posts: 210

Original Poster
Rep: Reputation: Disabled

ok hold on I'll boot into the iso on the real computer
 
Old 02-08-2020, 05:50 PM   #62
Rotwang2
Member
 
Registered: Aug 2014
Distribution: Ubuntu, Centos, Fedora
Posts: 210

Original Poster
Rep: Reputation: Disabled
Am I doing this wrong:

Code:
ubuntu@ubuntu:~$ sudo mount /dev/sda3 /mnt
ubuntu@ubuntu:~$ cd /mnt
ubuntu@ubuntu:/mnt$ more /etc/fstab 
overlay / overlay rw 0 0
tmpfs /tmp tmpfs nosuid,nodev 0 0
ubuntu@ubuntu:/mnt$
 
Old 02-08-2020, 05:54 PM   #63
Rotwang2
Member
 
Registered: Aug 2014
Distribution: Ubuntu, Centos, Fedora
Posts: 210

Original Poster
Rep: Reputation: Disabled
If you saw that from the pastebin dump that could be the fstab of grub or whatever loads disks before booting the os right?

I mean the bootloader has to have it's own fstab right? That's before it loads an OS...
 
Old 02-08-2020, 05:54 PM   #64
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,371

Rep: Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593
Quote:
Am I doing this wrong:
yes, compare
Code:
more /etc/fstab
to
Code:
 more /mnt/etc/fstab
you will get the same results regardless of what directory you are in, if you cd to /home you will see the same results

Last edited by colorpurple21859; 02-08-2020 at 05:58 PM.
 
Old 02-08-2020, 05:59 PM   #65
Rotwang2
Member
 
Registered: Aug 2014
Distribution: Ubuntu, Centos, Fedora
Posts: 210

Original Poster
Rep: Reputation: Disabled
oooohhhh because I didn't chroot. aha. Man you're good.

OK I commented it out. I'm assuming I should also move swapfile.bak back to swapfile right? Or well wait it doesn't matter now that it's commented out right?

Code:
ubuntu@ubuntu:/mnt$ more /mnt/etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda3 during installation
UUID=2d3eceb0-bf74-4e81-932d-0cf3e2d6f8e4 /               ext4    errors=remount
-ro 0       1
# /boot/efi was on /dev/sda1 during installation
#UUID=0D5E-2089  /boot/efi       vfat    umask=0077      0       1
# /home was on /dev/sda2 during installation
UUID=12179cca-865d-4412-a13d-58d818df282c /home           ext4    defaults      
  0       2
#/swapfile                                 none            swap    sw            
  0       0
UUID=0D5E-2089	/boot/efi	vfat	defaults	0	1

Last edited by Rotwang2; 02-08-2020 at 06:01 PM.
 
Old 02-08-2020, 06:00 PM   #66
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,371

Rep: Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593
Quote:
I mean the bootloader has to have it's own fstab right?
No, The bootloader calls up the kernel and initrdfs, they do the heavy lifting so to speak

Last edited by colorpurple21859; 02-08-2020 at 06:14 PM.
 
Old 02-08-2020, 06:01 PM   #67
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,371

Rep: Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593
Quote:
swapfile.bak back to swapfile right?
leave it alone for now
 
Old 02-08-2020, 06:04 PM   #68
Rotwang2
Member
 
Registered: Aug 2014
Distribution: Ubuntu, Centos, Fedora
Posts: 210

Original Poster
Rep: Reputation: Disabled
ok here I go
 
Old 02-08-2020, 06:13 PM   #69
Rotwang2
Member
 
Registered: Aug 2014
Distribution: Ubuntu, Centos, Fedora
Posts: 210

Original Poster
Rep: Reputation: Disabled
Same emergency prompt except interestingly this time it didn't throw the complaints about not finding swap.

And not only that but I just checked and it didn't make a new swapfile!

Last edited by Rotwang2; 02-08-2020 at 06:15 PM.
 
Old 02-08-2020, 06:16 PM   #70
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,371

Rep: Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593
what are the errors in the last 10 - 20 lines?
 
Old 02-08-2020, 06:17 PM   #71
Rotwang2
Member
 
Registered: Aug 2014
Distribution: Ubuntu, Centos, Fedora
Posts: 210

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
what are the errors in the last 10 - 20 lines?
of what?
 
Old 02-08-2020, 06:20 PM   #72
Rotwang2
Member
 
Registered: Aug 2014
Distribution: Ubuntu, Centos, Fedora
Posts: 210

Original Poster
Rep: Reputation: Disabled
Hey you know what I just thought of- I can set up an ssh server on the live disk and set up port forwarding and you can come in and see and mess with stuff.
 
Old 02-08-2020, 06:24 PM   #73
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,371

Rep: Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593
before the emergency prompt, you should be able to scroll up with shift-pg up
 
Old 02-08-2020, 06:25 PM   #74
Rotwang2
Member
 
Registered: Aug 2014
Distribution: Ubuntu, Centos, Fedora
Posts: 210

Original Poster
Rep: Reputation: Disabled
Oh the emergency prompt is right at the top of the screen. I'll find
the pic I posted hang on.
 
Old 02-08-2020, 06:27 PM   #75
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,371

Rep: Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593
Quote:
the live disk and set up port forwarding and you can come in and see and mess with stuff.
Most of the items I look at to figure out what is wrong you have already posted.
 
  


Reply



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
How do I reinstall Grub and Efi (or Uefi) on my external HDD after I accidentally deleted the partition. Choklit Linux - Software 4 12-24-2019 03:42 PM
[SOLVED] Ooooy. EFI boot mmx64.efi.efi not found bulgin Linux - Newbie 12 12-20-2018 11:03 AM
[SOLVED] Can't find /boot/efi/EFI/Slackware/vmlinuz kernel configuration ironQiu Slackware 4 02-09-2015 06:21 AM
Infinite Grub Loop: GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB... beeblequix MEPIS 2 11-02-2013 10:56 PM
Can I delete and reinstall Ubuntu 8.04 and keep a home partition? win_to_lin_migrant Ubuntu 4 01-18-2009 12:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 04:36 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