LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices

Reply
 
Search this Thread
Old 03-22-2005, 09:18 PM   #1
mojarron
Member
 
Registered: Mar 2005
Location: ol mexico
Distribution: Slackware10.1 | KDE3.3.2 | Kernel 2.4.29
Posts: 34

Rep: Reputation: 15
Question how can i install slackware on a slave disk with windows already installed on master?


hi guys, i want to dual boot to slacx and win, i know how to do it from two partitions on one master disk, but the thing is, i got a new disk and i dont want to have to reinstall winxp and partition the disk, instead i just want to install linux on my slave disk and boot to both of them.

can it be done? or do i have to necesarily install both on different partitions (winxp, swap,slack) in one master disk?

im willing to use lilo or grub, whichever works best..

thanks in advance!


 
Old 03-22-2005, 09:25 PM   #2
tangle
Senior Member
 
Registered: Apr 2002
Location: Smithville, TN
Distribution: Slackware
Posts: 1,744

Rep: Reputation: 71
When you get to the part where you have to partition the drive. Do a fdisk /dev/hda and remove the old install. Then do fdisk /dev/hdb and partition the slave drive the way you want it.
 
Old 03-22-2005, 09:30 PM   #3
mojarron
Member
 
Registered: Mar 2005
Location: ol mexico
Distribution: Slackware10.1 | KDE3.3.2 | Kernel 2.4.29
Posts: 34

Original Poster
Rep: Reputation: 15
the thing is i dont want to modify the master disk, i have winxp installed on it.

does that fdisk /dev/hdb work for partitioning the slave disk?

and if so, if i proceed to install slack, will i get lilo to boot from any of them?
 
Old 03-22-2005, 09:37 PM   #4
tangle
Senior Member
 
Registered: Apr 2002
Location: Smithville, TN
Distribution: Slackware
Posts: 1,744

Rep: Reputation: 71
The name system for the IDE devices are.
/dev/hda - primary master
/dev/hdb - primary slave
/dev/hdc - secondary master
/dev/hdd - secondary slave

So when you do fdisk /dev/hdb, you are partitioning the primary slave drive.

When I said to partition /dev/hda, I ment to remove the Linux partitions. You can leave them there if you want. I am not sure about the lilo setup and if the installer will map the previous install. It should, but I am not sure about it.
 
Old 03-22-2005, 10:22 PM   #5
mojarron
Member
 
Registered: Mar 2005
Location: ol mexico
Distribution: Slackware10.1 | KDE3.3.2 | Kernel 2.4.29
Posts: 34

Original Poster
Rep: Reputation: 15
i see, thanks. but what i was looking for is the lilo and slack setup, the partitioning i dont think is the problem.

and i dont want to experiment cause i cant afford to mess up my winxp installation. so if someone knows this in detail please let me know..

thanks tangle.
 
Old 03-22-2005, 10:24 PM   #6
tangle
Senior Member
 
Registered: Apr 2002
Location: Smithville, TN
Distribution: Slackware
Posts: 1,744

Rep: Reputation: 71
The installer will install and setup lilo for the new install.
 
Old 03-22-2005, 10:26 PM   #7
mojarron
Member
 
Registered: Mar 2005
Location: ol mexico
Distribution: Slackware10.1 | KDE3.3.2 | Kernel 2.4.29
Posts: 34

Original Poster
Rep: Reputation: 15
really

ok then, ill try it

thanks man
 
Old 03-23-2005, 01:47 AM   #8
mojarron
Member
 
Registered: Mar 2005
Location: ol mexico
Distribution: Slackware10.1 | KDE3.3.2 | Kernel 2.4.29
Posts: 34

Original Poster
Rep: Reputation: 15
it worked just like that, thanks man
 
Old 03-26-2005, 11:38 PM   #9
killahsmurf
Member
 
Registered: Mar 2005
Distribution: Slackware
Posts: 50

Rep: Reputation: 15
alright. i have the same exact problem as mojarron, and im at the point now where i really dont wanna repartition my hdb. im able to run slack now becuase of the bootdisk i made during the installation. and ive tried to edit the lilo.conf file everyway possible and still no results.

"Warning: The boot sector and map file are on different disks.
Added windows *
Added slackware
The boot sector and the map file have *NOT* been altered." is what i get when i run lilo.

further information: hda1 = winxp (ntfs), hdb3 = slack root, hdb5 = FAT32 partition (i have alot of stuff stored there already), hdb2 = linux swap,

and please observe the lilo.conf file...

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda
#compact # faster, but won't work on all systems.
prompt
timeout = 50
# Normal VGA console
vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# ramdisk = 0 # paranoia setting
# End LILO global section
# Windows bootable partition config begins
other = /dev/hda1
label = windows
table = /dev/hda
# Windows bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hdb3
label = slackware
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends

for 4 days now ive been stuck in slack (not a bad thing at all ) but i need to be able to boot to windows. please help
 
Old 03-27-2005, 07:01 PM   #10
tangle
Senior Member
 
Registered: Apr 2002
Location: Smithville, TN
Distribution: Slackware
Posts: 1,744

Rep: Reputation: 71
I think that if you do a lilo -b /dev/hda , it will take care of your problem.
 
Old 03-27-2005, 08:54 PM   #11
killahsmurf
Member
 
Registered: Mar 2005
Distribution: Slackware
Posts: 50

Rep: Reputation: 15
that just stops the hda from being bootable no?
but ill give it a whirl. i hope it works, im dying to play cod!
 
Old 03-27-2005, 09:13 PM   #12
tangle
Senior Member
 
Registered: Apr 2002
Location: Smithville, TN
Distribution: Slackware
Posts: 1,744

Rep: Reputation: 71
I had a brain fart. Try lilo -M /dev/hda.
 
Old 03-27-2005, 09:14 PM   #13
killahsmurf
Member
 
Registered: Mar 2005
Distribution: Slackware
Posts: 50

Rep: Reputation: 15
*sigh*, thats a bit negative captain. ive seriously tried everything that everyone has had to offer me in the past few days. except for formatting the mbr, i have no idea how to do that. there has got to be a way to get this done. but my friend says he has his fedora/winxp setup the same way as far as drives go. and it works for him. check his lilo.conf ...

LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section

boot = /dev/hda
map = /boot/map

#compact # faster, but won't work on all systems.
prompt
timeout = 20

# Normal VGA console
vga = normal
# ramdisk = 0 # paranoia setting

default = slack

# Windows
other = /dev/hda1
label = windows
table = /dev/hda

# Linux
image = /boot/vmlinuz
root = /dev/hdb3
label = slack
read-only

then peep mine...

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda
#compact # faster, but won't work on all systems.
prompt
timeout = 50
# VESA framebuffer console @ 1024x768x256
vga = 773
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# ramdisk = 0 # paranoia setting
# End LILO global section
# Windows bootable partition config begins
other = /dev/hda1
label = windows
table = /dev/hda
# Windows bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hdb3
label = slack
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends

the only difference i see is his "map = /boot/map", but ive never heard anyone even referring to that when it comes to slack.
"Warning: The boot sector and map file are on different disks." is the error i get when i run lilo. however, when i put in that "map = /boot/map line, i dont receive any errors, but it still wont boot correctly.

there has got to be something im doing wrong.
 
Old 03-31-2005, 06:40 AM   #14
aashiks
LQ Newbie
 
Registered: Mar 2005
Location: Cochin
Distribution: Slackware
Posts: 2

Rep: Reputation: 0
Hello anyone interested in doing the following , because i usually do it this way

install lilo to root partition ,
dd the first 512 bytes to a windows partition

edit boot.ini so that winxp/winnt/win2k's loader to loads this , and u load lilo and boot linux.
that way u leave ur win install's bootloader unharmed.
[
PS: i am a noob and i learned this way because i still wanna keep my win install intact if ever i mess up my linux installation


]
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Switching master/slave drives pickarooney Linux - Hardware 11 11-08-2004 01:02 PM
slave not authenticating when master is down spyghost Solaris / OpenSolaris 3 10-04-2004 11:12 AM
Slave to Master? s9722 Linux - General 6 02-23-2004 10:34 PM
Slave to Master Question tkman Linux - General 2 11-23-2003 11:37 PM
Do 2 harddrives have to be Master/Slave? RAL Linux - Newbie 22 08-10-2003 06:32 PM


All times are GMT -5. The time now is 11:15 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration