LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-14-2014, 09:30 AM   #61
JeremyBoden
Member
 
Registered: Nov 2011
Posts: 939

Rep: Reputation: 174Reputation: 174

When you re-install it wipes out all and any changes you have made.

If you just needed to ask how obtain temporary root authority, why didn't you ask?
Anyway a reinstall should give you a working system.

Error resolution means making one change at a time.
Go back to step 1?
 
Old 09-14-2014, 09:40 AM   #62
beenlord
Member
 
Registered: Jul 2014
Distribution: mint
Posts: 81

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by JeremyBoden View Post
When you re-install it wipes out all and any changes you have made.

If you just needed to ask how obtain temporary root authority, why didn't you ask?
Anyway a reinstall should give you a working system.

Error resolution means making one change at a time.
Go back to step 1?
sorry, thought i'd made a mistake when i first installed because i didn't have any permissions. like i'd been locked out of the entire drive or something, i didn't know there was a way to get round file security measures

but regardless i made the file after the reinstall so if its still not working then i must have messed one of the uuid's up,

lot really sure though, i meen it SHOULD be working now right?

Last edited by beenlord; 09-17-2014 at 01:29 PM.
 
Old 09-17-2014, 02:21 PM   #63
beenlord
Member
 
Registered: Jul 2014
Distribution: mint
Posts: 81

Original Poster
Rep: Reputation: Disabled
oh and about the file, the folder isn't called fstab exactly, its called fstab.d, not really sure if that makes any difference considering its the only folder with fstab in etc
 
Old 09-17-2014, 03:09 PM   #64
JeremyBoden
Member
 
Registered: Nov 2011
Posts: 939

Rep: Reputation: 174Reputation: 174
/etc/fstab.d is empty on my version of Mint.

/etc/fstab is a file which contains my file system table.

If you get unexpected directories it is important to stop and check what is going on.
In this case a read of http://askubuntu.com/questions/16829...in-etc-fstab-d

It should be clear why your edits would not achieve their objective.
 
Old 09-17-2014, 04:45 PM   #65
beenlord
Member
 
Registered: Jul 2014
Distribution: mint
Posts: 81

Original Poster
Rep: Reputation: Disabled
so fstab.d is some sort of recent feature? and /ect/fstab/ is currently the standard?

so apparently theres a way to direct /ect/fstab/ to the file i made and use it that way?

Last edited by beenlord; 09-17-2014 at 04:46 PM.
 
Old 09-17-2014, 04:49 PM   #66
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
cat /etc/fstab
 
Old 09-17-2014, 05:01 PM   #67
beenlord
Member
 
Registered: Jul 2014
Distribution: mint
Posts: 81

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by EDDY1 View Post
cat /etc/fstab
overlayfs / overlayfs rw 0 0
tmpfs /tmp tmpfs nosuid,nodev 0 0
 
Old 09-17-2014, 05:02 PM   #68
JeremyBoden
Member
 
Registered: Nov 2011
Posts: 939

Rep: Reputation: 174Reputation: 174
Forget about the /etc/fstab.d directory - you don't need it and it will make life very difficult for you.
Just leave the empty directory on your system.

Last edited by JeremyBoden; 09-17-2014 at 05:03 PM.
 
Old 09-17-2014, 05:06 PM   #69
beenlord
Member
 
Registered: Jul 2014
Distribution: mint
Posts: 81

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by JeremyBoden View Post
Forget about the /etc/fstab.d directory - you don't need it and it will make life very difficult for you.
Just leave the empty directory on your system.
ok, so what about the normal /etc/fstab/ thing? the one without .d on the end?
 
Old 09-17-2014, 05:09 PM   #70
JeremyBoden
Member
 
Registered: Nov 2011
Posts: 939

Rep: Reputation: 174Reputation: 174
Quote:
Originally Posted by beenlord View Post
overlayfs / overlayfs rw 0 0
tmpfs /tmp tmpfs nosuid,nodev 0 0
Is that taken from your hard disk or from a bootable DVD?
 
Old 09-17-2014, 05:18 PM   #71
beenlord
Member
 
Registered: Jul 2014
Distribution: mint
Posts: 81

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by JeremyBoden View Post
Is that taken from your hard disk or from a bootable DVD?
not really sure :S i'm running on a liveboot usb and i just typed the cat /etc/fstab/ command into a terminal, i meen it could be just searching the live boot but i'm not sure how to tell
 
Old 09-17-2014, 07:37 PM   #72
JeremyBoden
Member
 
Registered: Nov 2011
Posts: 939

Rep: Reputation: 174Reputation: 174
Show the results of
Code:
mount
This will show all mounted file systems.
You should see several /dev/sdax entries - if not, you are just looking at the the USB.

To mount real disk entries you can do the following:-
Code:
sudo mkdir /mnt/mountpoint
sudo mount /dev/sdax /mnt/mountpoint
Where mountpoint is a name of your choosing and sdax=sda3 or sda5 or whatever is the corresponding partition.

In particular do the following for your / partition:-
Code:
sudo mkdir /mnt/system
sudo mount /dev/sda? /mnt/system
cat /mnt/system/etc/fstab
(where /dev/sda? is your partition with / in it).

Send the output of that last 'cat' to the forum.

Last edited by JeremyBoden; 09-17-2014 at 07:41 PM.
 
Old 09-18-2014, 12:08 PM   #73
beenlord
Member
 
Registered: Jul 2014
Distribution: mint
Posts: 81

Original Poster
Rep: Reputation: Disabled
mint@mint ~ $ cat /mnt/system/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/sda1 during installation
UUID=402c340e-eac9-4635-9cab-38f61e405fd4 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=0b50c1b0-2a75-4596-a88c-aaae76d28ac6 none swap sw 0 0

heres the results i got
 
Old 09-18-2014, 02:16 PM   #74
JeremyBoden
Member
 
Registered: Nov 2011
Posts: 939

Rep: Reputation: 174Reputation: 174
Your hard disk /etc/fstab file looks fine - (assuming those uuid's to be correct).

Going back in time, what happens when you boot from hard disk?
Can you give the error messages you get?

Especially whether these are produced by GRUB.
 
Old 09-18-2014, 02:25 PM   #75
beenlord
Member
 
Registered: Jul 2014
Distribution: mint
Posts: 81

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by JeremyBoden View Post
Your hard disk /etc/fstab file looks fine - (assuming those uuid's to be correct).

Going back in time, what happens when you boot from hard disk?
Can you give the error messages you get?

Especially whether these are produced by GRUB.
well it switches between (invalied extent) and (file "normal.mod" not found) each time i reinstall (its not changing each time i boot or anything, it only happens when i reinstall) i've read that this is because the wrong version of grub is installed but running a grub reinstal through terminal doesn't change anything and the error remains causing it to go to grub rescue

Last edited by beenlord; 09-18-2014 at 03:25 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trouble Formatting Hard Drive in Linux Mint (Trying to Install Another OS) JayReed Linux - Newbie 13 01-21-2014 03:12 PM
Maxtor One Touch 4 USB 500GB External HDD Not showing up in Linux Mint Elyssa nonexist Linux - Hardware 6 12-24-2008 08:58 AM
Freecom 500GB External Hard Drive not visible gilbertt Linux - Hardware 3 11-13-2008 09:02 PM
Installing linux to an external hard drive. xxterrorxx Linux - Newbie 1 08-04-2008 01:51 AM
Linux won't recognize new 500GB Seagate second hard drive Grexsnip Linux - Hardware 6 07-05-2007 11:23 PM


All times are GMT -5. The time now is 01:03 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration