LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-08-2004, 05:53 PM   #1
brandonweinberg
Member
 
Registered: Sep 2003
Location: usa ny
Posts: 48

Rep: Reputation: 15
install new OS on primary slave hdb


I used to have only one hard drive, primary master, /dev/hda. Yesterday I added another, primary slave, /dev/hdb. I don't care about the existing data on /dev/hdb. I want to install slackware from my boot CD on /dev/hdb, without mucking up /dev/hda. I ran fdisk on /dev/hdb, partitioned and formatted them. But I do not know how to install slackware from my boot cd on /dev/hdb.
 
Old 01-08-2004, 06:01 PM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Just tell it /dev/hdb. At the part where it asks you to specify where the root filesystem will go and lets you specify your other mountpoints.
 
Old 01-08-2004, 08:47 PM   #3
brandonweinberg
Member
 
Registered: Sep 2003
Location: usa ny
Posts: 48

Original Poster
Rep: Reputation: 15
good job

thanks!
 
Old 01-08-2004, 09:42 PM   #4
evannextel
Member
 
Registered: Sep 2003
Distribution: Red Hat 9
Posts: 54

Rep: Reputation: 15
I am considering doing the same thing, How do you make boot loader recognize the distro on the slave? Is it possible to boot off of it from lilo?
 
Old 01-08-2004, 10:41 PM   #5
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Boot from the slave? I'm not sure. On dual drive installs, I've installed to hda regardless of where the Linux(es) were. You'd have to invalidate the Windows boot sector in one way or the other or you'd just get Windows, I believe. As far as lilo recognizing the distro, the 'root' option in 'lilo.conf' should take care of that.
 
Old 01-09-2004, 01:45 PM   #6
evannextel
Member
 
Registered: Sep 2003
Distribution: Red Hat 9
Posts: 54

Rep: Reputation: 15
Windows boot sector is already gone, I installed windows, then linux. Lilo is set to go to linux by default after 10 seconds at the menu, but i can select to boot to win xp at that menu. So thats already set up, I'm just curious how to make lilo recognize another distro on the slave drive and see if it will boot to it, I'll have to look at lilo.conf

edit: looked in /etc, all i have is lilo.conf.anaconda

It also only has one of my kernels listed on that file

heres what it looks like


prompt
timeout=50
default=linux
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
message=/boot/message
lba32
image=/boot/vmlinuz-2.4.20-8
label=linux
initrd=/boot/initrd-2.4.20-8.img
read-only
append="root=LABEL=/"
other=/dev/hda1
optional
label=DOS

Last edited by evannextel; 01-09-2004 at 01:57 PM.
 
Old 01-09-2004, 03:49 PM   #7
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Uh-oh. I don't know anything about Red Hat or any anaconda. It should be easy to do but I don't want to steer you wrong. I don't even know if that's the right file. Maybe someone familiar with RH can help out.
 
  


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
Dual boot primary Linspire & XP primary slave? watmonki Linspire/Freespire 5 11-01-2005 09:16 PM
problem!!! i install netBSD at hdb which is slave harddisk sayonarazzz Linux - General 1 04-09-2005 05:39 AM
Installing Slackware on a primary slave (/dev/hdb) vharishankar Slackware - Installation 2 02-16-2005 05:41 PM
boot loader, MBR, redhat9 on primary slave, winxp on primary master samik Linux - Hardware 4 10-15-2003 09:55 PM
Installing Win98 on slave drive to pre-existing linux install on primary eliszka Linux - Software 8 11-07-2001 11:46 PM


All times are GMT -5. The time now is 01:15 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration