Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-29-2004, 08:03 PM
|
#1
|
LQ Newbie
Registered: Jul 2004
Location: Netherlands
Distribution: Mandrake 10
Posts: 15
Rep:
|
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.?
|
|
|
07-29-2004, 09:07 PM
|
#2
|
LQ Newbie
Registered: Mar 2004
Posts: 26
Rep:
|
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...
|
|
|
07-29-2004, 10:11 PM
|
#3
|
LQ Newbie
Registered: Jul 2004
Location: Netherlands
Distribution: Mandrake 10
Posts: 15
Original Poster
Rep:
|
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
|
|
|
07-29-2004, 11:56 PM
|
#4
|
LQ Newbie
Registered: Apr 2004
Location: Australia
Distribution: Mandrake 9.0 /10.0
Posts: 14
Rep:
|
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.
|
|
|
07-30-2004, 07:38 AM
|
#5
|
LQ Newbie
Registered: Jul 2004
Location: Netherlands
Distribution: Mandrake 10
Posts: 15
Original Poster
Rep:
|
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?
|
|
|
07-30-2004, 09:03 AM
|
#6
|
Member
Registered: Aug 2003
Location: Sao Paulo - Brazil
Distribution: Manjaro
Posts: 157
Rep:
|
After any modification in the file /etc/lilo you must run (as root) "lilo" to activate the alterations.
Did you remember that?
|
|
|
07-30-2004, 09:06 AM
|
#7
|
LQ Newbie
Registered: Jul 2004
Location: Netherlands
Distribution: Mandrake 10
Posts: 15
Original Poster
Rep:
|
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)
|
|
|
07-30-2004, 09:17 AM
|
#8
|
Member
Registered: Aug 2003
Location: Sao Paulo - Brazil
Distribution: Manjaro
Posts: 157
Rep:
|
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.
|
|
|
07-30-2004, 09:26 AM
|
#9
|
LQ Newbie
Registered: Jul 2004
Location: Netherlands
Distribution: Mandrake 10
Posts: 15
Original Poster
Rep:
|
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...
|
|
|
07-30-2004, 09:31 AM
|
#10
|
Member
Registered: Aug 2003
Location: Sao Paulo - Brazil
Distribution: Manjaro
Posts: 157
Rep:
|
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.
|
|
|
07-30-2004, 10:46 AM
|
#11
|
LQ Newbie
Registered: Jul 2004
Location: Netherlands
Distribution: Mandrake 10
Posts: 15
Original Poster
Rep:
|
Thanks alot, it worked out
|
|
|
All times are GMT -5. The time now is 02:39 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|