LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > MEPIS
User Name
Password
MEPIS This forum is for the discussion of MEPIS Linux.

Notices


Reply
  Search this Thread
Old 04-16-2007, 07:54 PM   #1
bluesman2333
Member
 
Registered: Dec 2003
Location: Phoenix, Az.
Distribution: Xubuntu Edgy
Posts: 330

Rep: Reputation: 30
Question Fixed: fstab edits won't stick in SM 6.5?


I am trying to edit fstab so my sdb1 drive (320 GB SATA HDD) mounts at boot. Unfortunately, even after saving and making the permissions read only, the thing returns to the previous state, including permissions, at boot. I thought I saw somewhere that there is an update for fstab to fix one bug or another, but all my packages are current. I couldn't find a fstab package in synaptic anyway.

Any help with this strange thing?

Last edited by bluesman2333; 04-17-2007 at 06:17 PM.
 
Old 04-16-2007, 10:01 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
The /etc/fstab file is simply a text file containing information on how to mount the device. Perhaps you could post the entry with sdb1 in it and information such as the filesystem used.
 
Old 04-16-2007, 10:28 PM   #3
mos
Member
 
Registered: May 2005
Location: Orlando, Fl
Distribution: ArchLinux (Can use any distro though)
Posts: 231

Rep: Reputation: 30
move the entry above the #Dynamic Entries line, all that stuff is rewritten on boot
 
Old 04-17-2007, 06:49 AM   #4
Basel
Member
 
Registered: Feb 2004
Location: United States
Distribution: Ubuntu 10.10
Posts: 319

Rep: Reputation: 30
Automount drives: http://www.mepis.org/docs/en/index.php/Automount_drives
 
Old 04-17-2007, 02:44 PM   #5
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
The drive looks like an internal sata drive rather than an external usb or firewire drive so the OP wants to have it mounted at boot as the /dev/sdaN partitions are.

I've never heard of Dynamic Entries in /etc/fstab. It may be a Mephis specific, unless it is to segregate lines such as "usbfs /proc/bus/usb usbfs noauto 0 0"

Information on the filesystem created on /dev/sdb1 might be helpful:
sudo file -s /dev/sdb1

Reading the man mount page will provide information on what options are available for the filesystem and writing the entries for /etc/fstab.

If Mephis has a partitioner program, it may detect the partitions and create an fstab entry for you if you enter the mount point to use.
 
Old 04-17-2007, 03:21 PM   #6
mos
Member
 
Registered: May 2005
Location: Orlando, Fl
Distribution: ArchLinux (Can use any distro though)
Posts: 231

Rep: Reputation: 30
jschiwal: It is a mepis specific problem, with every new release we get flooded by this question.
 
Old 04-17-2007, 06:16 PM   #7
bluesman2333
Member
 
Registered: Dec 2003
Location: Phoenix, Az.
Distribution: Xubuntu Edgy
Posts: 330

Original Poster
Rep: Reputation: 30
Yea!!! All fixed. I don't remember having to do this in the last SuSE version I used.

Anyway, I went to the link Basel provided and changed the entry per the instructions. Thank you all for your replies. Mos also had the right answer. I searched LQ and Googled for an answer before I posted, so I wonder what search term I should have used to get results?
 
Old 04-17-2007, 06:48 PM   #8
mos
Member
 
Registered: May 2005
Location: Orlando, Fl
Distribution: ArchLinux (Can use any distro though)
Posts: 231

Rep: Reputation: 30
Searching a mepis forum would have been wiser, or even our wiki. Suse didn't have that problem because mepis has a tool that regenerates the fstab on boot
 
  


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
Code edits not showing in C++ Rojon Programming 3 06-02-2006 09:09 AM
usb stick mounts, but fstab entry not right allelopath Linux - Hardware 3 05-08-2006 01:57 PM
what edits fstab & mtab during boot? dwhawk Mandriva 7 05-24-2005 06:09 PM
Script edits KDE-Config? theonebeyond Programming 0 09-22-2004 01:53 AM
Mounting USB-Stick - entry in fstab disappears at reboot??? rot Linux - General 5 08-07-2003 03:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > MEPIS

All times are GMT -5. The time now is 06:58 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
Open Source Consulting | Domain Registration