?
Solved

Linux does not boot after adding a hard disk.

Posted on 2000-05-08
9
Medium Priority
?
287 Views
Last Modified: 2013-12-16
I have a PC which has Windows and linux
6.1 running on it. The first hard disk was divided into two partitions - one for DOS and the other one for Linux. Then a second disk was added purely for linux. This arrangement was working fine
with Lilo being used to choose at boot time which system starts up. Recently a third, 10Gb, disk was added. Using windows the third disk had two 2Gb partitions created on it for Windows and I have no problems under Windows to access them. However, now linux refuses to come up,. Booting process freezes after ide0 is initialized.
The suggestion was made to me that the reason for this is that perhaps originally the first disk was divided into DOS and linux partions using linux tools, but the new disk was partitioned using DOS. What can I do now? I could
repartition the third disk using linux if I could boot up linux but I do not seem to be able to do this.
Can something be done in this situation?

Andrzej
0
Comment
Question by:andrzej
  • 3
  • 2
  • 2
  • +1
9 Comments
 
LVL 4

Expert Comment

by:Robson
ID: 2792825
I don't think that partitions created by DOS are the problem. At this moment kernel doesn't care about any. It seems that ide detection code locks up.

Try to pass one of the following parameters to kernel:

      hdc=noprobe
or
      hdc=none
or
      ide1=noprobe

(I assume your hard drive is connected to second IDE interface as master).But afrer this linux won't see the third drive. You may try to pass all ide parameters to kernel and forbid it to do the detection:

      ide1=0x170,0x376,15

I took these numbers from kernel documentation (file ide.txt). Look there for other options.
0
 
LVL 2

Expert Comment

by:bernardh
ID: 2794282
/dev/hdc is used by the cdrom drive,

boot: linux hdd=noprobe hdc=cdrom

when the system boot, you might as well include it in your /etc/lilo.conf file, but it should take the form:

append="hdd=noprobe hdc=cdrom"

0
 
LVL 40

Expert Comment

by:jlevie
ID: 2796052
Does the 10Gb disk have any of the "disk managers" for large drives installed on it (MaxBlast, etc)? Is it does, it's likely that you'll have problems until it's removed from the system. Assuming you installed the drive youself a clue that such a thing is present is if you were instructed to use a "disk setup floppy" before installing an OS on the disk.

Oh yeah, you didn't move any of the disks around when installing the 10Gb disk did you? They are still on their original IDE controllers and in the original Prim/Slave mode, right?
0
Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

 

Author Comment

by:andrzej
ID: 2811926
The problem is that when I pass to the kernel the parameter ide1=noprobe, linux boots up but I have no access to cdrom, which is on the same contoller (ide1) as the third disk. Unfortunately, neither hdd=noprobe nor hdc=noprobe helps - the booting process again freezes after printing out ide0 line.
I do not have any disk manager for large drives installed on the third disk.
Disk 1 and 2 has not been moved.
0
 
LVL 4

Accepted Solution

by:
Robson earned 2000 total points
ID: 2813763
What about ide1=0x170,0x376,15 -- have you tried it? This should prevent the kernel from detecting your hard drive itself. Then you may test your drive in normal work.
0
 
LVL 2

Expert Comment

by:bernardh
ID: 2814288
have you tried passing this parameter combination to your kernel upon bootup?

   boot: linux hdd=noprobe hdc=cdrom

it tells the kernel not to probe the IDE addresses for the drive.

then check if symbolic link exist

   $ ls -l /dev/cdrom

   lrwxrwxrwx 1 root root 3 Oct 16 22:44 /dev/cdrom -> hdd

If it doesn't exist, type:

   $ ln -s /dev/hdd /dev/cdrom

good luck.
0
 
LVL 40

Expert Comment

by:jlevie
ID: 2814862
What is the bios mode for the 10Gb disk(normal, LBA, etc)? Which of the two drives on EIDE1 is the master & which is the slave?
0
 

Author Comment

by:andrzej
ID: 2817913
Trying hdd=noprobe hdc=cdrom did not
help - the bootup process freezes after
ide0 line.

When I tried ide1=0x170,0x376,15, during
the bootup process a window poped up
telling me that new hardware was found, CD-ROm, do I want to configure it? I answered 'yes' and then another window
poped up asking me if I want to configure a new hard drive. I answered 'yes' again and the everything seemsed to go fine. I can now mount cdrom as hdd. Thanks a lot - this is the answer to my question.
How can I grant 500 to Robson?

0
 
LVL 4

Expert Comment

by:Robson
ID: 2819169
That messages were not actually caused by this kernel option, only Kudzu (hardware manaeger) noticed changes in your hardware.

I'm glad I could help you -- I have been an expert for short time and this is my second score so far. There should be the option called 'accept as answer' or 'promote to answer', but I'm not sure.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses
Course of the Month16 days, 2 hours left to enroll

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question