Default CDROM search path for Loki installer

Talk about everything.
ripper
Posts: 18
Joined: Sun Apr 18, 2010 14:01

Default CDROM search path for Loki installer

Postby ripper » Tue Apr 27, 2010 17:18

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.

kratz00
liflg member
Posts: 1654
Joined: Fri Oct 22, 2004 16:23

Postby kratz00 » Tue Apr 27, 2010 21:44

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.

ripper
Posts: 18
Joined: Sun Apr 18, 2010 14:01

Postby ripper » Wed Apr 28, 2010 10:46

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.

kratz00
liflg member
Posts: 1654
Joined: Fri Oct 22, 2004 16:23

Postby kratz00 » Wed Apr 28, 2010 20:08

None of those, have a look yourself:

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

ripper
Posts: 18
Joined: Sun Apr 18, 2010 14:01

Postby ripper » Wed Apr 28, 2010 20:16

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.

kratz00
liflg member
Posts: 1654
Joined: Fri Oct 22, 2004 16:23

Postby kratz00 » Fri May 14, 2010 11:16

I think with some time and some Linux insight you do not need to know C, to figure out whats going on there.

ripper
Posts: 18
Joined: Sun Apr 18, 2010 14:01

Postby ripper » Fri May 14, 2010 12:05

I don't need it anymore. I just wonder what's the reason for your kind of attitude. Never mind.

kratz00
liflg member
Posts: 1654
Joined: Fri Oct 22, 2004 16:23

Postby kratz00 » Fri May 14, 2010 12:13

What attitude? I was trying to help you.

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


Who is online

Users browsing this forum: No registered users and 1 guest