LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 11-20-2009, 10:43 PM   #1
DECEPTOR
LQ Newbie
 
Registered: May 2009
Posts: 12

Rep: Reputation: 0
Mandriva 2009 to 2010 upgrade problems...


I've been pretty fortunate over the years when encountering problems while using different distros of Linux. A Google search or reading through Forums would educate and guide me to the solution. However, after performing a MCC notified upgrade from 2009 to 2010, I have at least three issues that I haven't been able to solve and I feel like I'm down to either a CD reinstall of 2010 or reverting back to 2009. I expect specific information will be needed from me, but I don't know what it will be and probably will need it spelled out Sesame Street style in order to retrieve it. Anyway, here are my issues:

1. Between 2 HDDs I have three FAT 32 partitions. The system automatically mounts two of them and I can't see the third anywhere. Of course, that is the one I need the most when I'm in Mandriva. SUBSET PROBLEM: I have attempted to go through MCC/Local Disks/Manage Partitions to find a way to mount the final FAT 32 partition. When I click on Manage Partitions I get this error, "This program has exited abnormally".

2. I wanted to make a minor edit to GRUB, went to folder Root/Boot but there was no GRUB folder. There wasn't any folders of any type there. The only two files were these, "kernel.h" and "kernel.h-2.6.31.5-desktop586-1mnb". To this point I don't know how wide spread this problem of missing files/folders may be. I've only noticed this problem within the Root/Boot directory.

3. MINOR: Prior to 2010 the thumb buttons on my Logitech MX518 mouse could be used to move BACK and FORWARD through pages of Dolphin, Firefox, etc. After upgrading they do not perform any function. I tried MCC/Hardware/Mouse, but the most "sophisticated" option under USB was a 3-Button mouse w/ wheel. I sure would like to have my buttons back.

I have attempted through the Konsole as Root to do an update just in case a file was corrupt or missing. Everything was supposedly good. The command I ran was: urpmi -v --auto-update

Can anybody guide me through these issues?

Take care,

DECEPTOR
 
Old 11-21-2009, 09:22 AM   #2
camorri
LQ Veteran
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2, current, slackware-arm-currnet
Posts: 5,439

Rep: Reputation: 622Reputation: 622Reputation: 622Reputation: 622Reputation: 622Reputation: 622
Problem 1. Could you open a konsole, and as root run the command 'fdisk -l' and post the results. That should list your disk partitions. Then run the command 'cat /etc/fstab' copy and paste the results so we can see what is in fstab.

Problem 2. menu.lst should be in /boot/grub not /root/boot; unless Mandy 2010 has changed the standard location of things.

I don't have a multi button mouse. The config should be in /etc/X11/xorg.conf There will be a section for the mouse. You may have to do a little googling to find out what to change.

There is nothing wrong with the urpmi command you used. That has always worked for me.
 
Old 11-21-2009, 03:11 PM   #3
DECEPTOR
LQ Newbie
 
Registered: May 2009
Posts: 12

Original Poster
Rep: Reputation: 0
camorri,
Thanks for helping me out.

PROBLEM 1:

Here is what I got with: fdisk -l

[root@localhost ~]# fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x40934092

Device Boot Start End Blocks Id System
/dev/sda1 * 1 2677 21502971 7 HPFS/NTFS
/dev/sda2 2678 16062 107515012+ c W95 FAT32 (LBA)
/dev/sda3 16063 19457 27270337+ 5 Extended
/dev/sda5 16063 16076 112423+ 83 Linux
/dev/sda6 16077 16840 6136798+ 83 Linux
/dev/sda7 16841 17094 2040223+ 82 Linux swap / Solaris
/dev/sda8 17095 19457 18980766 83 Linux

Disk /dev/sdb: 122.9 GB, 122942324736 bytes
255 heads, 63 sectors/track, 14946 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x28e728e6

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 7650 61448593+ c W95 FAT32 (LBA)
/dev/sdb2 7651 19457 94839727+ c W95 FAT32 (LBA)



