Solved

Linux does not boot after adding a hard disk.

Posted on 2000-05-08
9
273 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
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 

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 500 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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
wifi not working on Raspberry Pi 3? 2 108
Running linux commands into linux system remotely using powershell 6 64
Can't connect to FTP 17 92
Redhat upgrade 1 47
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
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.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

679 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