LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-07-2004, 01:33 PM   #1
waiser
LQ Newbie
 
Registered: May 2004
Posts: 25

Rep: Reputation: 15
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
 
Old 05-07-2004, 02:37 PM   #2
_MD_
Member
 
Registered: Apr 2004
Location: Toronto, Canada
Distribution: BackTrack, Knoppix, Fedora, Slackware
Posts: 43

Rep: Reputation: 16
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.
 
Old 05-07-2004, 03:07 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 17,831

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

Did you configure the jumpers correctly?
 
Old 05-07-2004, 03:27 PM   #4
waiser
LQ Newbie
 
Registered: May 2004
Posts: 25

Original Poster
Rep: Reputation: 15
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...
 
Old 05-07-2004, 06:22 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 17,831

Rep: Reputation: 2402Reputation: 2402Reputation: 2402Reputation: 2402Reputation: 2402Reputation: 2402Reputation: 2402Reputation: 2402Reputation: 2402Reputation: 2402Reputation: 2402
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.
 
Old 05-08-2004, 04:30 AM   #6
waiser
LQ Newbie
 
Registered: May 2004
Posts: 25

Original Poster
Rep: Reputation: 15
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...
 
Old 05-08-2004, 10:26 AM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 17,831

Rep: Reputation: 2402Reputation: 2402Reputation: 2402Reputation: 2402Reputation: 2402Reputation: 2402Reputation: 2402Reputation: 2402Reputation: 2402Reputation: 2402Reputation: 2402
See f you have a hdc=ide-scsi in your grub.conf file.
 
Old 05-09-2004, 06:04 AM   #8
waiser
LQ Newbie
 
Registered: May 2004
Posts: 25

Original Poster
Rep: Reputation: 15
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?
 
Old 05-09-2004, 06:09 AM   #9
waiser
LQ Newbie
 
Registered: May 2004
Posts: 25

Original Poster
Rep: Reputation: 15
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
 
Old 05-09-2004, 10:01 AM   #10
michaelk
Moderator
 
Registered: Aug 2002
Posts: 17,831

Rep: Reputation: 2402Reputation: 2402Reputation: 2402Reputation: 2402Reputation: 2402Reputation: 2402Reputation: 2402Reputation: 2402Reputation: 2402Reputation: 2402Reputation: 2402
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?
 
Old 05-09-2004, 03:08 PM   #11
waiser
LQ Newbie
 
Registered: May 2004
Posts: 25

Original Poster
Rep: Reputation: 15
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?
 
Old 05-09-2004, 03:50 PM   #12
michaelk
Moderator
 
Registered: Aug 2002
Posts: 17,831

Rep: Reputation: 2402Reputation: 2402Reputation: 2402Reputation: 2402Reputation: 2402Reputation: 2402Reputation: 2402Reputation: 2402Reputation: 2402Reputation: 2402Reputation: 2402
It appears to be so. Make sure the jumpers are configured correctly when you swap drive locations.
 
Old 05-09-2004, 03:59 PM   #13
waiser
LQ Newbie
 
Registered: May 2004
Posts: 25

Original Poster
Rep: Reputation: 15
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?
 
Old 05-09-2004, 04:05 PM   #14
waiser
LQ Newbie
 
Registered: May 2004
Posts: 25

Original Poster
Rep: Reputation: 15
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!!!
 
Old 05-11-2004, 11:23 AM   #15
waiser
LQ Newbie
 
Registered: May 2004
Posts: 25

Original Poster
Rep: Reputation: 15
woa nice, now i also get error 22.... do you have a clue?
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
No HDD seen during FC2 install sajubi Linux - Newbie 1 07-24-2005 03:13 PM
Install directly to HDD from iso on HDD/USB, with out burning cd vivinuthappa DamnSmallLinux 7 11-16-2004 11:03 AM
How To Install Rh9 From Hdd hariiyer Linux - Newbie 4 05-27-2004 08:47 AM
Hdd install dhUmra Fedora - Installation 2 05-04-2004 10:29 AM
Fedora HDD install... how? crm Fedora - Installation 1 04-27-2004 08:15 PM

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

All times are GMT -5. The time now is 08:15 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration