Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Grub or Lilo for IDE Raid
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
crux
n00b
n00b


Joined: 18 Apr 2002
Posts: 10
Location: Mumbai, India

PostPosted: Sat Apr 20, 2002 4:52 am    Post subject: Grub or Lilo for IDE Raid Reply with quote

should i use grub or lilo for IDE Raid ?

well lilo screwed up with XFS ...
until i found out the mandatory parameters for lilo for use with RAID + XFS as mentioned in the doc README.raid1.gz ...rtfm :?

Can grub be used for IDE RAID ... i have heard otherwise :(

what should the bios code for hde & hdg be .. ex. bios=0x80

well the dev does not show .. /dev/ataraid/disc0/disc ... under chroot
....until i mount it before chroot with ..mount -o bind /dev /mnt/gentoo/dev

or maybe some one with XFS + IDE RAID could show his lilo.conf to me
_________________
Prakash Shetty
aka crux
www.prithvis.com
Back to top
View user's profile Send private message
Guest






PostPosted: Sat Apr 20, 2002 12:28 pm    Post subject: Reply with quote

well i got the bios code it shall be

disk=/dev/hde
bios=0x80
disk=/dev/hdg
bios=0x81

now if only some one can show me his lilo.conf ... for the XFS stuff i mean :cry:

cause wherever i put the said lines from the README.raid1.gz for raid ... it says no raid device found ... is this got something to do with the mount -o bind /dev ... stuff ? but you can see ataraid under /dev
Back to top
paulisdead
Guru
Guru


Joined: 10 Apr 2002
Posts: 510
Location: Seattle, WA

PostPosted: Sat Apr 20, 2002 6:56 pm    Post subject: Here ya go Reply with quote

prompt
timeout=70
default=Linux
boot=/dev/ataraid/disc0/disc
map=/boot/System.map
install=/boot/boot.b
message=/boot/message
lba32
image=/boot/vmlinuz-2.4.19
label=Linux
read-only
root=/dev/ataraid/disc0/part8
append="hdc=ide-scsi"
other=/dev/ataraid/disc0/part1
optional
label=Win2k

I don't know about mount -o bind /dev /mnt/gentoo/dev, the way I did it was before chrooting I did cp -R /dev/ataraid /mnt/gentoo/dev

The funny thing is I guess I didn't RTFM because I hadn't seen that lilo RAID read me, and I managed to get Lilo to install just fine onto my RAID 0 stripe with the above lilo.conf file. And I also use the XFS filesystem.
Back to top
View user's profile Send private message
crux
n00b
n00b


Joined: 18 Apr 2002
Posts: 10
Location: Mumbai, India

PostPosted: Sun Apr 21, 2002 7:59 am    Post subject: Reply with quote

is hdc a ide cdrw ?

i mean the append parameter

inbtw: what MB do you use ?

mine is a Gigabyte 7DXR with Athlon XP 1800+ 512 MB
_________________
Prakash Shetty
aka crux
www.prithvis.com
Back to top
View user's profile Send private message
paulisdead
Guru
Guru


Joined: 10 Apr 2002
Posts: 510
Location: Seattle, WA

PostPosted: Sun Apr 21, 2002 9:06 am    Post subject: Reply with quote

ya hdc is a cdwriter, I need to tell the kernel at boot time to enable SCSI emulation on the drive. I've got a Jetway 663AS/Pro Via KT133, a PCI Promise FastTrak Tx2 & and Athlon 1.2ghz @ 1.32ghz & 384MB of PC133.
Back to top
View user's profile Send private message
paulisdead
Guru
Guru


Joined: 10 Apr 2002
Posts: 510
Location: Seattle, WA

PostPosted: Mon Apr 22, 2002 9:04 pm    Post subject: Reply with quote

Looks like something is horribly wrong with the way I got this setup, because when I turned on my computer last night I was greeted by "Kernel Panic: VFS unable to mount root filesystem." I don't know why it worked for the last week, and just decided to die, I can't even mount it from the Gentoo CD, so I'm gonna post a question about it in all things gentoo.
Back to top
View user's profile Send private message
xzibit
n00b
n00b


Joined: 19 Apr 2002
Posts: 9

PostPosted: Tue Apr 23, 2002 7:08 am    Post subject: Reply with quote

I got my boot set to /dev/md/0 and my root set to /dev/md/1 and it said it installed the lilo boot loader just fine but when I reboot I just get a blank screen and the lilo screen doesnt come up
Back to top
View user's profile Send private message
Guest






PostPosted: Tue Apr 23, 2002 8:01 am    Post subject: Reply with quote

well ... it looks like you need to explicitly mention mount boot raid as mentioned in README.raid1.gz

mine gets through without the options ... but cribs with /dev/ataraid/disc0/disc is not the first disc

well relly dunno whats wrong :(

and well you may also need to mention bios=0x80

just have to figure it out
Back to top
xzibit
n00b
n00b


Joined: 19 Apr 2002
Posts: 9

PostPosted: Tue Apr 23, 2002 2:21 pm    Post subject: Reply with quote

where is README.raid1.gz?
Back to top
View user's profile Send private message
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Tue Apr 23, 2002 2:47 pm    Post subject: Reply with quote

I'm not a RAID expert, so I can't answer your question, but there's a bunch of RAID-releated docs in:

/usr/doc/raidtools-0.90-r2/

You might browse trhough there and see what you can find.

--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
crux
n00b
n00b


Joined: 18 Apr 2002
Posts: 10
Location: Mumbai, India

PostPosted: Tue Apr 23, 2002 3:46 pm    Post subject: Reply with quote

in /usr/share/doc/lilo**

Well the lilo gets installed if i unplug my hda ...and keep the raid disks and do an install ... ?

but i cannot unmount /mnt/gentoo after finishing install

is it due to mount -o bind /dev /mnt/gentoo/dev ??

well someone suggested i do a cp -R /dev /mnt/gentoo/dev

well i tried and it gives a load of symbolic link error
_________________
Prakash Shetty
aka crux
www.prithvis.com
Back to top
View user's profile Send private message
Guest






PostPosted: Tue Apr 23, 2002 9:49 pm    Post subject: Reply with quote

you'd need to do umount /mnt/gentoo/dev before you can umount /mnt/gentoo. BTW it was cp -R /dev/ataraid /mnt/gentoo/dev/ataraid. From what I've heard the problem I mentioned having earlier could have been due to having the Promise FastTrak Special feature enabled in the kernel, so I'm trying it without it.
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