LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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-02-2004, 05:24 PM   #1
sunshine
LQ Newbie
 
Registered: Sep 2003
Distribution: mdk 9.2, knoppix 3.2, slackware 9.1
Posts: 18

Rep: Reputation: 0
Question Urpmi...Cannot find a boot loader


This is the message I recieved while updating my kernel, on mandrake 9.2, using urpmi::

=======================================================================
[root@localhost hexum]# urpmi --noclean kernel-2.4.22.28mdk-1-1mdk.i586

ftp://ftp.math.utah.edu/pub/linux/Ma...-1mdk.i586.rpm
installing /var/cache/urpmi/rpms/kernel-2.4.22.28mdk-1-1mdk.i586.rpm
Preparing... ##################################################
1:kernel-2.4.22.28mdk ##################################################
Cannot find a boot loader, you may have to see why detectloader has
problems or specify via the command line.
error: %post(kernel-2.4.22.28mdk-1-1mdk) scriptlet failed, exit status 2
======================================================================

Where do i go from here?

I have my box to boot lilo from my floppy. Drakboot says my Boot Device is /dev/fd0. I did this so I can boot to WinXP automatically, not having to deal with a boot manager -making the dual boot easier and less destructive.
 
Old 03-02-2004, 10:08 PM   #2
sunshine
LQ Newbie
 
Registered: Sep 2003
Distribution: mdk 9.2, knoppix 3.2, slackware 9.1
Posts: 18

Original Poster
Rep: Reputation: 0
Do I have to re-download the kernel?
How would specify from the command line to look at /dev/fd0?
 
Old 03-02-2004, 10:13 PM   #3
sunshine
LQ Newbie
 
Registered: Sep 2003
Distribution: mdk 9.2, knoppix 3.2, slackware 9.1
Posts: 18

Original Poster
Rep: Reputation: 0
I found the kernel in /var/cache/rpms
Now to the next question.......
 
Old 03-03-2004, 01:27 PM   #4
sunshine
LQ Newbie
 
Registered: Sep 2003
Distribution: mdk 9.2, knoppix 3.2, slackware 9.1
Posts: 18

Original Poster
Rep: Reputation: 0
Soo, does anyone have some advice for me on this or.......?
 
Old 03-03-2004, 01:38 PM   #5
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
advice on what?

if you didn't install the bootloader, then it's no surprise it doesn't find the bootloader. But it might have installed the kernel all right. Take a look at /boot. There should be two files starting with vmlinuz if the kernel was installed. The same with initrd config and system.map.
 
Old 03-03-2004, 03:38 PM   #6
sunshine
LQ Newbie
 
Registered: Sep 2003
Distribution: mdk 9.2, knoppix 3.2, slackware 9.1
Posts: 18

Original Poster
Rep: Reputation: 0
Well, I'm under the impression that the bootloader is on my floppy. Hence, it won't boot
to linux unless the floppy is in there. Am I not understanding this right?

I'll look into those areas mentioned, thanks for replying -btw.
....ok, so I have 3 files with vmlinuz, which show my present kernel and the one I
tried to upgrade. And it looks like I have the corresponding files for "initrd config and system.map."

Since I have these, that must indicate the kernel was installed correctly, right?
If thats the case, how would I solve this bootloader issue? Change my boot device from /dev/fd0 to something else?
 
Old 03-03-2004, 04:11 PM   #7
sunshine
LQ Newbie
 
Registered: Sep 2003
Distribution: mdk 9.2, knoppix 3.2, slackware 9.1
Posts: 18

Original Poster
Rep: Reputation: 0
Right, so I went to drakboot and changed my boot device to hda instead of fd0 and rebooted. uname -r, says that my new kernel is now installed. I would think there is a way to install the kernel by having it boot from fd0, but whatever. End of story.
 
Old 03-03-2004, 04:32 PM   #8
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
you can make a boot disk with drakboot somewhere. There is also a command. I think it's mkbootdisk (or something like that; as root just type mk and tab; you'll find it in the list).

you can get rid of the lilo on the harddrive. Take a look at
man lilo
and it will tell you how (the relevant option is the one that restores the backup mbr). The install disk of mandrake can do it too. Type rescue at the prompt and you'll get a list of options one of which is to restore the dos mbr.
 
  


Reply



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
wireless Keyboard not working to select boot options (Grub boot loader) psrini_vasan Fedora 7 12-16-2009 05:45 PM
Grub boot loader menu shows two linux boot options pramos Linux - Newbie 3 09-12-2004 11:40 PM
cannot find Boot Loader password 3ti3nn3 Linux - General 9 07-27-2004 01:54 AM
urpmi can't find packages eahogue Linux - Software 3 10-16-2003 06:35 PM
How to add a boot record which used to startup windows under my Grub boot loader? yunxiang Linux - Newbie 6 02-01-2003 02:22 AM

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

All times are GMT -5. The time now is 12:14 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