hopeless... dualboot slackware + windows xp
ok not sure what im doing wrong or if LILO just wont work on my system but ill try to cover everything i have done thus far...
I am currently running Winblows XP Home NTFS and that is booting fine... so far ok i partitioned my 40gig drive using BOOTITNG to resize my NTFS, worked very well and i was left with: /dev/hda1 = NTFS :: /dev/hda2 = linux swap :: /dev/hda3 = linux root i used slackware cd to format my swap partition then format my linux root partition... i then installed all packages on my root partition i then followed the steps in Slack Essentials to dual boot using LILO... I first used: # dd if=/dev/hda3 of=/tmp/bootsect.lnx bs=1 count=512 then threw bootsect.lnx on a floppy and put it on C:\ then i added a menu option to boot.ini using cmd prompt: C:\attrib -r -a -s -h boot.ini C:\edit boot.ini added C:\bootsect.lnx="Slackware Linux" to the last line of boot.ini My problem is i cannot install LILO to the superblock of Linux... i run: lilconfig and select simple install and use Standard Linux Console and then goto the screen: "Installing Linux Loader..." and there is a command line at the bottom of the screen root@slackware:# the screen stays like that forever, LILO doesnt appear to complete installing.... I also tried Expert LILO Install... Start LILO with new Header... then added /dev/hda3 Linux Partition to the config file (as to make it bootable?) the same result: "Installing Linux Loader..." and there is a command line at the bottom of the screen root@slackware:# I reboot and at the OS menu option i pick Slackware Linux and the screen is black with a flickering thingy at the top left but linux doesnt load.... when i select Windows on the option windows loads fine, no damage yet.... does this mean LILO doesnt work with my system? if so how do i un-do what i have done with LILO and possibly use LOADLIN to dual boot slack with xp? i read a bit on GRUB and it seems a little too complicated for me... is there a safe way of writing LILO the the MBR in order to dual boot? i'm open to suggestions i'm getting frustrated thanks in advance |
I allways used this guide and never hade a problem;
http://www.bitbenderforums.com/vb22/...?postid=311808 |
great step-by-step walkthrough but it doesnt cover dual booting :(
thanks thou guess im stuck booting with floppy |
Have you considered using a product like Partition Magic/ Boot Magic that is designed to make dual-boot systems work? I'm in the process of doing just that. Will let you know if I have better results.
Mike |
This looks too much like your thread in slackware > installation > ntfsresize. I'll answer there.
|
Post your lilo.conf file. Here's an example in a setup such as yours where you're installing lilo to the superblock. And it should get you going if you are using the default slackware kernel.
Code:
# LILO configuration file Second, make sure you have the files vmlinuz & System.map in the /boot directory. Slackware sets these up as links. Third, run the command "lilo". Run this command: Code:
dd if=/dev/hda3 of=/bootsect.lnx bs=1 count=512 Code:
mkdir /mnt/floppy |
someone from other thread had me make it this:
boot=/dev/hda install=/boot/boot.b prompt timeout=300 message=/boot/message lba32 default=windows image=/boot/vmlinuz label=slackware append="root=LABEL=/" root=/dev/hda3 other=/dev/hda1 table=/dev/hda label=windows i have original version saved under /etc/lilo.conf.old if u want me to post that one, can you step me through how to copy that possibly thanks for the extended help |
The one you have posted there is for installing lilo to the MBR, which is not what you are trying to do, going by what you posted above. If you install lilo to the MBR, then you will overwrite XP's manager which is/was in the MBR. Usually it will work either way, however the safest way that just about always works is to install it the Superblock, which is what the lilo.conf file I posted is for. Disadvantage is that it's more trouble to setup. Take your pick, try em both, whatever. Just keep in mind that if you try installing lilo with the lilo.conf you posted above, or if you have already ran lilo after using that file, then you may have already corrupted the MBR and may have to use the XP CD or a DOS bootdisk to fix the MBR.
As far as steps go, like I said above, boot to the Slackware CD or Rescue Floppy and edit the lilo.conf file. Then go from there. You can use the cat program to create /etc/lilo.conf if you're not comfortable with vi. Type in the following to use cat: Code:
cat > /etc/lilo.conf << "EOF" |
dont think LILO works on my system.... all i get is kernel panic... dont even wanna try putting it on MBR
|
lilo will work great on your system.
i think the only thing you've done wrong is that you made a " bootsect.lnx " -file ( the "dd" command ) before lilo was installed. if you just follow DaHammer's post ( #6) from the top down, you'll get it working. egag |
my lilo.conf is exactly what #6... should i still be getting a LILO boot menu?...because i am... cuz i create one in boot.ini so i got thru LILO boot menu, if i choose Windows then i have the boot.ini menu... i did if from the begininng, exported the bootsect after altering lilo.conf
still kernel panic by the way, whenever i tried to install liloconfig expert/simple it would just stop responding at the "Installing Linux Loader..." screen isnt editing lilo.conf just tip-toeing around that major problem? |
-------------
exported the bootsect after altering lilo.conf still kernel panic -------------- after changing lilo.conf, did you run " lilo " if so, what messages did you get ? egag |
The order should be like this:
1) Turn on PC 2) Windows bootmanager appears, with slackware as an option 3) If you pick windows, windows boots (no lilo prompt) 4) If you pick slackware, lilo prompt appears 5) Pick your kernel at the lilo prompt or just hit enter to boot the default kernel 6) Slackware boots If you are seeing the lilo prompt prior to the windows bootmanager, or no windows bootmanager at all, then you have messed up your MBR. Most likely when you tried to install lilo to it. If that's the case, then you can either fix it with a DOS disk using fdisk, XP CD using the repair terminal, or try to get lilo working from the MBR so that it boots Windows and Slackware. The dd command should always be ran AFTER any edits to lilo.conf & AFTER running lilo itself. And ONLY when installing lilo to the superblock. Quote:
One other thing I failed to mention is which lilo.conf you're actually editing. If you are booting to a rescue floppy or CD, then chances are that your root is actually on a ramdisk vs hda3. Check and see if hda3 is mounted by running mount without any options. If it's it not, then mount it: mkdir /mnt/hda3 mount /dev/hda3 /mnt/hda3 Then be sure and place a copy of your desired lilo.conf at /mnt/hda3/etc/lilo.conf: cp /etc/lilo.conf /mnt/hda3/etc Then run lilo, then the dd command, and then copy bootsect.lnx to your floppy for latter copying to C:/. Prior to rebooting, you'll probably want to unmount hda3 as well. umount /dev/hda3 Also, if lilo is not working when installed to the superblock then there is almost a 99.9% chance that it's an configuration error and not lilo itself. Take your time and read the above instructions carefully, taking special care to do the steps in the exact order and not to use spaces for the labels and etc in lilo.conf. |
thanks for all the help, i really appreciate it
guess ill use xp cd to fix mbr - how do i get to repair teminal? also to 'run' lilo all i do is: /sbin/lilo -v right? |
Read this:
http://www.microsoft.com/resources/d...ns_fixmbr.mspx The actual command to use inside the console is "fixmbr": http://www.microsoft.com/resources/d...ns_fixmbr.mspx And yeah, "/sbin/lilo -v" will work fine. but not -V. You can drop the -v altogether if you want. |
All times are GMT -5. The time now is 07:59 PM. |