Author Topic: Solved - auto mount ext 4  (Read 386 times)

Offline jmorly883

  • Jr. Member
  • **
  • Posts: 19
Solved - auto mount ext 4
« on: October 18, 2012, 04:52:52 AM »
Hello

I am getting ready to change 2 partitions to ext4 under pclinuxos-2012-kde and need to figure out how to auto mount the 1 ext4 partitions upon boot.

My googling only showed fedora and another distro , don't know if it is the same for pclinuxos.

Any one got any links or ideas , thanks in advance.
« Last Edit: October 18, 2012, 09:57:12 AM by jmorly883 »

Online muungwana

  • Hero Member
  • *****
  • Posts: 6254
Re: auto mount ext 4
« Reply #1 on: October 18, 2012, 05:08:56 AM »
Quote
[ink@mtz ~]$ cat /etc/fstab
/dev/sda1 / ext4 defaults 1 1

# Entry for /dev/sdb5 :
UUID=b869bd14-7e1c-4bf4-aea0-5a21dcd79be1 /home ext4 defaults 1 2


above are 2 among other entries in my "/etc/fstab".

Those two partitions are in ext4 file system and as you can see, they are auto mounted just the same way ext3 partitions are.

The only difference is that the file system entry( 3rd entry) has "ext4" instead of "ext3" or any other file system.
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10690
  • MLUs Forever!
Re: auto mount ext 4
« Reply #2 on: October 18, 2012, 06:16:30 AM »
I use Device Notifier settings to automount partitions that are not for the OS (/, /home, swap).
The OS partitions are enumerated in fstab, but the others are not.

MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline agmg

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1924
  • Certified Windows Hater
Re: auto mount ext 4
« Reply #3 on: October 18, 2012, 06:18:19 AM »
I think you can also accomplish this through Configure Your Desktop -> Hardware -> Removable Devices. (edited - thanks Just17)
« Last Edit: October 18, 2012, 06:41:31 AM by agmg »
For the whole world, you are someone.
For someone, you are the whole world.

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10690
  • MLUs Forever!
Re: auto mount ext 4
« Reply #4 on: October 18, 2012, 06:23:56 AM »
I think you can also accomplish this through Desktop Settings -> Removable Devices.

I think you mean

Configure your Desktop - Hardware - Removable Devices .......  there you can select Attached Devices to be automounted on login.

This is the same setting as made available through Device Notifier  ;)

MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline agmg

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1924
  • Certified Windows Hater
Re: auto mount ext 4
« Reply #5 on: October 18, 2012, 06:29:56 AM »
Yes, that's it! Thanks for the correction Just17.
I'm at work ATM and not in KDE so I was using my -always- failing memory :P

But I think you can set it also for internal devices and not only for attached devices...
Device Notifier will only popup when you connect an external device... Or am I wrong?  ???
« Last Edit: October 18, 2012, 06:33:56 AM by agmg »
For the whole world, you are someone.
For someone, you are the whole world.

Offline jmorly883

  • Jr. Member
  • **
  • Posts: 19
Re: auto mount ext 4
« Reply #6 on: October 18, 2012, 09:56:32 AM »
OK that worked for me thanks

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10690
  • MLUs Forever!
Re: auto mount ext 4
« Reply #7 on: October 18, 2012, 10:40:28 AM »
Yes, that's it! Thanks for the correction Just17.
I'm at work ATM and not in KDE so I was using my -always- failing memory :P

But I think you can set it also for internal devices and not only for attached devices...
Device Notifier will only popup when you connect an external device... Or am I wrong?  ???

Attached Devices are the internal ones .........  which are permanently attached (EDIT) .......  and also the removable devices which are plugged in.

Disconnected Devices lists devices that have been attached in the past and are no longer attached.



You can bring up Device Notifier at any time you wish by clicking on its icon in the tray.
You have the option of editing the settings there also.

You can also put Device Notifier as a widget on the Desktop and have it display all partitions/devices in your system.

;)

« Last Edit: October 18, 2012, 11:19:51 AM by Just17 »
MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline The Chief

  • Hero Member
  • *****
  • Posts: 2253
Re: auto mount ext 4
« Reply #8 on: October 18, 2012, 10:54:41 AM »
Yes, that's it! Thanks for the correction Just17.
I'm at work ATM and not in KDE so I was using my -always- failing memory :P

But I think you can set it also for internal devices and not only for attached devices...
Device Notifier will only popup when you connect an external device... Or am I wrong?  ???

Attached Devices are the internal ones .........  which are permanently attached.

Removable devices are the USB connected ones.


Except that my USB stick shows up as an Attached Device.  Anyway, I changed it to automount on login.  We'll see...

Retired Senior Chief, Retired Software Engineer, Active GrandPa

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10690
  • MLUs Forever!
Re: Solved - auto mount ext 4
« Reply #9 on: October 18, 2012, 11:17:51 AM »
My error  :(

Attached Devices lists BOTH internal and removable devices when they are attached.

The icons should be different for them to help distinguish one from the other.

MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline The Chief

  • Hero Member
  • *****
  • Posts: 2253
Re: Solved - auto mount ext 4
« Reply #10 on: October 18, 2012, 02:02:40 PM »
Anyway, seems to work - it auto-mounted on next login.  Now have a cron job to backup my Thunderbird profile to it every Friday.

Retired Senior Chief, Retired Software Engineer, Active GrandPa