You are not logged in.

#1 2013-02-26 22:14:45

stp002
Member
Registered: 2011-12-26
Posts: 44

automounting /root and /boot on media!

Hi everyone,
I recently updated my arclinux.After that my /root and /boot are auto mounted on /media.How do i disable that.I have little experience with udev rules so I don't want to fiddle with it.Just a small question about core dumps.Is it enabled by default.
Any help in this redard will be appreciated.
Thanks

Offline

#2 2013-02-26 22:46:44

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,132

Re: automounting /root and /boot on media!

Post fstab.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#3 2013-02-26 22:53:17

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: automounting /root and /boot on media!

Also, remove your udev automounting rule (or adapt it so it doesn't include those partitions)...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2013-02-27 12:23:38

stp002
Member
Registered: 2011-12-26
Posts: 44

Re: automounting /root and /boot on media!

Thank you all  for your help and tips.Please see the fstab file.

  # 
# /etc/fstab: static file system information
#
# <file system>	<dir>	<type>	<options>	<dump>	<pass>
tmpfs		/tmp	tmpfs	nodev,nosuid	0	0
/dev/sda3 /boot ext3 defaults 0 1
/dev/sda6 / ext4 defaults 0 1
/dev/sda5 swap swap defaults 0 0
debugfs /sys/kernel/debug   debugfs      defaults 0 0  

Thanks.

Offline

#5 2013-02-27 12:51:59

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,846
Website

Re: automounting /root and /boot on media!

You can remove the tmpfs and debugfs entries, as systemd mounts these by default. Furthermore, only / should have a pass_no of 1, if you want /boot to be fscked, change it's "1" to a "2".

Other than that, your fstab looks fine to me.

Are you using any automount helpers (e.g. devmon, udiskie, or similar)?


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

#6 2013-02-27 23:06:40

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,132

Re: automounting /root and /boot on media!

I have the mountpoint for swap as "none" rather than "swap" but perhaps those are equivalent?

Probably just a question of removing or editing the udev rule then.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

Board footer

Powered by FluxBB