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 04-29-2004, 11:26 AM   #1
stc
LQ Newbie
 
Registered: Apr 2004
Posts: 7

Rep: Reputation: 0
Dual boot problem & more


Hi, i'm new to linux so please excuse any stupid questions.

I have been trying to install 10CE for a while now, and until yesterday i was unsuccsesfull (2xsata drives sii3112), however, i put in an old ata100 and mandrake installed like a charm..untill i tried to switch to xp. lilo seems to be configured right, with the correct windows drive (hde, sata) but when i select windows i get the blinking underscore. I can see the windows drive from mandrake.

My question is how should i attempt to fix this?

I already had to do a fixmbr(not on this install), but i am afraid that if i do that
1)i will loose the ability to boot in xp or linux
2) i will loose the linux boot.

any help would be greatly appreciated.

Sorin
 
Old 04-29-2004, 01:46 PM   #2
drowstar
Member
 
Registered: Apr 2004
Location: Germany
Distribution: Slackware, Gentoo, Fedora
Posts: 205

Rep: Reputation: 30
It would be helpful, if you post the content of your lilo.conf file (probably in /etc/lilo.conf).
It should look something like this:
Code:
boot = /dev/hda
delay = 40
compact
vga = normal
root = /dev/hda2
read-only
image = /boot/bzImage-2.6.5
        label = Linux
other = /dev/hda1
        label = Windows
        table = /dev/hda
If possible, change your existing configuration. Leave header and linux part as is! It is probably best to just add another part to the file (the part in bold face is what is needed to boot windows IIRC) and try if it works for you. If it does, remove everything that does not work.
(If for some reason, you cannot keep your existing file, make sure you put in the correct partitions! Put in the correct kernel path and file! A broken installation of lilo can make your system, while not impossible, still a lot harder to boot.)

Next you need to run lilo. If something is not correct, lilo will probably complain here:
As root type lilo on the command line. (This will set lilo up and overwrite your MBR, in case you wonder.)

If there are no errors, you can reboot your system and pray (or whatever you do). Keep some way of booting handy (Knoppix-CD is always a good idea), in case something went wrong.
It will at least work the way it used to, if you simply added to your lilo.conf.

I would not use fixmbr (although I dont know, what it does. I assume, it tries to fix the master boot record? Lilo will overwrite it anyways, no point in that.) It sounds like a simple matter of setting up lilo.

Hope this helped,
- drowstar
 
Old 05-04-2004, 11:14 PM   #3
stc
LQ Newbie
 
Registered: Apr 2004
Posts: 7

Original Poster
Rep: Reputation: 0
is there any file that has to be written to windows partition, and is it possible that since it is ntfs the mandrake install was not able to write that file?

this is my lilo.conf:

boot=/dev/hde1
map=/boot/map
default="linux-enterprise"
keytable=/boot/us.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
disk=/dev/hde bios=0x80
disk=/dev/hda bios=0x81
image=/boot/vmlinuz
label="linux"
root=/dev/hda1
initrd=/boot/initrd.img
append="devfs=mount acpi=ht splash=silent"
vga=788
read-only
image=/boot/vmlinuz
label="linux-nonfb"
root=/dev/hda1
initrd=/boot/initrd.img
append="devfs=mount acpi=ht"
read-only
image=/boot/vmlinuz-enterprise
label="linux-enterprise"
root=/dev/hda1
initrd=/boot/initrd-enterprise.img
append="devfs=mount acpi=ht splash=silent"
read-only
image=/boot/vmlinuz
label="failsafe"
root=/dev/hda1
initrd=/boot/initrd.img
append="failsafe acpi=ht devfs=nomount"
read-only
other=/dev/hde1
label="windows"
table=/dev/hde
map-drive=0x80
to=0x81
map-drive=0x81
to=0x80
other=/dev/fd0
label="floppy"
unsafe

other=/dev/hde1
label="windows"
table=/dev/hde
map-drive=0x80
to=0x81
map-drive=0x81
to=0x80
other=/dev/fd0
label="floppy"
unsafe
 
  


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
Dual Boot Problem (Windows XP & Red Hat 8) sypkensj Linux - Newbie 50 07-13-2006 02:31 PM
XP & FC2 Dual Boot Problem jpm56 Linux - Newbie 2 06-27-2004 05:55 PM
Fedora C2 & Win98 Dual Boot Problem GrumpyGnome Linux - Software 3 06-02-2004 07:30 PM
dual boot xp & rh9/Mandrake9 problem hm4288 Linux - Newbie 2 11-21-2003 02:36 AM
Dual Boot & modem problem GeoffC Linux - Newbie 9 07-23-2003 07:26 AM

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

All times are GMT -5. The time now is 07:33 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
Open Source Consulting | Domain Registration