spouštění linuxu tlačítkem Latitude ON
ještě jsem se k tomu nedokopal, ale chystám se. na mym dellu je tlačítko pro rychlý zapnutí. buď si pořídím Latitude ON Flash, což by bylo samozřejmě nejideálnější. druhá varianta je nainstalování Latitude ON Reader, což jen spouští aplikaci s přístupem ke kalendáři, mailu atd přes outlook – to nechci. nejlákavější varianta je spuštění vlastního linuxu, třeba i Chrome OS, nebo takněco.. nebo včera objevený Linux Mint!
tak zatím jen co jsem kde našel, kdyby někdo hledal návod.
1, http://www.linlap.com/…titude+e4300#…
How boot directly on linux with the “Latitude ON Reader” button:
The E4200 and E4300 comes with two power on buttons, one the standard power on
and another for starting the “Latitude ON”. I was looking for some time a way
to make the second button to start immediately linux while the first to start
the boot manager. However I couldn’t find any information on the topic,
therefore I tried to write it down, hoping that other will find it useful)In my system now I have the:
– normal “power On” button starts the Windows Boot loader providing two options:Windows Linux Selecting the Linux jumps to the standard grub boot loader of linux– “ON reader” power button to jump immediately to Linux without any menu
I am not sure if the procedure will work if you have already installed grub
on the sda. In this case you should restore the original boot sector of dell.I’ve installed xubuntu and my disk looks like:
Device Boot Start End Blocks Id System /dev/sda1 1 16 128488+ de Dell Utility /dev/sda2 17 278 2097152 7 HPFS/NTFS /dev/sda3 * 278 22753 180531196 7 HPFS/NTFS /dev/sda4 22754 30401 61432560 5 Extended /dev/sda5 22754 24028 10241406 83 Linux /dev/sda6 24029 24093 522081 82 Linux swap / Solaris /dev/sda7 24094 30401 50668978+ 83 Linuxsda3 is the standard Windows partition
sda5 is the / on linux
sda7 is the /homeIn the end of the linux installation I have installed grub on the sda5.
Boot with a livecd on linux and copy the boot sector of sda5 with
$ dd if=/dev/sda5 of=boot.lnx bs=512 count=1Start windows and copy the boot.lnx to c:boot.lnx
As administrator create an entry for linux with the commands
C:> bcdedit /create /d “Linux” /application BOOTSECTOR
It will display the message
The entry {382a30db-2a85–11de-a5c4–00234decffbe} was successfully created.(of course the entry number will be different, copy/paste the entry id and
type the following commandsC:> bcdedit /set {382a30db-…} device boot C:> bcdedit /set {382a30db-…} PATH boot.lnx C:> bcdedit /displayorder {382a30db-…} /addlast C:> bcdedit /timeout 5At this point pressing the Power On button you could start Windows or
the grub from linux on sda5To activate the second “Latitude ON reader” button, download the Latitude Reader
program from the dell support site on E4300 or E4200http://support.dell.com/…ownload.aspx?…
Install or expand the latitude reader and copy the following files from the
the installation directory (probably C:Program FilesLatitude ON Reader)
1. ion_install.exe
2. bootsect19.orig
3. bootsect.orig
4. stage1
5. stage2/. (the whole path and files)
6. menu.lst
(At this point you could uninstall the Latitude ON reader!)Apparently the ion_install.exe is a modified version of the grubinstall.exe
program with NTFS support instead of ext3, which knows the “ON reader” button
Copy the above files to the C:boot directory
(this directory should already exists as hidden+system properties)
C:> cd C:bootType the command
C:boot> ion_install -d C: –1 C:bootstage1 –2 C:bootstage2 -m /boot/menu.lstThe ion_install will copy the original boot sector to the bootsect.orig file
install a modified grub (stage1) sector and create a default menu.lst
with two options:
windows Blacktop readerNow by pressing the “Power” button it starts the Windows option,
and with the “ON reader” button it jumps to the second entry
Unfortunately the installed grub doesn’t understand the ext3 filesystem but only
NTFS. So the only option is to chainload another boot sector e.g.
the boot.lnx to get the previously installed from linux or any other one.Start with a Linux live CD, and install an EXTRA grub on the /home
/dev/sda7 partition.
As root copy the files:
$ cp -Rdpvu /boot/grub /homeAnd install grub
$ grub root (hd0,6) find /grub/stage1 setup (hd0,6) quitCopy the boot sector of sda7
$ dd if=/dev/sda7 of=boot.sda7 bs=512 count=1In order to immediately start the first entry in the menu.lst without any menu
modify the /home/grub/menu.lst changing the lines for the timeout and hiddenmenutimeout 0 hiddenmenuCopy the boot.sda7 to windows C:
and modify the windows C:bootmenu.lst second entry totitle Linux rootnoverify (hd0,0) chainloader (hd0,2)/boot.sda7If you have done everything correctly now you should be able to
boot directly to linux with the “On reader” button