HD Install :: Mounting /dev/hdaX at boot time...



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?

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

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.

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.

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.

Next Page...
original here.