LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-23-2003, 09:18 AM   #1
frkstein
Member
 
Registered: Jan 2002
Location: Livonia, MI
Distribution: Ubuntu 10.04
Posts: 126

Rep: Reputation: 15
No Bootloader with Mandrake....


I lent my Mandrake 8.1 discs to a friend so he could get a feel for the Linux experience which I have been crowing about since I was turned onto it about a year ago. Whereas, I had only a few easily correctible problems, he seems to be having more trouble with the installation. What it boils down to is he is making a dual boot system where linux is to be installed on a second drive. During the installation process he gets to the point where it should ask which bootloader he wants (Lilo, Grub). It doesn't. It jumps straight to configuring X. When the install finishes and he boots the system, the machine just boots into windows as if Linux was not installed on the second drive. Any thoughts on what my friend can try to get this to work?
 
Old 01-23-2003, 09:55 AM   #2
masinick
Member
 
Registered: Apr 2002
Location: Greenville, SC
Distribution: Debian, antiX, MX Linux
Posts: 636
Blog Entries: 16

Rep: Reputation: 104Reputation: 104
Re: No Bootloader with Mandrake....

Quote:
Originally posted by frkstein
I lent my Mandrake 8.1 discs to a friend so he could get a feel for the Linux experience which I have been crowing about since I was turned onto it about a year ago. Whereas, I had only a few easily correctable problems, he seems to be having more trouble with the installation. What it boils down to is he is making a dual boot system where linux is to be installed on a second drive. During the installation process he gets to the point where it should ask which boot loader he wants (Lilo, Grub). It doesn't. It jumps straight to configuring X. When the install finishes and he boots the system, the machine just boots into windows as if Linux was not installed on the second drive. Any thoughts on what my friend can try to get this to work?
Usually, you run into boot loader problems when you have two disks, your Linux system is on the second disk, and you install the boot loader to the second disk. That's fine, you have a boot loader on the partition containing your Linux software. But typically, you want the boot loader on the Master Boot Record (MBR) to control which systems get booted.

How do you get around this problem? Well, if you can boot the Mandrake system either from CD or from floppy, you cfan correct this problem.

First, run the Mandrake boot program from the Mandrake Control Center to detect all the systems, write out the changes, then exit. To be absolutely sure that Mandrake did what you want, if you're using grub, you can force an installation. Often, what I do is install it in TWO places - both the MBR and the partition containing Mandrake - like this:

/usr/sbin/grub-install /dev/hda7

This puts a boot loader on my Mandrake partition.

/usr/sbin/grub-install /dev/hda

This puts a boot loader on the MBR.

Just in case Mandrake isn't getting things right, here's a sample of a GRUB menu file from /boot/grub/menu.lst that works when Mandrake is on the 7th partition of the first disk and Windows is on the first partition of the first disk.
Change the partition locations, and you'll have a working file. Change the kernel names to point to the kernel version you're using (you can find that in the directory /boot). Hopefully that'll be enough to help you get it all working.

timeout 10
color black/cyan yellow/cyan
i18n (hd0,6)/boot/grub/messages
keytable (hd0,6)/boot/us.klt
altconfigfile (hd0,6)/boot/grub/menu.once
default 0

title linux
kernel (hd0,6)/boot/vmlinuz root=/dev/hda7 quiet devfs=mount hdd=ide-scsi hdb=ide-scsi vga=788
initrd (hd0,6)/boot/initrd.img

title linux-nonfb
kernel (hd0,6)/boot/vmlinuz root=/dev/hda7 devfs=mount hdd=ide-scsi hdb=ide-scsi
initrd (hd0,6)/boot/initrd.img

title failsafe
kernel (hd0,6)/boot/vmlinuz root=/dev/hda7 failsafe devfs=nomount hdd=ide-scsi hdb=ide-scsi
initrd (hd0,6)/boot/initrd.img

title windows
root (hd0,0)
makeactive
chainloader +1

title floppy
root (fd0)
chainloader +1
 
Old 01-23-2003, 12:16 PM   #3
Edward78
Member
 
Registered: Jul 2002
Distribution: OpenSuSE 11
Posts: 441

Rep: Reputation: 30
Search for Gag on google it is a bootloader.
 
  


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 On
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 10. Bootloader options joshy Mandriva 2 08-05-2004 08:16 AM
Mandrake Bootloader problem ShadowStorm Linux - Newbie 7 10-02-2003 08:45 PM
HELP!! Mandrake 9.1 Install Bootloader Nefarious Linux - Newbie 5 04-14-2003 12:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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