partition mount problems


Forum: HD Install
Topic: partition mount problems
started by: kropveld

Posted by kropveld on May 18 2005,18:43
I have succesfully installed DSL 1.1 on my old Toshiba Satellite 220 laptop (133 Mhz, 48 Mbyte), after a failed reinstall of W98 (drivers and stuff).

Now I have the following problem with mounting my partitions.
This is the output of 'fdisk -l':

Disk /dev/hda: 1443 MB, 1443004416 bytes
64 heads, 63 sectors/track, 699 cylinders
Units = cylinders of 4032 * 512 = 2064384 bytes

  Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *           1         242      487840+  83  Linux
/dev/hda2             243         304      124992   82  Linux swap
/dev/hda3             305         699      796320   83  Linux


This is my modified /etc/fstab

#/etc/fstab
/dev/hda1       /       ext2    defaults,errors=remount-ro  0  1
/dev/hda3       /data   ext2    defaults 0 2
/dev/hda2       none    swap    defaults 0 0
proc            /proc   proc    defaults 0 0
/dev/fd0        /floppy vfat    defaults,user,noauto,showexec,umask=022  0  0
/dev/cdrom      /cdrom  iso9660 defaults,ro,user,noexec,noauto  0  0
# Added by KNOPPIX
/dev/hda1 /mnt/hda1 ext2 noauto,users,exec 0 0

My 2 problems are that /data does not mount automatically at startup, and KNOPPIX keeps on adding these last 2 lines.

1: How do I get /data to auto mount at boot-up?
2: How do I prevent KNOPPIX adding lines -or why does he want do that?

TIA

Posted by ke4nt1 on May 18 2005,18:51
I'm guessing here that you did a full hard drive install..

add lines like these to your /opt/bootlocal.sh file.

mount /dev/hda1 /mnt/hda1
mount /dev/hda2 /mnt/hda2

Then, they will be automounted at boottime.

73
ke4nt

Posted by kropveld on May 18 2005,20:43
thanks, this worked for me!

Adding the following line in /opt/bootlocal.sh

mount /data

seems sufficient here.

Now I am just wondering why KNOPPIX keeps on adding this extra line.
...I even tried 'chmod 444 /etc/fstab', but even that does not stop him from doing that!

Posted by kropveld on May 19 2005,20:25
I did a fresh dsl-hdinstall, and now everything is running fine. DSL is running *much* better on my old Toshiba 220CS then the old W98! -If I find time I will write a report on what I did.
Posted by mikshaw on May 19 2005,21:58
You could also add "auto" to the mount options in fstab, but i think that would require either a harddrive install or preventing the fstab from being built at bootup.
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.