LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   /etc/fstab (https://www.linuxquestions.org/questions/slackware-14/etc-fstab-19630/)

sonikntails 04-27-2002 07:27 PM

/etc/fstab
 
I just installed slack and I absolutly love it. Only two little problems, one of which i can deal with.

1. When i try to mount my cdrom i get "cant find /cdrom in /etc/fstab or etc/mtab". I looked at both of these and i have no problem editing the file(s) by hand, but for partation type i dont know what to put???

2. When i first installed the system, the console mode was running in 1024x768. I just compiled the new 2.4.18 kernel and for some reason i lost that now. (in case you couldnt guess this is the one that i can deal with). Would still be nice to get it back though.

Besides these two little problems I love Slackware. I am glad that a friend pushed me to try it!!

sonik n tails

trickykid 04-27-2002 07:43 PM

how are you mounting ? you don't necessarily need them in your fstab file.. just make sure you have a empty directory named /cdrom or wherever you want to mount it.. ( i made mine in /mnt/cdrom ) and then you can issue the command:

mount /dev/cdrom /mnt/cdrom

cd /mnt/cdrom

ls -al

that should work like that above... if not for your cdrom and filesystem you can do the standard iso9660.

sonikntails 04-27-2002 07:50 PM

LOL, yea that worked. thanx man!!
sonik n tails

taz.devil 04-28-2002 07:33 PM

Re: /etc/fstab
 
Quote:

Originally posted by sonikntails
2. When i first installed the system, the console mode was running in 1024x768. I just compiled the new 2.4.18 kernel and for some reason i lost that now. (in case you couldnt guess this is the one that i can deal with). Would still be nice to get it back though.
If somehow your vga= option was reset in your /etc/lilo.conf when you recompiled, you can just go in and edit it and make sure it says vga=791 for a 1024x768 res.

Richard James 04-29-2002 08:33 AM

Quote:

2. When i first installed the system, the console mode was running in 1024x768. I just compiled the new 2.4.18 kernel and for some reason i lost that now. (in case you couldnt guess this is the one that i can deal with). Would still be nice to get it back though.
When you upgrade your kernel you can copy the kernel settings across by copying the .config file in /usr/src/linux-$oldkernel to /usr/src/linux. This can stop you losing kernel settings.

The Console Framebuffer is set in 2 places the first is in /etc/lilo.conf where it is passed to the kernel. The second is in the kernel itslef. You need to go into your kernel config and select Console Devices then Frambuffer Support then select your video chipset.

Tinkster 04-29-2002 02:51 PM

If your CD-Rom is hdc and your mountpoint is /cdrom
add this line :) to your fstab ;)

/dev/hdc /cdrom iso9660 auto,user,ro 0 0


All times are GMT -5. The time now is 11:51 PM.