-
Senior Member
registered user

Originally Posted by
radnor

Originally Posted by
mr_ed
Still having these problems? Do you get error messages when you edit /etc/fstab?
-- Ed
Mr. Ed,
I can get around the editing problem of the FSTAB file. My problem is ... when I reboot, knoppix REBUILDS the file removing my changes. This is a PIA!
Radnor
I found myself having these problem in a HD install of 3.6 until I put my entry before the "made by knoppix" line:
like this:
# /etc/fstab: filesystem table.
#
# filesystem mountpoint type options dump pass
/dev/hdc1 / 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/dvd /dvd iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/cdaudio /cdaudio iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/hdc3 /home ext3 auto,exec 0 0
/dev/hda /mnt/mp3 ext3 auto 0 0
# Added by KNOPPIX
/dev/hdc2 none swap defaults 0 0
# Added by KNOPPIX
/dev/hdd1 /mnt/hdd1 ext2 noauto,users,exec 0 0
# Added by KNOPPIX
/dev/hdd2 none swap defaults 0 0
# Added by KNOPPIX
/dev/hdd3 /mnt/hdd3 ext3 noauto,users,exec 0 0
If you're going to do this and a "mount -a" you need to # out the entry made by Knoppix.
My understanding is that the /etc/fstab entries will be re-written by Knoppix if it doesn't find an entry before the # Added by KNOPPIX.
-
Junior Member
registered user
This is just a thought, but would saving your configuration possibly save changes to the fstab file. I have seemed to have success by editing my fstab onn a PMI install so that I could make my hda2 partition vfat wriiteable on bootup. I'm not sure whether it was from saving my confiiguration or because the persisitent home is located on that partition. In either case, that is something we might try (saving the configuration files, that is).
James
To save config files, you click on the penguin in the taskbar, then I think its 'CONFIIGURE' and there should be a save entry.
-
Senior Member
registered user
The process spelled out by Rumo is what Kyle Rankin describes in his book Knoppix Hacks and how I share /home between various Linuxes and BSDs. (For adding distros after the first, though, you only copy over what's new so that you don't clobber what's already there.)
As McGyver points out, you can boot straight into your installation as root so long as you haven't changed root's home directory to /home. Be sure not to su or sudo into root, though, because then you'll still be in /home.
Knoppix in fact rebuilds /etc/fstab on every boot - you can see this in /etc/init.d/knoppix-autoconfig and in the blue and yellow message it generates at boot time saying, "Scanning for Harddisk partitions and creating /etc/fstab..."
Klaus Knopper designed Knoppix to be a replacement for a laptop - he wanted a portable work environment that he could run wherever he was, just by sticking a CD into whatever computer was nearby.
From that point of view, rebuilding /etc/fstab each time is absolutely necessary. Once Knoppix is installed to a hard drive, though, it becomes more of a bug than a feature.
To disable it, you can include the boot parameter (cheatcode) nofstab along with lang=us or vga=791 or whatever else you use at startup.
-- Ed
-
Junior Member
registered user
moved to it's own question ...
Similar Threads
-
By jm47048 in forum General Support
Replies: 0
Last Post: 01-24-2006, 11:59 PM
-
By stan45 in forum General Support
Replies: 1
Last Post: 05-21-2005, 11:50 AM
-
By Geof in forum General Support
Replies: 1
Last Post: 01-18-2005, 03:55 PM
-
By DieselDriver in forum General Support
Replies: 1
Last Post: 12-27-2004, 03:20 AM
-
By stukennedyuk in forum Hdd Install / Debian / Apt
Replies: 5
Last Post: 02-13-2004, 02:55 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

Samsung 2.5" 870 EVO SSD SATA III 250GB 500GB 1TB Internet Solid State Drive Lot
$60.00

Dell Latitude 14" Laptop Computer Intel i5 Up To 32GB RAM 1TB SSD Windows 11 Pro
$545.25

Dell Latitude 15.6” FHD Core i5 Laptop PC Up To 32GB RAM 1TB SSD Windows 11
$352.73

External SSD 1TB 2TB 4TB Portable Hard Drive USB 3.0 Type-C High Speed PC Mac
$19.99

SAMSUNG T7 Portable SSD 1TB Indigo Blue USB 3.2 Gen2 External MU-PC1T0H/AM
$159.99

1TB Kingston DataTraveler Max DTMAX/1TB USB Type-C Flash Drive
$86.95

Acer Predator Helios Neo 16S AI 16" i9 275HX 2S RTX 5070 Ti 32GB 1TB SSD Refurb
$1746.47

Netac 2TB 1TB 500GB Internal SSD M.2 NVMe PCIe3.0 Solid State Drive lot
$129.99

Dell Latitude 14" Laptop Computer Intel i7 Up To 32GB RAM 1TB SSD Windows 11 Pro
$330.73

Seagate Desktop 1TB/1000GB SATA 3.5" HDD Hard Drive
$29.99