LinuxQuestions.org
Review your favorite Linux distribution.
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
  Search this Thread
Old 10-01-2004, 01:19 AM   #1
SiLiCoN
Member
 
Registered: Sep 2004
Location: India
Distribution: Solaris 9, FreeBSD 4.10, Slackware, RedHat, Knoppix,
Posts: 84

Rep: Reputation: 16
Problems with fstab?


hi,
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)

Code:
/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???

thanks

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

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:
Code:
/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, 04:21 AM   #3
michapma
Member
 
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:
http://www.knoppix.net/forum/

Cheers
 
  


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

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

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