LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-10-2003, 07:25 PM   #1
leeman_s
Member
 
Registered: Jan 2003
Posts: 87

Rep: Reputation: 15
Dual boot slackware + WinXP


I only have one NTFS partition, the C:, on Windows XP. I have 70 GB of free space. The C: is my entire hard drive.

1) Is it possible to dual boot using LILO with slackware?

2) Can I do it without reinstalling Windows?

3) Can someone give me a brief set of instructions on doing this?

4) Is this at least somewhat correct:

Reboot with slackware cd in, boot from it

Somehow make a new partition with a native linux format.

Install there.

Put LILO in the root partition in installation.

Done?
 
Old 09-10-2003, 07:34 PM   #2
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
1. Yes
2. Yes
3. You first need to resize your XP partition, so that you will have a place to install Slack into. My recommendation would be to first defrag XP, then repartition it using whatever tool you are most comfortable with. As for me, I recommend BootIt NG, from terabtye, which you can find here: http://www.terabyteunlimited.com/bootitng.html
4. Basically yes, but you need to create the partition first.

Standard comment: be sure to backup any important data first before you start messing with partitions. -- J.W.
 
Old 09-10-2003, 07:52 PM   #3
leeman_s
Member
 
Registered: Jan 2003
Posts: 87

Original Poster
Rep: Reputation: 15
WinXP was freshly installed yesterday, so as far as I'm concerned I can't really screw anything up right now.
 
Old 09-10-2003, 08:36 PM   #4
DaOne
Member
 
Registered: Jan 2003
Location: USA
Distribution: Slackware
Posts: 498

Rep: Reputation: 30
This is what I would do...as stated before, resize the Win partition, or re-install Windows to a smaller partition leaving the second partition unformated for the Slack install.

During the Slack install, choose to install Lilo to the root partition. Create a boot floppy for later.

After the Slack install, either boot from the floppy, or boot the cd with the following option (at the boot: screen)...

bare.i root=hda2 noinitrd ro

It will look like this...

boot:bare.i root=hda2 noinitrd ro

Once the system is booted, login as root and do the following...

insert a blank floppy...then do...

mkfs -t msdos /dev/fd0

Then do...

dd if=/dev/hda2 of=/bootsect.lnx bs=512 count=1

Then do...

mcopy /bootsect.lnx a:

reboot into Windows, then copy the bootsect.lnx file from the floppy to C:\

Right click on "My Computer", click Properties, click the Advanced tab, click Settings under Startup and Recovery, click Edit, add the following on a seperate line...

C:\BOOTSECT.LNX="Slackware"

Save the file, reboot, then choose either Windows or Slackware. Anytime you recompile the kernel, or change Lilo, you'll need to follow the process again. HTH.
 
Old 11-12-2003, 10:20 PM   #5
ximian
LQ Newbie
 
Registered: Jun 2003
Posts: 12

Rep: Reputation: 0
Ok... I did the complete oposite when I had installed Slackware. I installed Lilo initially on the MBR. I tried a recovery for W2K_AS and was unsuccessful in removing LILO.

In any case, is there a way I could edit lilo.conf to reflect that I do have another system on another partition and select to boot either one from LILO at boot?

Is it necessay to have 3 partitions for slack? 1 for boot 2nd for swap and a 3rd for root; if doing a dual boot?

Last edited by ximian; 11-12-2003 at 10:28 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 WinXP/Debian, grub error booting WinXP ChemBot Linux - General 5 02-22-2007 04:13 PM
Dual Boot with Existing WinXP & SLackware - with New 160GB hrddrive daveg2000 Linux - Newbie 2 09-06-2004 04:46 PM
Slackware 9 and winxp dual boot Fletch44 Linux - Newbie 1 08-08-2004 11:17 AM
Advice (and some) Needed: Dual-HDD, Dual-Boot - Linux, WinXP elnomadkvn Linux - General 1 03-28-2004 10:11 AM
If possible, could anyone give me exact instructions to dual-boot WinXP and Slackware crumb Linux - General 5 10-16-2003 10:41 PM

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

All times are GMT -5. The time now is 09:41 PM.

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