LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   lilo and windows boot problems (https://www.linuxquestions.org/questions/linux-software-2/lilo-and-windows-boot-problems-175596/)

DuckFiasco 04-28-2004 02:05 PM

lilo and windows boot problems
 
I have a borked installation of Debian (good ol' Cannot Find Displays) on my secondary hard-drive, and Windows XP on my primary. I told lilo (perhaps stupidly) to make a boot-table of all operating systems instead of just ignoring it and leaving it how it is, and now I can't boot directly to the Windows hard-drive without getting boot disk errors. I have to do it through lilo on the secondary drive. This worries me since I'm planning to replace the Linux hard-drive soon (it's only 10gb -_-), and I don't want to have to reinstall/reformat Windows because of something this seemingly minor. I tried unplugging the Linux drive and I got a screen full of 01 01 01 01 01 01.

Thanks for any help :(

Matt Collier 04-28-2004 02:59 PM

how many letters of 'LILO' are written first?
assuming that 'L' is written, then the 01's, it means that lilo iteself has been booted from your bootable mbr, but then it failed to pass control onto the 2nd stage of boot, and the error 01 means 'invalid disk', presumably the missing disk.
Lilo was told to initially boot from the mbr, and then load the rest of it's boto sequence from another drive, either a /boot/ or initrd.img, and since this is missing when you remove the disk, LILO cannot finish it's run.
you'll need to either load everything LILO needs in a very small /boot/ partition, or use XP's boot loader (ntloader or something) instead, once everything the boot loader needs is on the single drive, then it'll boot on it's own.

DuckFiasco 04-28-2004 05:07 PM

fixed it by booting to a repair console and typing fixboot and fixmbr


All times are GMT -5. The time now is 06:43 AM.