LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-14-2004, 08:55 PM   #1
btexpress
Member
 
Registered: May 2004
Location: Seattle
Distribution: Fedora Core 4
Posts: 77

Rep: Reputation: 15
Dual boot Slackware and XP


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.

Was I suppose to get the Linux Boot Loader Menu?

Thanks.
 
Old 05-14-2004, 09:51 PM   #2
187807
Member
 
Registered: Oct 2003
Location: North Carolina, USA
Distribution: Slackware 11
Posts: 174

Rep: Reputation: 30
Quote:
1. dd if=/dev/hdd of=/mnt/floppy/bootsect.lnx bs=512 count=1
Which partition on /dev/hdd?

For example...when I do this I issue dd with if=/dev/hdb2
 
Old 05-14-2004, 11:53 PM   #3
thegeekster
Member
 
Registered: Dec 2003
Location: USA (Pacific coast)
Distribution: Vector 5.8-SOHO, FreeBSD 6.2
Posts: 513

Rep: Reputation: 34
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.
 
Old 05-15-2004, 04:03 AM   #4
btexpress
Member
 
Registered: May 2004
Location: Seattle
Distribution: Fedora Core 4
Posts: 77

Original Poster
Rep: Reputation: 15
No can do. I have tried the same thing with Fedora Core 1 but no luck. I will stick to Windows.

Thanks for your help.
 
Old 05-15-2004, 04:27 AM   #5
atko
Member
 
Registered: Feb 2003
Location: UK
Distribution: Currently Fedora Core 3
Posts: 136

Rep: Reputation: 15
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.
 
Old 05-15-2004, 05:57 AM   #6
xanas3712
Member
 
Registered: Apr 2004
Distribution: Slackware/Mandrake/Debian (sarge)
Posts: 266

Rep: Reputation: 30
Totally agreed. Slackware rocks.
 
Old 10-03-2005, 08:20 AM   #7
TigerLinux
Senior Member
 
Registered: Sep 2005
Location: Kuala Lumpur, Malaysia
Distribution: Ubuntu 11.04
Posts: 1,731

Rep: Reputation: 30
I prefer mandriva, it is easier.
 
Old 10-03-2005, 08:55 AM   #8
maginotjr
Member
 
Registered: Aug 2004
Location: BR - Floripa
Distribution: Ubuntu 9.10 - 2.6.x.x
Posts: 661

Rep: Reputation: 35
Quote:
Originally posted by TigerLinux
I prefer mandriva, it is easier.
this is why i dont use windows xp... and this is why i use slackware....

and btw, between all distros I realy think mandriva is the worst..
[ ]īs
 
Old 10-03-2005, 12:45 PM   #9
asciibaron
LQ Newbie
 
Registered: Sep 2005
Posts: 2

Rep: Reputation: 0
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.

-da baron
 
Old 10-03-2005, 01:56 PM   #10
brm
LQ Newbie
 
Registered: Apr 2004
Posts: 18

Rep: Reputation: 0
Re: Dual boot Slackware and XP

Quote:
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
 
Old 10-03-2005, 06:22 PM   #11
uopjohnson
Member
 
Registered: Jun 2004
Location: San Francisco
Distribution: Slackware, Ubuntu, RHEL, OS X
Posts: 159

Rep: Reputation: 30
Quote:
Originally posted by TigerLinux
I prefer mandriva, it is easier.
Did you reopen this year old thread just to say that?

Last edited by uopjohnson; 10-03-2005 at 06:23 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual boot windows/slackware, but slackware installed first? Cryptic_K Slackware 3 11-20-2006 12:49 PM
Dual boot Slackware 10.1 with XP - HELP! rsmith Linux - Newbie 5 07-05-2005 11:49 AM
system alarm on boot in slackware 10.0 but not win2000(dual boot) Arch Stanton Slackware 3 01-24-2005 10:33 AM
dual boot xp/slackware gl0stik Linux - Newbie 10 12-09-2004 10:11 AM
dual boot slackware and xp wakemeup Linux - Software 3 05-02-2004 02:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration