LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   How to install a new HDD? (https://www.linuxquestions.org/questions/linux-hardware-18/how-to-install-a-new-hdd-178997/)

waiser 05-07-2004 12:33 PM

How to install a new HDD?
 
Hi everybody,
i have a problem booting linux after adding a new HDD to my PC (well actually I just replaced my DVD with a new HDD, anyways it is the same thing), because when I boot up I get this output

GRUB

then it freezes. If I set back the old hw configuration it boots right. I think it has something to with the device map, but I really do not know how to configure it... can anyone help me please? I have installed Fedora Core 1.0 with custom kernel (athlon with some features added)

P.S. Nothing to do with what I wrote before: is it possible to have more than one sound played at the same time? e.g. new message in gaim while playing an mp3

thank you all guys,
Waiser

_MD_ 05-07-2004 01:37 PM

Greetings, Waiser

Since you did not specify whether or not you replced the DVDrom with a third hard-drive or not, so assuming that that was the case, you will need to reconfigure you BIOS settings to recognize the third harddrive instead of two hdz and two cdromz. That is of course, assuming that u have installed linux properly...


p.s. Of course it is possible to play multiple channels off one sound card... !!! i don't even remember the times when i had a one channel sc.... if that is ur case, u definately need to upgrade to a better sound card.
take care.

michaelk 05-07-2004 02:07 PM

How are the drives physically installed? Which drive is located where i.e controller, master, slave?

Did you configure the jumpers correctly?

waiser 05-07-2004 02:27 PM

hi guys,
so, the drivers are set correctly as the bios (everything is on AUTO setting, so it detects every time it boots) and windows recognize them properly (eg. if I fdisk /mbr and i run windows everything works fine), the problem seems to be that grub does not like new hw configuration...
Anyways, I've got 2 IDE ATA133 channels, one with a Maxtor as master and a DVD-RW as slave (so /dev/hda and /dev/hdb), the other with a DVD-ROM and a Samsung HDD (/dev/hdc and /dev/hdd). The one I have changed is /dev/hdc, changing it from DVD to HDD, so the new HDD is in master setting.

p.s. actually under Windows i CAN play multiple sounds at the same time... i think it is a sound server configuration problem...

michaelk 05-07-2004 05:22 PM

Did you configure the DVD i.e. /dev/hdc for SCSI emulation in grub? I do not think this would prevent the system from booting.

waiser 05-08-2004 03:30 AM

uuh.... how do I know if I configured it for SCSI emulation and / or how do I do that, since there is no graphical interface to configure GRUB under Fedora Core 1? I tried working from command line but it was too tricky, and I really do not know what to touch into the grub.conf file...

michaelk 05-08-2004 09:26 AM

See f you have a hdc=ide-scsi in your grub.conf file.

waiser 05-09-2004 05:04 AM

ok I added the hdc=ide-scsi to the boot line of grub.conf...
now I get

Grub Loading Stage 1.5.....

Grub Loading, please wait...
Error 22

That should be "No such Partition", that is kinda weird I think....... do you have suggestions?

waiser 05-09-2004 05:09 AM

hey, i almost forgot, here is my grub.conf, it might help...

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd1,2)
# kernel /boot/vmlinuz-version ro root=/dev/hdd3
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=3
timeout=10
splashimage=(hd1,2)/boot/grub/splash.xpm.gz
title Fedora Core (Custom Kernel)
root (hd1,2)
kernel /boot/vmlinuz-2.4.22-1.2115.nptlcustom ro root=LABEL=/ hdb=ide-scsi hdc=ide-scsi rhgb pci=noacpi
initrd /boot/initrd-2.4.22-1.2115.nptlcustom.img
title Fedora Core (Original Kernel)
root (hd1,2)
kernel /boot/vmlinuz-2.4.22-1.2115.nptl ro root=LABEL=/ hdb=ide-scsi hdc=ide-scsi rhgb pci=noacpi
initrd /boot/initrd-2.4.22-1.2115.nptl.img
title Windows XP Professional
rootnoverify (hd0,0)
chainloader +1

michaelk 05-09-2004 09:01 AM

It appears I confused the issue. You do not want the hdc=ide-scsi in grub.conf.

Where is linux installed? According to grub.conf it is on hd1 which would be the second drive detected?

waiser 05-09-2004 02:08 PM

yes linux is installed on the second hard drive. could it be that, replacing the dvd with an hdd, hd1 becomes hd2 and so everything screws up?

i mean:
HDD1 - Primary Master <--- that is hd0
DVD-RAM - Primary Slave
DVD-ROM - Secondary Master
HDD2 - Secondary Slave <--- that is hd1

becomes
HDD1 - Primary Master <--- that is hd0
DVD-RAM - Primary Slave
HDD3 - Secondary Master <--- comes to be hd1
HDD2 - Secondary Slave <--- now it is hd2

am I right?

michaelk 05-09-2004 02:50 PM

It appears to be so. Make sure the jumpers are configured correctly when you swap drive locations.

waiser 05-09-2004 02:59 PM

i tried but it is not here the problem... i modified grub.conf and device.map to match the new hw configuration and of course the jumpers were set correctly (under windows everything goes fine, and the bios detects the configuration correctly), but i still get error 21... if i keep the old hw configuration with the new grub one, it loads, clears the screen and then hangs (obviously...). I really don't understand where to search the problem... should I try to install lilo?

waiser 05-09-2004 03:05 PM

forgot... this is the new one

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd1,2)
# kernel /boot/vmlinuz-version ro root=/dev/hdd3
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=3
timeout=10
splashimage=(hd2,2)/boot/grub/splash.xpm.gz
title Fedora Core (Kernel Tamarrato)
root (hd2,2)
kernel /boot/vmlinuz-2.4.22-1.2115.nptlcustom ro root=LABEL=/ hdb=ide-scsi hdc=ide-scsi rhgb pci=noacpi
initrd /boot/initrd-2.4.22-1.2115.nptlcustom.img
title Fedora Core (Kernel Originale)
root (hd2,2)
kernel /boot/vmlinuz-2.4.22-1.2115.nptl ro root=LABEL=/ hdb=ide-scsi hdc=ide-scsi rhgb pci=noacpi
initrd /boot/initrd-2.4.22-1.2115.nptl.img
title Windows XP Professional
rootnoverify (hd0,0)
chainloader +1

aaargh, please someone summon a deus ex machina to bring things as they should be!!! :D

waiser 05-11-2004 10:23 AM

woa nice, now i also get error 22.... do you have a clue?


All times are GMT -5. The time now is 10:14 AM.