need this partition mounted at all times-not used for pupsave nor OS, only has working copies of data. unsure of syntax of mount command.
how to mount sda4 at startup, pls?
Moderators: 666philb, Forum moderators
Re: how to mount sda4 at startup, pls?
pmount will put a line in /etc/rc.d/rc.local to mount the partition at boot. Your sda4 should stow up in Menu>Filesystem>Pmount.
- Attachments
-
- Screenshot.png (41.34 KiB) Viewed 419 times
My pups: LxPupSc64 and Voidpup64 with LXDE ydrv & synaptics touchpad drivers, both using savefiles. Ydrv based NoblePup64 (JWM & LXDE), Bookworm64 & Fossapup64-small (LXDE/PCManFM). No savefiles, no fdrvs there.
Re: how to mount sda4 at startup, pls?
fixed, no thanks to incomplete instructions. i am NOT a mindreader, and when i ask for help i expect sufficient detail to sort the problem, not create new ones i know nothing about. forumites usually know far more than me, and are more experienced at experimenting for solutions. a talent i've never developed, and at 69yo, i'm not likely to. i only use what i know, learning new stuff is now very difficult. i don't ever expect to learn much abt linux, because i can't retain it, and i want to use my weakening mind/memory on other things.
option to mount at boot does not exist. getting very tired of good and necessary features being discontinued for no good reason.
- ally
- Posts: 186
- Joined: Tue Jul 07, 2020 5:14 am
- Has thanked: 103 times
- Been thanked: 81 times
- Contact:
Re: how to mount sda4 at startup, pls?
https://oldforum.puppylinux.com/viewtopic.php?p=126028
from tgeer43:
I didn't mess with fstab and I didn't run any long script since I already know the drives that I want mounted. I just added the following two lines (per drive to be mounted) to my /etc/rc.d/rc.local:
mkdir /mnt/sdb2
mount /dev/sdb2 /mnt/sdb2
modify to suit
hth
Re: how to mount sda4 at startup, pls?
Try making an entry in /etc/fstab. Explained here: https://wiki.archlinux.org/title/fstab
Re: how to mount sda4 at startup, pls?
I am running jammypup64 D1 and F96-CE_3. about as new as pups get. It's there in both. Did you click on sda4? Just used it in jammypup64 and as advised, the resulting line in rc.local is
Code: Select all
mkdir -p /mnt/sda1; mount -t vfat /dev/sda1 /mnt/sda1 #pmount
80 and still learning something every day.
My pups: LxPupSc64 and Voidpup64 with LXDE ydrv & synaptics touchpad drivers, both using savefiles. Ydrv based NoblePup64 (JWM & LXDE), Bookworm64 & Fossapup64-small (LXDE/PCManFM). No savefiles, no fdrvs there.
- mikewalsh
- Moderator
- Posts: 6148
- Joined: Tue Dec 03, 2019 1:40 pm
- Location: King's Lynn, UK
- Has thanked: 788 times
- Been thanked: 1975 times
Re: how to mount sda4 at startup, pls?
boof wrote: ↑Wed Mar 22, 2023 9:38 pmfixed, no thanks to incomplete instructions. i am NOT a mindreader, and when i ask for help i expect sufficient detail to sort the problem, not create new ones i know nothing about. forumites usually know far more than me, and are more experienced at experimenting for solutions. a talent i've never developed, and at 69yo, i'm not likely to. i only use what i know, learning new stuff is now very difficult. i don't ever expect to learn much abt linux, because i can't retain it, and i want to use my weakening mind/memory on other things.
option to mount at boot does not exist. getting very tired of good and necessary features being discontinued for no good reason.
@boof :-
Health issues aside, please bear in mind this is NOT a "help desk". It's a community forum, comprised of ordinary members of the public, and manned by volunteers who give their time - out of the goodness of their heart - to help others who share the same interests.
You are in NO position to grumble about not getting complete, full & detailed instructions. All I have ever seen you do is to demand help with a multitude of varied subjects. I don't think you've ever contributed one single, positive thing to this community.
Be grateful that you get what help you do. You're lucky with this bunch of lads'n'lasses; I know other fora where the members would cut you dead.....and just ignore you.
Please show some understanding.....and a bit of courtesy for people who try to help you would NOT come amiss.
Mike.
- bigpup
- Moderator
- Posts: 6974
- Joined: Tue Jul 14, 2020 11:19 pm
- Location: Earth, South Eastern U.S.
- Has thanked: 901 times
- Been thanked: 1520 times
Re: how to mount sda4 at startup, pls?
Start the pmount program.
menu -> Filesystem -> Pmount
Find sda4 in the list of drives.
Left click on the drop-down arrow at the beginning of the sda4 listing.
Left click on mount partition at boot so it is selected.
Close pmount.
Make sure to update the save so change is saved.
Next time you boot sda4 will be mounted.
Example:
I do not have a sda4, but it is the same for any listed drive.
My sda2 as example:
.
.
.
The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected