LinuxQuestions.org
Review your favorite Linux distribution.
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 07-29-2004, 08:03 PM   #1
Vandaahl
LQ Newbie
 
Registered: Jul 2004
Location: Netherlands
Distribution: Mandrake 10
Posts: 15

Rep: Reputation: 0
Question Mandrake messed up my Windows boot, please help


I am very new to Linux/Mandrake 10, and I was gonna do an install next to my Windows partition on my harddrive, but unfortunately during Mandrake installation, it must have removed the Windows bootoption. I believe Lilo is the program that lets you select an O.S. when booting, correct? Windows isnt in the list, but it's still on my harddrive fortunately.

Is there a way I can set Lilo to include Windows as a bootable O.S.?
 
Old 07-29-2004, 09:07 PM   #2
petkov
LQ Newbie
 
Registered: Mar 2004
Posts: 26

Rep: Reputation: 15
if you are running Win9X, you can try booting to DOS and type this at the command prompt: fdisk[space]/MBR.
As I understand, XP has a utility for fixing this problem. Do a search here, this question has ben asked over and over and over...
 
Old 07-29-2004, 10:11 PM   #3
Vandaahl
LQ Newbie
 
Registered: Jul 2004
Location: Netherlands
Distribution: Mandrake 10
Posts: 15

Original Poster
Rep: Reputation: 0
I used the searchfunction and came up with a solution. I would have to edit the lilo.conf file. I need to add a reference to my windows partition (on the same harddisk as Mandrake), but I don't know what the values should be. Could somebody with Mandrake and Windows XP please copy-paste his /etc/lilo.conf configuration here? Mine looks like this:

boot=/dev/hda
map=/boot/map
default="linux"
keytable=/boot/us-latin1.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw

image=/boot/vmlinuz
label="linux"
root=/dev/hda3
initrd=/boot/initrd.img
append="devfs=mount acpi=ht splash=silent"
vga=788
read-only

image=/boot/vmlinuz
label="linux-nonfb"
root=/dev/hda3
initrd=/boot/initrd.img
append="devfs=mount acpi=ht"
read-only

image=/boot/vmlinuz-2.6.3-7mdk
label="263-7"
root=/dev/hda3
initrd=/boot/initrd-2.6.3-7mdk.img
append="devfs=mount acpi=ht splash=silent"
read-only

image=/boot/vmlinuz
label="failsafe"
root=/dev/hda3
initrd=/boot/initrd.img
append="failsafe acpi=ht devfs=nomount"
read-only
 
Old 07-29-2004, 11:56 PM   #4
od51
LQ Newbie
 
Registered: Apr 2004
Location: Australia
Distribution: Mandrake 9.0 /10.0
Posts: 14

Rep: Reputation: 0
My "/etc/lilo.conf" file includes several options for booting alternative operating systems, ending with:
image=/boot/vmlinuz
label="failsafe"
root=/dev/hdb9
initrd=/boot/initrd.img
append="failsafe acpi=ht devfs=nomount"
read-only

other=/dev/hda1
label=BootMgr

other=/dev/hda2
label=PCdos/Win3
change
partition=/dev/hda2
set=DOS16_big_normal
partition=/dev/hda3
set=DOS16_big_hidden

other=/dev/hda3
label=Windows98
change
partition=/dev/hda2
set=DOS16_big_hidden
partition=/dev/hda3
set=DOS16_big_normal

#other=/dev/hda2
# label="windows"
# table=/dev/hda

The change details are to hide and unhide alternative primary partitions that will be used as "C: drives" so you won't need them. The Mandrake install created the boot menu item "windows" that I have commented out. It includes a line to describe where the partition table will be found, that doesn't seem necessary

Last edited by od51; 07-29-2004 at 11:58 PM.
 
Old 07-30-2004, 07:38 AM   #5
Vandaahl
LQ Newbie
 
Registered: Jul 2004
Location: Netherlands
Distribution: Mandrake 10
Posts: 15

Original Poster
Rep: Reputation: 0
Thanks alot, unfortunately I haven't got it to work. I know my Windows boot is on hda1. I tried adding the following lines to lilo.conf:

other=/dev/hda1
label="windows"
table=/dev/hda

Didn't work, so I tried:

other=/dev/hda1
label="windows"
table=/dev/hda1

No luck, so:

other=/dev/hda1
label="windows"

Nothing extra shows up in lilo's bootlist, so I must be doing something wrong?
 
Old 07-30-2004, 09:03 AM   #6
apimente.br
Member
 
Registered: Aug 2003
Location: Sao Paulo - Brazil
Distribution: Mageia
Posts: 154

Rep: Reputation: 23
After any modification in the file /etc/lilo you must run (as root) "lilo" to activate the alterations.

Did you remember that?
 
Old 07-30-2004, 09:06 AM   #7
Vandaahl
LQ Newbie
 
Registered: Jul 2004
Location: Netherlands
Distribution: Mandrake 10
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by apimente.br
After any modification in the file /etc/lilo you must run (as root) "lilo" to activate the alterations.

Did you remember that?
No I didn't actually What do you mean by 'running lilo as root'? (sorry for asking, but I'm very new to this)
 
Old 07-30-2004, 09:17 AM   #8
apimente.br
Member
 
Registered: Aug 2003
Location: Sao Paulo - Brazil
Distribution: Mageia
Posts: 154

Rep: Reputation: 23
After any edit of the file lilo you must type (as root):

#lilo

So the modifications are done in the boot manager, the file you edit is only a text file.
 
Old 07-30-2004, 09:26 AM   #9
Vandaahl
LQ Newbie
 
Registered: Jul 2004
Location: Netherlands
Distribution: Mandrake 10
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by apimente.br
After any edit of the file lilo you must type (as root):

#lilo
Should anything happen after I type that in a terminal? Nothing seems to happen when I type #lilo...
 
Old 07-30-2004, 09:31 AM   #10
apimente.br
Member
 
Registered: Aug 2003
Location: Sao Paulo - Brazil
Distribution: Mageia
Posts: 154

Rep: Reputation: 23
Sorry you have to type only lilo (without # mark (this is a sign you are root).

Last edited by apimente.br; 07-30-2004 at 09:33 AM.
 
Old 07-30-2004, 10:46 AM   #11
Vandaahl
LQ Newbie
 
Registered: Jul 2004
Location: Netherlands
Distribution: Mandrake 10
Posts: 15

Original Poster
Rep: Reputation: 0
Thanks alot, it worked out
 
  


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
Windows VM messed up? neo Linux - General 1 05-07-2005 03:17 AM
NO Boot Mandrake Windows XP regor62 Linux - Newbie 4 05-24-2004 02:01 PM
windows XP messed up my computer again... jclark00001 Linux - Newbie 1 11-13-2003 03:32 PM
I think my windows messed up my Linux Jagannaathah Linux - Newbie 2 07-26-2003 10:09 PM
Dual Boot Mandrake/Windows lucky mikey Linux - General 2 06-09-2002 06:09 PM

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

All times are GMT -5. The time now is 01:49 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration