Page 1 of 1

Default CDROM search path for Loki installer

Posted: Tue Apr 27, 2010 17:18
by ripper
This is in your FAQ:
The installer does not find the cd.
First try to export the CD-ROM environment variable: (Especially for auto/supermount users e.g. Mandrake).
export SETUP_CDROM=/path/to/your/mounted/cdrom
FreeBSD users: setenv SETUP_CDROM /path/to/your/mounted/cdrom

If the installer still does not find the cd, make sure your kernel has "Joliet extensions" enabled.
("Filesystems" -> "ISO 9660 CDROM file system support" -> "Microsoft Joliet CDROM extensions"
It is quite hard for me to explain to beginner users in my book how to find out the current cdrom mount point in modern distributions (because it varies depending on cdrom label) and then set environment variable and run the installer. What I can do is to instruct them to insert line like this into /etc/fstab:

Code: Select all

/dev/cdrom /media/cdrom auto umask=0,users,iocharset=utf8,noauto,ro,exec 0 0
because that's static solution and needs to be done only once. So now the question is - will this solution work with Loki installers? Is there any issue I should be aware of? And mainly - what is the default path the Loki installers use when searching for CDROM files? /media/cdrom? /media/cdrom0? /cdrom?

Thanks for an answer.

Posted: Tue Apr 27, 2010 21:44
by kratz00
It's just a workaround and in practice not needed.
Every user can run "mount" to see which mount point is used and set environment variable accordingly.

Posted: Wed Apr 28, 2010 10:46
by ripper
kratz00 wrote:It's just a workaround and in practice not needed.
Every user can run "mount" to see which mount point is used and set environment variable accordingly.
No, user seeing Linux for the first time can't do it.

But that's not the point. The important question I have is where Loki installers search for CDROM by default - /media/cdrom, /media/cdrom0, /cdrom ? Do you know it?

Thanks.

Posted: Wed Apr 28, 2010 20:08
by kratz00
None of those, have a look yourself:

http://svn.icculus.org/loki_setup/trunk ... iew=markup

Posted: Wed Apr 28, 2010 20:16
by ripper
kratz00 wrote:None of those, have a look yourself:

http://svn.icculus.org/loki_setup/trunk ... iew=markup
Well I can tell you this doesn't really help me, because I can't read C code.

Posted: Fri May 14, 2010 11:16
by kratz00
I think with some time and some Linux insight you do not need to know C, to figure out whats going on there.

Posted: Fri May 14, 2010 12:05
by ripper
I don't need it anymore. I just wonder what's the reason for your kind of attitude. Never mind.

Posted: Fri May 14, 2010 12:13
by kratz00
What attitude? I was trying to help you.

As you don't need it anymore, topic is closed.