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

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

reply to topic new topic new poll
Topic: Mounting /dev/hdaX at boot time..., Attempt to move /home and /opt< Next Oldest | Next Newest >
Wraithan Offline





Group: Members
Posts: 14
Joined: July 2006
Posted: July 30 2006,17:12 QUOTE

I will start this with saying I am not running a frugal install due to the limited ram and what I want to do with this computer.

I am attempting to mount /dev/hda2 to /mnt/hda2 and /dev/hda3 to /mnt/hda3 using my /etc/fstab.

Quote
/etc/fstab

/dev/hda1  /         ext2 defaults,errors=remount-ro     0 1
/dev/hda2  /mnt/hda2 ext2 defaults                       0 1
/dev/hda3  /mnt/hda3 ext2 defaults                       0 0
/dev/hda4  none      swap defaults                       0 0
/dev/cdrom /cdrom    auto defaults,ro,user,noexec,noauto 0 0
proc       /proc     proc defaults                       0 0


Quote
/boot/grub/menu.lst (just the line I am using to boot)

title DSL
kernal /boot/linux24 root=/dev/hda1 quiet vga=normal nofstab noacpi noapm nodma noscsi


This should mount the 2 drives at boot time... but it doesn't.

Any thoughts/suggestions?
Back to top
Profile PM 
Wraithan Offline





Group: Members
Posts: 14
Joined: July 2006
Posted: July 30 2006,19:07 QUOTE

I am giving up on DSL, I have been hammering away at this problem for 2 days now and I have had very little luck finding any help on it. I am going to give Slackware a go.

Thanks for what help I got...
~Wraith
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: July 30 2006,22:47 QUOTE

That was closer to two hours than two days.

Try adding mount commands to /opt/bootlocal.sh.   I don't have any experience with using nofstab, and since I use frugal and do all my customization from bootlocal and personal startup scripts, I couldn't say why it didn't work for you.  It *seems* like it should work, as you said.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
Wraithan Offline





Group: Members
Posts: 14
Joined: July 2006
Posted: July 30 2006,22:49 QUOTE

Just because I didn't post on here doesn't mean I wasn't wrestling with it :D.

/opt/bootlocal.sh is on /opt which is one of the folders I want to move... so you can see my delima.
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: July 30 2006,23:52 QUOTE

A hard drive install is not the primary focus of DSL.
But to answer your question...
Since this is a hard drive install, and if nofstab is persisting your fstab file then I would suggest  to create a script to mount these in /etc/init.d and place a link in the /etc/rcS.d directory.
Back to top
Profile PM WEB 
12 replies since July 30 2006,17:12 < Next Oldest | Next Newest >

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

Pages: (3) </ [1] 2 3 >/
reply to topic new topic new poll
Quick Reply: Mounting /dev/hdaX at boot time...

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