View previous topic :: View next topic |
Author |
Message |
dpetka2001 l33t
Joined: 04 Mar 2005 Posts: 804
|
Posted: Tue Apr 29, 2008 9:43 pm Post subject: [Solved] Lilo error |
|
|
hello there...i have a little trouble booting to windows from lilo...windows is on sdb1 and gentoo on sdc2...when i try to boot to windows i get an error "ntldr is missing"...my lilo.conf is as follows Code: | boot=/dev/sdb
prompt
timeout=50
default=Gentoo
# Gentoo-2.6.24-r4
image=/boot/kernel-2.6.24-gentoo-r4
label=Gentoo
read-only
root=/dev/sdc2
# Gentoo-2.6.23-r6
image=/boot/kernel-2.6.23-gentoo-r6
label=Gentoo2
read-only
root=/dev/sdc2
# Windows
other=/dev/sdb1
label=Windows
#table=/dev/sdb1 | could anyone help me to overcome the problem??
Last edited by dpetka2001 on Thu May 01, 2008 11:01 am; edited 1 time in total |
|
Back to top |
|
|
cyblord Guru
Joined: 22 May 2006 Posts: 424
|
|
Back to top |
|
|
pappy_mcfae Watchman
Joined: 27 Dec 2007 Posts: 5999 Location: Pomona, California.
|
Posted: Wed Apr 30, 2008 6:04 am Post subject: |
|
|
Comparing that against my Windoze boot section, you should rewrite it like so: Code: | other = /dev/sdb1
label = Windows
table = /dev/sdb | Just plug that in unedited and see if it works.
Good luck.
Blessed be!
Pappy _________________ This space left intentionally blank, except for these ASCII symbols. |
|
Back to top |
|
|
dpetka2001 l33t
Joined: 04 Mar 2005 Posts: 804
|
Posted: Wed Apr 30, 2008 8:51 am Post subject: |
|
|
thanks for your replies...i booted with windows cd, did a fixmbr and then reinstalled lilo in mbr...
now i can boot to windows without any problems...it shows up the menu from ntldr and i choose
to boot to windows just fine...is there anyway to put an entry in ntldr so that it falls back to lilo
menu in case i want to boot to gentoo so that i don't have to reboot? that's in case i choose by
accident to boot to windows from the lilo menu...thanks again... |
|
Back to top |
|
|
pappy_mcfae Watchman
Joined: 27 Dec 2007 Posts: 5999 Location: Pomona, California.
|
Posted: Wed Apr 30, 2008 9:26 am Post subject: |
|
|
In a word, no. ntldr is a binary file. True, you can edit binary files, but you had better absolutely know what you are doing. Even then, I'm not sure even I'm brave enough to try something so screwy!
But hey, if you want to give it a go, knock yourself out!
Blessed be!
Pappy _________________ This space left intentionally blank, except for these ASCII symbols. |
|
Back to top |
|
|
dpetka2001 l33t
Joined: 04 Mar 2005 Posts: 804
|
Posted: Wed Apr 30, 2008 9:46 am Post subject: |
|
|
well ok not ntldr itself but as far as i know the entries in ntldr's menu are read from boot.ini...so could i write an entry there in order to fall back to lilo menu?? if so how should it be?? if not thanks for your help and topic closed as solved... |
|
Back to top |
|
|
pappy_mcfae Watchman
Joined: 27 Dec 2007 Posts: 5999 Location: Pomona, California.
|
Posted: Wed Apr 30, 2008 6:41 pm Post subject: |
|
|
dpetka2001 wrote: | well ok not ntldr itself but as far as i know the entries in ntldr's menu are read from boot.ini...so could i write an entry there in order to fall back to lilo menu?? if so how should it be?? if not thanks for your help and topic closed as solved... | That won't work either. If you wish to give preference over Windows, you can simply add the following line to your /etc/lilo.confYou could also set a decent amount of time to allow yourself to choose the OS you want to boot thusly: which translates to forty seconds.
Blessed be!
Pappy _________________ This space left intentionally blank, except for these ASCII symbols. |
|
Back to top |
|
|
|