-
Senior Member
registered user
Does knoppix mount the filesystems from some location other than /etc/fstab?
Well, yes and no. 
Knoppix actually rewrites /etc/fstab while the computer is booting. You can see when this happens - a line is written to the screen in blue and yellow that says,
Code:
Scanning for Harddisk partitions and creating /etc/fstab...
If it goes by too fast, you can review the boot process by typingThis behavior is a good thing when running from CD, because the disk never knows from one boot to the next what environment it will find. It's probably not that useful after installation to HD, and can be downright annoying in situations like yours.
True to the Unix Way, there are different options for dealing with this default behavior. The easiest is probably to give the Knoppix parameter nofstab at boot time. You can do it each and every time you want to skip the rewrite or, if you're using a bootloader, add a line like this:If there's already an append line, just add to it:
Code:
append="lang=us nofstab"
Note that this isn't a kernel parameter - it's specific to Knoppix. So it won't work if you do a Debian install. Of course, it won't be needed if you do a Debian install. 
Other ways involve modifying the script that carries out the procedure, and aren't hard at all. Do this by editing (as root) /etc/init.d/knoppix-autoconfig. On my system there are 12 lines of code starting at line 951 (or search for nofstab). The file has useful comments inside, so it's easy to see what it does.
You can comment these lines out by adding # at the beginning of each one. (Well, two of the lines are already just comments, so you'd do that to the other 10.) Or you could add a test for HD-install - the script already does that for other actions, so you could browse through the file and see how it's done elsewhere.
Still other ways might be to have the boot process skip this whole script entirely, or put something else in its place. Whatever gets you down the road. 
I hope this helps!
-- Ed
Similar Threads
-
By abby in forum Customising & Remastering
Replies: 0
Last Post: 03-11-2007, 09:56 AM
-
By pyromaniac in forum MS Windows & New to Linux
Replies: 2
Last Post: 12-02-2006, 08:26 PM
-
By rossi in forum MS Windows & New to Linux
Replies: 3
Last Post: 07-06-2005, 09:24 PM
-
By mallyone in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 02-01-2005, 10:46 PM
-
By rex in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 05-25-2004, 04:17 AM
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

150x SanDisk 32GB ULTRA USB 3.0 flash drive SDCZ48-032G 32 GB read 100 MB/s
$286.75

1/ 10/ 100pcs USB 2.0 2GB, 4GB ,8GB ,16GB ,32GB ,64GB 128GB USB Flash Drives Lot
$269.10

Microsoft Windows 11 Pro 64bit - New Sealed – Flash USB 1 PC
$49.99

2021 Full Version Office Professional Plus for 1 PC Flash USB Drive
$59.99

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

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack
$826.09

USB Type-A Flash Drive Metal Memory Stick High Speed USB Drive 128GB 256GB 512GB
$8.47

LOT 10x SanDisk 32GB ULTRA USB 3.0 flash drive SDCZ48-032G 32 GB read 100 MB/s
$39.80

128GB USB 14-in-1 MacOS bootable Installer repair recovery tech support service
$39.99

Zero Trace Pen: All-in-one Tor Network Anonymous Drive + Cryptocurrency Wallet
$99.00