SlackwareThis Forum is for the discussion of Slackware Linux.
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 read many how to installs and followed through. I get slackware to install. I can boot with a floppy and access everything no problem.
Win XP at /dev/hda
Linux at /dev/hdd
I want to have the XP boot loader give me the choice.
So, I
1. dd if=/dev/hdd of=/mnt/floppy/bootsect.lnx bs=512 count=1
2. Copy it to c:\ and added c:\bootsect.lnx="Linux" to boot.ini.
3. Reboot
4. I get the choice then Windows works fine. BTW lilo is at root and not MBR.
5. Linux hangs.
Where did you install lilo at when you first installed Slack?.................The way I've done it was to install lilo into the MBR of hda, and point it to hdd for the Slackware installation, then save the MBR to a floppy with the following command:
Code:
dd if=/dev/hda ...
Everything else looks fine...............if you can boot into Slack with a floppy, run sbin/lilo, which should install itself to the MBR of hda and then run the 'dd' command with 'if=/dev/hda'..................After that, if you have a win98 boot floppy, insert it and reboot to the floppy, and run 'fdisk /mbr' to restore the Windows MBR and copy the saved lilo MBR file to the c drive of Windows......................After that, everything should be fine.
If you don't have a win98 boot floppy, then you must use the xp install cd to restore the Windows MBR.........................insert the cd and boot to it...................Instead of installing xp again, choose the repair option.............on the next screen, choose the console to repair xp, then after logging into the console, run the command 'fixmbr' to restore the Windows MBR..................You can also optionally run 'fixboot' to make sure everything will work as intended, but is not necessary.........
HTH
Last edited by thegeekster; 05-14-2004 at 11:54 PM.
I have just installed Slackware and dual booting with XP. All installed with no problems but I did not install lilo into the MBR, I installed it into the first sector of the hard drive (I think that was the other option). It was pretty simple to install by doing that. It is the first time I have tried that, I seem to think I tried to install Slackware a few months ago and likewise could not get it to boot properly using the MBR. The only problem I now have is trying to setup my broadband on NTL but that is another issue. Don't give up at the first hurdle, it is well worth it once you have it up and running.
i recently setup a laptop to dual boot XP and SLack. i installed XP first and then installed LILO to the MBR. the setup program automagically setup LILO so both XP and Slack are options to boot. seems to be straight forward. why are you trying to use the NTLOADER? seems more hassle than it's worth.
Originally posted by btexpress
1. dd if=/dev/hdd of=/mnt/floppy/bootsect.lnx bs=512 count=1
2. Copy it to c:\ and added c:\bootsect.lnx="Linux" to boot.ini.
3. Reboot
4. I get the choice then Windows works fine. BTW lilo is at root and not MBR.
5. Linux hangs.
IMHO problem is in what I marked red. If lilo is at root, then you have to take bootsector from root partition and not from the whole drive (MBR).
You have two possibilities:
1.) write your lilo config to MBR of /dev/hdd instead of root partition and do not change anyting else (use boot=/dev/hdd)
2.) use dd if=/dev/hddX of=/mnt/floppy/bootsect.lnx bs=512 count=1 where /dev/hddX is what you have in lilo.conf in line with root=/dev/hddX
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.