Here is what I got with: cat /etc/fstab

[root@localhost ~]# cat /etc/fstab
# Entry for /dev/sda6 :
UUID=66f5b5a4-c1ba-4b7e-8638-552980949b01 / ext2 defaults 1 1
# Entry for /dev/sda5 :
UUID=0470549a-f1bc-4078-b128-5bf676b82ad7 /boot ext2 defaults 1 2
# Entry for /dev/sda8 :
UUID=962c7d0a-eb9f-4e05-b48d-d35ccff49a0b /home ext2 defaults 1 2
# Entry for /dev/sda1 :
UUID=5A8C2B0C8C2AE26D /media/hd ntfs-3g defaults,umask=000 0 0
# Entry for /dev/sda2 :
UUID=18EF-243B /media/hd2 vfat defaults,umask=000 0 0
# Entry for /dev/sdb1 :
UUID=49D5-657A /media/hd3 vfat umask=000 0 0
# Entry for /dev/sdb2 :
UUID=0000-553B /media/hd4 vfat defaults,umask=000 0 0
none /proc proc defaults 0 0
# Entry for /dev/sda7 :
UUID=6b93c76b-1c40-48c4-a277-34ae5aa8b36c swap swap defaults 0 0
[root@localhost ~]#


PROBLEM 2: I believe we are both saying the same thing just in different ways. When I was going to edit the menu.lst file, I headed from Root to /Boot/Grub/Menu.lst. Problem was that the folder for Grub was missing inside the Boot folder. As a matter of fact there were zero folders within Boot. Only the two files I listed earlier. I don't understand why everything is missing or if this issue may be in other folder/files that I haven't discovered yet.
 
Old 11-21-2009, 03:16 PM   #4
DECEPTOR
LQ Newbie
 
Registered: May 2009
Posts: 12

Original Poster
Rep: Reputation: 0
Looking at fdisk, which I've never done before, I'm mounting sdb1 and sdb2. The other partition that I would like to mount is sda2.
 
Old 11-21-2009, 04:30 PM   #5
camorri
LQ Veteran
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2, current, slackware-arm-currnet
Posts: 5,439

Rep: Reputation: 622Reputation: 622Reputation: 622Reputation: 622Reputation: 622Reputation: 622
Problem 1.

There is an entry for /dev/sda2. Here it is
Quote:
# Entry for /dev/sda2 :
UUID=18EF-243B /media/hd2 vfat defaults,umask=000 0 0
This is a primary partition. If it were extended, it would be sda5 (6,7,8 etc) or higher. We need to find out why it is not mounting. The entry is there. Could you open a konsole and look to see it there is a /media/hd2 directory. If it is not there, make it, with the 'mkdir /media/hd2' command.

If it is there, then the mount is not working. Open a konsole as root, run the command

'mount UUID=18EF-243B /media/hd2 vfat defaults,umask=000 0 0' press enter. I suspect it will fail. If it fails, please post the error information. I'm not sure if the problem is related to it being a primary partition, or not. If it works, then I'm at a loss to understand why it doesn't mount when the other partitions get mounted during the boot process.

Problem 2. Are you sure you have grub installed? It could be lilo, then the /boot/grub/menu.lst file would not be there.

Have a look through MCC and the boot options. It should be 'Boot' --> 'Setup Boot System'. If that file is not there, and it boots, that is a mystery to me how that is happening.

New thought, this may be Grub2. There are changes on how it boots, so the files may be different, and in different locations. I'll have a look into that one.

Last edited by camorri; 11-21-2009 at 04:33 PM. Reason: added info...
 
Old 11-21-2009, 11:41 PM   #6
DECEPTOR
LQ Newbie
 
Registered: May 2009
Posts: 12

Original Poster
Rep: Reputation: 0
PROBLEM 1, Here are my Konsole results:

[shane@localhost ~]$ /media/hd2
bash: /media/hd2: is a directory
[shane@localhost ~]$ /media/hd5
bash: /media/hd5: No such file or directory
[shane@localhost ~]$ su -
Password:


[root@localhost ~]# mount UUID=18EF-243B /media/hd2 vfat defaults,umask=000 0 0
Usage: mount -V : print version
mount -h : print this Help
mount : list mounted filesystems
mount -l : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
mount -a [-t|-O] ... : mount all stuff from /etc/fstab
mount device : mount device at the known place mount directory : mount known device here
mount -t type dev dir : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
mount --bind olddir newdir
or move a subtree:
mount --move olddir newdir
One can change the type of mount containing the directory dir:
mount --make-shared dir
mount --make-slave dir
mount --make-private dir
mount --make-unbindable dir
One can change the type of all the mounts in a mount subtree
containing the directory dir:
mount --make-rshared dir
mount --make-rslave dir
mount --make-rprivate dir
mount --make-runbindable dir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using -L label or by uuid, using -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say man 8 mount .

[root@localhost ~]# mount
/dev/sda6 on / type ext2 (rw)
none on /proc type proc (rw)
/dev/sda8 on /home type ext2 (rw)
/dev/sdb1 on /media/hd3 type vfat (rw,umask=000)
/dev/sdb2 on /media/hd4 type vfat (rw,umask=000)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)

[root@localhost ~]# mount /dev/hd2
mount: can't find /dev/hd2 in /etc/fstab or /etc/mtab

[root@localhost ~]# mount /media/hd2
mount: special device UUID=18EF-243B does not exist
[root@localhost ~]#


** I'm not sure if those were the results you expected or if they will be of any use. One thing of note is my last attempt to mount /media/hd2 and getting the UUID did not exist. What does that mean?

PROBLEM 2:
I'm fairly positive that I'm still using my original 2009 GRUB file, but modified by 2010. The minor edit that I wanted to perform was changing "Mandriva 2009" to "Mandriva 2010". Also, when I attempted to go through MCC--> Boot--> Set up Boot System, I got the same "This program has exited abnormally" has I did for Managing Partitions in my original PROBLEM 1 post. I'm starting to think I have a corrupt install of 2010 even though all the packages are supposedly good. If so, what would be the best way to fix it?
 
Old 11-22-2009, 06:50 AM   #7
camorri
LQ Veteran
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2, current, slackware-arm-currnet
Posts: 5,439

Rep: Reputation: 622Reputation: 622Reputation: 622Reputation: 622Reputation: 622Reputation: 622
On Problem 2, I don't think all the Draktools are installed correctly. Those programs should not 'exit abnormally'. There are a bunch of scripts that install to run MCC. I don't know which package(s) need to be removed and installed. That will take some research.

It appears the packacage is called drakconf. Since you can access MCC, the you must have a package there, possibly not installed correctly, or not updated. Go into MCC, and Install Remove Software, type drakconf in the search bar. It it is the old package it will say Version 12.10.1 Release 2mdv 2009.1. I don't have 2010 installed yet, so I'm not sure the new version and release. If it's the old version, remove it and install again.

On problem 1, try this, 'mount -t vfat /dev/sda2 /media/hda2' I'm wondering if the UUID for that partition got changed during the upgrade. The value we used came from fstab, so it may no longer match the UUID of that partition.

Last edited by camorri; 11-22-2009 at 07:03 AM.
 
Old 11-22-2009, 11:14 AM   #8
DECEPTOR
LQ Newbie
 
Registered: May 2009
Posts: 12

Original Poster
Rep: Reputation: 0
Problem 1:

[root@localhost ~]# mount -t vfat /dev/sda2 /media/hd2
mount: special device /dev/sda2 does not exist
[root@localhost ~]# mount -t vfat /dev/sda2 /media/hda2
mount: mount point /media/hda2 does not exist

** Last night I ran both the 2009.1 and 2010 Live CDs; 2009 recognized/mounted sda2 without any problems, 2010 did not. So this problem seems to be an issue with 2010 and not specifically a corrupt install on my computer.

Need to reboot, so I will post Problem 2 outcome separately.
 
Old 11-22-2009, 11:19 AM   #9
ernie
Senior Member
 
Registered: Nov 2001
Location: Toledo, Ohio - USA
Distribution: Mageia 1
Posts: 1,079
Blog Entries: 4

Rep: Reputation: 70
If you are having trouble with the graphical package manager, try switching to a console screen (leave the GUI) with the CTRL+ALT+F2 keyboard combination.

Log in as the root user.

Execute the following commands:
Code:
urpmi.update -a
urpmi drakconf --replacepkgs
The first command will tell urpmi (the Mandriva command line package manager) to update your media sources.

The second command tells urpmi to re-install the drakconf package and replace all included files. With this command, the drakconf package will be re-installed even though it is already installed.

HTH,
 
Old 11-22-2009, 11:59 AM   #10
DECEPTOR
LQ Newbie
 
Registered: May 2009
Posts: 12

Original Poster
Rep: Reputation: 0
Problem 2:

Drak tools were showing version 12.17 for 2010. I went ahead and removed them, knowing that I would have to Google the reinstallation of the software using the command line. I'm smarter now. Anyway, there was no change and the "Manage Partitions" and "Boot Set Up" still exit abnormally. The draktools are turning into their own "problem", since Problem 2 started out has a missing Grub folder. :-)

I'm really tempted to reinstall 2009.1. I was really satisfied with 2009.1 and the only reason I upgraded to 2010 was in the hopes that I could finally get dual monitor setup for my ATI Radeon 9250 video card. Dual monitor works fine under MS XP.
 
Old 11-22-2009, 12:19 PM   #11
DECEPTOR
LQ Newbie
 
Registered: May 2009
Posts: 12

Original Poster
Rep: Reputation: 0
ernie,

Even though I just got through reinstalling the draktools, I ran your commands for S&Gs. Still no change. I'm not really having a problem with the entire GUI for MCC, just certain applications. You gave me the idea to go through all of MCC to see if more than just the two I had already identified were bad.

Here is the list of "This program has exited abnormally":

- Network Sharing --> Access Windows (SMB) drives and directories
- Network Sharing --> Access NFS drives and directories
- Network Sharing --> Access WebDAV shared drives and directories
- Local Disks --> Manage Disk Partitions
- Local Disks --> CD/DVD Burner (Plextor)
- Local Disks --> CD/DVD Burner (Lite-on)
- Boot --> Set up Boot system

What, if anything, do all those tasks share in common? Everything else in MCC works.

Last edited by DECEPTOR; 11-22-2009 at 12:26 PM.
 
Old 11-22-2009, 08:03 PM   #12
camorri
LQ Veteran
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2, current, slackware-arm-currnet
Posts: 5,439

Rep: Reputation: 622Reputation: 622Reputation: 622Reputation: 622Reputation: 622Reputation: 622
Each one of those tasks that are failing have something to do with drives and directories. That doesn't help much though.

On problem 1, if you go to the /dev directory, and you do a 'ls sda*' what shows up?

I think what is happening is the system on upgrade has reassigned devices. The UUID for the old configuration is not valid.

The output will look like this:
Quote:
cd /dev
[cliff@Duelie:dev]$ ls sda*
sda sda1 sda2 sda5 sda6
This is from my system. sda2 is not a mountable partition on my system. It is there because of the extended partitions, sda5 and sda6. From what I understand of your partitioning, we should see : sda sda1 sda2 sda3 sda5 sda6 sda7 and sda8.
 
Old 11-22-2009, 10:51 PM   #13
DECEPTOR
LQ Newbie
 
Registered: May 2009
Posts: 12

