bug-grub
[Top][All Lists]
Advanced

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

0.91 booting xfs on (hd0,4)


From: Brad Langhorst
Subject: 0.91 booting xfs on (hd0,4)
Date: Thu, 07 Feb 2002 00:21:33 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.7) Gecko/20020121

This is a debian woody laptop with 1 ide disk.
the package from woody said this when i tried to install - must be a packaging problem?


here is what I do in the grub shell
grub> root (hd0,4)
<2, 0, 1024><128, 0, 204><16, 0, 204><64, 0, 168> Filesystem type unknown, part
ition type 0x83

grub> setup (hd0)
<2, 0, 1024><128, 0, 204><16, 0, 204><64, 0, 168>
Error 17: Cannot mount selected partition

so I upgraded to the sid package which is more promising.

when i run grub-install i get this nastygram:

bwlnote:/usr/share/doc/grub/examples# grub-install /dev/hda

    GRUB  version 0.91  (640K lower / 3072K upper memory)

 [ Minimal BASH-like line editing is supported.  For the first word, TAB
lists possible command completions. Anywhere else TAB lists the possible
   completions of a device/filename. ]

grub> root (hd0,4)
 Filesystem type is xfs, partition type 0x83

grub> setup  --stage2=/boot/grub/stage2 --prefix=/boot/grub (hd0)
 Checking if "/boot/grub/stage1" exists... yes
 Checking if "/boot/grub/stage2" exists... yes
 Checking if "/boot/grub/xfs_stage1_5" exists... yes
 Running "embed /boot/grub/xfs_stage1_5 (hd0)"...  19 sectors are embedded.
succeeded
Running "install --stage2=/boot/grub/stage2 /boot/grub/stage1 d (hd0) (hd0)1+1
9 p (hd0,4)/boot/grub/stage2 /boot/grub/menu.lst"... failed

Error 6: Mismatched or corrupt version of stage1/stage2


so i look at /boot/grub/stage*
  ls -l /boot/grub/stage*
-rw-r--r--    1 root     root          512 Feb  7 00:18 /boot/grub/stage1
-rw-r--r--    1 root     root        95712 Feb  7 00:18 /boot/grub/stage2
and they look to match so i try to do manual install

grub> root
 (fd0): Filesystem type unknown, partition type 0x0

grub> root (hd0,4)
 Filesystem type is xfs, partition type 0x83

grub> setup (hd0)
 Checking if "/boot/grub/stage1" exists... yes
 Checking if "/boot/grub/stage2" exists... yes
 Checking if "/boot/grub/xfs_stage1_5" exists... yes
 Running "embed /boot/grub/xfs_stage1_5 (hd0)"...  19 sectors are embedded.
succeeded
Running "install /boot/grub/stage1 d (hd0) (hd0)1+19 p (hd0,4)/boot/grub/stage
2 /boot/grub/menu.lst"... succeeded
Done.


so what's the deal here?
why does grub-install fail where setup succeeds?

brad







reply via email to

[Prev in Thread] Current Thread [Next in Thread]