[CentOS] Grub, pata, and sata

Tru Huynh tru at centos.org
Wed Nov 24 22:17:13 UTC 2010


On Tue, Nov 23, 2010 at 06:17:17PM -0600, David G. Mackay wrote:
> 
> On Tue, 2010-11-23 at 22:17 +0100, Tru Huynh wrote:
> > On Tue, Nov 23, 2010 at 01:04:03PM -0600, David G. Mackay wrote:
> > > 
> > > (parted) print
...
> > > Error: Unable to open /dev/md0 - unrecognised disk
> > > label.                 
> > 
> > shouldn't have boot,raid flags on the members of tour /dev/md0 array?
so where is the /dev/md0 from?
> > 
> > cat /proc/mdstat 
> > df -P
> > cat /grub/grub.conf (from hda1) and from hdb1

> [root at vorpal ~]# df -P
> Filesystem         1024-blocks      Used Available Capacity Mounted on
> /dev/sda1             99188468   4853368  89215188       6% /
> /dev/sda2            373793320 235981428 118517828      67% /home/dave
> /dev/hda1               101086     25176     70691      27% /boot
> /dev/sda3               101105      5665     90219       6% /boot2
> tmpfs                   647588         0    647588       0% /dev/shm

maybe something like this?

cat <<EOF| grub --batch --no-floppy
device (hd0) /dev/hda  # setup hda for 1st disk
root (hd0,0)           # /dev/hda1 for /boot 
setup (hd0)            # install on MBR of /dev/hda
EOF

Tru
-- 
Tru Huynh (mirrors, CentOS i386/x86_64 Package Maintenance)
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xBEFA581B
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20101124/8ecac4de/attachment.sig>


More information about the CentOS mailing list