V
7  
Tags
Attachments
Dobrica Pavlinušić's random unstructured stuff
Thnikpad X200


links

grub2 memdisk config

menuentry "HD firmware update" {
  linux16 /memdisk iso
  initrd16 /fwsh33.iso
}

menuentry "BIOS update" {
  linux16 /memdisk iso
  initrd16 /7wuj39uc.iso
}

mount image

dpavlin@x200:~$ sudo fdisk -l -u /boot/bios.img 
You must set cylinders.
You can do this from the extra functions menu.

Disk /boot/bios.img: 0 MB, 0 bytes
64 heads, 32 sectors/track, 0 cylinders, total 0 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

         Device Boot      Start         End      Blocks   Id  System
/boot/bios.img1   *          32       47103       23536    4  FAT16 <32M

calculate offset

dpavlin@x200:~$ echo '32*512' | bc
16384

and mount it

dpavlin@x200:~$ sudo mount /boot/bios.img /tmp/bios/ -o loop,offset=16384 -t vfat

 

Upload Files

Click "Browse" to find the file you want to upload. When you click "Upload file" your file will be uploaded and added to the list of attachments for this page.

Maximum file size: 50MB

 
 
 
File Name Author Date Uploaded Size

Save Page As

Enter a meaningful and distinctive title for your page.

Page Title:

Tip: You'll be able to find this page later by using the title you choose.

Page Already Exists

There is already a page named XXX. Would you like to:

Save with a different name:

Save the page with the name "XXX"

Append your text to the bottom of the existing page named: "XXX"

Upload Files

Click "Browse" to find the file you want to upload. When you click "Add file" this file will be added to the list of attachments for this page, and uploaded when you save the page.

 
 
 
Add Tags

Enter a tag and click "Add tag". The tag will be saved when you save the page.

Tag: 

Suggestions: