* [gentoo-user] can't find my partition when config grub
@ 2007-01-04 9:18 Chuanwen Wu
2007-01-04 16:27 ` Matthias Fechner
0 siblings, 1 reply; 9+ messages in thread
From: Chuanwen Wu @ 2007-01-04 9:18 UTC (permalink / raw
To: gentoo-user
Hi,everybody!
When i used livecd to install gentoo in my HP machine,the error
occured when installing grub:
_map_device_to_grub_device:
Error:could not map /dev/cciss
Use #fdisk -l to get the information of my scsi disk :
Disk /dev/cciss/c0d0
/dev/cciss/c0d0p1 NTFS
/dev/cciss/c0d0p2 Linux
/dev/cciss/c0d0p3 extended
...........................................
Then I try to setup grub by myself.First of all,I copy the grub
directory from my another machine to /boot/,then trid to config
grub.But I found that grub can only detect my first
partition(/dev/cciss/c0d0p1).For example,I can only root (hd0,0),which
is my Windows partition ,but not root (hd0,1) which I want to appoint
as my partition of /boot.
And just now(just several minites before I write this email),I
re-enter grub and now grub can not detect any disk! When I type "root
("+ tab,nothing output.
And when I typed:
grub > root (hd0,1) or grub> root (hd0,0)
the error is :
Error 21:selected disk does not exitst
When I use livecd to boot up,I use the parameter:gentoo noapic.The
"noapic" is necessary and without it my machine with livecd.
I guess the cause is the Logic Volumn(/dev/cciss/*****).
But how to fix it?
Thank you in advanced!
--
Best regards,
wcw
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] can't find my partition when config grub
2007-01-04 9:18 [gentoo-user] can't find my partition when config grub Chuanwen Wu
@ 2007-01-04 16:27 ` Matthias Fechner
2007-01-05 1:28 ` Chuanwen Wu
0 siblings, 1 reply; 9+ messages in thread
From: Matthias Fechner @ 2007-01-04 16:27 UTC (permalink / raw
To: gentoo-user
Hi,
Chuanwen Wu schrieb:
> Disk /dev/cciss/c0d0
>
> /dev/cciss/c0d0p1 NTFS
> /dev/cciss/c0d0p2 Linux
> /dev/cciss/c0d0p3 extended
>
> 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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] can't find my partition when config grub
2007-01-04 16:27 ` Matthias Fechner
@ 2007-01-05 1:28 ` Chuanwen Wu
2007-01-05 3:40 ` Neil Walker
0 siblings, 1 reply; 9+ messages in thread
From: Chuanwen Wu @ 2007-01-05 1:28 UTC (permalink / raw
To: gentoo-user
Thank you Matthias!
2007/1/5, Matthias Fechner <idefix@fechner.net>:
> Hi,
>
> Chuanwen Wu schrieb:
> > Disk /dev/cciss/c0d0
> >
> > /dev/cciss/c0d0p1 NTFS
> > /dev/cciss/c0d0p2 Linux
> > /dev/cciss/c0d0p3 extended
> >
> > 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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] can't find my partition when config grub
2007-01-05 1:28 ` Chuanwen Wu
@ 2007-01-05 3:40 ` Neil Walker
2007-01-05 16:22 ` Chuanwen Wu
0 siblings, 1 reply; 9+ messages in thread
From: Neil Walker @ 2007-01-05 3:40 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] can't find my partition when config grub
2007-01-05 3:40 ` Neil Walker
@ 2007-01-05 16:22 ` Chuanwen Wu
2007-01-05 22:17 ` Neil Walker
0 siblings, 1 reply; 9+ messages in thread
From: Chuanwen Wu @ 2007-01-05 16:22 UTC (permalink / raw
To: gentoo-user
2007/1/5, Neil Walker <neil@ep.mine.nu>:
> 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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] can't find my partition when config grub
2007-01-05 16:22 ` Chuanwen Wu
@ 2007-01-05 22:17 ` Neil Walker
2007-01-06 3:43 ` Chuanwen Wu
0 siblings, 1 reply; 9+ messages in thread
From: Neil Walker @ 2007-01-05 22:17 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] can't find my partition when config grub
2007-01-05 22:17 ` Neil Walker
@ 2007-01-06 3:43 ` Chuanwen Wu
2007-01-06 5:03 ` Neil Walker
[not found] ` <42357.192.168.0.100.1168077554.squirrel@www.kernelpanic.ch>
0 siblings, 2 replies; 9+ messages in thread
From: Chuanwen Wu @ 2007-01-06 3:43 UTC (permalink / raw
To: gentoo-user
2007/1/6, Neil Walker <neil@ep.mine.nu>:
> 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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] can't find my partition when config grub
2007-01-06 3:43 ` Chuanwen Wu
@ 2007-01-06 5:03 ` Neil Walker
[not found] ` <42357.192.168.0.100.1168077554.squirrel@www.kernelpanic.ch>
1 sibling, 0 replies; 9+ messages in thread
From: Neil Walker @ 2007-01-06 5:03 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] can't find my partition when config grub
[not found] ` <42357.192.168.0.100.1168077554.squirrel@www.kernelpanic.ch>
@ 2007-01-06 14:12 ` Chuanwen Wu
0 siblings, 0 replies; 9+ messages in thread
From: Chuanwen Wu @ 2007-01-06 14:12 UTC (permalink / raw
To: gentoo-user
2007/1/6, Oliver Schmidt <oli@kernelpanic.ch>:
> 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 <neil@ep.mine.nu>:
> >> 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
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2007-01-06 14:19 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-04 9:18 [gentoo-user] can't find my partition when config grub Chuanwen Wu
2007-01-04 16:27 ` Matthias Fechner
2007-01-05 1:28 ` Chuanwen Wu
2007-01-05 3:40 ` Neil Walker
2007-01-05 16:22 ` Chuanwen Wu
2007-01-05 22:17 ` Neil Walker
2007-01-06 3:43 ` Chuanwen Wu
2007-01-06 5:03 ` Neil Walker
[not found] ` <42357.192.168.0.100.1168077554.squirrel@www.kernelpanic.ch>
2007-01-06 14:12 ` Chuanwen Wu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox