[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Booting from second compact flash - Found a Solution
From: |
Hari Narayanan |
Subject: |
Re: Booting from second compact flash - Found a Solution |
Date: |
Tue, 26 Mar 2002 14:37:59 -0800 |
HI
I found a solution to the problem I posed below. If anyone is interested
let me know.
Hari
I am using Grub 0.90 on 2.4.14 kernel. I have two identical
128 MB compact flashes mounted on /dev/hda and /dev/hdc
(they are IDE 0 and 1 drives ).
I have two partitions on each drive.
Partition 0 is the /boot partition and partition 1 is the root
partition.
I am able to boot with no problem from the first drive (/dev/hda or
hd0 ) whether I have a second disk or not.
However I cannot boot from the second disk unless I have a good disk
1 also ( that is a good /dev/hda1 partition with the good GRUB files).
I can select which disk I want to boot from first from the BIOS.
I edited the device.map in the second ide drive to say
(fd0) /dev/fd0
(hd0) /dev/hda
(hd1) /dev/hdc
and invoked grub as follows
grub --device-map=device.map
grub> root (hd1,0)
grub> setup (hd1)
grub> quit
It installs correctly as far as I can tell. To try this I put in an
empty ide0 drive ( with a good MBR and a Bootable partiton but no
grub files ). It doesn't boot. Stops at GRUB
When I put my good bootable working ide0 in and boot from the second drive
it works fine.
Any ideas how to make it boot from the second IDE drive even if the first
drive is bad ?.
Thanks in advance
Hari Narayanan
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com
- Re: Booting from second compact flash - Found a Solution,
Hari Narayanan <=