-
home on a separate partition is not mounted
Hi
I made a hdinstall of knoppix and everything works, but not the
mount of the home partition which I have entered in the fstab.
Somwhere there seems to be a script which is running during boottime
which changes the mount procedure.
Maybe someone can help
Kind Regards
Jochen
-
Junior Member
registered user
some tips
On my system the mount of the home partition works fine.
What says "mount /home"?
Nothing: check the rights and ownership of fstab. Else I have no other idea!
Anything else:
* Check your entry in FSTAB,
* Check the correctness of /dev/hdaX (X is the number of your partition). (After a crash last year I lost some special files in /dev)
Nothing found? Please write the message from mount and your fstab. Perhaps someone has an idea.
Regards
Hamatoma
-
I can relate to the original post. Even though I've correctly stated this in /etc/fstab, not everything gets mounted at boot. And when I comment out all of my edits, some of partitions are mounted.
I think a part of the situation, and I don't know why, depends on what is mounted when you 'chroot' to your new install and run lilo. After I completed running the knx-hdinstall script, I modified my install area to taste. I backed out of the mount point so I could 'chroot' and noted that some of my mods in the new /etc/fstab were now listed in /etc/mtab but not mounted. I still haven't figured out the right combination of edits, and wonder if something else runs at boot that intervenes with mounting partitions.
-SUO
-
thisis what I use to mount my home and it works great
/dev/hda5 /home ext3 defaults 0 0,
Just change ext3 to what ever your fs is.
-
I get this same problem with DamnSmallLinux
No matter what I add to /etc/fstab, something is appending entries to the file that negate the entries I've made on boot. I can manually mount the partitions fine after boot, but I would like to automount. It may be autofs, but 'cat /proc/filesystems' doesn't show it and /etc/auto.master doesn't exist. Editing /etc/auto.mnt doesn't seem to have an effect. Is it /etc/mtab or something else I'm missing?
-
Senior Member
registered user
fitsnips has it right.
You need to comment out (put a # at the start of a line) any conflicting entries for thae device in question.
Then, after saving the new /etc/fstab, do (as root)
mount -a
-
automount HDs
Thanks for the post(s).
The issue seems to not be with an incorrect entry in fstab, but with a script being run at boot time that adds new lines to fstab. So, for instance, if I manually edit fstab to mount hda3 with the auto option, something comes in and adds a line below it for hda3 with noauto option. My assumption is all lines are executing correctly and the overall effect is to negate previous entries in the file. So the key seems to be to find the script that is adding the entries and modifyi it.
Also, do I have it right that if a device is in fstab then it is not necessary to 'mount /dev/hd* /mnt/hd*' ? This is definately a newbie Q but I've got to ask it.
-
Senior Member
registered user
Also, do I have it right that if a device is in fstab then it is not necessary to 'mount /dev/hd* /mnt/hd*' ? This is definately a newbie Q but I've got to ask it.
It's a good question to ask.
If there is no entry in /etc/fstab you'll be unable to mount the device.
So an entry only makes it possible for it to be mounted.
man fstab
and
man mount
should make things pretty clear (read them in conjunction with looking at your /etc/fstab).
Just a thought -- you did edit /etc/fstab as root? Do:
su
(enter root password)
gvim /etc/fstab
then hit the "i" key to get into insert mode. Everything else you can do with the mouse.
-
Thanks for your reply and clarifying the role of fstab.
Yes I edit it in vi as root. It's owned by root and, of course, belongs to group root.
As I read about automount and autofs, it's interesting that the docs suggest there should be /etc/auto.master. However, this standard install of DSL contains /etc/auto.mnt instead. It reads very much like the auto.misc. So, I'm left wondering what is really acting on fstab.
Perhaps I should uninstall autofs and see what happens? Does anyone know the how to uninstall it?
-
try this to find what gets changed
try this to find what gets changed during boot.
straight after your system has booted, open a console, "su" to change to root/super-or-substitute user, "cd /proc" to change to the processor dir.
then type this in "dmesg |more" (without quotes) see how you go.
Similar Threads
-
By al.rovelli in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 10-28-2004, 12:56 AM
-
By beatz in forum General Support
Replies: 3
Last Post: 04-13-2004, 05:59 PM
-
By mineral777 in forum Hardware & Booting
Replies: 1
Last Post: 02-04-2004, 08:12 AM
-
By guillaumecote in forum General Support
Replies: 0
Last Post: 12-15-2003, 05:12 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
![Dell OptiPlex 3060 MICRO DESKTOP PC COMPUTER I5 8TH GEN UP TO 32GB UP TO 2TB M.2 picture](/store/img/2mYAAOSwmulmdXzA/s-l225//Dell-OptiPlex-3060-MICRO-DESKTOP-PC-COMPUTER-I5-8T.jpg)
Dell OptiPlex 3060 MICRO DESKTOP PC COMPUTER I5 8TH GEN UP TO 32GB UP TO 2TB M.2
$295.00
![HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram 2x256GB SSD Quadro K420 No OS GA2 picture](/store/img/rIQAAOSwN9Nlnw4a/s-l225//HP-Workstation-Z640-2x-Xeon-E5-2623V4-32GB-Ram-2x2.jpg)
HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram 2x256GB SSD Quadro K420 No OS GA2
$164.98
![Dell Latitude Business Class Laptop Quad Core i5 8th Gen 16GB 512GB SSD Grade A picture](/store/img/2qgAAOSwRo9jz~hd/s-l225//Dell-Latitude-Business-Class-Laptop-Quad-Core-i5-8.jpg)
Dell Latitude Business Class Laptop Quad Core i5 8th Gen 16GB 512GB SSD Grade A
$219.99
![Lenovo ThinkCentre M720q Intel Core i3-8100T 8GB RAM 250GB NVMe Windows 11 Pro picture](/store/img/TZkAAOSw6ctmjrcU/s-l225//Lenovo-ThinkCentre-M720q-Intel-Core-i3-8100T-8GB-R.jpg)
Lenovo ThinkCentre M720q Intel Core i3-8100T 8GB RAM 250GB NVMe Windows 11 Pro
$99.95
![Apple Mac Mini A2348 (2020) M1 8 Core 3.2GHz | 16GB | 256GB SSD picture](/store/img/NrUAAOSwyixmV4Bu/s-l225//Apple-Mac-Mini-A2348-2020-M1-8-Core-3-2GHz-16GB-25.jpg)
Apple Mac Mini A2348 (2020) M1 8 Core 3.2GHz | 16GB | 256GB SSD
$399.00
![Intel - Core i7-13700K 13th Gen 16 cores 8 P-cores + 8 E-cores 30M Cache, 3.4... picture](/store/img/BI0AAOSw2T5jikjk/s-l225//Intel-Core-i7-13700K-13th-Gen-16-cores-8-P-cores-8.jpg)
Intel - Core i7-13700K 13th Gen 16 cores 8 P-cores + 8 E-cores 30M Cache, 3.4...
$329.99
![Intel - Core i9-13900K 13th Gen 24 cores 8 P-cores + 16 E-cores 36M Cache, 3 ... picture](/store/img/uvEAAOSwaEBjikj8/s-l225//Intel-Core-i9-13900K-13th-Gen-24-cores-8-P-cores-1.jpg)
Intel - Core i9-13900K 13th Gen 24 cores 8 P-cores + 16 E-cores 36M Cache, 3 ...
$459.99
![Intel - Core i7-11700 11th Generation - 8 Core - 16 Thread - 2.5 to 4.9 GHz -... picture](/store/img/z-MAAOSwIY5jtY8v/s-l225//Intel-Core-i7-11700-11th-Generation-8-Core-16-Thre.jpg)
Intel - Core i7-11700 11th Generation - 8 Core - 16 Thread - 2.5 to 4.9 GHz -...
$189.99
![HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram 2x 256GB SSD Quadro P620 Linux GA picture](/store/img/rIQAAOSwN9Nlnw4a/s-l225//HP-Workstation-Z640-2x-Xeon-E5-2623V4-32GB-Ram-2x-.jpg)
HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram 2x 256GB SSD Quadro P620 Linux GA
$186.99
![New HP 24](/store/img/TWcAAOSw2QlmXTVp/s-l225//New-HP-24-All-In-One-Desktop-Computer-11th-Gen-i3-.jpg)
New HP 24" All In One Desktop Computer 11th Gen i3 Up To 32GB RAM 2TB SSD Win 11
$419.99