LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   install new OS on primary slave hdb (https://www.linuxquestions.org/questions/linux-newbie-8/install-new-os-on-primary-slave-hdb-132843/)

brandonweinberg 01-08-2004 04:53 PM

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.

slakmagik 01-08-2004 05:01 PM

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.

brandonweinberg 01-08-2004 07:47 PM

good job
 
thanks!

evannextel 01-08-2004 08:42 PM

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?

slakmagik 01-08-2004 09:41 PM

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.

evannextel 01-09-2004 12:45 PM

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

slakmagik 01-09-2004 02:49 PM

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.


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