LinuxQuestions.org
Register a domain and help support LQ
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
 
LinkBack Search this Thread
Old 09-23-2006, 01:16 PM   #1
Nafcom
LQ Newbie
 
Registered: Sep 2006
Posts: 8

Rep: Reputation: 0
installation problem of mandriva after changing PC


I have already searched in google and in the mandriva irc but yet found no answer. Actually, I even made a break of one year because I put so much energy and time in my installation and configuration of my Mandrake, I do not want to re-do all. NO CHANCE

Well, due to various reasons, I had to put my Mandrake HDD into another PC.
And I wanted to update its installation (I just downloaded today Mandrake 2007 Free and also tried with earlier versions before).

So far no problem, it recognizes the previous installation finds it and offers me to update, great so far, but unfortunately due to the fact that the pc in which the HDD has been had 4 HDDs, it cannot find the other drives/partitions and skips with "cannot find [path]" ([path] = path of the partition)
So how can I skip this test/mount of the old partitions/drive or correct that info so the installer will continue?

Well, I am no Linux expert unfortunately so I do not know how I can fix this problem, hope anybody can help!

Thanks in advance!
 
Old 09-23-2006, 02:38 PM   #2
jchance
Member
 
Registered: Sep 2003
Location: New Hampshire USA
Distribution: Mandriva 2006 & 2007 Power Pack Club
Posts: 178

Rep: Reputation: 30
Honestly just install a fresh copy onto the drive. You won't probably be able to do an update and I wouldn't be surprised if you had one of your necessary partitions on one of those other drives.
 
Old 09-23-2006, 02:52 PM   #3
Nafcom
LQ Newbie
 
Registered: Sep 2006
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jchance
Honestly just install a fresh copy onto the drive. You won't probably be able to do an update and I wouldn't be surprised if you had one of your necessary partitions on one of those other drives.
No, they all were on only one drive, I can promise you.
I did this "one HDD for one OS" very stricktly.

Anybody a solution please? There must be a way so it skips the other drives/partitions (and they only had windows data) or edit a file so that it won't search for the other nonexisting drives/partitions.
 
Old 09-23-2006, 09:21 PM   #4
Nafcom
LQ Newbie
 
