Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1F1sXe-0004Dm-9E for mharc-grub-devel@gnu.org; Wed, 25 Jan 2006 16:51:02 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F1sXc-0004D0-QS for grub-devel@gnu.org; Wed, 25 Jan 2006 16:51:00 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F1sXb-0004CZ-OL for grub-devel@gnu.org; Wed, 25 Jan 2006 16:51:00 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F1sXb-0004CU-KI for grub-devel@gnu.org; Wed, 25 Jan 2006 16:50:59 -0500 Received: from [66.249.92.200] (helo=uproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1F1sV3-00067e-Ip for grub-devel@gnu.org; Wed, 25 Jan 2006 16:48:22 -0500 Received: by uproxy.gmail.com with SMTP id u2so43520uge for ; Wed, 25 Jan 2006 13:48:06 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=Y1Z5EdiwPa0L4iyVNNNbVG/vuZYQ7iRFwm5LqPSHw5HTU4p/GeZk29bEdbznFez4iEyw/tMCDy5wfmqWYtn0Ml/bDycuPRdlvZvTa2hejEOW5JMnmgg9XbyoFxN9Dr2pHXwzr10eNWYtkDuoio9GwqLdrTatbpRNshvW1R9pwXg= Received: by 10.49.88.16 with SMTP id q16mr106109nfl; Wed, 25 Jan 2006 13:48:06 -0800 (PST) Received: by 10.48.161.6 with HTTP; Wed, 25 Jan 2006 13:48:06 -0800 (PST) Message-ID: Date: Wed, 25 Jan 2006 16:48:06 -0500 From: Poe Chen To: The development of GRUB 2 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_50786_7945805.1138225686127" Subject: Problem installing GRUB2 on a 2.1TB system X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jan 2006 21:51:01 -0000 ------=_Part_50786_7945805.1138225686127 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I'm the same guy who has successfully floppy boot GRUB2 on a 2.1TB system. =3D) Here are the problems that I've encountered to get GRUB2 installed onto my system running CentOS 4.2 with latest updates. -grub-probefs can't detect the file system on my server. Here are the system info: [root@colossus ~]# df -k Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda2 4032124 2810480 1016816 74% / /dev/sda1 101086 11576 84291 13% /boot none 516768 0 516768 0% /dev/shm /dev/sda4 2300710112 1547872 2182292912 1% /home And here is the result: [root@colossus ~]# grub-probefs -v /dev/sda grub-probefs: info: changing current directory to /dev grub-probefs: info: changing current directory to cpu grub-probefs: info: changing current directory to mapper grub-probefs: info: changing current directory to input grub-probefs: info: changing current directory to net grub-probefs: info: changing current directory to shm grub-probefs: info: changing current directory to pts cannot find a GRUB device for /dev/sda. But grub-mkdevicemap can get correct device map: [root@colossus ~]# grub-mkdevicemap -m /boot/grub/device.map -v [root@colossus ~]# cat /boot/grub/device.map (fd0) /dev/fd0 (hd0) /dev/sda -grub-install will fail since it can't find GRUB device for /dev/sda...so the next thing I've tried is to run grub-setup directly -run the following command to install GRUB2 onto the system: grub-setup -d /boot/grub -v -r '(hd0)' -m /boot/grub/device.map '(hd0)' and it fails: grub-mkimage: info: getting the size of /boot/grub/kernel.img grub-mkimage: info: getting the size of /boot/grub/normal.mod grub-mkimage: info: getting the size of /boot/grub/ls.mod grub-mkimage: info: getting the size of /boot/grub/fshelp.mod grub-mkimage: info: getting the size of /boot/grub/ext2.mod grub-mkimage: info: getting the size of /boot/grub/gpt.mod grub-mkimage: info: getting the size of /boot/grub/pc.mod grub-mkimage: info: getting the size of /boot/grub/_linux.mod grub-mkimage: info: getting the size of /boot/grub/linux.mod grub-mkimage: info: getting the size of /boot/grub/boot.mod grub-mkimage: info: getting the size of /boot/grub/_chain.mod grub-mkimage: info: getting the size of /boot/grub/chain.mod grub-mkimage: info: getting the size of /boot/grub/configfile.mod grub-mkimage: info: getting the size of /boot/grub/default.mod grub-mkimage: info: getting the size of /boot/grub/help.mod grub-mkimage: info: the total module size is 0x10c6c grub-mkimage: info: reading /boot/grub/kernel.img grub-mkimage: info: getting the size of /boot/grub/kernel.img grub-mkimage: info: getting the size of /boot/grub/normal.mod grub-mkimage: info: reading /boot/grub/normal.mod grub-mkimage: info: getting the size of /boot/grub/normal.mod grub-mkimage: info: getting the size of /boot/grub/ls.mod grub-mkimage: info: reading /boot/grub/ls.mod grub-mkimage: info: getting the size of /boot/grub/ls.mod grub-mkimage: info: getting the size of /boot/grub/fshelp.mod grub-mkimage: info: reading /boot/grub/fshelp.mod grub-mkimage: info: getting the size of /boot/grub/fshelp.mod grub-mkimage: info: getting the size of /boot/grub/ext2.mod grub-mkimage: info: reading /boot/grub/ext2.mod grub-mkimage: info: getting the size of /boot/grub/ext2.mod grub-mkimage: info: getting the size of /boot/grub/gpt.mod grub-mkimage: info: reading /boot/grub/gpt.mod grub-mkimage: info: getting the size of /boot/grub/gpt.mod grub-mkimage: info: getting the size of /boot/grub/pc.mod grub-mkimage: info: reading /boot/grub/pc.mod grub-mkimage: info: getting the size of /boot/grub/pc.mod grub-mkimage: info: getting the size of /boot/grub/_linux.mod grub-mkimage: info: reading /boot/grub/_linux.mod grub-mkimage: info: getting the size of /boot/grub/_linux.mod grub-mkimage: info: getting the size of /boot/grub/linux.mod grub-mkimage: info: reading /boot/grub/linux.mod grub-mkimage: info: getting the size of /boot/grub/linux.mod grub-mkimage: info: getting the size of /boot/grub/boot.mod grub-mkimage: info: reading /boot/grub/boot.mod grub-mkimage: info: getting the size of /boot/grub/boot.mod grub-mkimage: info: getting the size of /boot/grub/_chain.mod grub-mkimage: info: reading /boot/grub/_chain.mod grub-mkimage: info: getting the size of /boot/grub/_chain.mod grub-mkimage: info: getting the size of /boot/grub/chain.mod grub-mkimage: info: reading /boot/grub/chain.mod grub-mkimage: info: getting the size of /boot/grub/chain.mod grub-mkimage: info: getting the size of /boot/grub/configfile.mod grub-mkimage: info: reading /boot/grub/configfile.mod grub-mkimage: info: getting the size of /boot/grub/configfile.mod grub-mkimage: info: getting the size of /boot/grub/default.mod grub-mkimage: info: reading /boot/grub/default.mod grub-mkimage: info: getting the size of /boot/grub/default.mod grub-mkimage: info: getting the size of /boot/grub/help.mod grub-mkimage: info: reading /boot/grub/help.mod grub-mkimage: info: getting the size of /boot/grub/help.mod grub-mkimage: info: kernel_img=3D0x8c86118, kernel_size=3D0x177b4 grub-mkimage: info: compressing the core image grub-mkimage: info: the core size is 0xbead grub-mkimage: info: getting the size of /boot/grub/diskboot.img grub-mkimage: info: reading /boot/grub/diskboot.img grub-mkimage: info: getting the size of /boot/grub/diskboot.img grub-mkimage: info: writing 0x200 bytes grub-mkimage: info: the first module address is 0xed48 grub-mkimage: info: writing 0xbead bytes grub-setup: info: prefix =3D /grub grub-setup: info: getting the size of /boot/grub/boot.img grub-setup: info: reading /boot/grub/boot.img grub-setup: info: getting the size of /boot/grub/boot.img grub-setup: info: getting the size of /boot/grub/core.img grub-setup: info: reading /boot/grub/core.img grub-setup: info: getting the size of /boot/grub/core.img grub-setup: info: the size of hd0 is 0 grub-setup: info: the size of hd0 is 0 grub-setup: info: setting the root device to `hd0' grub-setup: error: out of disk So it complains that it's "out of disk"...since the size of hd0 is zero. Then I tried to install onto (hd0,1) or specify root device to be (hd0,1), it gives a different error: grub-setup: info: the size of hd0 is 0 grub-setup: info: the size of hd0 is 0 grub-setup: error: unknown device It looks like that GRUB2 can't correctly detect the size of (hd0). Is it kernel related? Because I've found out that if I'm using Ubuntu, it's even worse because I can't even mount the file system that is partitioned with GPT (meaning that I can't even floppy boot the system). But it's a very ol= d system...so I don't know what might be the problem. Should I try to use the CVS version? Anything I can try to get it working? For the time being, booting from floppy is ok. Thanks a lot for the helps... =3D) Poe ------=_Part_50786_7945805.1138225686127 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I'm the same guy who has successfully floppy boot GRUB2 on a 2.1TB system.&= nbsp; =3D)

Here are the problems that I've encountered to get GRUB2 = installed onto my system running CentOS 4.2 with latest updates.

-gr= ub-probefs can't detect the file system on my server.

Here are the system info:

[root@colossus ~]# df -k
Filesy= stem           1K-blocks&= nbsp;     Used Available Use% Mounted on
/dev/sda2&n= bsp;            = ; 4032124   2810480   1016816  74% /
/dev/sda1&= nbsp;           &nbs= p;  101086     11576     84291=   13% /boot
none           &= nbsp;        516768   &nb= sp;     0    516768   0% /dev/= shm
/dev/sda4          = ;  2300710112   1547872 2182292912   1% /home
<= br>And here is the result:

[root@colossus ~]# grub-probefs -v /dev/s= da
grub-probefs: info: changing current directory to /dev
grub-probefs: inf= o: changing current directory to cpu
grub-probefs: info: changing curren= t directory to mapper
grub-probefs: info: changing current directory to = input
grub-probefs: info: changing current directory to net
grub-probefs: = info: changing current directory to shm
grub-probefs: info: changing cur= rent directory to pts
cannot find a GRUB device for /dev/sda.

But grub-mkdevicemap can get correct device map:

[root@colossus ~]# = grub-mkdevicemap -m /boot/grub/device.map -v
[root@colossus ~]# cat /boo= t/grub/device.map
(fd0)   /dev/fd0
(hd0)   /dev/s= da

-grub-install will fail since it can't find GRUB device for /dev/= sda...so the next thing I've tried is to run grub-setup directly

-run the following command to install GRUB2 onto the system:
grub-setup -d /boot/grub -v -r '(hd0)' -m /boot/grub/device.map '(hd0)'
and it fails:

grub-mkimage: info: getting the size of /boot/gru= b/kernel.img
grub-mkimage: info: getting the size of /boot/grub/normal.mod
grub-m= kimage: info: getting the size of /boot/grub/ls.mod
grub-mkimage: info: = getting the size of /boot/grub/fshelp.mod
grub-mkimage: info: getting th= e size of /boot/grub/ext2.mod
grub-mkimage: info: getting the size of /boot/grub/gpt.mod
grub-mkim= age: info: getting the size of /boot/grub/pc.mod
grub-mkimage: info: get= ting the size of /boot/grub/_linux.mod
grub-mkimage: info: getting the s= ize of /boot/grub/linux.mod
grub-mkimage: info: getting the size of /boot/grub/boot.mod
grub-mki= mage: info: getting the size of /boot/grub/_chain.mod
grub-mkimage: info= : getting the size of /boot/grub/chain.mod
grub-mkimage: info: getting t= he size of /boot/grub/configfile.mod
grub-mkimage: info: getting the size of /boot/grub/default.mod
grub-= mkimage: info: getting the size of /boot/grub/help.mod
grub-mkimage: inf= o: the total module size is 0x10c6c
grub-mkimage: info: reading /boot/gr= ub/kernel.img
grub-mkimage: info: getting the size of /boot/grub/kernel.img
grub-m= kimage: info: getting the size of /boot/grub/normal.mod
grub-mkimage: in= fo: reading /boot/grub/normal.mod
grub-mkimage: info: getting the size o= f /boot/grub/normal.mod
grub-mkimage: info: getting the size of /boot/grub/ls.mod
grub-mkima= ge: info: reading /boot/grub/ls.mod
grub-mkimage: info: getting the size= of /boot/grub/ls.mod
grub-mkimage: info: getting the size of /boot/grub= /fshelp.mod
grub-mkimage: info: reading /boot/grub/fshelp.mod
grub-mkimage: info= : getting the size of /boot/grub/fshelp.mod
grub-mkimage: info: getting = the size of /boot/grub/ext2.mod
grub-mkimage: info: reading /boot/grub/e= xt2.mod
grub-mkimage: info: getting the size of /boot/grub/ext2.mod
grub-mki= mage: info: getting the size of /boot/grub/gpt.mod
grub-mkimage: info: r= eading /boot/grub/gpt.mod
grub-mkimage: info: getting the size of /boot/= grub/gpt.mod
grub-mkimage: info: getting the size of /boot/grub/pc.mod
grub-mkima= ge: info: reading /boot/grub/pc.mod
grub-mkimage: info: getting the size= of /boot/grub/pc.mod
grub-mkimage: info: getting the size of /boot/grub= /_linux.mod
grub-mkimage: info: reading /boot/grub/_linux.mod
grub-mkimage: info= : getting the size of /boot/grub/_linux.mod
grub-mkimage: info: getting = the size of /boot/grub/linux.mod
grub-mkimage: info: reading /boot/grub/= linux.mod
grub-mkimage: info: getting the size of /boot/grub/linux.mod
grub-mk= image: info: getting the size of /boot/grub/boot.mod
grub-mkimage: info:= reading /boot/grub/boot.mod
grub-mkimage: info: getting the size of /bo= ot/grub/boot.mod
grub-mkimage: info: getting the size of /boot/grub/_chain.mod
grub-m= kimage: info: reading /boot/grub/_chain.mod
grub-mkimage: info: getting = the size of /boot/grub/_chain.mod
grub-mkimage: info: getting the size o= f /boot/grub/chain.mod
grub-mkimage: info: reading /boot/grub/chain.mod
grub-mkimage: info:= getting the size of /boot/grub/chain.mod
grub-mkimage: info: getting th= e size of /boot/grub/configfile.mod
grub-mkimage: info: reading /boot/gr= ub/configfile.mod
grub-mkimage: info: getting the size of /boot/grub/configfile.mod
gr= ub-mkimage: info: getting the size of /boot/grub/default.mod
grub-mkimag= e: info: reading /boot/grub/default.mod
grub-mkimage: info: getting the = size of /boot/grub/default.mod
grub-mkimage: info: getting the size of /boot/grub/help.mod
grub-mki= mage: info: reading /boot/grub/help.mod
grub-mkimage: info: getting the = size of /boot/grub/help.mod
grub-mkimage: info: kernel_img=3D0x8c86118, = kernel_size=3D0x177b4
grub-mkimage: info: compressing the core image
grub-mkimage: info: t= he core size is 0xbead
grub-mkimage: info: getting the size of /boot/gru= b/diskboot.img
grub-mkimage: info: reading /boot/grub/diskboot.img
grub-mkimage: info: getting the size of /boot/grub/diskboot.img
grub-mki= mage: info: writing 0x200 bytes
grub-mkimage: info: the first module add= ress is 0xed48
grub-mkimage: info: writing 0xbead bytes
grub-setup: i= nfo: prefix =3D /grub
grub-setup: info: getting the size of /boot/grub/boot.img
grub-setup= : info: reading /boot/grub/boot.img
grub-setup: info: getting the size o= f /boot/grub/boot.img
grub-setup: info: getting the size of /boot/grub/c= ore.img
grub-setup: info: reading /boot/grub/core.img
grub-setup: info: gett= ing the size of /boot/grub/core.img
grub-setup: info: the size of hd0 is= 0
grub-setup: info: the size of hd0 is 0
grub-setup: info: setting t= he root device to `hd0'
grub-setup: error: out of disk

So it complains that it's "o= ut of disk"...since the size of hd0 is zero.

Then I tried to in= stall onto (hd0,1) or specify root device to be (hd0,1), it gives a differe= nt error:

grub-setup: info: the size of hd0 is 0
grub-setup: info: the siz= e of hd0 is 0
grub-setup: error: unknown device

It looks like tha= t GRUB2 can't correctly detect the size of (hd0).  Is it kernel relate= d?  Because I've found out that if I'm using Ubuntu, it's even worse b= ecause I can't even mount the file system that is partitioned with GPT (mea= ning that I can't even floppy boot the system).  But it's a very old s= ystem...so I don't know what might be the problem.

Should I try to use the CVS version?  Anything I can try to ge= t it working?  For the time being, booting from floppy is ok.

T= hanks a lot for the helps...  =3D)


Poe
------=_Part_50786_7945805.1138225686127--