LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 07-19-2003, 04:10 PM   #1
Serena
Member
 
Registered: Apr 2002
Location: Moon Kingdom
Distribution: Debian 4.0
Posts: 94

Rep: Reputation: 15
Question adding a hard drive


I now have 2 SCSI drives and 0 IDE drives. The first SCSI drive has LILO, /boot, and C: and D: (both FAT32) for Win95. The second SCSI drive has the other Linux partitions.

I'm wanting to add an IDE drive, and doing so will preclude continuing to boot SCSI. The IDE drive will take over the functions of the first SCSI drive. New Linux partition(s) will be made on the first SCSI drive, and the second SCSI drive will stay the way it is.

How do I get LILO and /boot onto the IDE drive so Linux (or Win95) can start and Linux continue from the second SCSI? Also my current /boot is bigger than it needs to be, so I want to make it smaller on the IDE drive at the same time.
 
Old 07-19-2003, 04:24 PM   #2
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
The easiest way would be to set your new IDE as a slave, boot into Linux, create a Linux partition (Ext2, Ext3, etc) on the IDE, mount it, copy the contents of /boot to the new partition, and then install lilo in the MBR of the IDE.

You will have to make modifications in your /etc/fstab and perhaps in lilo.conf.

Don't forget to create a Boot Disk, just in case.
And test everything before erasing the first SCSI drive.


I believe I covered everything.
 
Old 07-19-2003, 05:39 PM   #3
Serena
Member
 
Registered: Apr 2002
Location: Moon Kingdom
Distribution: Debian 4.0
Posts: 94

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Mathieu
The easiest way would be to set your new IDE as a slave, boot into Linux, create a Linux partition (Ext2, Ext3, etc) on the IDE, mount it, copy the contents of /boot to the new partition, and then install lilo in the MBR of the IDE.

You will have to make modifications in your /etc/fstab and perhaps in lilo.conf.

Don't forget to create a Boot Disk, just in case.
And test everything before erasing the first SCSI drive.


I believe I covered everything.
A CD-ROM drive is now the only IDE device in the system. I was going to let the new drive be primary master and the CD primary slave. I'd rather not use the secondary IDE channel now because it'll be too difficult to get a new cable onto the motherboard.

The BIOS doesn't support a choice of booting IDE or SCSI. As long as no IDE hard drive is present, I'm free to boot SCSI as I do now. But once the hard drive is there, it's mandatory to boot the IDE drive -- or a floppy. The BIOS doesn't support CD booting, and though the SCSI card does, the system doesn't have a SCSI CD-ROM.

lilo.conf will have to be changed due to Win95 moving from SCSI to IDE, and fstab will also have to be changed . These I can do before shutting down Linux for the last time. But copying /boot from SCSI to IDE can't be done except under a floppy boot. And how would I copy LILO from the SCSI to the IDE?
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding a second hard drive AxXium Slackware 9 03-24-2006 02:27 AM
adding hard drive linoj Linux - General 6 12-25-2004 12:51 PM
Adding Hard Drive Cynthia Blue Linux - Hardware 3 12-19-2004 01:06 PM
Adding a Hard Drive texmansru47 Slackware 2 12-13-2004 11:19 AM
Adding Second Hard Drive Micro Linux - General 3 01-26-2003 09:37 PM


All times are GMT -5. The time now is 09:42 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
Open Source Consulting | Domain Registration