Grub crashes on boot.

2009-05-28 Thread Ryan McCoskrie
Note: I've posted this on comp.os.linux.setup as well but things are a bit
slow there.

After making some edits to my partition scheme with the latest edition of
GParted I've found that my machine
can no longer boot.
It gets as far as displaying the word GRUB but no further.
I've tried reinstalling Grub with system-rescuecd but that isn't working
either.

If I type grub-install hd0,0 --root-directory=/mnt/hdb1 I get:
 /dev/hdb1 does not have any corresponding BIOS drive

Using grub-install hd0,0 --root-directory=/mnt/hdb1/boot instead is
enough to make it probe BIOS drives properly but I get the error:
 The file /mnt/hdb1/boot/boot/grub/stage1 was not read correctly


Does someone know how to fix such problems? Or at least point me towards
some
docs that I can use to figure this out?


Re: Grub crashes on boot.

2009-05-28 Thread steve
When you've got the system up with the rescue cd, what disks can your
see... if you can see /dev/hdb,

can you publish the output from  'fdisk -l /dev/hdb'

If you've recently preformed an upgrade, then you may need to look
for /dev/sdb, not hdb. 

Just a thought (:

Steve

On Fri, 2009-05-29 at 14:12 +1200, Ryan McCoskrie wrote:
 Note: I've posted this on comp.os.linux.setup as well but things are a
 bit slow there.
 
 After making some edits to my partition scheme with the latest edition
 of GParted I've found that my machine
 can no longer boot.
 It gets as far as displaying the word GRUB but no further.
 I've tried reinstalling Grub with system-rescuecd but that isn't
 working either.
 
 If I type grub-install hd0,0 --root-directory=/mnt/hdb1 I get: 
  /dev/hdb1 does not have any corresponding BIOS drive 
 
 
 Using grub-install hd0,0 --root-directory=/mnt/hdb1/boot instead is 
 enough to make it probe BIOS drives properly but I get the error: 
  The file /mnt/hdb1/boot/boot/grub/stage1 was not read correctly 
 
 
 Does someone know how to fix such problems? Or at least point me
 towards some
 docs that I can use to figure this out?
-- 
Steve Holdoway st...@greengecko.co.nz
http://www.greengecko.co.nz