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

grub segfaults



grub 0.95 + FC3 + 2.6.10-1.770_FC3smp on an Opteron.

I'm trying to make a bootable sysdisk clone.
My real sysdisk is /dev/sda, the clone is /dev/sdb
I've got a device-map file which maps hd0 to /dev/sdb
and hd1 to /dev/sda. When I issue the 'setup'command
to grub, it does some work then segfaults, and the
clone sysdisk is unbootable. Any ideas?

Cheers,
Terry.


[root ls1 ~]$ grub --device-map=/root/device.map.sdb


    GNU GRUB  version 0.95  (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,0)
root (hd0,0)
 Filesystem type is ext2fs, partition type 0x83
grub> setup (hd0)
setup (hd0)
 Checking if "/boot/grub/stage1" exists... no
 Checking if "/grub/stage1" exists... yes
 Checking if "/grub/stage2" exists... yes
 Checking if "/grub/e2fs_stage1_5" exists... yes
 Running "embed /grub/e2fs_stage1_5 (hd0)"...  16 sectors are embedded.
succeeded
Segmentation fault (core dumped)
[root ls1 ~]$ 



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