Use SSD for bootable USB stick Linux liveboot

If you flash a Debian-style Linux live-boot image that’s intended for USB stick on a USB-SSD itself (for speed), it will get stuck at initramfs on boot because unlike USB sticks, USB SSD drives are not considered removable drives, yet the live-boot parameters (scripts) set to search only removable media, hence it cannot find the right device.

The solution is to remove live-media=removable as boot parameter (typically under append initrd). You can do that quickly on each boot by TAB key to modify this key-value pair out of the boot parameters and hit enter.

To make it persistent, you have to edit the scripts where these boot parameter lives. The live USB stick/CD was supposed to be mounted as a read-only volume, so we need to first remount it as writable in order to modify the scripts:

mount -o remount -w /lib/live/mount/medium

Note the -w parameter which means writable. -o means options. -o remount,rw means exercising the remount option as a writable drive (-w is alternate syntax for writable).

Make sure you have root access (to modify these files), and edit these live*.cfg files if it shows up in the following folders:

/lib/live/mount/medium/syslinux/live*.cfg
/lib/live/mount/medium/EFI/boot/live*.cfg

Then take out live-media=removable in for the boot menu item you normally use for each of these script .cfg files. Reboot after you are done.

Loading

民主歌聲獻中華 Concert For Democracy In China 1989-05-27

Hong Kong people who grew up under the British rule (before 1997-07-01) generally respects freedom and genuine democracy (the western kind with separation of powers strictly enforced under the rule-OF-law, not Marxist-Leninsts’ People’s democracy which is the dictatorship of the Soviets).

They fought for freedom and genuine democracy in China in 1989 in response to the Tiananmen Square massacre. 30 years later the very same artists were bought by the Chinese Communist Party to relay their propaganda. It’s scary how many people will sell their souls and their freedom, especially other people’s freedoms, for some ‘easy’ cash (those easy cash has strings attached: you have to obey the CCP. It’s a contract with Satan).

The Chinese Communist Party did the same infiltration plans to America, which the Chinese Communist Party has made the break during the Clinton administration bribing American politicians which opens the door for them to WTO and other international organizations, allowing the evil transnational criminal organization Chinese Communist Party to have more access to trade and use the wealth to destroy and dominate the free world with communism. Time for us to either shoot down the communist party or be slaves of Xi Jin Ping.

For those who want to dive into the details, the infiltration plan is called the ‘Termite strategy‘ by Chinese Communist Party premier Zhou-Enlai: basically it sends infiltrators dressing up as innocent members of the society at all levels to emigrate to the victim country that the Chinese Communist Party wishes to corrupt. It goes as early as the 1940s, and the first attempt to subvert is the 1967 riots of Hong Kong. They did something similar with the underground communists worldwide disguising itself as the black rights movements (which repeats itself as the #BlackLivesMatter movement in 2020). There’s no surprise as the Chinese Communist Party has been sticking with the same plans ever since conception. Everything in between are just (like staying under the radar for a period of growth during Deng and Jiang dynasties) the process of helping them gain power to achieve the same evil goals of world domination by communism.

Here’s the playlist of the charity event “Concert For Democracy In China”.

Loading

Nested Ordered List Plugin Conflicts

I recently had problem with Enlighter plugin (for displaying code) being misaligned after upgrading my WordPress. The Enlighter text went outside the boxes in desktop browser mode and I contacted the author of the plugin for help in the forum, and learned it was actually Nested Order List (NOL) plugin that’s overriding the CSS rules that defines the margins.

Another user had similar problem NOL conflicting certain templates and the author of NOL suggested similar causes that the CSS style from the plugin messed with other styles:

.nested-list .entry-content ul,
.nested-list .hentry ul {
 margin:.8em 0 .8em 1.4em
}

The author suggested that the NOL plugin itself is not complicated to start with (it’s just adding a CSS), and the same functionality can achieved by adding this CSS to my WordPress theme template (pasting the following text under “Additional CSS”):

.entry-content ol,
.hentry ol {
 counter-reset:level1;
}
.entry-content ol ol,
.hentry ol ol {
 counter-reset:level2
}
.entry-content ol ol ol,
.hentry ol ol ol {
 counter-reset:level3
}
.entry-content ol>li,
.hentry ol>li {
 list-style-type:none;
 line-height:1.4;
 text-indent:-1.5em
}
.entry-content ol>li:before,
.hentry ol>li:before {
 content:counter(level1,decimal)'. ';
 counter-increment:level1;
 display:inline-block;
 text-align:right;
 text-transform:none;
 width:1em
}
.entry-content ol ol>li:before,
.hentry ol ol>li:before {
 content:counter(level2,lower-alpha)'. ';
 counter-increment:level2
}
.entry-content ol ol ol>li:before,
.hentry ol ol ol>li:before {
 content:counter(level3,lower-roman)'. ';
 counter-increment:level3
}

It worked like a charm!

Loading

Texas Gov Rick Perry’s response to Craig Ferguson’s honorary citizenship request Standard to become a proud Texan

I fondly remember Craig Ferguson’s skit on his Late Late Show reading a letter from Governor Rick Perry responding to his application to become an honorary citizen of Texas (part of his honorary citizen campaign before he became an US citizen). We hear bits and pieces on the show, but gladly Ed Bark has the whole letter down in his blog.

Since it’s very old material, and it seems such marvelous material is fading out from search engines, I made a copy here to preserve it. I hope somebody can find the letter and make a PDF out of it.

Here’s the letter:

Dear Craig,

There was a time when we granted the status of Texan to just about anyone, including criminals, drunks and Tennesseans. Today our standards are much higher.

We need to know first of all if you have a gun rack on your car — and we don’t mind gun racks on girlie cars, which I suspect you drive.

Secondly, we need to know if, upon approaching roadkill, you drive on by, or stop and throw it in the back so you can skin it and hang the pelt on your wall.

Third, we need to make sure you have never, and never would, deface the Alamo.

Lastly, we need to know if you are willing to stand guard on our border, and prevent the entry of illegals from Arkansas, Oklahoma, Louisiana and New Mexico.

Your citizenship as a Texan depends on your answers to these questions, and whether you can dip tobacco and eat chili at the same time.

Sincerely yours,

Rick Perry

Governor

Loading