LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-01-2006, 09:33 PM   #1
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Rep: Reputation: 30
How can I make Linux see both Hard drives?


I have 2 hard drives but linux only sees one at the lilo prompt. Is there something I need to modify in lilo for it to see the other drive?
I would like to have slackware on 2 different hard drives like having 2 different systems.

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda
message = /boot/boot_message.txt
prompt
timeout = 10
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# 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
# End LILO global section
# Linux bootable partition config begins
#image = /boot/vmlinuz
# root = /dev/hda1
# initrd = /boot/initrd.gz
# label = Linux
# read-only

image = /boot/vmlinuz-ide-2.4.32
root = /dev/hda1
label = linux24
read-only

image = /boot/vmlinuz
root = /dev/hda1
label = 2.6
read-only

# Linux bootable partition config ends

bash-3.1$
 
Old 11-01-2006, 11:57 PM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Make an entry for the slackware entry in the other dirve in your /etc/lilio.conf e.g.
Code:
image = /boot/vmlinuz-ide-2.4.32
root = /dev/hdb1
label = Slack hdb1
read-only
 
Old 11-02-2006, 09:10 PM   #3
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Original Poster
Rep: Reputation: 30
What do you mean? Put that code in place of something in /etc/lilo.conf?

What I need to do is install Linux on a empty HD that is already installed and take this one out to send in for replacement then reinstall it with another slack install so I can choose either one from lilo and have 2 separater hard drives.

Should I unplug this hard drive and install Linux on the existing blank drive? If I do that then how do I get the second (blank) hard drive up and running when i reinstall it?

Last edited by M$ISBS; 11-02-2006 at 09:32 PM.
 
Old 11-03-2006, 03:09 AM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
My advice above is exactly what you need. Install Slack on the hard drive you have right now. When you get your other drive back, just plug it back in as a slave drive and then install the version of Slack that you want on this drive. After that edit the /etc/lilo.conf of your main Slack installation (the one on your first hard drive) and add an entry for the Slack on the second hard drive using the example code I posted above.
 
Old 11-03-2006, 07:26 PM   #5
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Original Poster
Rep: Reputation: 30
But, How do I install slack on the other blank drive now, so I can get it up and running before I take this one out?
Does it matter if both drives are named hda1 in lilo?

Thanks.
 
  


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
God says THOU shalt MAKE SATAUX --- Linux dedicated to sata hard drives & Raid etc . studpenguin Linux - General 13 05-18-2007 07:21 PM
Linux and external hard drives squimmy Linux - Hardware 4 10-17-2006 01:43 PM
Linux on Multiple Hard Drives apocolpse Linux - Newbie 5 08-06-2005 06:17 PM
mounting 2 linux hard drives milesstandish Linux - Hardware 4 03-31-2004 06:31 AM
linux and window on two hard drives ariana Linux - Newbie 9 02-26-2003 10:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:26 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