Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SOLVED /boot mounted even with 'noauto' in /etc/fstab
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
afabco
Guru
Guru


Joined: 24 Feb 2004
Posts: 380

PostPosted: Thu Sep 29, 2005 6:41 pm    Post subject: SOLVED /boot mounted even with 'noauto' in /etc/fstab Reply with quote

This has to be an FAQ, I know I've seen the answer, but I can't find it anywhere....

my /boot stays mounted on boot, even with noauto in the /etc/fstab. There was an option or line or something you have to change in udev or ivman to keep this from happening, but I can't find it anywhere. Anyone recall what it is?

thanks
_________________
Anyone who puts a small gloss on a fundamental technology, calls it proprietary, and then tries to keep others from building on it, is a thief.
-Tim O'Reilly


Last edited by afabco on Fri Sep 30, 2005 5:39 am; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43586
Location: 56N 3W

PostPosted: Thu Sep 29, 2005 6:47 pm    Post subject: Reply with quote

afabco,

You will be able to look in /boot even if its not mouted. It will be a directory on your root filesystem then.
You should observe that its contents change between being mounted and not mounted.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
afabco
Guru
Guru


Joined: 24 Feb 2004
Posts: 380

PostPosted: Thu Sep 29, 2005 6:56 pm    Post subject: Reply with quote

that's fine, and I understand the -directory- /boot stays there. But I want /dev/hda1 (for example) to stay unmounted.
_________________
Anyone who puts a small gloss on a fundamental technology, calls it proprietary, and then tries to keep others from building on it, is a thief.
-Tim O'Reilly
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43586
Location: 56N 3W

PostPosted: Thu Sep 29, 2005 7:36 pm    Post subject: Reply with quote

afabco,

Post your /etc/fstab please.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
afabco
Guru
Guru


Joined: 24 Feb 2004
Posts: 380

PostPosted: Thu Sep 29, 2005 9:12 pm    Post subject: Reply with quote

# <fs> <mountpoint> <type> <opts> <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda1 /boot ext2 ro,noauto,noatime 1 1
/dev/hda2 / ext3 noatime 0 0
/dev/hda3 none swap sw 0 0
/dev/hda5 /usr reiserfs noatime 0 0
/dev/hda6 /usr/src reiserfs noatime 0 0
/dev/hda7 /usr/portage reiserfs noatime 0 0
/dev/hda8 /tmp ext2 noatime 0 0
/dev/hda9 /var reiserfs noatime 0 0
/dev/hda10 /var/tmp reiserfs noatime 0 0
/dev/hda11 /home reiserfs noatime 0 0
/dev/hda12 /pub reiserfs noatime 0 0

# NOTE: The next line is critical for boot!
none /proc proc defaults 0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
# Adding the following line to /etc/fstab should take care of this:

none /dev/shm tmpfs defaults 0 0

# udev/ivman stuff below

/dev/hdd /media/dvdrw1 auto users,exec,noauto,managed 0 0
/dev/hdc /media/cdrecorder1 auto users,exec,noauto,managed 0 0
/dev/floppy/0 /media/floppy auto users,exec,noauto,managed 0 0
_________________
Anyone who puts a small gloss on a fundamental technology, calls it proprietary, and then tries to keep others from building on it, is a thief.
-Tim O'Reilly
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43586
Location: 56N 3W

PostPosted: Thu Sep 29, 2005 10:15 pm    Post subject: Reply with quote

afabco,

That looks OK
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
afabco
Guru
Guru


Joined: 24 Feb 2004
Posts: 380

PostPosted: Thu Sep 29, 2005 10:46 pm    Post subject: Reply with quote

yes, figured it was.

there's something in either/both ivman and/or dbus that leaves the /boot partition mounted by default. So something in the udev and/or ivman and/or dbus and/or ???? configuration files needs to be changed. I've done it before, but can't find where the details are.
_________________
Anyone who puts a small gloss on a fundamental technology, calls it proprietary, and then tries to keep others from building on it, is a thief.
-Tim O'Reilly
Back to top
View user's profile Send private message
ellis
n00b
n00b


Joined: 24 Mar 2003
Posts: 10
Location: Freiburg, Germany

PostPosted: Fri Sep 30, 2005 3:33 am    Post subject: Reply with quote

I'm having the same problem -- all of my "noauto" HD partitions get mounted, despite the "noauto" option... If you do find a solution, please post it. I'll do the same, of course. ;)
Back to top
View user's profile Send private message
afabco
Guru
Guru


Joined: 24 Feb 2004
Posts: 380

PostPosted: Fri Sep 30, 2005 5:38 am    Post subject: Reply with quote

Here it is. I knew if I just kept trying combos of keywords, something would finally hit.

Quote:

https://forums.gentoo.org/viewtopic-t-324298-highlight-automounting+kde.html


Put this in /etc/ivman/IvmConfigActions.xml.

Code:

    <!-- Don't mount /boot -->

    <ivm:Match name="hal.block.device" value="/dev/hda1">
        <ivm:Option name="mount" value="false" />
    </ivm:Match>

_________________
Anyone who puts a small gloss on a fundamental technology, calls it proprietary, and then tries to keep others from building on it, is a thief.
-Tim O'Reilly
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Fri Sep 30, 2005 7:41 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Duplicate Threads in favour of the thread mentioned above.
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum