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.
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
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.
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.
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 03:33 PM.
Reason: added info...
[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?
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.
[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.
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.
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.
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.
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.
[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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.