Thursday, September 30, 2010

Copy bootable NTFS partition from one hard drive to another one

This is a short description of how to copy bootable NTFS partition from one hard drive to another one based on the Forking a XP-installation howto. You can use existing Linux installation to do so (our case), or any live CD, DVD or USB with ntfsclone (ntfsprogs package) & hexedit package.

Basically we need to clone partition & fix its boot sector(otherwise no go).

1. Clone partition.

To clone partition you can use ntfsclone tool which is a part of ntfsprogs package & is installed by default in Ubuntu:

ntfsclone --overwrite /dev/dest /dev/source

eg:

ntfsclone --overwrite /dev/sda2 /dev/sdb2

2. Fix the NTFS boot sector.

If the starting partition sector number is wrong in the partitions boot sector, windows would not be able to boot. So we need to fix it.
Find out the sector number of the cloned partition:

fdisk -ul /dev/sda

Device Boot Start End Blocks Id System
/dev/sda1 * 63 250262206 125131072 af HFS / HFS+
/dev/sda2 250262207 383937434 66837614 7 HPFS/NTFS
/dev/sda3 383940522 634202665 125131072 af HFS / HFS+
/dev/sda4 634202666 976773167 171285251 5 Extended
/dev/sda5 634202667 741886690 53842012 83 Linux
/dev/sda6 741886740 976773167 117443214 7 HPFS/NTFS

Our partition in this case is /dev/sda2 and it starts at sector 250262207
We need to convert to hex:

printf "%x" 250262207

This will give us

eeab2bf

We need to align this value to byte, eg will add leading zero:

0e ea b2 bf

Now using hexedit we will put this value into NTFS boot secter starting from address 0x1c from lower byte to higher byte, eg.:

bf b2 ea 0e

Hexedit is not installed by default in Ubuntu, so run apt-get install hexedit.

hexedit /dev/sda2



Then pres Ctrl+X and confirm save with "y"

That's it! Then use the boot loader of your choice :)

Wednesday, September 22, 2010

Tuesday, September 21, 2010

組曲『ニコニコ動画』 グランドフィナーレ 全自動マリオVer - Epic Musical Mario Level

『Automatic Mario Suite 』Nico Nico Douga [Grand Finale]



作者様の新作
Automatic Mario - Little Busters
http://www.youtube.com/watch?v=Zu2-i2...

Kumikyoku Nico Nico Douga
http://jp.youtube.com/watch?v=z8MGt3_...

組曲『ニコニコ動画』 全自動マリオVer
http://jp.youtube.com/watch?v=lsd96jy...
組曲『ニコニコ動画』 全自動マリオVer 【効果音のみ】
http://jp.youtube.com/watch?v=hUDfxLn...

作者様の他作品
全自動マリオで『てってってー』
http://www.youtube.com/watch?v=QBxG_8...

合唱 組曲『ニコニコ動画』 グランドフィナーレ
http://jp.youtube.com/watch?v=IvbCnoB...


ニコニコより転載

転載元
組曲『ニコニコ動画』 全自動マリオ 勝手にグランドフィナーレ
http://www.nicovideo.jp/watch/sm3207436


Saturday, September 18, 2010

「ナイスな森」aka “Funky Forest: The First Contact”





Basically it goes,
Yellow Guy: Please pull it…. please pull it… please pull it….
Girl: What? Am I on TV? Where are the cameras?
YG: Please pull it.. please pull it….
::YOINK::
No pant guys: THANK YOU SO MUCH!!!!

Taste of Tea director Katsuhito Ishii collaborates with filmmakers Shinichiro Miki and Hajime Ishimine) for this outrageous collection of surreal, short attention span non-sequiturs largely revolving around Guitar Brother (Tadanobu Asano), his randy older sibling, and the pair’s portly Caucasian brother. Dance numbers, pillow fights, animation, comedy, and science fiction all combine to create a unique and disorienting viewing experience featuring such highlights as an absurdist tribute to David Cronenberg, an ass-television, and a girl who fires lasers from her forehead in order to battle a floating space blob which emits spinning, spherical projectiles.

http://www.viz-pictures.com/sites/funky_forest/index.html

WARNING: What is seen cannot be unseen!!!

http://www.youtube.com/watch?v=4bb4y8HEYq8

http://www.youtube.com/watch?v=HKeDyb7uFN8

O_o


Crazy Nacho Flavored!