Way to not auto mount HD partitions; Mandriva One 2008 Spring Live CD
MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
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.
You maybe mistaking that fact Knoppix will put an icon on the desktop for each hard drive partition that it finds during the boot-up process. The partition will only be mounted if the desktop icon for it is clicked. You are right in stating the partition will be mounted as read only. It takes an additional right mouse click to bring up the context menu where the option is available to put the partition in read/write mode.
I have been using Knoppix since version 3.4 and from what I remember all the versions operated as described above.
The way Knoppix does it makes a good compromise between those that want a Live CD to not touch the hard drive and those that want to use the Live CD for hard drive access and maintenance.
you are right...just checked thru virtualbox..../etc/fstab entry is noauto.
now lets get back to Mdv spring.
2) not that I have one....a spring that is
try a knoppix "like' cheat code = kernel boot parameter
append to your kernel line
nofstab
3) i have just checked this using knoppix...I had to use "knoppix nofstab" and the result was......no change...fstab entries still appeared but they are still noauto.
I have tried using the "noprobe" boot parameter which has worked for me on other Live CDs, (i.e. hda=noprobe and ide0=noprobe), but neither of them worked.
Mandriva's default login is "guest" which has limited access privileges. So with the partitions mounted as read/write, "guest" can generally only read the files on the Linux partitions, not write to them. I have not tested on it a Windows PC, but I am assuming it would be able to write to "vfat" partitions.
Issuing the following command from a Konsole window unmounted all my hard drive partitions:
Code:
su -c "umount /media/hd*"
Still it would be nice to be able to control the automounting of partitions during the bootup process. I would feel more comfortable demonstrating Mandriva One on other peoples PC knowing I could tell them with confidence that the Live CD will not alter their hard drive.
Tell them with confidence that the Mandriva One cd will not alter their hard-drive. Like all Live cd's it installs to the RAM only unless you the user tell it otherwise (i.e. use the installer feature).
The cd you are using is not the final release of Mandriva 2008.1 (spring), but will be one of the release candidates - the file you downloaded will have had the suffix rc1 or 2 I'm guessing. If you feel this is an issue that should be addressed contact the Mandriva team with a bug report or request that it should be changed in the final release.
You are right I am using Mandriva One 2008.1 rc2 (cooker).
From reading the Mandriva wiki on the cooker process, by the time a version is in release candidate status all change requests are frozen and will have to wait until the next version is being developed.
I would not consider what Mandriva One does as a Live CD to be a bug, rather it appears to be a design decision by the Mandriva developers.
From what I remember in using other Live CDs (Ubuntu, Fedora, PCLinuxOS, Mepis), they did not mount the hard drives by default. In fact, some of them do not create entries in /etc/fstab for the hard drive partitions, Ubuntu is one of them that does it that way.
I can setup Ubuntu as a Live CD on another persons PC knowing the person would be unable to affect their hard drive unless they did try to install it. With Mandriva's approach of automatically mounting all the hard drive partitions in read/write mode , I can not have that same level of confidence. With Mandriva One used just as a Live CD, with no intent of installing it, there is a risk of inadvertent changes to the hard drive.
You are correct, the behavior of Mandriva One is not a bug, although I can see their logic. With the Mandriva One CD, I can install the OS, then if I run into trouble, the Live CD doubles as a rescue disk. The decision to mount the local hard drives in read / write mode is consistent with the concept of a rescue CD, although this may be better implemented as a rescue configuration (a new boot option). The default behavior could then be altered to mount local hard drives read only or not at all and let the installer handle any drive mounting that may be required if and only if an installation is initiated.
FWIW, the final release of Mandriva 2008.1 Spring is scheduled for Wednesday April 9, 2008 (with an internal release date of Friday April 4, 2008). Since the scheduled date is an estimate, we should be able to expect to see the Spring edition in the next two or three weeks. From what I see in rc2 (Mandriva One), things are looking fairly stable, so maybe they will come close to the scheduled dates.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.