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

Re: grub segfaults



>On 4/20/05, T. Horsnell <tsh mrc-lmb cam ac uk> wrote:
>> 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)
>
>BIG problem here - you definitely have more than 3 megs of ram. This
>may be all that linux gives it, but it may not be enough. I would
>suggest doing all this from grub itself before it loads linux.
>

GRUB reports the same memory situation on a variety of my
boxes running O/S from RH 9 through FC3. I dont know what
it means. I've tried using grub's 'uppermem' command to increase
it, but the thing still segfaults at 'setup'.

Cheers,
Terry.

>
>
>> 
>>  [ 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 ~]$
>
>-- 
>fedora-list mailing list
>fedora-list redhat com
>To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
>


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