Re: [gentoo-user] can't find my partition when config grub

2007-01-06 Thread Chuanwen Wu

2007/1/6, Oliver Schmidt [EMAIL PROTECTED]:

Hello Chuanwen

Not sure about the trail here ... seems you want to boot from a hp/compaq 
smart-array

You need to install grub with the batch option.

grub --batch --device-map=/boot/grub/device.map 
--config-file=/boot/grub/grub.conf --no-floppy

then

root (hd0,0)
setup (hd0)
quit


Yeah!I can enter grub when I reboot now!!Thank you so much
You know,last time I used grub  --device-map=/boot/grub/device.map
and the result was also succeeded and Done.

It's very wizardly!Now I can boot up just by change the command that
start grub!!

make sure your fstab and your mtab (!!), also you proc is mounted and your 
device.map is correct.

Have also two servers with smart-array.



cheers
Oli






 2007/1/6, Neil Walker [EMAIL PROTECTED]:
 Chuanwen Wu wrote:
 
  Now,I can't boot any OS and can't even enter the grub menu.
 TBH, all the machines I have had with SmartArrays have also had a
 simple SCSI or IDE HD for the purposes of booting. It makes life so much
 simpler. ;) Given the low price of IDE HDs these days, you don't need a
 big one, I think I would install one pretty damn quick. ;)

 Is it the only way?

 Be lucky,
 Neil


 --
 gentoo-user@gentoo.org mailing list




 --
 Best regards,
 wcw
 --
 gentoo-user@gentoo.org mailing list







--
Best regards,
wcw
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] can't find my partition when config grub

2007-01-05 Thread Chuanwen Wu

2007/1/5, Neil Walker [EMAIL PROTECTED]:

Chuanwen Wu wrote:
 My problem is the grub can't find my partition or even disk.So now,
 when I press tab key, there is not any notation appearing.That I
 think,because grub can't detect my disk.

 /dev/cciss is a kind of Logic Volume Manager(LVM).I don't know how
 exactly it works.
It sounds to me like you have a Compaq SmartArray. You CAN get one of
those to work but you will have to jump through a few hoops. The
experiences of one person who did it are here:

http://forums.gentoo.org/viewtopic-t-10380-highlight-compaq+proliant.html

Thank you.Your link help me a lot!

I install my grub in another way:
First,I write a line (hd0) /dev/cciss/c0d0 to /boot/grub/device.map.
then :
#grub --device-map /boot/grub/device.map
root (hd0,1)
setup (hd0)
quit
/dev/cciss/c0d0p2 is my /boot partition.

But after I rebooted,the error was:

Invalid system disk
Replace the disk,and then press any key.

Now,I can't boot any OS and can't even enter the grub menu.



Be lucky,
Neil


--
gentoo-user@gentoo.org mailing list





--
Best regards,
wcw
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] can't find my partition when config grub

2007-01-05 Thread Neil Walker

Chuanwen Wu wrote:


Now,I can't boot any OS and can't even enter the grub menu.
TBH, all the machines I have had with SmartArrays have also had a  
simple SCSI or IDE HD for the purposes of booting. It makes life so much 
simpler. ;) Given the low price of IDE HDs these days, you don't need a 
big one, I think I would install one pretty damn quick. ;)



Be lucky,
Neil


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] can't find my partition when config grub

2007-01-05 Thread Chuanwen Wu

2007/1/6, Neil Walker [EMAIL PROTECTED]:

Chuanwen Wu wrote:

 Now,I can't boot any OS and can't even enter the grub menu.
TBH, all the machines I have had with SmartArrays have also had a
simple SCSI or IDE HD for the purposes of booting. It makes life so much
simpler. ;) Given the low price of IDE HDs these days, you don't need a
big one, I think I would install one pretty damn quick. ;)


Is it the only way?


Be lucky,
Neil


--
gentoo-user@gentoo.org mailing list





--
Best regards,
wcw
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] can't find my partition when config grub

2007-01-05 Thread Neil Walker

Chuanwen Wu wrote:

Is it the only way?


No, but it's the quickest and easiest way. It will probably save you a 
lot of time and frustration.



Be lucky,
Neil


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] can't find my partition when config grub

2007-01-04 Thread Matthias Fechner
Hi,

Chuanwen Wu schrieb:
 Disk /dev/cciss/c0d0
 
 /dev/cciss/c0d0p1NTFS
 /dev/cciss/c0d0p2Linux
 /dev/cciss/c0d0p3extended
 
 grub  root (hd0,1) or  grub root (hd0,0)

grub cannot access ntfs so you need to fire the bootloader from windows.
I have no idea what the device /dev/cciss is but grub should help you
with the tab key to find the right notation.

I boot my windows here with:
title Windows
 map (hd1) (hd0)
 rootnoverify (hd1,0)
 savedefault
 makeactive
 chainloader +1

you can forget the map I need it because I swaped my harddisks.
Hope that help a little bit.


Bye
Matthias

-- 

Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning. --
Rich Cook
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] can't find my partition when config grub

2007-01-04 Thread Chuanwen Wu

Thank you Matthias!

2007/1/5, Matthias Fechner [EMAIL PROTECTED]:

Hi,

Chuanwen Wu schrieb:
 Disk /dev/cciss/c0d0

 /dev/cciss/c0d0p1NTFS
 /dev/cciss/c0d0p2Linux
 /dev/cciss/c0d0p3extended

 grub  root (hd0,1) or  grub root (hd0,0)

grub cannot access ntfs so you need to fire the bootloader from windows.
I have no idea what the device /dev/cciss is but grub should help you
with the tab key to find the right notation.

My problem is the grub can't find my partition or even disk.So now,
when I press tab key, there is not any notation appearing.That I
think,because grub can't detect my disk.

/dev/cciss is a kind of Logic Volume Manager(LVM).I don't know how
exactly it works.But I know it's different from the LVM2, which I
installed it and use it in my another machine.I heard that the
/dev/cciss is result of some hardware components.But of course, the
LVM2 is implemented by software.
One of their difference is that:I can see and set the LVM in my
machine when the machine even has not enter any OS.When  my  machine
start up, press F8,I can enter a menu in which I can see the LVM and
set it.
But the LVM2,you can only see it after you enter your linux OS.

ps: My machine is a Hewlett-Packard workstation.

--
Best regards,
wcw
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] can't find my partition when config grub

2007-01-04 Thread Neil Walker

Chuanwen Wu wrote:

My problem is the grub can't find my partition or even disk.So now,
when I press tab key, there is not any notation appearing.That I
think,because grub can't detect my disk.

/dev/cciss is a kind of Logic Volume Manager(LVM).I don't know how
exactly it works.
It sounds to me like you have a Compaq SmartArray. You CAN get one of 
those to work but you will have to jump through a few hoops. The 
experiences of one person who did it are here:


http://forums.gentoo.org/viewtopic-t-10380-highlight-compaq+proliant.html


Be lucky,
Neil


--
gentoo-user@gentoo.org mailing list