Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
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.
I am not able to boot to the windows partition, my lilo hangs with DOS loading then L?
I have not made changes, however I tried a homemade Knoppix CD, it hung when I tried to boot from it. Now I cannot boot to my Windows option from lilo.
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd1,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8)
root (hd1,0)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.20-8.img
title DOS
rootnoverify (hd0,0)
chainloader +1
Distribution: LFS 5.0, building 6.3, win98se, multiboot
Posts: 288
Rep:
Hmmm... odd.
root (hd1,0) points grub to look for menu.lst, stage files etc. in /dev/hdb1, which I presume is your /boot.
setup hd(0) then installs the grub first stage bootloader (encoded with this pointer) into the mbr of /dev/hda.
I'm not quite certain what the stage2 error refers to. I think that it refers to a copy of the dos/win stage1 bootloader (in other words the original mbr) that is saved when grub is originally installed. Possibly that is corrupt. If you have a win95 boot disk with ms fdisk on it then you might try doing fdisk /mbr
then do the
grub
root (hd1,0)
setup (hd0)
quit
again. That should put things back in order if that is the problem. Another possibility is that the stage2 file in /boot/grub/ is corrupt. A clean copy of this file should be on your system, try /usr/share/grub or something like that. Try replacing the one in /boot/grub.
I'm not sure it is a GRUB problem as I cannot mount the partitions in Windows manually either. If GRUB were pointing to the wrong place I would think I could still manually mount.
That being said...I tried what you suggested, fdisk /mbr redid everything...no change
The only other grub.conf around was in /etc and that was identical to my /boot/grub/ version.
I'm truly confused. And I thought Knoppix was so innocent and friendly.....
Distribution: LFS 5.0, building 6.3, win98se, multiboot
Posts: 288
Rep:
I'm a little confused here. I thought you were unable to boot windows via grub. That was what I was trying to solve. Maybe it would be a good idea if you would describe the current state of your problems. What works/what doesn't.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.