1
08. September 2024, 02:49
Diese Sektion erlaubt es dir alle Beiträge dieses Mitglieds zu sehen. Beachte, dass du nur solche Beiträge sehen kannst, zu denen du auch Zugriffsrechte hast.
sudo mount -o loop image.img dir
#! /bin/sh
#
/sbin/grub --batch --device-map=/dev/null <<EOF
device (hd0) hdc.img
root (hd0)
install /boot/grub/stage1 (hd0) /boot/grub/stage2
quit
EOF
grub> device (hd0) hdc.img
grub> root (hd0)
Filesystem type unknown, using whole disk
grub> install /boot/grub/stage1 (hd0) /boot/grub/stage2
Error 17: Cannot mount selected partition
grub> quit
dd if=stage1 of=hdc.img conv=notrunc
...
...
00000807985i[CPU ] BOUND_GdMa: fails bounds test
00000807986i[CPU ] BOUND_GdMa: fails bounds test
00000807987i[CPU ] BOUND_GdMa: fails bounds test
00000807988i[CPU ] BOUND_GdMa: fails bounds test
00000807989i[CPU ] BOUND_GdMa: fails bounds test
00000807990i[CPU ] BOUND_GdMa: fails bounds test
00000807991i[CPU ] BOUND_GdMa: fails bounds test
00000807992i[CPU ] BOUND_GdMa: fails bounds test
00000807993i[CPU ] BOUND_GdMa: fails bounds test
00000807994i[CPU ] BOUND_GdMa: fails bounds test
00000807995i[CPU ] BOUND_GdMa: fails bounds test
00000807996i[CPU ] BOUND_GdMa: fails bounds test
00000807997i[CPU ] BOUND_GdMa: fails bounds test
00000807998i[CPU ] BOUND_GdMa: fails bounds test
00000807999i[CPU ] BOUND_GdMa: fails bounds test
00000840780p[CPU ] >>PANIC<< prefetch: RIP > CS.limit
00000840780i[SYS ] Last time is 1136464876
00000840780i[XGUI ] Exit.
00000840780i[CPU ] real mode
00000840780i[CPU ] CS.d_b = 16 bit
00000840780i[CPU ] SS.d_b = 16 bit
00000840780i[CPU ] | EAX=00004f8f EBX=00006100 ECX=00640000 EDX=00000080
00000840780i[CPU ] | ESP=0000005a EBP=00000010 ESI=00003601 EDI=0000ffdd
00000840780i[CPU ] | IOPL=0 NV DW DI NG NZ AC PO NC
00000840780i[CPU ] | SEG selector base limit G D
00000840780i[CPU ] | SEG sltr(index|ti|rpl) base limit G D
00000840780i[CPU ] | CS:1000( 0000| 0| 0) 00010000 0000ffff 0 0
00000840780i[CPU ] | DS:0000( 0000| 0| 0) 00000000 0000ffff 0 0
00000840780i[CPU ] | SS:0000( 0000| 0| 0) 00000000 0000ffff 0 0
00000840780i[CPU ] | ES:fbfd( 0000| 0| 0) 000fbfd0 0000ffff 0 0
00000840780i[CPU ] | FS:0000( 0000| 0| 0) 00000000 0000ffff 0 0
00000840780i[CPU ] | GS:0000( 0000| 0| 0) 00000000 0000ffff 0 0
00000840780i[CPU ] | EIP=00010000 (0000ffff)
00000840780i[CPU ] | CR0=0x00000010 CR1=0 CR2=0x00000000
00000840780i[CPU ] | CR3=0x00000000 CR4=0x00000000
00000840780i[ ] restoring default signal behavior
========================================================================
Bochs is exiting with the following message:
[CPU ] prefetch: RIP > CS.limit
========================================================================
00000840780i[CTRL ] quit_sim called with exit