LILO config for Slack 10.0 and XP
After searching, reading, and experimenting for a few hours this is my last hope. I have two hard drives, one with several partitions including an NTFS which has my XP install on it and another disk with my Slack install. My Linux drive is set to master and the other to slave. This is the output of fdisk -l:
Code:
bash-2.05b# fidks -l Code:
bash-2.05b#su # LILO configuration file # generated by 'liloconfig' # # Start LILO global section boot = /dev/hdc message = /boot/boot_message.txt prompt timeout = 1200 # Override dangerous defaults that rewrite the partition table: change-rules reset # VESA framebuffer console @ 1024x768x256 vga = 773 # Normal VGA console # vga = normal # VESA framebuffer console @ 1024x768x64k # vga=791 # VESA framebuffer console @ 1024x768x32k # vga=790 # VESA framebuffer console @ 1024x768x256 # vga=773 # VESA framebuffer console @ 800x600x64k # vga=788 # VESA framebuffer console @ 800x600x32k # vga=787 # VESA framebuffer console @ 800x600x256 # vga=771 # VESA framebuffer console @ 640x480x64k # vga=785 # VESA framebuffer console @ 640x480x32k # vga=784 # VESA framebuffer console @ 640x480x256 # vga=769 # End LILO global section # Linux bootable partition config begins image = /boot/vmlinuz root = /dev/hdc2 label = Linux read-only # Linux bootable partition config ends # # ## WinXP bootable partition config begins other = /dev/hdd1 label = XP table = /dev/hdd # WinXP bootable partition config ends Then I ran Code:
bash-2.05b# /sbin/lilo I greatly appreciate your help and am glad to provide anymore information if needed. Thanks again. |
Quote:
|
Both /dev/hdc1 and /dev/hdd1 are set as boot partitions, i think that might be your problem, you canonly have one boot partition. Did you install windows first before installing linux?
|
Quote:
What's interesting about that is that that isn't a typo, that is the actual print out from fdisk -l. Quote:
Thanks for the quick replies. |
No - he means that the boot partition is what the system looks at when it's looking for a bootloader. Set the boot partition to be the one that lilo -your bootloader- is on, and don't worry about having the windows partition be bootable. It doesn't need to be (as lilo tells windows "boot now plskthx!").
|
I guess I don't understand. It is booting LILO. LILO comes up fine, it will boot Slack fine, and it gives me the option to boot XP but won't do it. So all I need to do is erase whatever is on the boot partition of my windows drive?
|
Toggle the "Bootable" option of your Windoze partition to "OFF"
|
Quote:
|
Quote:
Insert your windows cd, boot up to the screen it will ask if you would like to install windows or repair an installation, just press the 'r' key and then it will take you to a command prompt, you may also need to enter the administrators password. Theres 2 commands you can use: fixboot fixmbr It has been a while since I have done these so I not sure which one will work, hope this will help. |
The boot option is irrelevant if you have a BIOS that you can change the boot options. If you set your BIOS to start from the Primary Master HD then that is the boot partition it will find. Conversely if you set the BIOS to Secondary Master, then that is the boot partition. I have had 4 HD's all with boot partitions running Xp, FreeBSD and various Linux distro's.
Although I use Slackware, and it's default boot loader is LILO, I admit I don't use it and never have. I use GRUB, and here is my setup Code:
root@slacker:~# fdisk -l Here is my GRUB menu.1st entry Code:
# (0) Slackware 10.1 |
anyone know how to do this in lilo?
|
Quote:
Thanks aikidoist72, I used to use Grub back in my Red Hatting days. I might just have to switch if I cannot get this figured out. Dang Windows, gives me trouble even when it is working perfectly. |
Hi Permaximus,
No problemo! Based on your fdisk -l output you will probably need to enter this Code:
# (6) Microsoft Windows(TM) Code:
grub> root (hd0,1) http://ruslug.rutgers.edu/~mcgrof/grub-images/ Cheers |
I am not using grub
|
nor am i.
|
All times are GMT -5. The time now is 01:13 AM. |