-
Senior Member
registered user
Knoppix insists on modifying my /etc/fstab
I have the option nofstab in my grub menu.lst
I believe this should stop knoppix modifying the filesystem table. I have 23 partitions and knoppix still insists on appending all partitions to the fstab and annoyingly kde displays 23 drive icons.
I have configured kde desktop not to display file icons, but they are still there.
My fstab is below, if I delete every line after added my knoppix, they still reappear on next boot. Thanks in advance for help with this.
# /etc/fstab: filesystem table.
#
# filesystem mountpoint type options dump pass
/dev/hda17 / reiserfs defaults 0 1
proc /proc proc defaults 0 0
/dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0
usbfs /proc/bus/usb usbfs devmode=0666 0 0
sysfs /sys sysfs defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
/dev/cdrom /media/cdrom iso9660 defaults,ro,users,noexec,noauto 0 0
/dev/cdrom1 /media/cdrom1 iso9660 defaults,ro,users,noexec,noauto 0 0
/dev/cdrom2 /media/cdrom2 iso9660 defaults,ro,users,noexec,noauto 0 0
/dev/dvd /media/dvd iso9660 defaults,ro,users,noexec,noauto 0 0
/dev/hdc /media/hdc auto users,noauto,exec,ro 0 0
/dev/hda1 /media/hda1 ntfs noauto,umask=000,uid=anc,gid=anc,exec 0 0
/dev/hda6 none swap defaults 0 0
/dev/hda23 /media/hda23 ext3 noauto,users,exec 0 0
/dev/hda2 /media/hda2 auto noauto,users,exec 0 0
/dev/hda3 /media/hda3 auto noauto,users,exec 0 0
/dev/hda5 /media/hda5 ext2 noauto,users,exec 0 0
# Added by KNOPPIX
/dev/hda7 /media/hda7 reiserfs noauto,users,exec 0 0
# Added by KNOPPIX
/dev/hda8 /media/hda8 reiserfs noauto,users,exec 0 0
# Added by KNOPPIX
/dev/hda9 /media/hda9 reiserfs noauto,users,exec 0 0
# Added by KNOPPIX
/dev/hda10 /media/hda10 reiserfs noauto,users,exec 0 0
# Added by KNOPPIX
/dev/hda11 /media/hda11 reiserfs noauto,users,exec 0 0
# Added by KNOPPIX
/dev/hda12 /media/hda12 reiserfs noauto,users,exec 0 0
# Added by KNOPPIX
/dev/hda13 /media/hda13 reiserfs noauto,users,exec 0 0
# Added by KNOPPIX
/dev/hda14 /media/hda14 reiserfs noauto,users,exec 0 0
# Added by KNOPPIX
/dev/hda15 /media/hda15 ext3 noauto,users,exec 0 0
# Added by KNOPPIX
/dev/hda16 /media/hda16 ext3 noauto,users,exec 0 0
# Added by KNOPPIX
/dev/hda18 /media/hda18 reiserfs noauto,users,exec 0 0
# Added by KNOPPIX
/dev/hda19 /media/hda19 ext3 noauto,users,exec 0 0
# Added by KNOPPIX
/dev/hda20 /media/hda20 ext3 noauto,users,exec 0 0
# Added by KNOPPIX
/dev/hda21 /media/hda21 reiserfs noauto,users,exec 0 0
# Added by KNOPPIX
/dev/hda22 /media/hda22 reiserfs noauto,users,exec 0 0
-
Senior Member
registered user
Use KDE Control Center
<< annoyingly kde displays 23 drive icons.>
Click on Control Center > Behavior > Desktop > Device Icons
Select from the menu what icons you want showing up on your desktop.
SakiZ
-
Senior Member
registered user
hal:
Start knoppix by passing the "nofstab" argument to your bootloader (i.e. edit your grub menu.lst)... that should stop /etc/fstab from being rebuilt every time you boot
-
Senior Member
registered user

Originally Posted by
onemyndseye
hal:
Start knoppix by passing the "nofstab" argument to your bootloader (i.e. edit your grub menu.lst)... that should stop /etc/fstab from being rebuilt every time you boot
"I have the option nofstab in my grub menu.lst
I believe this should stop knoppix modifying the filesystem table. I have 23 partitions and knoppix still insists on appending all partitions to the fstab and annoyingly kde displays 23 drive icons. "
Hi thanks for your reply, it is already on my boot loader (see above though my question is long).
This is my grub stanza for knoppix:
title Knoppix
kernel (hd0,16)/boot/vmlinuz root=/dev/hda17 vga=791 lang=uk nofstab nohwsetup nodhcp nomodregen splash
initrd (hd0,16)/boot/initrd.img
Do you think the order of options makes a difference?
Knoppix is on partition 17, I have not yet mounted a /home partition for knoppix
sakiZ - already tried this as well, still shows icons.
Its as though knoppix is still acting like the live cd and yet i installed as a beginner system??
Thanks for the replys, any more suggestions?
-
Senior Member
registered user
Hardly elegant but since I have no idea why the "nofstab" cheatcode is not honored, you could rename "/usr/sbin/rebuildfstab" to rebuildfstab.bkp or something...
-
Senior Member
registered user
That would work..
but it may be best just to comment out this section in your knoppix-autoconfig (/etc/init.d/knoppix-autoconfig).... i am alittle leary of diabling the script all together since its also used by udev and the automounter (i think)
Code:
# Start creating /etc/fstab with HD partitions and USB SCSI devices now
if checkbootparam "nofstab"; then
echo " ${BLUE}Skipping /etc/fstab creation as requested on boot commandline.${NORMAL}"
else
echo -n "${BLUE}Scanning for Harddisk partitions and creating ${YELLOW}/etc/fstab${BLUE}... "
rebuildfstab -r -u knoppix -g knoppix >/dev/null 2>&1
if [ -e /var/run/rebuildfstab.pid ]; then
# Another instance of rebuildfstab, probably from udev, is still running, so just wait.
sleep 8
fi
echo "${GREEN}Done.${NORMAL}"
fi
Just put a # in front of every line shown above.
Im also interested in the output of the " cat /proc/cmdline " command.... it may offer a clue to why this is happening 
Thanks,
-Justin
One Mynds Eye
Similar Threads
-
By noah in forum Hardware & Booting
Replies: 1
Last Post: 12-28-2005, 06:32 PM
-
By revaaron in forum Customising & Remastering
Replies: 3
Last Post: 08-26-2005, 01:01 PM
-
By cheetahman in forum General Support
Replies: 19
Last Post: 03-21-2005, 11:58 AM
-
By BryanY in forum Networking
Replies: 1
Last Post: 08-31-2004, 10:51 PM
-
Replies: 2
Last Post: 05-13-2004, 01:00 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot
$285.90

Samsung Planet First 8GB 2Rx4 PC3-10600R
$341.00

TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot
$573.98

Microsoft Office 2021 Pro Plus USB for 1PC Windows 10 & 11
$62.55

Samsung 32GB DDR4-2666V-2Rx4-RB2-12 RAM M393A4K40CB2-CTD6Q
$169.00

USB 3.0 Micro SD SDHC TF Card Reader Memory Adapter for PC Laptop Camera lot
$3.75

Samsung 32GB 2Rx4 DDR4 PC4-2133P M393A4K40BB0-CPB4Q ECC Server Memory Module
$150.00

Server Memory: Samsung 32GB 4DRx4 PC4-2133P ECC LRDIMM DDR4 M386A4G40DM0-CPB
$124.95

24x Micron MT40A512M16LY-062E IT:E 8Gb DDR4-3200 96-FBGA Memory IC
$349.99

Dell 16GB PC4-21300 (DDR4-2666) Memory (SNPPWR5TC16G)
$89.99