Cover DVD 67 Mandriva 2005LE problem

Comments, suggestions and questions about Linux Format magazine and the coverdiscs

Moderators: ChriThor, LXF moderators

Cover DVD 67 Mandriva 2005LE problem

Postby Viking44 » Tue Jul 05, 2005 4:57 pm

I have very recently installed Mandriva 2005LE from the cover disk. The install went very well for a first time Linux user. But I have a problem with installing some of the additional programs. Sometimes I am informed that Mandriva needs to have my DVD in drive hda which is my Cd drive and I must then hit Enter. On placing the disk there, the disk is immediately ejected, not surprising as it is a DVD! If I try putting the DVD in the DVD drive instead and hit Enter, the disk is again ejected. If I then simply try to abandon that task I am forced to end the Session to do so. Can anyone help me out of the vicious circle?
Many thanks in advance.
Viking44
 
Posts: 36
Joined: Tue Jul 05, 2005 4:41 pm
Location: Bucks UK

RE: Cover DVD 67 Mandriva 2005LE problem

Postby AJB2K3 » Sat Jul 09, 2005 11:38 am

hda is the primary-master device which should your hd.
hdc/d should be your drives.
AJB2K3
LXF regular
 
Posts: 175
Joined: Sat Jun 11, 2005 11:51 am

RE: Cover DVD 67 Mandriva 2005LE problem

Postby Viking44 » Sat Jul 09, 2005 2:56 pm

Hi AJB2K3
Many thanks for your reply. If I try to say configure my computer, I get the message that packages need installing and that I should insert DVD 67 in device /dev/hda. The cd drawer opens and after that I hit trouble as it refuses the dvd in either the cd drive (/dev/hda) or dvd drive (/dev/hdc) which was used for installing Mandriva 2005LE. If I close all dialogue boxes the hard drive carries on "hunting", the cd drawer refuses to stay shut and I have to close down the pc to start again. Any ideas where I go from here? Perhaps a re-install of linux? I believe I made a big mistake by not configuring everything during the install thinking that I would take my time with that at the end.
Viking44
 
Posts: 36
Joined: Tue Jul 05, 2005 4:41 pm
Location: Bucks UK

RE: Cover DVD 67 Mandriva 2005LE problem

Postby mugstar » Sat Jul 09, 2005 3:19 pm

Can you post the contents of /etc/fstab and /etc/urpmi/urpmi.cfg?
mugstar
LXF regular
 
Posts: 184
Joined: Mon Apr 11, 2005 12:43 am
Location: Scotland

RE: Cover DVD 67 Mandriva 2005LE problem

Postby Viking44 » Sat Jul 09, 2005 4:00 pm

As requested here are those files! I am only a very very inexperienced linuxer I'm afraid!! And dual booting as well!!

/etc/fstab

# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/hde5 / ext3 defaults 1 1
/dev/hde7 /home ext3 defaults 1 2
/dev/hda /mnt/cdrom auto umask=0,user,iocharset=iso8859-15,codepage=850,noauto,ro,exec,users 0 0
/dev/hdc /mnt/cdrom2 iso9660 user,iocharset=iso8859-15,noauto,ro,exec 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso8859-15,sync,codepage=850 0 0
/dev/hde1 /mnt/windows vfat umask=0,iocharset=iso8859-15,codepage=850 0 0
none /proc proc defaults 0 0
/dev/hde6 swap swap defaults 0 0

/etc/urpmi/urpmi.cfg

Linux\ Format\ DVD\ 67\ (cdrom1) removable://mnt/cdrom/media/main {
hdlist: hdlist.Linux Format DVD 67 (cdrom1).cz
with_hdlist: ../../media/media_info/hdlist1.cz
key-ids: 70771ff3
removable: /dev/cdrom
static
}

What you think?
Viking44
 
Posts: 36
Joined: Tue Jul 05, 2005 4:41 pm
Location: Bucks UK

Re: RE: Cover DVD 67 Mandriva 2005LE problem

Postby towy71 » Sat Jul 09, 2005 4:10 pm