Registered: Sep 2006
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks to a colleague who I met and told me: I simply had to edit the /mnt/etc/fstab file and put a comment (#) infront of each old HDD and CDROM entry. Now it works and it's updating.

.......Update has been done and now it says at configurating the boot loader (LILO):

"no such device, hda2"


So what's next, please?

Thanks in advance!

Linux is by the way on hdb5

Last edited by Nafcom; 09-23-2006 at 10:36 PM.
 
Old 09-23-2006, 11:27 PM   #5
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
If you can, reinstall the kernel and it will configure lilo for you.

Find the path to the kernel(ver).rpm, like if it's on cd,

Then from a console type, rpm -ivh kernel-(your version).rpm

These switches might help (--force --nodeps).
 
Old 09-24-2006, 06:18 AM   #6
Nafcom
LQ Newbie
 
Registered: Sep 2006
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by GlennsPref
If you can, reinstall the kernel and it will configure lilo for you.

Find the path to the kernel(ver).rpm, like if it's on cd,

Then from a console type, rpm -ivh kernel-(your version).rpm

These switches might help (--force --nodeps).
Thanks! Allow me the question, please: Isn't it easier to re-configurate LILO? (Not that I know how) and isn't that what the Update installation probably did already too (and didn't work obviously)?
From what I know re-installing kernel can be tricky and how do I know which one to install

Last edited by Nafcom; 09-24-2006 at 08:22 AM.
 
Old 09-24-2006, 09:03 AM   #7
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
Yes it is easier and much faster, but you'll need to read man-lilo and man-fstab

x86_64 is for 64bit AMD chips

i586 is for current 32bit pentium and AMD

smp is for symetrical multi processors but the old way, used for data servers

i386 will work for most of the PC types.

ppc is for apple macintoshes

there are usually versions for solaris and in some instances digital electronics corp

Some times it is just easier to write over the old setting from something you know is a good source.

Maybe if you just reinstall the same way you upgraded
 
Old 09-24-2006, 09:31 AM   #8
Nafcom
LQ Newbie
 
Registered: Sep 2006
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by GlennsPref
Yes it is easier and much faster, but you'll need to read man-lilo and man-fstab

x86_64 is for 64bit AMD chips

i586 is for current 32bit pentium and AMD

smp is for symetrical multi processors but the old way, used for data servers

i386 will work for most of the PC types.

ppc is for apple macintoshes

there are usually versions for solaris and in some instances digital electronics corp

Some times it is just easier to write over the old setting from something you know is a good source.

Maybe if you just reinstall the same way you upgraded
Thanks!

Reinstalling is really no option. I need to say it's virtually the same PC., but I had to put the Win HDDs and 1 drive in an other pc.

Anyway, I have done what you said (entered rpm -ivh kernel-(your version).rpm --force --nodeps) what I got was this:

"kernel -2.6.17.5mdv-1-1mdv2007.0.i586.rpm

Headeer V3DSA Signature nokey key 1026752624
prepairing: .... 100%
1: kernel -2.6.17.5 ... 100%

error: unpacking archive failed on file /boot/System.map.2.6.17.5mdv;5416afc2 cpio mkdir failed no such file or directory"

 
Old 09-24-2006, 09:00 PM   #9
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
I'd say there was something wrong with the package, can you do a check with MD5 sum?

My suspicion was the that file may have been corupted in some way.

You will need to get another copy, you may be able to urpmi it across the web.
 
Old 09-24-2006, 10:05 PM   #10
Nafcom
LQ Newbie
 
Registered: Sep 2006
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by GlennsPref
I'd say there was something wrong with the package, can you do a check with MD5 sum?

My suspicion was the that file may have been corupted in some way.

You will need to get another copy, you may be able to urpmi it across the web.
I assume it's the drive, because it died right after. I will get a new one Tuesday (at leats I plan to).

Will anyway do a MD5 check. on another PC.

Once I got a new drive, I will try again and report back
 
Old 09-25-2006, 12:32 AM   #11
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
That could certainly have been the cause,
 
Old 09-25-2006, 07:49 AM   #12
Nafcom
LQ Newbie
 
Registered: Sep 2006
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by GlennsPref
That could certainly have been the cause,
Yeah, I will get a new one tomorrow.
Before I try your suggestion (thanks), please allow another question:

Since the boot manager currently points to the wrong place, wouldn't reinstalling the kernel just rewrite the boot manager with the same wrong information, or will it detect that the current config is wrong and autodetect the correct place and change it automatically?

Thanks in advance!

I would like to understand why this is supposed to fix it.
 
Old 09-26-2006, 10:03 AM   #13
Nafcom
LQ Newbie
 
Registered: Sep 2006
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by GlennsPref
That could certainly have been the cause,
I have tried it with the same kernal as above, even tried the enterprise, still error at mkdir, so it's not the DVD and not the drive (but the old one is dead anyway!), as I got a new one today.

I got suggested on another place to edit /etc/grub or lilo I have neither any grub nor any lilo files there
I only can find /mnt/grub showing stage, example and gz files.

Maybe this info helps also: I selected back then to install the boot loader on disk

EDIT: I found out, I can type in "grub" and grub's "editor" starts, however doesn't matter which command I enter, it says "unrecognized device". Maybe this helps


I also had a look at the boot loader config with Mandriva One.
First I looked at the partitons and figured out that none had a mount point, so I set them each to /mnt/*

Then configurating boot up:
This happened: "No boot loader installed", do you want to configure one?"
Then with Grub I get the following error:

"installation of Bootloader failed
Fatal: Trying to map files unamed device 0 x 000f (NTFS/RAID) maybe off?).

Grub just says: "installation of Bootloader failed Checksum error" 5 times in a row".

Last edited by Nafcom; 09-26-2006 at 04:58 PM.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installation Problem Mandriva Official 10.1 nicehill Mandriva 5 04-28-2006 08:03 AM
mandriva 2006 installation problem atatur Mandriva 3 01-31-2006 10:03 AM
problem in installation of mandriva 2006 manmohan_023 Mandriva 4 01-06-2006 05:29 PM
Mandriva installation problem no_sunshine Linux - Laptop and Netbook 1 06-22-2005 07:52 PM
Installation Problem w/ Mandriva 10.2 Cupps Mandriva 1 05-04-2005 03:51 PM


All times are GMT -5. The time now is 06:29 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration