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
Pages: (2) </ [1] 2 >/

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

reply to topic new topic new poll
Topic: Automatically mounting a hard drive partition< Next Oldest | Next Newest >
jhsu Offline





Group: Members
Posts: 175
Joined: Mar. 2007
Posted: May 26 2007,19:19 QUOTE

How do I get DSL to automatically mount a hard drive partition every time I start up?  I'm finding that my hda3 partition does NOT automatically mount when I start up.

--------------
Current cheatcodes:
kernel /boot/linux24 root=/dev/hda1 quiet vga=normal noacpi noapm nodma noscsi frugal home=hda3 opt=hda3 restore=hda3 root=hda3
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: May 26 2007,20:15 QUOTE

For a frugal, the easiest is to add the command in bootlocal.sh
or else edit fstab.
Back to top
Profile PM 
jhsu Offline





Group: Members
Posts: 175
Joined: Mar. 2007
Posted: June 10 2007,14:06 QUOTE

Neither of these things worked.  I went to "/etc/fstab" and changed the "noauto" in the hda3 line to "auto".  It didn't work.  When I rebooted, hda3 was NOT automatically mounted, and the change I made to the fstab file was lost.

I went to "/KNOPPIX/opt/bootlocal.sh", but even with Super-user status, I wasn't allowed to make any changes to the file.

What do I need to do to get hda3 to mount automatically?


--------------
Current cheatcodes:
kernel /boot/linux24 root=/dev/hda1 quiet vga=normal noacpi noapm nodma noscsi frugal home=hda3 opt=hda3 restore=hda3 root=hda3
Back to top
Profile PM 
jhsu Offline





Group: Members
Posts: 175
Joined: Mar. 2007
Posted: June 10 2007,14:11 QUOTE

OK, adding "mount /mnt/hda3" in the bootlocal.sh file in the "/opt" directory.

Why did this work given that the "/opt" directory is really on RAM?  I thought that the contents of RAM are erased every time you reboot.


--------------
Current cheatcodes:
kernel /boot/linux24 root=/dev/hda1 quiet vga=normal noacpi noapm nodma noscsi frugal home=hda3 opt=hda3 restore=hda3 root=hda3
Back to top
Profile PM 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: June 10 2007,14:58 QUOTE

Because bootlocal.sh is included in the backup which is restored on boot. If you added fstab to it, changes to it would also stay..

--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
5 replies since May 26 2007,19:19 < Next Oldest | Next Newest >

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

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: Automatically mounting a hard drive partition

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