the urpmi is listing the DVD wrongly, it should be:
Code: Select all
removable://mnt/cdrom2/media/main

note cdrom2
HTH
Dick
still looking for that door into summer
towy71
Moderator
 
Posts: 4285
Joined: Wed Apr 06, 2005 2:11 pm
Location: wild West Wales

RE: Re: RE: Cover DVD 67 Mandriva 2005LE problem

Postby Viking44 » Sat Jul 09, 2005 4:13 pm

Ok. Thanks but what do I do now?

Do I just add the 2 somehow? Sorry to seem a fool but I am just a beginner!
Viking44
 
Posts: 36
Joined: Tue Jul 05, 2005 4:41 pm
Location: Bucks UK

Postby towy71 » Sat Jul 09, 2005 4:47 pm

hmm, it is something you can setup from Control Centre, but I am not at a Mandrake box so can't remember the gui interface :oops:
however you could edit the urpmi file from a root console using vi..
still looking for that door into summer
towy71
Moderator
 
Posts: 4285
Joined: Wed Apr 06, 2005 2:11 pm
Location: wild West Wales

Postby mugstar » Sat Jul 09, 2005 7:58 pm

Baptism of Fire, vi version... :wink:

Open a root console (hunt around in the KDE menu, it's there somewhere.) Enter your root password. Do

Code: Select all
vi /etc/urpmi/urpmi.cfg

Press 'i' to enter Insert mode.
Make the edit as described by towy71.
Press 'Esc' to exit Insert mode.
Type ':wq' to write and close the file.

Then try and install something from the DVD (an easier text editor like pico or nano, maybe :wink:)
mugstar
LXF regular
 
Posts: 184
Joined: Mon Apr 11, 2005 12:43 am
Location: Scotland

Postby Viking44 » Sat Jul 09, 2005 9:30 pm

Thanks for that Mugstar. I am usung Gnome and found a terminal, carried out each step as far as esc to exit insert then typed wq but no typing appeared on the screen at this point. I closed the terminal and tried out a configuration and the response by the computer was identical to the original. I tried to repeat your instructions but was told that a .swp file already existed abort? or carry on. I aborted.
The instruction to press esc might not be right in gnome??
Anyway am now back in windows to type this. Any thoughts?
Will now try again.
Viking44
 
Posts: 36
Joined: Tue Jul 05, 2005 4:41 pm
Location: Bucks UK

Postby towy71 » Sat Jul 09, 2005 9:49 pm

so it is vi /etc/urpmi/urpmi.cfg
i for insert and put the cdrom2 in the correct place, then

Code: Select all
 :wq


please note the colon before the wq

vi is not very helpful but it is the editor that always seems to be there :roll:

the reason for putting the 2 in there is because that is the mount point as described in /etc/fstab:
/dev/hdc /mnt/cdrom2 iso9660 user,iocharset=iso8859-15,noauto,ro,exec 0 0

hda being master on ide1
hdb " slave ditto
hdc master ide2
hdd slave

don't be put off by some of the arcane wizardry, have fun

Dick
still looking for that door into summer
towy71
Moderator
 
Posts: 4285
Joined: Wed Apr 06, 2005 2:11 pm
Location: wild West Wales

Postby Viking44 » Sat Jul 09, 2005 9:59 pm

Hi again towy71!
I am learning to look at the EXACT bits to type!! Did not notice the colon. I got all sorts of messages about .swp files and recover etc etc. Tried my best to make sense of it all, yes I am having fun! I will try again tomorrow after family are in bed but will close down for now. Many thanks to all for the help and information this evening. Goodnight - will try to reawaken the dead penguin tomorrow!! Cheers.
Jim

Added at 23:15
I could not resist on last try before going to bed and YIPPEE I am now getting stuff off the dvd and I have got connected to the net.
VERY many thanks for the help and info.
Goodnight all!
Jim
zzzzzzzzzzz
Viking44
 
Posts: 36
Joined: Tue Jul 05, 2005 4:41 pm
Location: Bucks UK


Return to Magazine and coverdiscs

Who is online

Users browsing this forum: No registered users and 0 guests