-
Partition /home
Hi,
I have just installed Knoppix 3.6 and I'd like to use my /home directory that is in another partition.
My root directory (Knoppix 3.6) is hda1 and my /home directory is hda6.
I have modified the file /etc/fstab, but when I reboot Knoppix re-creates this file, so I can't use hda6 as /home.
Can someone help me?
How can I make Knoppix not modify my modified /etc/fstab file?
Thank you.
Alberto
(From Italy: I apologize for my bad English).
-
You may end up messing up Knoppix, and having to re-install, but I have a few ideas.
1 Delete the stuff that is in the /home directory on /dev/hda1. It couldn't hurt--well, actually it could if you log in as a user (i.e., not root), and the changes to /etc/fstab don't take. But you won't be able to even see this stuff if it works, because that directory will be the mount point for your preferred /home.
2 When you add /dev/hda6 to /etc/fstab, add it just below the line that mounts the root partition itself. There should be an empty line there. It seems to me that when Knoppix rebuilds /etc/fstab, it actually edits some lower lines in the file--so things added near the top should stay fixed.
I am currently working on a project to install Knoppix on a bunch of old PCs, and found it faster to use Ghost than to do an install on each one. But the older version of Ghost won't resize ext2/ext3, so I installed to a 3GB partition, then formatted another one for /home, and moved the user directories from the existing /home (which then becomes the mount point) to the new one. And I have found adding the mount (as /dev/hda3 /home ext3 defaults 0 0) to /etc/fstab works perfectly.
-
I had the same problem modifying /etc/fstab and then Knoppix would overwrite the new stuff. Then I realized that if I removed the comments
# Added by KNOPPIX
from /etc/fstab then I could modify the following line.
Similar Threads
-
By violent in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 04-11-2005, 02:16 AM
-
By stukennedyuk in forum Hdd Install / Debian / Apt
Replies: 5
Last Post: 02-13-2004, 02:55 PM
-
By guillaumecote in forum General Support
Replies: 0
Last Post: 12-15-2003, 05:12 PM
-
By mr_dellarenta in forum General Support
Replies: 2
Last Post: 10-11-2003, 02:24 PM
-
By jdong in forum Hdd Install / Debian / Apt
Replies: 3
Last Post: 08-13-2003, 06:57 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

(New) AMD Ryzen 7 5700X 8 Core 16 Thread AM4 Unlocked 3.4 GHz CPU OEM Tray
$174.99

HP Z420 Pro Workstation PC Xeon E5-2660 8-Core 64GB RAM Quadro K5000 128GB SSD
$249.00

DELL Optiplex 780 SFF CORE2DUO 3.0GHz 8GB RAM 250GB HDDDVDRW NO OS
$99.99

HP ZBook Firefly 14" G8 Mobile Workstation i5 11th Gen 16GB RAM 256 GB SSD No AC
$166.49

Intel Xeon E5 - 2667V2 / SR19W 3.30GHz 25MB 8-Core CPU Socket LGA2011
$30.00

HP EliteBook 850 G6 15.6" Core i5-8265U 1.60GHz 8GB RAM AMD Lexa GPU PWR Adapter
$120.00

AMD Ryzen 7 9700X 8-Core 16-Thread 40MB Cache Socket AM5 9000 Series Processor
$245.99

AMD Ryzen Threadripper PRO 3945WX 12-Core 4.0GHz sWRX8 CPU NEW Tray Unlocked
$79.99

Dell Optiplex 7050 Micro Core i5-7500 8 GB RAM 256GB SSD Microsoft Windows 11
$89.99

SGIN 17.3" Laptop Intel Quad-Core Up to 2.4 GHZ 8GB RAM 256GB SSD HD
$229.99