Forge 2.0 wrote:
Hi,I have a similar problem. Who can point to a good HOWTO involving a LILO->GRUB conversion? I'd be interested, but I have zero GRUB experience so far, and what dabbling I did ended in disaster.
Rich 'Forge' Mingin
<>-----Original Message----- <>From: ataraid-list-admin@xxxxxxxxxx [mailto:ataraid-list- <>admin@xxxxxxxxxx] On Behalf Of Gunnar Skjold <>Sent: Monday, 15 October, 2001 11:45 <>To: ataraid-list@xxxxxxxxxx <>Subject: HPT 370 <> <>Hi. <>I have a HPT 370 RAID controller (On Abit KT7A-RAID mainboard) that I <>have <>got to work pretty fine with the -ac kernel. But, I have one problem
that
<>I <>have tried to solve for a long time, but havent managed and have now
run
<>out <>of time. Im booting on a regular HD, that I now will have to move
from
<>that <>machine to another real quick, so I have to get my linux to boot from
the
<>RAID array. I have tried to read my ass of to get it done, but im
still
<>unsure what works or not. I have read that grub will do the thing,
but...
<>How do I move the content from my original boot partition to the new
root
<>on <>the RAID, and get grub on to it? Or is there any posibility to still
run
<>lilo? <> <>A quick reserve sollution, would be to reinstall linux... If that can
be
<>done easier... <> <>Regards, <>Gunnar Skjold <> <> <> <>_______________________________________________ <> <>Ataraid-list@xxxxxxxxxx <>https://listman.redhat.com/mailman/listinfo/ataraid-list
_______________________________________________ Ataraid-list@xxxxxxxxxx https://listman.redhat.com/mailman/listinfo/ataraid-list
there was a good article in the german computer magazine "c´t" but unfortunately in german... No Problem for me, but it is not a big problem.
-Just get grub ( http://www.gnu.org/software/grub/grub.en.html ) and compile it with linux.
-Take a formatted floppy disk and make a "cat ./stage1/stage1 ./stage2/stage2 > /dev/fd0" to build a grub boot disk
-Boot from the floppy disk and type "help" at the command shell-style prompt. Try it out, it works like the shell, esp. the TAB key for auto-complete...
-To boot Linux from the ataraid-device:
-- root (hd0,0) (First partition on the first hd)
-- kernel (hd0,0)/boot/vmlinuz-2.4.12 root=/dev/ataraid/d0p1 (If you have an extra /boot-partition try (hd0,<TAB> and see what partitions you have)
-- boot
If this works, fine thats it! If not, ask somebody else... you can boot Win98 with the command "chainloader (hd0,0)+1" instead of "root" and "kernel". If you want to have a nice menu you can write a simple text file with the menu. This ist mine:
default 0 timeout 10
title Windows98 chainloader (hd0,0)+1
title Linux SCSI kernel (hd1,0)/boot/vmlinuz-2.4.12 root=/dev/sda1
title Linux RAID kernel (hd0,5)/boot/vmlinuz-2.4.12 root=/dev/ataraid/d0p6
This textfile is in the root-directory of my Windows partition and you can install it with the command "install (hd0,6)/.../stage1 d (hd0) (hd0,6)/.../stage2 (hd0,0)/grubmenu". Now you can change your boot-menu to boot linux from Windows! Or even before you start the system: type "e" when the boot-menu occurs and edit the comandline before it is executed. Read the documentation that comes with the source code, that should answer any question.
Greetings Helge Lenz.