Modified FSTAB?
#1
Posted 27 December 2004 - 12:40 AM
- I also changed the icons for these hard disks partions that are mounted and shown on my desktop, but then again when I retart my computer the icons are back to default.
- I also would like for these devices to be mounted on a specific folder that I created on my desktop, so they are not all over my desktop. I move them there and again when I restart my computer these partitions are mounted again onto my desktop and are also, of course, in the folder that I created and wanted them to be.
Any help will be appreciated. This how my fstab looks like:
---------------------------------------------------------------
# /etc/fstab: filesystem table.
#
# filesystem mountpoint type options dump pass
/dev/hdb6 / ext3 defaults,errors=remount-ro 0 1
proc /proc proc defaults 0 0
/dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0
usbdevfs /proc/bus/usb usbdevfs defaults 0 0
sysfs /sys sysfs defaults 0 0
/dev/cdrom /cdrom iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/cdrom1 /cdrom1 iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/dvd /dvd iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/cdaudio /cdaudio iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/cdrom /mnt/auto/cdrom auto users,noauto,exec,ro 0 0
/dev/cdrom1 /mnt/auto/cdrom1 auto users,noauto,exec,ro 0 0
# Added by KNOPPIX
/dev/hda1 /mnt/hda1 ntfs noauto,users,exec,ro,umask=000 0 0
# Added by KNOPPIX
/dev/hda2 /mnt/hda2 ntfs noauto,users,exec,ro,umask=000 0 0
# Added by KNOPPIX
/dev/hda5 /mnt/hda5 ntfs noauto,users,exec,ro,umask=000 0 0
# Added by KNOPPIX
/dev/hdb1 /mnt/hdb1 ext3 noauto,users,exec 0 0
# Added by KNOPPIX
/dev/hdb5 none swap defaults 0 0
# Added by KNOPPIX
/dev/hdb7 /mnt/hdb7 ext3 noauto,users,exec 0 0
#2
Posted 27 December 2004 - 03:29 AM
Daum
#3
Posted 27 December 2004 - 04:44 AM
Daum
I'm not running it off of the live CD. Everything is runing cool installed in my HD. Thanks anyways...I'll keep looking.
#4
Posted 27 December 2004 - 06:37 AM
from your first ntfs entry in fstab.
# Added by KNOPPIX modified by ME!
/dev/hda1 /mnt/monkeyland ntfs users,exec,ro,umask=000 0 0
#5
Posted 27 December 2004 - 04:35 PM
put a "nofstab" as kernel option into your bootloader config and the automagically handling of fstab will go.
(search the web for -> Knoppix -> cheatcodes)
HolgerH
#6
Posted 27 December 2004 - 09:01 PM
Junior Member
Posts: 1
Joined: 2004-12-27
Member No.: 52660
Hi LinuxCrusader,
put a "nofstab" as kernel option into your bootloader config and the automagically handling of fstab will go.
(search the web for -> Knoppix -> cheatcodes)
HolgerH
Thank you HolgerH. That sounds more like it because I added the line that "egorgry" suggested but it wouldn't mount the partition where I wanted to be mounted. I could see that the line was still the in the fstab when I restarted my PC.
I'll try this and look more into the knoppix cheatcodes. Thank you and I'll let you guys know the results.
#7
Posted 27 December 2004 - 10:45 PM
LC, did you first create teh mount point as a directory? sorry I should have mentioned that in my reply.
mkdir /mnt/monkeyland
#8
Posted 28 December 2004 - 11:33 AM
from the point on when you have "nofstab" as a boot parameter, Knoppix will not apply any automatisms on the fstab - it'll keep your fstab as it is then.
Any changes from before will stay so you can leave what Knoppix added or change it as well - you're on your own now.
In plain words, if you want to use any specific directory, you have to ensure it exists ...
(mkdir blablabla)
But this can be done whenever you want, after you booted Knoppix with "nofstab"
CU
HolgerH
#9
Posted 28 December 2004 - 04:21 PM
#10
Posted 29 December 2004 - 12:07 AM
you're right and you're not ;-)
The automagicallity behind the fstab is not because it's Debian, it's because Knoppix is originally intended to run from a CD.
Thus it cannot know about each and every partition of each and every computer where it may be started.
The guy who wrote the "knoppix-install" afterwards probably forgot to change this automatism or he intended to keep it as a feature. The solution is "nofstab" as boot parameter.
CU
#11
Posted 29 December 2004 - 01:45 AM
#12
Posted 15 January 2005 - 10:31 PM
Junior Member
Posts: 4
Joined: 2004-12-27
Member No.: 52660
Hi egorgry,
from the point on when you have "nofstab" as a boot parameter, Knoppix will not apply any automatisms on the fstab - it'll keep your fstab as it is then.
Any changes from before will stay so you can leave what Knoppix added or change it as well - you're on your own now.
In plain words, if you want to use any specific directory, you have to ensure it exists ...
(mkdir blablabla)
But this can be done whenever you want, after you booted Knoppix with "nofstab"
CU
Sorry to bring this thread back again, but I gave a break on messing wth this.
HolderH, (or if anybody knows) I've been trying to add the "nofstab" into my bootloader but I keep getting an error that it is an unrecognized token. I'm trying to add it into Lilo. Is this right? Do I added just anywhere in Lilo.conf?
#14
Posted 17 January 2005 - 10:13 PM
LILO example
append="nofstab"
HolgerH correct me if I'm wrong on this one.
#15
Posted 18 January 2005 - 02:01 PM
#16
Posted 19 January 2005 - 09:51 AM
http://www.linuxcompatible.org/thread30687-1.html
So I can't try your suggestions anymore on this fstab issue. Thank you for the replies though.
#17
Posted 20 January 2005 - 10:28 AM
append ="nofstab" to lilo.conf and at the same time I commented out the follwing line as shown below on the fstab:
#/dev/hda1 /mnt/hda1 ntfs noauto,users,exec,ro,umask=000 0 0
But it didn't work. Instead when I rebooted it was taking a little longer to bring up the login interface and as soon as I logged in it took into the icewm desktop and I got some error. However, I rebooted again and logged in into my kde session and the fstab still put the hda1 partition into my desktop. I checked the fastab and it took the comment out (#) of the line that I edited. Funny huh...

Help










