M1330 grub2 MediaDirect button patch


Unable to perform Translation:invalid text

After having my Dell XPS M1330 with 4 GB of RAM (previously: 2GB RAM), a Super Talent Ultra GX Drive 128 GB SSD (formerly: 160GB HDD) and a new Intel WiFi Link 5300AGN 802.11 Draft-N WLAN MiniPCI Card (formerly 802.11a/b/g/n Broadcom BCM4328 Mini PCIe card, so wireless is now finally working under Linux does have upgraded), I wanted näturlich have it again so that I switched to the Dell MediaDirect button Can boot Linux and Windows with the normal power button.

Unable to perform Translation:invalid text

 

Unable to perform Translation:invalid text

Previously on the 160 GB HD, it was an appropriate boot.ini Entry to the hidden Dell MediaDirect partition for Windows XP Embedded solution, which then points out loaded the GRUB boot sector.

Unable to perform Translation:invalid text

 

Unable to perform Translation:invalid text

But now I had a new empty SSD with nothing on it. I therefore partitioned from all erstmal the SSD with the UBCD into 6 partitions. Like this:

Unable to perform Translation:invalid text

 

Unable to perform Translation:invalid textUnable to perform Translation:invalid textUnable to perform Translation:invalid textUnable to perform Translation:invalid textUnable to perform Translation:invalid textUnable to perform Translation:invalid textUnable to perform Translation:invalid textUnable to perform Translation:invalid textUnable to perform Translation:invalid textUnable to perform Translation:invalid textUnable to perform Translation:invalid textUnable to perform Translation:invalid textUnable to perform Translation:invalid textUnable to perform Translation:invalid textUnable to perform Translation:invalid textUnable to perform Translation:invalid textUnable to perform Translation:invalid textUnable to perform Translation:invalid textUnable to perform Translation:invalid textUnable to perform Translation:invalid textUnable to perform Translation:invalid textUnable to perform Translation:invalid textUnable to perform Translation:invalid textUnable to perform Translation:invalid textUnable to perform Translation:invalid textUnable to perform Translation:invalid textUnable to perform Translation:invalid textUnable to perform Translation:invalid textUnable to perform Translation:invalid textUnable to perform Translation:invalid textUnable to perform Translation:invalid textUnable to perform Translation:invalid textUnable to perform Translation:invalid textUnable to perform Translation:invalid textUnable to perform Translation:invalid textUnable to perform Translation:invalid textUnable to perform Translation:invalid textUnable to perform Translation:invalid textUnable to perform Translation:invalid textUnable to perform Translation:invalid textUnable to perform Translation:invalid textUnable to perform Translation:invalid textUnable to perform Translation:invalid textUnable to perform Translation:invalid textUnable to perform Translation:invalid textUnable to perform Translation:invalid textUnable to perform Translation:invalid text
SSD
Unable to perform Translation:invalid text/ dev/sda1Unable to perform Translation:invalid textUnable to perform Translation:invalid text29.81 GBUnable to perform Translation:invalid textUnable to perform Translation:invalid textNTFSUnable to perform Translation:invalid textUnable to perform Translation:invalid textWindows 7 SystemUnable to perform Translation:invalid text
Unable to perform Translation:invalid text/ dev/sda2Unable to perform Translation:invalid textUnable to perform Translation:invalid text14.85 GBUnable to perform Translation:invalid textUnable to perform Translation:invalid textNTFSUnable to perform Translation:invalid textUnable to perform Translation:invalid textDataUnable to perform Translation:invalid text
Unable to perform Translation:invalid text/ dev/sda3Unable to perform Translation:invalid textUnable to perform Translation:invalid text54.93 MBUnable to perform Translation:invalid textUnable to perform Translation:invalid textHidden FAT16Unable to perform Translation:invalid textUnable to perform Translation:invalid textFor OSDev stuff except QEMU under real conditionsUnable to perform Translation:invalid text
Unable to perform Translation:invalid text/ dev/sda4Unable to perform Translation:invalid textUnable to perform Translation:invalid text73.53 GBUnable to perform Translation:invalid textUnable to perform Translation:invalid textExtended partitionUnable to perform Translation:invalid text 
Unable to perform Translation:invalid text/ dev/sda5Unable to perform Translation:invalid textUnable to perform Translation:invalid text7.63 GBUnable to perform Translation:invalid textUnable to perform Translation:invalid textLinux SwapUnable to perform Translation:invalid textUnable to perform Translation:invalid textOnly for the Hibernate stuff, so I will save my SSDUnable to perform Translation:invalid text
Unable to perform Translation:invalid text/ dev/sda6Unable to perform Translation:invalid textUnable to perform Translation:invalid text30.52 GBUnable to perform Translation:invalid textUnable to perform Translation:invalid textEXT4Unable to perform Translation:invalid textUnable to perform Translation:invalid text/Unable to perform Translation:invalid text
Unable to perform Translation:invalid text/ dev/sda7Unable to perform Translation:invalid textUnable to perform Translation:invalid text36.36 GBUnable to perform Translation:invalid textUnable to perform Translation:invalid textEXT4Unable to perform Translation:invalid textUnable to perform Translation:invalid text/ home (with private ecryptfs user directories)Unable to perform Translation:invalid text
Unable to perform Translation:invalid text

 

