tell kernel NOT to try mount specific partition -aka- Wrong ufstype may corrupt your
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The kernel tries to mount only the root partition afaik whatever partition is given as argument root=..., automatic mounting of other partition must be defined elsewhere
--- I would like to have something like this in /etc/fstab ... IF it helps me ??? (which I did not try it yet)
PARTUUID=5bc5b355-ba9c-41d4-9d4a-d050d5850783 none /dev/null nobootwait,noauto 0 0 # LABEL=7
PARTUUID=362fe8a3-dd4c-416c-94e5-5d521f23d48a none /dev/null nobootwait,noauto 0 0
PARTUUID=5a780875-01 none /dev/null nobootwait,noauto 0 0
PARTUUID=02366c55-01 none /dev/null nobootwait,noauto 0 0
PARTUUID=362fe8a3-dd4c-416c-94e5-5d521f23d48a none /dev/null nobootwait,noauto 0 0
Well, I did not find any relevant kernel parameter/s either. (That's why I put the question here :-))
I did not have to remove thouse partitions from /etc/fstab - they were not there. (I put it there today so when I restart the OS instance - will see what is going to happened ?)
(Those partition/s are mostly encrypted by truecrypt or are grub-bios or are unformatted. Well, Those partitions encrypted by truecrypt I am scared of the most. If something bad happened to those partitions/disks ... .)
Do not know why those partitions kernel has tried to mount (by filesystem type guessing) ... if appearently there is no filesystem (and won't be :-))
I have always thought that if partition is not in /etc/fstab it stayed untouched [except what is defined in "linux /vmlinuz root="]. And even that it must be defined in /etc/fstab / otherwise it is going to boot into initramfs.
Maybe investigate some udev rules is the way to go. I don't have experience with this but maybe there are some rules that can be used to blacklist some partitions numbers
Well, After computer restarted today I did not find those errors again. I went through all any potential log files and did not find any sign of it. Tried to mount some partition by truecrypt and seems it is ok. So, maybe /etc/fstab is sufficient to manage it. But I am not going to mark this thread as solved until I will be more sure /etc/fstab helped.
I have read some udev manual as well but there is info that kernel is passing its disks findings to udev - not vice versa. So, I am little bit in a doubt that udev would helped. But maybe ... .
Well, I have to look into udev because those errors appeared again even quite after couple of hours of running OS instance. So, I am back in track I guess.
I installed 8 amd64 in a virtual machine with just /(sda1) and swap (sda5). Have not changed anything and no indication that it is trying to mount sda2. Have you changed anything from the initial installation?
Hu... original installation was with squeeze or lenny... a few years ago. So many things have changed since that.
I found this behaviour when I looked at the logs in order to fix some other trouble with the last upgrade.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.