Re: Grub, pata, and sata

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@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

Attachment: pgpR4loXlpmbF.pgp
Description: PGP signature

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux