[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: How can I install Grub0.97 into my disk img o f Bochs2.3.7£¿
From: |
Gregg C Levine |
Subject: |
RE: How can I install Grub0.97 into my disk img o f Bochs2.3.7£¿ |
Date: |
Tue, 7 Apr 2009 20:39:37 -0400 |
Hello!
Your original question was completely lost by the list. Please resubmit what we
have below. Incidentally your information below makes perfect sense to me.
Normally I would boot using a floppy image available from the Alpha server for
GNU and promptly check to see if it would install properly.
Ideally you should also complain to the people at the Bochs list as this looks
to be a bug of some kind.
--
Gregg C Levine address@hidden
"The Force will be with you always." Obi-Wan Kenobi
-----Original Message-----
From: Õź£ÁÖ [mailto:address@hidden
Sent: Friday, April 03, 2009 12:46 AM
To: GRUB
Subject: How can I install Grub0.97 into my disk img of Bochs2.3.7£¿
Dear bug-grub team
I come from China, and my english is very poor.
How can I install Grub0.97 into my disk img of Bochs2.3.7?
----------------------------------------------------------------------------
:) I want to install grub into my disk img on Bochs. How can I do? Thank you
very very very much.
:) I use grub0.97, and compile on redhat 9. My disk img on
Bochs2.3.7(http://bochs.sourceforge.net/), just bellow.
Disk /dev/hda: 16 heads, 63 sectors, 1239 cylinders
Units = cylinders of 1008 * 512 bytes
Device Boot Begin Start End Blocks Id System Fs
/dev/hda1 * 1 1 120 60448+ 83 Linux native minix1.5
/dev/hda2 121 121 240 60480 83 Linux native ext2
/dev/hda3 241 241 841 302904 83 Linux native ext2
/dev/hda4 842 842 1239 200592 5 Extended
/dev/hda5 842 842 1062 111352+ 83 Linux native ext2
/dev/hda6 1024 1063 1200 69520+ 83 Linux native --
/dev/hda7 1024 1201 1239 19624+ 83 Linux native swap
hda1
|
|- boot
|
|- grub
| |
| |- stage1
| |- minix_stage1_5
| |- e2fs_stage1_5
| |- .
| |- .
| |- .
| |- stage2
| |- grub.conf
| |- menu.list
| |- device.map
| |- splash.xpm.gz
|
|- vmlinux0.00
|- vmlinux0.11
|- vmlinux1.02
|
:) I have used dd command to duplicate stage1 into the mbr of my disk img, and
founded the location of Stage2 fs's first sector in my disk img, then modified
0x44 address of my mbr to locate the first sector of Stage2. finaly, modified
0x1F8 address of the fisrt sector of Stage2 to load the rest of Stage2.
:) But I failed.
Bochs prints the error message.
00035730860i[BIOS ] Booting from 0000:7c00
00036117521e[CPU0 ] fetch_raw_descriptor: GDT: index (82b7)1056 > limit (27)
00036117521i[CPU0 ] CPU is in protected mode (active)
00036117521i[CPU0 ] CS.d_b = 32 bit
00036117521i[CPU0 ] SS.d_b = 32 bit
00036117521i[CPU0 ] EFER = 0x00000000
00036117521i[CPU0 ] | RAX=0000000000000000 RBX=0000000000000001
00036117521i[CPU0 ] | RCX=0000000000000000 RDX=0000000000000080
00036117521i[CPU0 ] | RSP=0000000000067ff0 RBP=0000000000067ff0
00036117521i[CPU0 ] | RSI=00000000ffff8116 RDI=0000000000053a80
00036117521i[CPU0 ] | R8=0000000000000000 R9=0000000000000000
00036117521i[CPU0 ] | R10=0000000000000000 R11=0000000000000000
00036117521i[CPU0 ] | R12=0000000000000000 R13=0000000000000000
00036117521i[CPU0 ] | R14=0000000000000000 R15=0000000000000000
00036117521i[CPU0 ] | IOPL=0 id vip vif ac vm RF nt of df if tf sf ZF af PF
cf
00036117521i[CPU0 ] | SEG selector base limit G D
00036117521i[CPU0 ] | SEG sltr(index|ti|rpl) base limit G D
00036117521i[CPU0 ] | CS:0008( 0001| 0| 0) 00000000 000fffff 1 1
00036117521i[CPU0 ] | DS:0010( 0002| 0| 0) 00000000 000fffff 1 1
00036117521i[CPU0 ] | SS:0010( 0002| 0| 0) 00000000 000fffff 1 1
00036117521i[CPU0 ] | ES:0010( 0002| 0| 0) 00000000 000fffff 1 1
00036117521i[CPU0 ] | FS:0010( 0002| 0| 0) 00000000 000fffff 1 1
00036117521i[CPU0 ] | GS:0010( 0002| 0| 0) 00000000 000fffff 1 1
00036117521i[CPU0 ] | MSR_FS_BASE:0000000000000000
00036117521i[CPU0 ] | MSR_GS_BASE:0000000000000000
00036117521i[CPU0 ] | RIP=000000000000fb68 (000000000000fb68)
00036117521i[CPU0 ] | CR0=0x60000011 CR1=0x0 CR2=0x0000000000000000
00036117521i[CPU0 ] | CR3=0x00000000 CR4=0x00000000
00036117521i[CPU0 ] >> pop ss : 17
00036117521e[CPU0 ] exception(): 3rd (13) exception with no resolution,
shutdown status is 00h, resetting
00036117521i[SYS ] bx_pc_system_c::Reset(SOFTWARE) called
00036117521i[CPU0 ] cpu software reset
00036117521i[APIC0] local apic in CPU 0 initializing
网易邮箱,中国第一大电子邮件服务商
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- RE: How can I install Grub0.97 into my disk img o f Bochs2.3.7£¿,
Gregg C Levine <=