Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: partition mount problems, partition mount problems< Next Oldest | Next Newest >
kropveld Offline





Group: Members
Posts: 6
Joined: May 2005
Posted: May 18 2005,18:43 QUOTE

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
Back to top
Profile PM 
ke4nt1 Offline





Group: Members
Posts: 2329
Joined: Oct. 2003
Posted: May 18 2005,18:51 QUOTE

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
Back to top
Profile PM 
kropveld Offline





Group: Members
Posts: 6
Joined: May 2005
Posted: May 18 2005,20:43 QUOTE

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!
Back to top
Profile PM 
kropveld Offline





Group: Members
Posts: 6
Joined: May 2005
Posted: May 19 2005,20:25 QUOTE

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.
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: May 19 2005,21:58 QUOTE

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.

--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
4 replies since May 18 2005,18:43 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: partition mount problems

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code