Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ATARAID, IDE RAID 0, installing grub problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Rroet
Apprentice
Apprentice


Joined: 27 May 2002
Posts: 176
Location: The Hague, The Netherlands

PostPosted: Wed Jun 05, 2002 5:24 pm    Post subject: ATARAID, IDE RAID 0, installing grub problem Reply with quote

Hi,

I have ATARAID 0 8O running, configuring Gentoo onto it was an adventure on it's own :lol:, but now I have a problem.

I can't get GRUB installed. It can't find my RAID 0 drive and get installed.
Please help. none of the "root (hdx,x)" devices work.
Back to top
View user's profile Send private message
lx
Veteran
Veteran


Joined: 28 May 2002
Posts: 1012
Location: Netherlands

PostPosted: Wed Jun 05, 2002 5:25 pm    Post subject: Reply with quote

Sounds similar to this:
https://forums.gentoo.org/viewtopic.php?t=4092
then this has got something to do with it as well
https://forums.gentoo.org/viewtopic.php?p=249
_________________
"Remember there's a big difference between kneeling down and bending over.", Frank Zappa
Back to top
View user's profile Send private message
Rroet
Apprentice
Apprentice


Joined: 27 May 2002
Posts: 176
Location: The Hague, The Netherlands

PostPosted: Wed Jun 05, 2002 5:30 pm    Post subject: Reply with quote

lx wrote:
Sounds similar to this:
https://forums.gentoo.org/viewtopic.php?t=4092
then this has got something to do with it as well
https://forums.gentoo.org/viewtopic.php?p=249


Doesn't sound similar. That's all about installing Gentoo on NON-RAID drives. /dev/hde /dev/hdf

While I'm trying to get it running on the RAID device. I work with /dev/ataraid/disc0/

(i did a somewhat illegal move when installing Gentoo)....
Like the part: mount -o bind /proc /mnt/gentoo/proc
I also did : mount -o bind /dev /mnt/gentoo/dev

that provided me with the necessary /dev/ataraid/ devices in my chrooted shell.

but now I have the GRUB problem not accepting hd0,0 as my device.

hda is a symlink to /dev/ataraid/disc0/disc
hda1 is a symlink to /dev/ataraid/disc0/part1 (xp partition)
hda2 is a symlink to /dev/ataraid/disc0/part2 (/boot partition)
hda5 is a symlink to /dev/ataraid/disc0/part5 (/ partition)
Back to top
View user's profile Send private message
ph317
n00b
n00b


Joined: 02 Jun 2002
Posts: 43

PostPosted: Wed Jun 05, 2002 9:49 pm    Post subject: Reply with quote

I have gentoo running good on a striped ataraid. Mine's the Promise 20276 on an ASUS A7V333 - 2x40G drives in a stripe, making one big raid disk.

It was a pain and I can't recount all of it, but here's some general things:

1) don't mount /dev into your chroot, you shouldn't need it there for anything

2) Set bios to boot the ataraid controller first, so that bios things of your array as 0x80 (bios disk 0).

3) Build a custom kernel (I used mine in a custom gentoo installer cd, as well as on the final system), make sure the ataraid stuff is compiled in hard (not modules), and that you use devfs.

4) For grub - when you get to the end of the install, isntalling Grub, don't do what install.txt says. Set up the menu.lst correctly, assuming hd0 works correctly to access the device. Install GRUB onto a floppy, and reboot from the floppy. From the grub> prompt on the floppy, then do "root (hd0,0)" and "setup(hd0)", using your own valid root/boot partition number. After that reboot off of HDD, and it should be able to find the boot partition, and do the menu, and boot your kernel just fine.

5) kernel root mount - However, with all of that alone, the kernel will still panic being unable to mount the root device. For some reason, even with devfs and non-modular kernel, adding "root=/dev/ataraid/disc0/partX" to the kernel's boot options will not work. The *only* thing that worked for me was to use the hex method, like "root=7206" - where 0x72 is hex for 114 (major number for ataraid), and 0x06 was partition 6, my root. Be sure to set this option in your kernel boot line in menu.lst before you do the grub-floppy-bootstrap thing in (4) above.
Back to top
View user's profile Send private message
lx
Veteran
Veteran


Joined: 28 May 2002
Posts: 1012
Location: Netherlands

PostPosted: Wed Jun 05, 2002 10:58 pm    Post subject: Reply with quote

Rroet wrote:

Doesn't sound similar. That's all about installing Gentoo on NON-RAID drives. /dev/hde /dev/hdf


Sorry, you're right, it doesn't sound similar, you can't get it installed, while they don't get grub to load the kernel on bootup, Cya lX
_________________
"Remember there's a big difference between kneeling down and bending over.", Frank Zappa
Back to top
View user's profile Send private message
Spades
n00b
n00b


Joined: 18 Apr 2002
Posts: 12

PostPosted: Fri Jun 07, 2002 12:14 am    Post subject: Reply with quote

For some reason the device names for ataraid are different during boot. Instead of /dev/ataraid/discX/partX use /dev/ataraid/dXpX for the root device.
Back to top
View user's profile Send private message
Buzzz
n00b
n00b


Joined: 17 Apr 2002
Posts: 63
Location: Enschede, The Netherlands

PostPosted: Fri Jun 07, 2002 6:47 pm    Post subject: Reply with quote

I also use ataraid and I ran into the same kind of trouble. I now use lilo as bootmanager. At the point where the installation documentation starts with installing grub, I did a "emerge lilo".
I created a /etc/lilo.conf as follows:
Code:

boot=/dev/ataraid/disc0
prompt
timeout=50
lba32
default=winxp
image=/boot/bzImage
    label=linux
    read-only
    root=/dev/ataraid/disc0/part9
other=/dev/ataraid/disc0/part1
    label=winxp

Then I ran lilo and it works perfectly
Back to top
View user's profile Send private message
ryandlugosz
Guest





PostPosted: Mon Aug 26, 2002 12:16 am    Post subject: Yep - Lilo worked for me too Reply with quote

I've been working with linux for a long time now & I wasn't about to make gentoo boot properly on an ata raid from promise using grub. As per the post above's suggestion, I used the old tried-and-true lilo instead & it worked right away!

One note though, in his lilo.conf, he uses boot=/dev/ataraid/disc0

this did not work correctly for me, however - you need to use boot=/dev/ataraid/disc0/disc

could be that something changed since july when he posted it.

-Ryan[/quote]
Back to top
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum