Computing.Net > Forums > Linux > Linux and two hard disks?!?

Linux and two hard disks?!?

Reply to Message Icon

Original Message
Name: Dominic
Date: February 8, 2001 at 07:45:23 Pacific
Subject: Linux and two hard disks?!?
Comment:

Hi,
I have two hard disk installed.
One on the primary master with Windows Me on
it( 2 partitions ), and the second on the
secondary master with: WinNt follow by Red Hat 6.2
( one partition for Nt server, one for Nt
workstation, one swap Linux, and one ext Linux).
I use this last hard drive on another computer
with no other hard disk and it work. When I try
to boot ( after changing the order in the BIOS )
Linux don't start! I see LILO asking between
windows NT and Linux, but it stop when I see the
message: Kernel panic, cannot mount hdac
( the second hard disk ). help help help!!!!


Report Offensive Message For Removal

Response Number 1
Name: Apple
Date: February 8, 2001 at 15:14:01 Pacific
Subject: Linux and two hard disks?!?
Reply: (edit)

get out your install boot disk and you should be able to manually mount the linux partition with it. In slackware, the instructions for doing so are spelled out plainly. I don't know redhat. Once you're in Linux, reinstall LILO and you're set.


Report Offensive Follow Up For Removal

Response Number 2
Name: brad3378
Date: February 8, 2001 at 16:33:47 Pacific
Subject: Linux and two hard disks?!?
Reply: (edit)

If you want to try something different,
download this and burn it to disk.

ftp://ftp.blackstar.co.uk/pub/ilug/ilug_bbc.iso

It's a bootable CD-ROM image that's based off the 2.2.16 kernel. It even supports the new Reiser File System. Mounting partitions is all done automatically from this disk, so it would be a great way to find out what partitions are available. Just type "mount" to find out what's currently mounted.

Fortunately, I haven't needed it yet, but it's nice to know I've got some insurance.

:-)


Report Offensive Follow Up For Removal

Response Number 3
Name: justin
Date: February 12, 2001 at 21:19:05 Pacific
Subject: Linux and two hard disks?!?
Reply: (edit)

It can't mount hdac because ther is no such thing as hdac at the lilo prompt try typing
linux root=/dev/hdc2
this assumes you only have one partition for linux and it is the second partition on the secondary master. If that is not the case try hdc3,4, or whatever partition your root filesystem lives on. then you need to change /etc/lilo.conf to point root to tha same location and run /sbin/lilo. If you have other partitions you need to edit /etc/fstab to point to their correct locations. For example if / used to be /dev/hda2 it will now be /dev/hdc2. By the way linux addresses disks independantly from the bios. That is why it still sees the secondary master as hdc.
hope this helps.


Report Offensive Follow Up For Removal

Response Number 4
Name: justin
Date: February 12, 2001 at 21:19:39 Pacific
Subject: Linux and two hard disks?!?
Reply: (edit)

It can't mount hdac because there is no such thing as hdac. at the lilo prompt try typing
linux root=/dev/hdc2
this assumes you only have one partition for linux and it is the second partition on the secondary master. If that is not the case try hdc3,4, or whatever partition your root filesystem lives on. then you need to change /etc/lilo.conf to point root to tha same location and run /sbin/lilo. If you have other partitions you need to edit /etc/fstab to point to their correct locations. For example if / used to be /dev/hda2 it will now be /dev/hdc2. By the way linux addresses disks independantly from the bios. That is why it still sees the secondary master as hdc.
hope this helps.


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Linux and two hard disks?!?

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software