LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Problems with fstab? (https://www.linuxquestions.org/questions/debian-26/problems-with-fstab-237386/)

SiLiCoN 10-01-2004 01:19 AM

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

rjlee 10-01-2004 04:01 AM

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.

michapma 10-01-2004 04:21 AM

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


All times are GMT -5. The time now is 01:45 AM.