Original Poster
Rep: Reputation: 0
[shane@localhost ~]$ cd /dev
[shane@localhost dev]$ ls sda*
sda sda6 sda7 sda8

Breakout of partitions on my computer:
sda1 = Win XP
sda2 = FAT32 Partition containing files that both XP/Linux use.
sda3 = Extended Partition for Linux OS
sda5 = Linux Boot partition
sda6 = Linux Root
sda7 = Linux Swap
sda8 = Linux Home

sdb1 = FAT32 Storage
sdb2 = FAT32 Backup files

camorri,
Question about your quote:

"I think what is happening is the system on upgrade has reassigned devices. The UUID for the old configuration is not valid." - Since I ran the Live CD for 2010 last night and it still didn't recognize sda1 or sda2 wouldn't that point to an issue with 2010? The 2009.1 Live CD detected and mounted sda1, sda2, sdb1, and sdb2 with no problems.

Trying to troubleshoot this issue will be the interesting part. If there is a software glitch it would be nice to report it to Mandriva. At this point though I don't know what to tell them.
 
Old 11-23-2009, 10:55 AM   #14
camorri
LQ Veteran
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2, current, slackware-arm-currnet
Posts: 5,439

Rep: Reputation: 622Reputation: 622Reputation: 622Reputation: 622Reputation: 622Reputation: 622
I think this points to a problem with your installation CD. Did you do a md5sum check on the CD before you burned it? Did you burn it a slow speed on good media, with nothing else going on but the burn?

I just burned a copy, and it recognized my primary partition, sda1. Your 2009.1 CD is good, we know that. I find it difficult to believe there is an issue with the code detecting partitions on a disk. That has worked for years, and been rock solid.
 
Old 11-23-2009, 12:04 PM   #15
DECEPTOR
LQ Newbie
 
Registered: May 2009
Posts: 12

Original Poster
Rep: Reputation: 0
2010 as installed on my computer was done through an MCC upgrade notification; Mandriva performed that action online. Even though the Live CD was not used for the installation, it performs the exact same way on my computer.

Last night I also discovered that audio doesn't work even though it did under 2009.1. I checked all volume controls and settings. Maybe 2010 just doesn't agree with my M/B and peripheral hardware combination.

The Live CD "should" be good, the ISO was MD5 checked, burned slowly with "Test and Copy" using TDK media, and was the only action the computer was performing at the time.

I agree with you about the partition detection code. I'm sure the s/w engineers didn't reinvent the wheel, but for whatever reason I'm not having any luck.

Camorri, I really appreciate your efforts. Maybe I would have had better luck if I had installed 2010 via CD instead of online? At this point I don't have a Grub folder, can't access the main partition I need, audio doesn't work, a lot of important functions of MCC don't work. It seems the more I dig the more problems I find. Between this forum and another forum, which I copy/pasted our discussions, I've had many people view our problem solving efforts and none had anything to add beyond your guidance. I see that as a tribute to your knowledge because if you weren't "spot-on" then others would have jumped in to help. It just seems my issues have no logical solution at this point.

Maybe if I reinstall 2009, you can attempt to help me get a dual monitor setup working using an ATI Radeon 9250 card? I've done a lot of Google searching on that problem and that's why I upgraded to 2010 in the first place, in hopes that dual monitor would now work for me.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Keyboard layout problems after update to Mandriva 2009.1 arces Mandriva 2 08-07-2009 01:03 PM
Problems with Gnome in Mandriva 2009 Tux Rules Linux - Software 5 03-10-2009 04:05 PM
SMB & Webcam Problems in Mandriva 2009.0 edwinlives4ever Linux - Newbie 1 12-22-2008 05:18 AM
Mandriva 2009 Modem config problems KFL Linux - Hardware 2 12-16-2008 01:13 AM
Mandriva 2009 Loading Problems Tom56 Mandriva 2 11-07-2008 10:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 02:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration