LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 08-16-2003, 11:51 PM   #1
sdfa
LQ Newbie
 
Registered: Aug 2003
Posts: 6

Rep: Reputation: 0
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
 
Old 08-17-2003, 12:04 AM   #2
Di0de
LQ Newbie
 
Registered: Jul 2003
Posts: 22

Rep: Reputation: 15
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.
 
Old 08-17-2003, 01:29 AM   #3
sdfa
LQ Newbie
 
Registered: Aug 2003
Posts: 6

Original Poster
Rep: Reputation: 0
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"
 
Old 08-17-2003, 04:53 AM   #4
ecb
LQ Newbie
 
Registered: Jul 2003
Location: Belgium - Europe
Distribution: RH 8, 9 and AS 2.1
Posts: 10

Rep: Reputation: 0
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
 
Old 08-17-2003, 09:54 AM   #5
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
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
 
Old 08-17-2003, 02:05 PM   #6
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
(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.
 
Old 08-18-2003, 01:58 AM   #7
sdfa
LQ Newbie
 
Registered: Aug 2003
Posts: 6

Original Poster
Rep: Reputation: 0
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
 
Old 08-18-2003, 03:20 AM   #8
sdfa
LQ Newbie
 
Registered: Aug 2003
Posts: 6

Original Poster
Rep: Reputation: 0
please help me!
 
Old 08-18-2003, 03:21 AM   #9
bharatshetty
LQ Newbie
 
Registered: Aug 2003
Posts: 1

Rep: Reputation: 0
Ihaveinstalled redhat 7.2 on my PC.

But when i reinstalled windows I can't see the LILO loader.

Only windowloads

why?

bharat
 
Old 08-18-2003, 03:41 AM   #10
sdfa
LQ Newbie
 
Registered: Aug 2003
Posts: 6

Original Poster
Rep: Reputation: 0
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
 
Old 08-18-2003, 03:53 AM   #11
ecb
LQ Newbie
 
Registered: Jul 2003
Location: Belgium - Europe
Distribution: RH 8, 9 and AS 2.1
Posts: 10

Rep: Reputation: 0
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...
 
Old 08-18-2003, 04:05 AM   #12
sdfa
LQ Newbie
 
Registered: Aug 2003
Posts: 6

Original Poster
Rep: Reputation: 0
/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"
 
Old 08-18-2003, 04:52 AM   #13
ecb
LQ Newbie
 
Registered: Jul 2003
Location: Belgium - Europe
Distribution: RH 8, 9 and AS 2.1
Posts: 10

Rep: Reputation: 0
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...
 
Old 08-18-2003, 07:34 AM   #14
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
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.
 
Old 08-18-2003, 07:41 AM   #15
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
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...
 
  


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
grub question changing boot order making windows boot first nfsutim Linux - Newbie 29 10-27-2012 12:53 PM
How do I dual boot Linux and Windows XP from Windows boot file andyri Linux - Newbie 4 08-04-2004 10:09 PM
Linux/Windows dual boot with Windows re-install dhowell1129 Linux - Newbie 6 04-25-2004 04:21 AM
On Windows and LInux dual boot - why install Windows first? yanar99 Linux - Newbie 13 12-18-2003 09:20 AM
How to add a boot record which used to startup windows under my Grub boot loader? yunxiang Linux - Newbie 6 02-01-2003 02:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09: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