Page 1 of 1

Auto Mounting fat32 pata hdd [SOLVED]

PostPosted: Jul 23rd, '15, 18:46
by Garthhh
M5 intel 32 bit, upgraded from M4
4g ram
Mate DE
I set up 3hdds [pata] so as to have spares & loaners to demo Mageia
I have 80g of music on a pata hdd formatted Fat32
on a hdd that was built without the 80gfat32 hdd being connected to the ide connector, I have to mount manually after boot.
how do I change to auto mount at boot?

Re: Auto Mounting fat32 pata hdd

PostPosted: Jul 25th, '15, 06:32
by rolf
If I understand that you have connected a new hard drive and want to mount a partition on it automatically at boot, I would

1) Run diskdrake, aka "Manage disk partitions" under "Local disks" in the Control Center. https://doc.mageia.org/mcc/4/en/content/drakdisk.html
2) Select the partition of interest.
3) Assign a mount point you want to mount it on at boot.
4) Mount it.
5) Done. You are asked whether to save changes to /etc/fstab. Say yes.

Re: Auto Mounting fat32 pata hdd

PostPosted: Jul 25th, '15, 18:03
by Garthhh
thanks for the reply Rolf,
I don't understand
Assign a mount point you want to mount it on at boot.
the present path is
run>media>computername>80g volume>gartunes
which is typical of an external drive
when I browse a possible mount point run isn't one of the choices?

Re: Auto Mounting fat32 pata hdd

PostPosted: Jul 25th, '15, 18:36
by rolf
To answer one question, diskdrake has always allowed me to type my own mount point. In your first post, you describe "ide connector", so I answered from an understanding of a more permanent connection than "external drive", revealed in your second post. If the drive is not connected at boot but set to mount in fstab, my experience is the system will fail to boot until I enter a rescue mode and edit fstab to remove/comment the entry for the missing drive, so my original advice might not be the best, depending whether you intend to have the device always connected.

Since it appears you have used some sort of removable media mounting applet in Mate (I run KDE), you might look to that to see if there is a configurable option to automount removable media. Although I've never used it, in the KDE Device Notifier, if you can find something similar in Mate, it looks like it might? do what you want:

Image

Re: Auto Mounting fat32 pata hdd

PostPosted: Jul 26th, '15, 17:15
by Garthhh
the hdd in question is plugged into an IDE ribbon cable, the jumpper is set to slave
I have no idea why the path was chosen?
I switched from KDE to MATE
all the bells & whistles are fun, but the crashes, freezing, long responses times weren't

I didn't know what different mount point was going to work without wrecking the system
as I was writing it finally occurred to me that I needed to just copy the complete file path [ctrl+l] & paste that into the box instead of browsing the path

Thanks for your patience & help Rolf :D

Re: Auto Mounting fat32 pata hdd [SOLVED]

PostPosted: Jul 26th, '15, 17:39
by rolf
Code: Select all
$ ll /run
$ ll /


Try that. When I do, it looks like /run and everything under it is created at boot time. It might work but my first choice would not be to include /run in any persistent manually created mount point. I would type something, anything, in diskdrake, based in /, or create the mount point as root (I've got /music as a partition mount point, for example), then manually create the fstab entry, something for the semi-expert to do.

When you create the unique mount point in diskdrake, mount it, and choose to save fstab settings when you are Done, the mount point is created and an fstab entry is automatically created such that the partition will be mounted at boot.