LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-07-2004, 02:12 PM   #1
rje_NC
Member
 
Registered: Nov 2002
Location: Greensboro, NC
Posts: 182

Rep: Reputation: 30
Mandrake 10 does not install bootloader


I just finished downloading the new Mandrake 10 Community and I am having the same problem installing this that I had with the beta 2 version. When the installer goes to write my lilo.conf file, I get an error "mkinitrd failed" and nothing is written to the file. When I try to add the Linux boot entry manually on the next screen, I am presented all the prompts, but the file will not write to the disk.

I have the same problem no matter if I select lilo or grub as the bootloader. It appears that the mkinitrd program is bad?

Can anyone suggest how I could manuuly install the bootloader so I can see if I can get this distro booted. I tried booting with the resue disk and reinstalling the bootloader, but it also fails.

Thanks...

Bob

Last edited by rje_NC; 03-07-2004 at 02:16 PM.
 
Old 03-07-2004, 03:17 PM   #2
iainr
Member
 
Registered: Nov 2002
Location: England
Distribution: Ubuntu 9.04
Posts: 631

Rep: Reputation: 30
I had a similar problem (not sure if it was quite the same). I booted up from Damn Small Linux, did a chroot /mnt/hdax and was able to sort things out. Turns out the /boot/vmlinuz file wasn't correctly linked. Lilo failed because it couldn't see a valid kernel file. I manually linked it correctly and ran lilo; that seemed to do the trick.
 
Old 03-07-2004, 04:25 PM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 683Reputation: 683Reputation: 683Reputation: 683Reputation: 683Reputation: 683
At that phase of the install, press <ctrl><alt><f3>. Is there a message about losing interupts. If so try a different setting for acpi in the boot loader dialog. Might help. You could also boot up with the first disk in rescue mode. Mount your partitions on /mnt. Load the drivers. Then enter the console and "chroot /mnt". Try to execute lilo and see what the response is. If a particular part of lilo.conf is bad, or if there is a problem with one of the devices in lilo.conf, then lilo will not write the loader to the boot= device.
 
Old 03-07-2004, 04:35 PM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 683Reputation: 683Reputation: 683Reputation: 683Reputation: 683Reputation: 683
Sorry, I missed the later part of the question. I guess you already tried the CD1 Rescue system part.
You could go back into the rescue system, chroot as before and try the command "mkrescue --iso". You will need a way to burn the resulting rescue.iso file to cd. Manually running cdrecord from the console may do it, it enough of the system is install.
But if mkinitrd failed before, mkrescue may not work if there is no initrd file for it to grab.

Knowing why mkinitrd failed might be helpful in determining the problem.
You might want to supply the output of lspci or lspcidrake. Initrd contains a filesystem, saved as an image and compressed. It will contain modules that the kernel loads in when booting. Such as scsi drivers needed for the booting process to continue.

Knowing more about you system may help us get at the problem sooner.
Is there an initrd link in the /boot partition? Sometimes there is more than one. If you have more than one kernel installed, there will be one for each kernel version, it a symbolic link from /boot/initrd to the default initrd-<version>.

Last edited by jschiwal; 03-07-2004 at 04:42 PM.
 
Old 03-19-2004, 11:03 AM   #5
santigua
LQ Newbie
 
Registered: Oct 2003
Location: germany
Distribution: Mandrake
Posts: 8

Rep: Reputation: 0
same here

I have the exact same problem.

install went FINE on a DELL Optiplex. PII 350//128MB ram.

But whent trying to install the server....
(Supermicro 370DER 2x1GHZ P3//512MB// 2400A IDE RAID) install seems to run through, one error tough at the beginning.... after accepting the license, it's complaining that the kernel module for aic7xxx cant beloaded... (assuming it's trying to enable the 2400a)

Anyway, when reaching the "install bootloader"-stage (lilo or grub) the exact same error message appears. "mkinitrd failed"

Any advice will be appreaciated...
Hope that helps in regards to get some more info on the machine specs.
If more is needed, let me know what and where to get it from. (since nothig is installed yet.)


thanx in advance
Santigua
 
Old 03-19-2004, 10:34 PM   #6
rje_NC
Member
 
Registered: Nov 2002
Location: Greensboro, NC
Posts: 182

Original Poster
Rep: Reputation: 30
I have not found any answer at all on this.

At this point I am just giving up on Mandrake. This is junk when it cannot install properly on a very basic Athlon system that has installed RH, Fedora, Slackware, and SuSE ( a few challenges) with essentially no problems.

At least I won't have to spend to renew my Mandrake Club membership (what a waste)...

Bob
 
Old 03-21-2004, 11:18 AM   #7
santigua
LQ Newbie
 
Registered: Oct 2003
Location: germany
Distribution: Mandrake
Posts: 8

Rep: Reputation: 0
exact error from the log (alt+f3)

i just wrote down the exact error message from the log (alt+f3)

here we go:

"error: mkinitrd failed at /usr/bin/perl-install/bootloader.pm line 69"

maybe that is of any help for one of the cranks. I dont wanna give up so quickly, so I'll keep in touch.

PS: tryed already several things on the server:
- installing in text mode
- installing with the old kernel 2.4 (in text and graphical mode)

nothing helped. the erroro persists.

hopefully someone has an idea on what to do....

regs
 
Old 04-07-2004, 08:42 AM   #8
maiorino
LQ Newbie
 
Registered: Apr 2004
Location: Spain
Distribution: Mandrake
Posts: 11

Rep: Reputation: 0
I'm facing the very same problem of rje_NC and I get the very same error code reported by santigua.
My machine is an old Celeron 667 with 256 Mb RAM, Win98, 6Gb HDD free, and an Initio SCSI card (it was for a SCSI ZIP disk I don't use anymore).
I comment this out because, by looking on other forums, somebody points out it could be some problem with SCSI devices (although my SCSI device is correctly acknowledged during the bootup from the CD-ROM).
Somebody else is telling that there could be a problem in the first CD-ROM and one should start with the second CD, then use the first when asked to do so. Can anyone confirm this?
I have to say that I installed whatever distro in the past (Debian, RedHat, Slackware, Mandrake itself, you name it, from Linux 2.0) and OK, not all my peripherals were correctly acknowledged on the spot (Win printers by HP, ZIP drives, my motherboard is based on a SiS 630), but I always managed to have my Linux system running. Now, I simply cannot add my linux distro to the lilo bootup list. What the hell?
Interestingly, at boot up, lilo starts, but only allows me to go for Windows... too bad!
I won't give up neither: this Mandrake 10.0 distro seems to be very nice, and I don't want to miss it for a stupid configuration whatever!
Moreover, if we're quite a few persons facing the same problem, it's perhaps a serious bug, and it is good to make fuss around it!

Marino
 
Old 04-07-2004, 03:48 PM   #9
rje_NC
Member
 
Registered: Nov 2002
Location: Greensboro, NC
Posts: 182

Original Poster
Rep: Reputation: 30
I think I found the answer to this problem. On the computer I was having problems with, I removed the Tekram SCSI card that runs my old HP scanner. I then ran the installation program again and everything worked OK this time.

I think I can install MDK10 without the card and then install and configure the SCSI card and scanner after the initial install (I haven't tried this yet, the scanner is not that important to me).

The good news is that I was able to install the software. It seems that MDK is assuming a SCSI card is driving a hard drive and is trying to write to that first (just a guess on my part).

Bob

Last edited by rje_NC; 04-07-2004 at 09:27 PM.
 
Old 04-13-2004, 05:58 AM   #10
maiorino
LQ Newbie
 
Registered: Apr 2004
Location: Spain
Distribution: Mandrake
Posts: 11

Rep: Reputation: 0
Angry I shall try!

More determined than ever!
These Easter holidays I spent three days in trying to get my linux system running, and something worked.
First, I reinstalled my old, 8.2 MDK, then I upgraded to 10.0.
What a surprise, here comes the error again (mkinitrd failed), but this time I was allowed to choose the 2.4.18 image and initrd (phew!).
Everything was fine (ar, at least, looked like so) but I wasn't able to start the Xserver correctly (SiS 630 graphical chipset on board and CORNEA LCD 17" monitor not acknowledged and out of sync... grrrr)!
Another upgrade (fake: 10.0 to 10.0) just in order to avoid Xserver to start automatically and set up X from the console.
No way! I'm using both drakconf and XF86configurator: the first one is giving me only headaches (doesn't work fine), while the second is correctly writing an XF86config file but... Xserver is using a darn XF86config-4 file
I want to try to rename XF86config to XF86config-4, I didn't do it before for two very good reasons: I didn't think this silly solution before AND I was supposed to be on holidays!
You know what? Mandrake Move can do eveything in a finger-snip: this is unfair! It correctly acknowledges, configures and uses my HP710C printer, my Initio 910 SCSI board, my SiS630 chipset, my Cornea CT1710 at 1280x1024, my CT83something audio card, my Canon LiDE 30 USB scanner, my Creative USB-radio wheel optical mouse, and I only have to say that I'm using a spanish keyboard... Why can't I have 10.0 as easy as Move? Just a running system as a base (because of course I believe that Move is not much more than that), then I'll fine tune-it later, but why I have with 10.0 problems I don't have with Move?
I'll go back to installing without the SCSI board and keep you informed.
Marino
 
Old 04-13-2004, 09:44 AM   #11
maiorino
LQ Newbie
 
Registered: Apr 2004
Location: Spain
Distribution: Mandrake
Posts: 11

Rep: Reputation: 0
Lightbulb Found out!

Finally I found on a mirror site (http://bo.mirror.garr.it/mirrors/Man...0/descriptions is the filename) that mkinitrd was buggy. Here comes the comment about our bug:

%package mkinitrd
Updated: Thu Apr 08 09:40:48 2004
Importance: bugfix

%pre
A problem in mkinitrd would cause it to fail when devfs is not in use.
This problem, while still creating an initrd, would cause the system
to attempt to create device files if booted without devfs, which would
lead to segfault due to bug in dietlibc.

The updated packages have been patched to correct the problem.

%description
Mkinitrd creates filesystem images for use as initial ramdisk (initrd)
images. These ramdisk images are often used to preload the block
device modules (SCSI or RAID) needed to access the root filesystem.

In other words, generic kernels can be built without drivers for any
SCSI adapters which load the SCSI driver as a module. Since the
kernel needs to read those modules, but in this case it isn't able to
address the SCSI adapter, an initial ramdisk is used. The initial
ramdisk is loaded by the operating system loader (normally LILO) and
is available to the kernel as soon as the ramdisk is loaded. The
ramdisk image loads the proper SCSI adapter and allows the kernel to
mount the root filesystem. The mkinitrd program creates such a
ramdisk using information found in the /etc/modules.conf file.


So, it's from April the 8th that a few things were fixed! This is impressive! Now I don't know what to do: download 9.2, upgrade to 10.0 and patch with the bugfixes or simply wait 10.0 Final (only a few days missing...)? I believe a mix of the two: download 9.2 and wait for 10.0 Final. But who knows: appetite grows by eating (as we say in Italy).
Marino
 
Old 04-13-2004, 09:56 AM   #12
santigua
LQ Newbie
 
Registered: Oct 2003
Location: germany
Distribution: Mandrake
Posts: 8

Rep: Reputation: 0
interesting information

interesting information in deed.

actually I thought, well I desperately hoped, that the 10 final arrives soon and it'll be fixed....
But maybe we are able to find an updated packet somewhere....wouldn't itbe possible somehow to install with an updated packet?

Sorry if this sounds silly, but I do remember that the installer askes whether he shall check online (?) for updated packets...

wouldn't there be a workaround using this offer?

as already said..... "appetite grows by eating"

....and waiting for 10final takes longer and longer each day...
 
Old 04-19-2004, 09:45 AM   #13
maiorino
LQ Newbie
 
Registered: Apr 2004
Location: Spain
Distribution: Mandrake
Posts: 11

Rep: Reputation: 0
Talking MDK 10.0 Installed!

Sorry to resurrect an old thread, but something was left hanging here!
So, I finally made it! I took out the Initio 9something SCSI card and installed everything: it was really a breeze.
Everything is very responsive, I only have to solve the mixer issues in order to have the sound working, but I really cannot complain: I believe I'll go and subscribe for silver, I think it's worth doin'it!
Just for the sake of the complexity issues automatically solved:
I'm italian, but living in Spain, and my PC also features a spanish keyboard (so, first two languages), but for my job I want english to be used (so three languages) and also french and german are necessary every now and then and will be even more in the future (5 languages used and no prob for the distro to understand what keyboard layout or what language to use or what currency or what time format...)
I decided to go for a tricky thing: /root and swap on hdb; /usr and /home on hda. I decided to go for this solution in order to allow mechanical independence between the two HDD (perhaps faster swap access? Just a trucky trial!)
Creative USB optical cordless mouse with wheel acknowledged with no prob at all : that's a feat!
My CORNEA (Custom) LCD monitor 1280x1024 driven by my SiS 630 chipset works much better under XFree than with Windows98 with proper (i.e.: released by the manufacturer himself) drivers! I mean: I was really tired of my windows being dragged in pieces along the desktop, and now I got rid of this shit, thx MDK!
My USB CANON LiDE 30 scanner is perfectly acknowledged.
My USB port expansion bay (U know: one of those used to plug digital camera memory cards of every kind) is perfectly acknowledged.
The SCSI card I was using is not a main issue: I used it once upon a time to drive a SCSI ZIP drive, but that one died long ago, so...
So, right now I believe I have a rather powerful Celeron 667 machine with 256 Mb RAM and 8 Gb disk (14 Gb being left for Win98 unavoidable things: my beloved wife runs AutoCAD), and I want to unleash this power!

Greetings and thanks to LQ for your support!
 
Old 05-13-2004, 03:09 PM   #14
cluebyfour
LQ Newbie
 
Registered: May 2004
Posts: 2

Rep: Reputation: 0
tekram install isue resolved

I managed to fix this problem (still present in mandrake 10 downloaded last week).


This is what I did:

1) start the install and get to the message mkinird failed
2) launch a console and mount the new root on mnt
mount /dev/hda3 /mnt/
make sure to put your partition in instead of 3 above
3) chroot /mnt
4) edit these files: /etc/modules.conf


#probeall scsi_hostadapter dc395x_trm
probeall scsi_hostadapter dc395x


/etc/modprobe.conf
#install scsi_hostadapter /sbin/modprobe dc395x_trm; /bin/true
install scsi_hostadapter /sbin/modprobe dc395x; /bin/true

now go back to the bootloader screen and it should allow you to go to the add screen
the available boot options will pop into the window and you can go on.
 
Old 05-13-2004, 03:13 PM   #15
cluebyfour
LQ Newbie
 
Registered: May 2004
Posts: 2

Rep: Reputation: 0
update to last post

I tried installing the updated rpm referenced in a post above:
mkinitrd-3.5.18-4.1.100mdk.i586.rpm
this did not fix the problem.

upen bug still not address today:
http://qa.mandrakesoft.com/show_bug.cgi?id=7233

Last edited by cluebyfour; 05-13-2004 at 04:13 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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mandrake bootloader won't go away! moosturdsoed25 Linux - Software 2 02-17-2005 04:24 PM
Install Mandrake without bootloader punkfungus Mandriva 3 01-14-2005 01:18 PM
Mandrake 9.1 bootloader issues after install venom_zx Mandriva 9 06-21-2004 09:46 AM
HELP!! Mandrake 9.1 Install Bootloader Nefarious Linux - Newbie 5 04-14-2003 12:57 PM
No Bootloader with Mandrake.... frkstein Linux - General 2 01-23-2003 12:16 PM

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

All times are GMT -5. The time now is 10:52 PM.

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
Open Source Consulting | Domain Registration