Newbie Question - Adding Hard Drive.
Mates, I have 8.2 pro on /hda, cdrw on /hdc and another 20G drive I want to add as /hdc and move the cd to /hdd. The 20G drive has 9.0 pro on it that I thrashed. After I install the 20 G as /hdc, I would like get your help with just the basic names of the cmd line tools to do the following. (1) partition and reformat /hdc to ext2 as the /home partition; (2) move my existing /home from /hda to /hdc; and (3) hopefully not screw up my 8.2 install on /hda. I can handle the /etc/fstab entries. Just a link to a page with this info would be fine. -- David C. Rankin, J.D., P.E. RANKIN * BERTIN, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankin-bertin.com -- --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.656 / Virus Database: 421 - Release Date: 4/9/04
On Fri, 2004-04-16 at 11:53, David Rankin wrote:
Mates,
I have 8.2 pro on /hda, cdrw on /hdc and another 20G drive I want to add as /hdc and move the cd to /hdd. The 20G drive has 9.0 pro on it that I thrashed. After I install the 20 G as /hdc, I would like get your help with just the basic names of the cmd line tools to do the following.
(1) partition and reformat /hdc to ext2 as the /home partition; (2) move my existing /home from /hda to /hdc; and (3) hopefully not screw up my 8.2 install on /hda.
I can handle the /etc/fstab entries.
Just a link to a page with this info would be fine.
I would recommend connecting the drive to /dev/hdb rather then mix a cdrw drive and a hard drive on the same ide controller. You'll have far fewer problems I/O that way. as root in run level 3: (1) install the hard drive on hdb (2) fdisk the drive as one partition (you can use YaST for this and #3) (3) mkfs.ext2 /dev/hdb1 (4) mount the partition to a temporary mount point mount /dev/hdb1 /temp (5) copy the /home data to the temp mount point (cd /home;tar cf - *)|(cd /temp;tar xvf -) (6) umount /temp (7) mv /home /home.old (assuming on the root filesystem) (8) add mount point in /etc/fstab (9) mkdir /home; mount /dev/hdb1 /home (10) login as user on another tty to test If you have no errors after logging in as a normal user you should be safe to go. And you never needed to reboot after adding the 2nd drive just init 5 as root. -- Ken Schneider unix user since 1989 linux user since 1994 SuSE user since 1998 (5.2)
Kenneth Schneider wrote:
On Fri, 2004-04-16 at 11:53, David Rankin wrote:
Mates,
I have 8.2 pro on /hda, cdrw on /hdc and another 20G drive I want to add as /hdc and move the cd to /hdd. The 20G drive has 9.0 pro on it that I thrashed. After I install the 20 G as /hdc, I would like get your help with just the basic names of the cmd line tools to do the following.
(1) partition and reformat /hdc to ext2 as the /home partition; (2) move my existing /home from /hda to /hdc; and (3) hopefully not screw up my 8.2 install on /hda.
I can handle the /etc/fstab entries.
Just a link to a page with this info would be fine.
I would recommend connecting the drive to /dev/hdb rather then mix a cdrw drive and a hard drive on the same ide controller. You'll have far fewer problems I/O that way.
Could you please spell out what sort of "far fewer prblems" will be avoided by doing this?
as root in run level 3:
(1) install the hard drive on hdb (2) fdisk the drive as one partition (you can use YaST for this and #3) (3) mkfs.ext2 /dev/hdb1 (4) mount the partition to a temporary mount point mount /dev/hdb1 /temp (5) copy the /home data to the temp mount point (cd /home;tar cf - *)|(cd /temp;tar xvf -) (6) umount /temp (7) mv /home /home.old (assuming on the root filesystem) (8) add mount point in /etc/fstab (9) mkdir /home; mount /dev/hdb1 /home (10) login as user on another tty to test
If you have no errors after logging in as a normal user you should be safe to go. And you never needed to reboot after adding the 2nd drive just init 5 as root.
-- All Scottish food is based on a dare.
On Saturday 17 April 2004 11:05, Basil Chupin wrote:
I would recommend connecting the drive to /dev/hdb rather then mix a cdrw drive and a hard drive on the same ide controller. You'll have far fewer problems I/O that way.
Could you please spell out what sort of "far fewer prblems" will be avoided by doing this?
No idea which problems OP was refering to, but I have had a lot of CD-ROMs misbehaving when put on a cable with a hard drive, and also a lot (like the AOpen 56x of about a year ago) don't like being on an ATA66/100/133 cable at all. Since and IDE bus can't access two drives simultaneously in any way, I don't think you'll easily max an ATA133 controller with two drives on, even if they are the 7200rpm variety. Hans
participants (4)
-
Basil Chupin
-
David Rankin
-
Hans du Plooy
-
Kenneth Schneider