Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 10-01-2004, 02:19 AM   #1
Registered: Sep 2004
Location: India
Distribution: Solaris 9, FreeBSD 4.10, Slackware, RedHat, Knoppix,
Posts: 84

Rep: Reputation: 16
Problems with fstab?

I have manually installed KNOPPIX 3.1 from the CD (not using knx-hdinstall)...the problem is - it boots up fine but does not mount any drive except the root (/).

root= /dev/hda7
swap= /dev/hda6
boot = /dev/hda5

here is my /etc/fstab (other than the /proc and /dev/shm entry)

/dev/hda7      /          ext3  defaults  1 1
/dev/hda5      /boot      ext3  defaults  1 0
/dev/hda6      swap       swap  auto      0 0
/dev/hda1      /mnt/hda1  vfat  defaults  1 2
nothing except the /dev/hda7 gets mounted

and this is what happens to /etc/fstab

1)new lines add up in /etc/fstab when the boot process is completed
2)permission changes from 755 to 644

when i manually try to run /etc/fstab...this is what happens

line 1: permission denied
line 2: permission denied
line 4: permission denied

swap, proc and /dev/shm gets loaded up fine but why not the others???


Last edited by SiLiCoN; 10-01-2004 at 02:28 AM.
Old 10-01-2004, 05:01 AM   #2
Senior Member
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,991

Rep: Reputation: 76
How are you trying to run /etc/fstab? It's not an executable file; it holds configuration settings.

You need to add the auto option to the devices you want to automatically mount:
/dev/hda7      /          ext3  defaults  1 1
/dev/hda5      /boot      ext3  defaults,auto  1 0
/dev/hda6      swap       swap  auto      0 0
/dev/hda1      /mnt/hda1  vfat  defaults,auto  1 2
/ will always be mounted at boot time.
Old 10-01-2004, 05:21 AM   #3
Registered: Oct 2003
Location: Zürich
Distribution: Debian
Posts: 537

Rep: Reputation: 39
I've never actually tried it, but thanks for reminding me I wanted to burn Knoppix. 3.6 is on the burner now.

If you don't get a response here, consider asking on a Knoppix forum:



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
Are there problems with my fstab cheetahman SUSE / openSUSE 3 03-26-2005 05:17 AM
problems with fstab Jeebizz Slackware 10 09-21-2004 06:58 AM
same fstab, new problems pe2338 Debian 16 08-30-2003 11:02 AM
fstab problems h8r Linux - General 6 03-09-2003 08:15 PM
Problems in fstab! marksstroud Linux - Newbie 2 10-27-2001 09:33 PM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:48 PM.

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