Unable to perform Translation:invalid text

Then I installed Ubuntu 9:10 and then 64-bit Windows 7, and presented using the LiveCD grub2 MBR restored.

Unable to perform Translation:invalid text

 

Unable to perform Translation:invalid text

And then I finally gave me to work. I invited my grub2 1.97 Beta 4 source tree along with Ubuntu 9:10 Patches herrunter and then I modified the / boot/i386/pc/boot.S so, so that when I say "no" Turn the MediaDirect button to press that the MBR then loads the boot sector of first partition (/ dev/sda1) and runs, and that even before the rest of grub2 stuff loaded from the MBR will say that is almost at the beginning of the MBR code. Undwenn I now turn the MediaDirect button to confirm, will my code eingepatchter skipped by one jump condition and the grub2 Main code then loaded and executing. Grub2 loads according näturlich then the Linux kernel.

Unable to perform Translation:invalid text

 

Unable to perform Translation:invalid text

The query whether it has confirmed the MediaDirect button is quite simple. So depending on when you have confirmed the MediaDirect button or not, the BIOS uses the CMOS on the site of the 0x79 bit 3 (bitmask 0x08) or not. This can be in the MBR then, for example) on fairly easily the following code (Intel x86 16bit real mode syntax:

Unable to perform Translation:invalid text

 

Unable to perform Translation:invalid text

cli
mov al, 0x79
out 0x70, al
nop
nop
nop
in al, 0x71
sti
and al, 0x08

Unable to perform Translation:invalid text

jnz MediaDirect button Pressed

Unable to perform Translation:invalid text

MediaDirectButtonNotPressed:

Unable to perform Translation:invalid text

.....
MediaDirect Button Pressed:

Unable to perform Translation:invalid text

 

Unable to perform Translation:invalid text

Unable to perform Translation:invalid texthttp://vserver.rosseaux.net/stuff/m1330boot.diff.txtUnable to perform Translation:invalid text

Unable to perform Translation:invalid text

 

Unable to perform Translation:invalid text

Unable to perform Translation:invalid textWinkUnable to perform Translation:invalid text

Unable to perform Translation:invalid text

 

Unable to perform Translation:invalid text

 

Unable to perform Translation:invalid text

Link Backs


Comments


New Comment


Name:
e-mail:
Website:
Text:
This commentator is informed of this website and noted that his opinions, plus identities (IP addresses constitute personal data), not only on the server with Comment emitted, but also transferred to a Drittserver the Internet to check for spam and are kept there for an indefinite period.
Stop Data Retention! Now click and act!Want to participate in the action? Here you will find all relevant info and materials: