Jump to content











Photo
- - - - -

Please test bzImage with kexec -l grub.exe


  • Please log in to reply
3 replies to this topic

#1 tinybit

tinybit

    Gold Member

  • Developer
  • 1175 posts
  •  
    China

Posted 18 July 2015 - 06:11 PM

Download the attached files, and decompress them, and you will get bzImage and initrd_0.

Boot it up with grub4dos in this way:

kernel  /bzImage
initrd  /initrd_0
boot

(or you may use another boot loader to do it).

When you see the linux console, press Enter for several times and you should gain a shell prompt.

At the prompt, run the following commands to start grub4dos:

kexec  -l  grub.exe
kexec  -e

Then report back any problems encountered.

EDIT:

2015-07-23 Uploaded 2 CONFIGs for Linux-4.2-rc3, a good one and a bad one. The good one will create a good bzImage for use with initrd_0. The bad one will create a bad bzImage for use with initrd_0, in which case grub.exe will hangup when it is started by kexec.

2015-07-25 Uploaded bzImage_bad; Updated initrd_0, which included a grub_new.exe file. With the bzImage_bad and grub.exe, you should encounter a hangup. But hopefully you would gain a success with grub_new.exe:

kernel  /bzImage_bad
initrd  /initrd_0
boot
kexec  -l  grub_new.exe
kexec  -e

2015-07-29 Uploaded grub.exe and its source patch. This time you may test it with any Linux OSes. Do it in this way:

kexec  -l  grub.exe  --command-line="--config-file=commandline"
kexec  -e

Note: If your Linux has built-in harddisk support(AHCI SATA SUPPORT), then after running kexec and entering grub4dos, you may encounter failure in accessing harddisks(with long delay and a final failure). If your Linux has no built-in harddisk support(without AHCI SATA SUPPORT), then after running kexec and entering grub4dos, you should normally have access to your harddisks.

Attached Files



#2 misty

misty

    Gold Member

  • Developer
  • 1069 posts
  •  
    United Kingdom

Posted 18 July 2015 - 07:13 PM

No issues for me - my existing menu.lst file was loaded after running the commands. Do you want me to report back any details - e.g. feedback after running the commands?

#3 tinybit

tinybit

    Gold Member

  • Developer
  • 1175 posts
  •  
    China

Posted 19 July 2015 - 12:32 AM

No issues for me - my existing menu.lst file was loaded after running the commands. Do you want me to report back any details - e.g. feedback after running the commands?


No. Thanks.

But you may tell details about your machine: Manufacturer. Model number. Date of production. Keyboard / mouse whether or not is USB.

#4 misty

misty

    Gold Member

  • Developer
  • 1069 posts
  •  
    United Kingdom

Posted 19 July 2015 - 10:00 AM

Tested on a laptop - a Lenovo Thinkpad X61




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users