Tuesday, August 12, 2014

来自舟山的回忆图片: 舟山 沈家门码头
来自舟山的回忆  图片: 舟山 沈家门码头

  三月的烟雨 飘摇的南方
  你坐在你空空的米店
  你一手拿着苹果 一手拿着命运
  在寻找你自己的香
  窗外的人们 匆匆忙忙
  把眼光丢在潮湿的路上
  你的舞步 划过空空的房间
  时光就变成了烟
  爱人 你可感到明天已经来临
  码头上停着我们的船
  我会洗干净头发 爬上桅杆
  撑起我们葡萄枝嫩叶般的家
  周云蓬说,米店这首歌,应该被舟山或者泉州这样的海边小城买去,作为市歌, 在细雨如斯的清晨广场上播放,整个小城都能隐隐地听到。人们懒洋洋地吃上早点,悠闲美好的一天即将开始。

Monday, January 13, 2014


figured out the simplest way to run Linux on a Mac


the latest Mac boots EFI way, it's much simpler than the legacy way of master boot record / boot sector:

here are the steps for Ubuntu studio, can be applied with any Debian / Ubuntu based distro (including Mint)

1) make sure a usb stick in FAT format;
2) get ubuntustudio-13.10-dvd-amd64.iso (officially from http://cdimages.ubuntu.com/ubuntustudio/releases/saucy/release/), open this iso with any Archive manager, copy boot/ and EFI/ to the root of usb stick; the EFI directory contains files of EFI/Boot/bootx64.efi and bootgrub.efi; the boot/ contains grub modules and conf files;
3) mkdir /ubuntustudio/ on the root of usb stick (can be any other names if you want), copy /casper/{vmlinuz,intrd.lz} from the iso to this studio/capser/; this is linux kernel and initrd to boot with;
4) copy the ubuntustudio-13.10-dvd-amd64.iso to /ubuntustudio/ of the usb stick;
5) edit /boot/grub/grub.conf, add this as first menuentry:

enuentry "Start Linux Ubuntu-Studio 13.10 (Saucy Salamander)" {
set gfxpayload=keep
linux /ubuntustudio/vmlinuz  file=/cdrom/preseed/mint.seed boot=casper iso-scan/filename=/ubuntustudio/ubuntustudio-13.10-dvd-amd64.iso quiet splash --
initrd /ubuntustudio/initrd.lz
}


Plugin this usb stick, boot mac with holding Option key, till boot manager shows up with a new EFI boot, that is for the usb stick boot option, choose it boot!




References:

  1. http://www.makeuseof.com/tag/how-to-boot-a-linux-live-usb-stick-on-your-mac/
  2. https://help.ubuntu.com/community/UEFI
  3. https://wiki.archlinux.org/index.php/Boot_Loaders


Tuesday, January 07, 2014

goodbye thinkpad welcome macbook, was running archlinux64 + debian, this is ubunto studio 13