LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 02-05-2005, 03:52 PM   #1
yotamk
Member
 
Registered: Nov 2004
Location: ~
Distribution: Debian
Posts: 145

Rep: Reputation: 15
Mepis won't let fstab change


Have installed Mepis on friends machine.

1) It's a dual boot with WinXP, and so in fstab are entries for window$ C and D partitions which are mounted to /mnt/hda1 and /mnt/hda5.
Tried changing them to be mounted to /mnt/win_c and mnt/win_d - created directories and changed fstab accordingly.
But on reboot the fstab file is rewritten and it's hda1 and hda5 again.

How can I keep my fstab file?

2) What will happen if one inserts a regular Debian source at the top of Mepis sources.list file? Will it break the system? will it become a regular debian?

Thanks.
 
Old 02-06-2005, 07:30 AM   #2
wrat
Member
 
Registered: May 2004
Posts: 245

Rep: Reputation: 30
Quote:
2) What will happen if one inserts a regular Debian source at the top of Mepis sources.list file? Will it break the system? will it become a regular debian?
it could as mepis isnt just debian and draws upon different resources
 
Old 02-06-2005, 02:48 PM   #3
basileus
Member
 
Registered: Nov 2004
Location: Turku, Finland
Distribution: Debian, Ubuntu, Gentoo
Posts: 388

Rep: Reputation: 30
About the fstab... two possibilities:

1. Mepis has another file which it copies over /etc/fstab at boot
2. Mepis uses supermount, which creates the fstab at boot

I fought long (and lost) with Mandrake and supermount. Couldn't make any changes to fstab without the Mandrake Control Center.
 
Old 07-29-2005, 07:47 PM   #4
librano
Member
 
Registered: Jul 2004
Location: Here, there and everywhere.
Distribution: Arch+KDE, Linux Mint Fluxbox CE
Posts: 163

Rep: Reputation: 30
hi there..

i am also facing the same problem... i am using Mepis 3.3.1-1... i noticed that on booting there's an 'updating fstab' script or something.... there has to be a way to turn that off... dunno how... maybe somebody out there does?? maybe find the script and comment it out?? or if not that ... at least automount...

hope someone has a solution..

take care
 
Old 07-30-2005, 06:28 AM   #5
yotamk
Member
 
Registered: Nov 2004
Location: ~
Distribution: Debian
Posts: 145

Original Poster
Rep: Reputation: 15
This was some time ago...

Read carefully the remarks (with hash sign) in fstab. Beyond a certain point in that file, anything you add gets overwritten - so add your entries before that point.

Hope I remembered it right...
 
Old 07-30-2005, 12:04 PM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 10,447

Rep: Reputation: 622Reputation: 622Reputation: 622Reputation: 622Reputation: 622Reputation: 622
Seems yotamk is correct - I've seen similar posts elsewhere. Seems they have a static and dynamic section.
Put your changes in the static section.

Is this a Debian thing ???. I noticed Ubuntu have a similar structure in menu.lst for grub.
Put your changes in the correct place or they get lost/ignored.

Not something I expected.
 
Old 07-30-2005, 02:22 PM   #7
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,776

Rep: Reputation: 47
Huh?

/boot/grub/menu.lst and /etc/fstab are totally different files.

Ubuntu's fstab doesn't have static and dynamic sections, and the menu.lst just has a lot of stuff commented out with ##
 
Old 07-30-2005, 09:14 PM   #8
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian wheezy/sid, PC-BSD
Posts: 3,000
Blog Entries: 4

Rep: Reputation: 88
Quote:
Is this a Debian thing ???. I noticed Ubuntu have a similar structure in menu.lst for grub.
Put your changes in the correct place or they get lost/ignored.
This must be a Mepis thing.

Debian certainly doesn't overwrite fstab on startup. (or any other config files I've noticed, for that matter)
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
fstab problem: mount: can't find dvd in /etc/fstab or /etc/mtab Nikon01 Slackware 5 11-17-2006 06:15 AM
Pro Mepis vs. Simply Mepis, What is the difference? pbibaud MEPIS 1 05-25-2005 08:36 PM
Mepis and Simply Mepis jaakkop Linux - Distributions 7 02-13-2005 03:49 AM
(version 5.1 chapter 08 fstab) vs (man fstab) rgiggs Linux From Scratch 2 06-03-2004 05:55 PM
How do I change "fstab" to Write/Edit Mode? sharathkv Linux - Newbie 4 07-29-2003 07:52 AM


All times are GMT -5. The time now is 04:57 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration