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.
If you can boot your linux system. Either install lilo using liloconfig or edit /etc/lilo.conf, both require that you rerun lilo (/sbin/lilo). Simplest way to fiddle with the bootloader without breaking anything is insatlling to a floppy.
If you want grub instead of lilo download from here (thats what I did when I needed a more tweakable bootloader than lilo).
If you cant boot your linux system boot from the install CD with something similar to bare.i root=hda2 noinitrd ro
Where you replace bare.i with your kernel of choice and hda2 with your root partition. This lets you start the linux system and you can install lilo or grub as you wish.
Did you install lilo/grub to the slackware root partition (the superblock). If so, you can boot into slackware off of a boot disk (if you made one) or the install CD. You need to get the first 512 bytes of the Linux root partition and store it on the Windows XP partition. Follow the instructions (from the link I posted above) under the section:
Distribution: Slackware 10.2 (AMD64 Desktop, HP ZV5120US & IBM T20 Laptops) Suse 10.1 (IBM T23 Laptop)
Posts: 58
Rep:
There should be a easy way, but unless you can boot into Slack, I'm afraid I can't help. I have had many multi-boot setups installed including NT4, 2K, and XP. I haven't ever used grub as a boot loader though.
Did you make a boot floppy during the install?
and can you get into your slackware at all?
If you can't, you might want to download a live cd, (knoppix, or Slackware 10.0 disk 2) and try and look at your hard drive contents just to be sure which partition is /
If you use SW 10.0 disk 2, you can just hit return at the boot prompt and let it load,
then post the output of fdisk -l (fdisk -small L ) it should tell you what each partition is.
I noticed that you didn't list a swap partition, could that be the problem? ( anyone else? )
Ok this is what I've done so far.
1. Installed windows xp
2. Installed Linux (Slackware 10.1)
3. # dd if=/dev/hda2 of=/tmp/bootsect.lnx bs=1 count=512
4. Copied boostsect.lnx into hda3
*** Problem***
When load XP and went to copy bootsect.lnx to my C:, I got this mesage
The disk in drive E is not formatted.
Distribution: Slackware 10.2 (AMD64 Desktop, HP ZV5120US & IBM T20 Laptops) Suse 10.1 (IBM T23 Laptop)
Posts: 58
Rep:
not sure, but...
Not sure why are you getting a message about E,
If your partition information is correctly stated above,then while in XP you will ONLY SEE C: and D: on your hard drive.
Windows Can't (doesn't care ) about your reiserfs on hda2.
It will see hda1 as C: and hda3 as D:
Sorry I can't be of more help, but if both windows partitions are indeed FAT32, you could have just done all your work while you were still booted in Slack.
as in # dd if=/dev/hda2 of=/windows_mount_point/bootsect.lnx bs=1 count=512
that would have allowed you to write the file directly to the FAT32 partition.
Then #vi /windows_mount_point/boot.ini to edit the XP bootloader.
You could always cp the file to a usb key drive and then copy that back in XP.
Why don't you just install LILO to MBR? It will add Windows automatically.
If you really installed Slack, just boot with Install CD, set up /dev/hda2 as your / without formatting, and finally jump to step "Configure system".
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.