Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
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.
|
 |
08-16-2003, 11:51 PM
|
#1
|
LQ Newbie
Registered: Aug 2003
Posts: 6
Rep:
|
I can't boot windows
when i'm starting the computer
and chosing dos in lilo
i just see a black screen for 1 sec and then it's going back to the lilo and i can chose just linux
i'm using linux redhat 7.3
|
|
|
08-17-2003, 12:04 AM
|
#2
|
LQ Newbie
Registered: Jul 2003
Posts: 22
Rep:
|
hmmm if you posted a copy of your lilo.conf file in here we can help you also remember to run the lilo command after you edit your lilo.conf and for your windows boot up it should look like this
other = /dev/hda1 <----- where windows is mounted on the hard disk
label = Dos <--- name you like to show up on the lilo screen
but always remember after you edited your lilo.conf to run the lilo command so it writes it. this is always a constant problem and the most likely mistake.
|
|
|
08-17-2003, 01:29 AM
|
#3
|
LQ Newbie
Registered: Aug 2003
Posts: 6
Original Poster
Rep:
|
here is the lilo.conf
prompt
timeout="50"
default=linux
boot="/dev/hda6"
map=/boot/map
install=/boot/boot.b
message=/boot/message
lba32
image="/boot/vmlinuz-2.4.7-10"
label="linux"
read-only
root="/dev/hda8"
append="hdd=ide-scsi"
other=/dev/hda1
label="DOS"
|
|
|
08-17-2003, 04:53 AM
|
#4
|
LQ Newbie
Registered: Jul 2003
Location: Belgium - Europe
Distribution: RH 8, 9 and AS 2.1
Posts: 10
Rep:
|
From what it shows, your Dos / whatever partition should be on the first partition.
If you're using a FAT system, try booting using the floppy/CD and check if "C:" is accessible.
Also, run fdisk and make sure of the partition number, after doing that correct the /etc/lilo.conf and run a lilo -v
|
|
|
08-17-2003, 09:54 AM
|
#5
|
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403
Rep:
|
You can also adding optional.
Code:
other=/dev/hda1
optional
label=DOS
in order for the modification to take effect,
at the command line, type lilo
|
|
|
08-17-2003, 02:05 PM
|
#6
|
Senior Member
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918
Rep: 
|
(EDIT: Temporary link deleted. Searching Google for "Winlilo" will give you a link to the boot floppy that has nothing on it but an instance of Lilo to boot Windows.)
Good Luck
Last edited by 2damncommon; 08-19-2003 at 07:57 PM.
|
|
|
08-18-2003, 01:58 AM
|
#7
|
LQ Newbie
Registered: Aug 2003
Posts: 6
Original Poster
Rep:
|
ok
i tried to start the windows with the winlilo diskette
but when i'm chosing Windows from the menu it's taking me to the regular lilo screen and there,again, i have the same problem
|
|
|
08-18-2003, 03:20 AM
|
#8
|
LQ Newbie
Registered: Aug 2003
Posts: 6
Original Poster
Rep:
|
please help me!
|
|
|
08-18-2003, 03:21 AM
|
#9
|
LQ Newbie
Registered: Aug 2003
Posts: 1
Rep:
|
Ihaveinstalled redhat 7.2 on my PC.
But when i reinstalled windows I can't see the LILO loader.
Only windowloads
why?
bharat
|
|
|
08-18-2003, 03:41 AM
|
#10
|
LQ Newbie
Registered: Aug 2003
Posts: 6
Original Poster
Rep:
|
i think that i'm close to a solution
when i'm choosing windows i don't see a black screen
i see a black screen that somthing wrote on him
loading DOS
LILO
and then i see the lilo screen again
|
|
|
08-18-2003, 03:53 AM
|
#11
|
LQ Newbie
Registered: Jul 2003
Location: Belgium - Europe
Distribution: RH 8, 9 and AS 2.1
Posts: 10
Rep:
|
Clarify first... try after.
Hi,
Could you please at least try booting with a windows boot floppy/CD and check if C: is accessible then....
Then when you're under Linux, run a "fdisk /dev/hda" (as root) and enter the commands "p" and "q".
If there is a "C:" drive in step 1 and and /dev/hda1 shows as a Windows something partition in the listing by fdisk Win is probably just fucked up on its partition.
If anything else, please report...
|
|
|
08-18-2003, 04:05 AM
|
#12
|
LQ Newbie
Registered: Aug 2003
Posts: 6
Original Poster
Rep:
|
/dev/hda1 * 1 638 5124703+ b Win95 FAT32
/dev/hda2 639 2495 14916352+ f Win95 Ext'd (LBA)
/dev/hda5 * 1914 1930 136521 83 Linux
/dev/hda6 1931 1963 265041 82 Linux swap
/dev/hda7 1964 2495 4273258+ 83 Linux
that what it's write when i'm use "P"
|
|
|
08-18-2003, 04:52 AM
|
#13
|
LQ Newbie
Registered: Jul 2003
Location: Belgium - Europe
Distribution: RH 8, 9 and AS 2.1
Posts: 10
Rep:
|
Hum... from your lilo conf in a previous post :
---------
boot="/dev/hda6"
map=/boot/map
install=/boot/boot.b
message=/boot/message
lba32
image="/boot/vmlinuz-2.4.7-10"
label="linux"
read-only
root="/dev/hda8"
----------
putting lilo on the first sector of a swap is weird. but designating a hda8 that you don't have is as well...
When you're under linux, try changing "boot" to /dev/hda
and root to /dev/hda5
But I'm afraid that you overwrote the (windows) first sector of /dev/hda1 with Lilo so try to find if you still got a copy of the sector saved (e.g. boot.b file) with date & time close after your initial Linux install.
Best of luck, otherwise you need to "mkbootdisk" under linux
uninstall lilo
boot windows
do a fdisk /mbr
boot with the Linux bootdisk
install lilo again after double checking the lilo.conf file this time...
|
|
|
08-18-2003, 07:34 AM
|
#14
|
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104
Rep:
|
Hi bharatshetty
Your Windows bootloader has overwritten the Linux one, hence only enabling you to boot into Windows - In general you should install Linux after Windows - Linux bootloaders are better able to recognise and boot other OS's than Windows ones. If you ve got a boot disk you could use it to get to a shell and just re-install your Linux bootloader - for LILO its just /sbin/lilo as root.
|
|
|
08-18-2003, 07:41 AM
|
#15
|
Senior Member
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918
Rep: 
|
Quote:
when i'm choosing windows i don't see a black screen
i see a black screen that somthing wrote on him
loading DOS
LILO
and then i see the lilo screen again
|
The only reason I could see for this is that Dos/Windows is rebooting after attempting to start. I would think a complete failure would hang. It is possible to get Windows in a continual reboot by choosing to reboot to Windows from DOS when you have a bootloader in the middle. What version of Windows are you using?
Also, as noted by ecb, there seem to be some pretty big discrepancies between your lilo.conf and what fdisk shows is really there.
If you are familar with the command line you can confirm and check on your partitions from the rescue mode on your Red Hat install CD. Then begin to make some of the changes suggested by ecb:
Quote:
you need to "mkbootdisk" under linux
uninstall lilo
boot windows
do a fdisk /mbr
boot with the Linux bootdisk
install lilo again after double checking the lilo.conf file this time...
|
|
|
|
All times are GMT -5. The time now is 09:33 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
|
|