Having trouble setting up mountpoints (and understanding them)

Moderators: 666philb, Forum moderators

Post Reply
matthewp
Posts: 3
Joined: Mon Jun 26, 2023 3:04 pm

Having trouble setting up mountpoints (and understanding them)

Post by matthewp »

I used this guide to set up my partitions: viewtopic.php?t=5275

With that I have 2 partitions. The bigger of the two is /dev/sda2. However when I start my computer this is not mounted any where. Ideally I would like it to be mounted as / so that anything I install is saved there.

The other problem is I don't know what is mounted onto /. My fstab is empty. I've used Linux a long time but am new to Puppy so I don't understand what it's doing.

So tldr; I'd like to make use of /dev/sda2 so I can install more software, add files, etc. But I'm not sure how. Thanks for any pointers.

matthewp
Posts: 3
Joined: Mon Jun 26, 2023 3:04 pm

Re: Having trouble setting up mountpoints (and understanding them)

Post by matthewp »

Actually I see now that /dev/sda2 is mounted on /initrd/mnt/dev_save which happened when I saved the "session".

matthewp
Posts: 3
Joined: Mon Jun 26, 2023 3:04 pm

Re: Having trouble setting up mountpoints (and understanding them)

Post by matthewp »

Re-reading this helped me understand a bit better: viewtopic.php?t=6953

I think not having mountpoints is intentional. Different than I'm used to, and I don't totally understand how it's all working, but working-as-intended.

The problem I was running into before was that I ran out of space installing stuff. I now think that's because I had not saved a session yet, and so my /dev/sda2 wasn't being used. But after creating a session it seems like I'm not running out of space any more, I guess because it's saving to that session.

User avatar
wizard
Posts: 1651
Joined: Sun Aug 09, 2020 7:50 pm
Has thanked: 2199 times
Been thanked: 515 times

Re: Having trouble setting up mountpoints (and understanding them)

Post by wizard »

:welcome:

If you want a local drive partition mounted at boot:
Menu>Filesystem>Pmount
-click the down arrow (on the right) for the partition, choose "Mount partition at boot"

You find the mount point in /mnt

wizard

Big pile of OLD computers

User avatar
bigpup
Moderator
Posts: 6403
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 757 times
Been thanked: 1325 times

Re: Having trouble setting up mountpoints (and understanding them)

Post by bigpup »

First read this topic:
viewtopic.php?t=7630

Now that your mind is open to learning some new ways of doing things.

Read how Puppy works:
viewtopic.php?t=5818

How the save works:
viewtopic.php?t=6526

Puppy in general follows the normal setup of a Linux file system, but it does have a few Puppy specific uses for locations.

The home location that other Linux OS's use, in Puppy file system is /root directory.
~

When a save file or folder is made and you boot using it.
The location of the save is /mnt/home in the file system. which is also /initrd/mnt/dev_save
If you navigate to /mnt/home, it will show the contents of the partition the save is stored in.

The Puppy file system does have another home directory at /home
This is used for the restricted user spot.
when running a program as user spot.
Anything that the program would download will go into /home
User spot is mainly for running browsers and restricting where they can download to.

Best way to see how the file system is structured.

Click on the file icon on the desktop.
Rox file manager window will open showing the ~ the /root directory.
Click the up arrow and you are now looking at /
Now you are more or less looking at the Linux file system you are familiar with.

Keep in mind that Puppy loosely follows the norms for where to place files in the Linux file system.
Example:
/opt directory is not used very much. Usually only by a program you have downloaded and installed, that is setup to put stuff in /opt.

Forum Global Moderator
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 :o

User avatar
bigpup
Moderator
Posts: 6403
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 757 times
Been thanked: 1325 times

Re: Having trouble setting up mountpoints (and understanding them)

Post by bigpup »

Puppy Linux does not auto mount drive partitions, except the one that the Puppy OS files are on.

That is what the drive icons on the desktop are for.
A quick way to mount and un-mount partitions.

Click on one and that partition is mounted.
Rox opens showing contents.
Click on the little arrow, on top right of icon, to un-mount.

Already been told about Pmount being able to setup mounting a partition at boot, so it is mounted when booting completes.

Forum Global Moderator
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 :o

User avatar
gychang
Posts: 554
Joined: Fri Aug 28, 2020 4:51 pm
Location: San Diego, CA
Has thanked: 195 times
Been thanked: 51 times

Re: Having trouble setting up mountpoints (and understanding them)

Post by gychang »

matthewp wrote: Mon Jun 26, 2023 3:24 pm

I used this guide to set up my partitions: https://forum.puppylinux.com/viewtopic.php?t=5275

With that I have 2 partitions. The bigger of the two is /dev/sda2. However when I start my computer this is not mounted any where. Ideally. The other problem is I don't know what is mounted onto /. My fstab is empty. I've used Linux a long time but am new to Puppy so I don't understand what it's doing.

puppy doesn't use fstab, if u want to automount on boot, right click on the partition icon and run pmount and click on mount on boot.

Attachments
automount.png
automount.png (119.06 KiB) Viewed 147 times

======

Puppy Bytes, utube videos
https://www.youtube.com/channel/UCg-DUU ... u62_iqR-MA

======

Post Reply

Return to “Fossapup64”