<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ThinkPad with Ubuntu &#187; GRUB</title>
	<atom:link href="http://yoshi-1968.com/tag/grub/feed/" rel="self" type="application/rss+xml" />
	<link>http://yoshi-1968.com</link>
	<description>～気が向いたときに時々メモる備忘録～</description>
	<lastBuildDate>Sat, 29 May 2010 05:46:38 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>GRUB 2 と PBR</title>
		<link>http://yoshi-1968.com/2009/11/06/grub-2-%e3%81%a8-pbr/</link>
		<comments>http://yoshi-1968.com/2009/11/06/grub-2-%e3%81%a8-pbr/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 15:53:16 +0000</pubDate>
		<dc:creator>yoshimi</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[GRUB]]></category>
		<category><![CDATA[GRUB2]]></category>

		<guid isPermaLink="false">http://yoshi-1968.com/?p=157</guid>
		<description><![CDATA[どうやら、GRUB 2はMBRにインストールするのが基本らしいです。ubuntu日本語フォーラムで議論されていました。
それならばということで、あくまでもPBRへのインストールにこだわりパーティションを次のように変更して [...]]]></description>
			<content:encoded><![CDATA[<p>どうやら、GRUB 2はMBRにインストールするのが基本らしいです。<a href="https://forums.ubuntulinux.jp/viewtopic.php?pid=43236">ubuntu日本語フォーラム</a>で議論されていました。<br />
それならばということで、あくまでもPBRへのインストールにこだわりパーティションを次のように変更して、何度目かのインストールを行いました。</p>
<blockquote><p>
sda<br />
　sda1（Windows7 Loader）<br />
　sda2（Windows7）<br />
　sda3（ext4。すべてここにインストール。GRUB2もここ。）<br />
　sda4（swap）
</p></blockquote>
<p>二つのOSで４つの基本区画を使用するのもどうかとは思いましたが、他にインストールするOSを増やす予定もありませんし、妙なパーティションも作らずに目的も達成できたからとりあえず良とします。</p>
<p>ただ、MBRにGRUB 2をインストールした場合は、何かの拍子で誤って/boot/grubが読み込めなくなった時にはWindows7も起動しなくなるので、復旧が若干面倒くさくなりますね。まあ、LiveCDで元に戻せるから気にしなくて良いのかも。</p>
<p>ということで、この件はここまでとします。</p>
]]></content:encoded>
			<wfw:commentRss>http://yoshi-1968.com/2009/11/06/grub-2-%e3%81%a8-pbr/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ubuntu 9.10 Desktop 日本語 Remix</title>
		<link>http://yoshi-1968.com/2009/11/04/ubuntu-9-10-desktop-%e6%97%a5%e6%9c%ac%e8%aa%9e-remix/</link>
		<comments>http://yoshi-1968.com/2009/11/04/ubuntu-9-10-desktop-%e6%97%a5%e6%9c%ac%e8%aa%9e-remix/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 14:34:44 +0000</pubDate>
		<dc:creator>yoshimi</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[GRUB]]></category>

		<guid isPermaLink="false">http://yoshi-1968.com/?p=155</guid>
		<description><![CDATA[先日、パーティション設定で妥協したubuntu9.10のインストール。日本語 RemixでGRUB2の様子も変わっているかもと淡い期待を抱きつつ再度、インストールを試みましたが状況は同じでした。
念のため、ext3でフォ [...]]]></description>
			<content:encoded><![CDATA[<p>先日、パーティション設定で妥協したubuntu9.10のインストール。日本語 RemixでGRUB2の様子も変わっているかもと淡い期待を抱きつつ再度、インストールを試みましたが状況は同じでした。<br />
念のため、ext3でフォーマットしてみましたがそれでもやっぱりダメでした。</p>
]]></content:encoded>
			<wfw:commentRss>http://yoshi-1968.com/2009/11/04/ubuntu-9-10-desktop-%e6%97%a5%e6%9c%ac%e8%aa%9e-remix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GRUB2画像</title>
		<link>http://yoshi-1968.com/2009/11/03/grub2%e7%94%bb%e5%83%8f/</link>
		<comments>http://yoshi-1968.com/2009/11/03/grub2%e7%94%bb%e5%83%8f/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 14:04:22 +0000</pubDate>
		<dc:creator>yoshimi</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[GRUB]]></category>

		<guid isPermaLink="false">http://yoshi-1968.com/?p=148</guid>
		<description><![CDATA[GRUB2の解像度変更＆画像設定です。
１　解像度変更
640&#215;480を1280&#215;800に変更します。
最初に、/etc/default/grubが反映されるので、/usr/share/grubからコ [...]]]></description>
			<content:encoded><![CDATA[<p>GRUB2の解像度変更＆画像設定です。</p>
<p>１　解像度変更<br />
640&#215;480を1280&#215;800に変更します。<br />
最初に、/etc/default/grubが反映されるので、/usr/share/grubからコピーして編集します。</p>
<blockquote><p>
cd /etc/default/<br />
sudo cp /usr/share/grub/default/grub ./<br />
sudo vi ./grub</p>
<p>（18行目の#を削除して640&#215;480を1280&#215;800に変更）<br />
　GRUB_GFXMODE=1280&#215;800
</p></blockquote>
<p>続いて、/etc/grub.d/00_headerも修正します。</p>
<blockquote><p>
cd /etc/gruc.d/<br />
vi /etc/grub.d/00_header </p>
<p>（37行目の640&#215;480を1280&#215;800に変更）<br />
　if [ "x${GRUB_GFXMODE}" = "x" ] ; then GRUB_GFXMODE=1280&#215;800 ; fi
</p></blockquote>
<p>２　画像設定<br />
詳細は<a href="https://forums.ubuntulinux.jp/viewtopic.php?pid=43021">https://forums.ubuntulinux.jp/viewtopic.php?pid=43021</a>をご覧ください。</p>
<p>まず/usr/share/image/desktop-baseに好きな1280&#215;800の画像（*.tgaか*.png）を保存します。<br />
続いて、/etc/grub.d/05_debian_themeをファイルを開いて、次の行を探して強調されている部分を/usr/share/images/desktop-baseに保存した画像名称（拡張子なし）に変更します。</p>
<blockquote><p>
for i in {/boot/grub,/usr/share/images/desktop-base}/<strong>画像名称</strong>.{png,tga} ; do
</p></blockquote>
<p>３　最後にお約束。</p>
<blockquote><p>
sudo update-grub2
</p></blockquote>
<p>他にも、GRUB 2になって使えなくなったStartup Manager（usplash変更に使ってました）、ログイン画面の変更（メニューが無くなっています）、gnome-splashscreen（設定ツールSplash Screenで反映できない？）などなど、9.04までとは若干異なる部分がありました。<br />
既に偉い先人の方々が色々調べられていると思うので、ボチボチ探してみます。</p>
]]></content:encoded>
			<wfw:commentRss>http://yoshi-1968.com/2009/11/03/grub2%e7%94%bb%e5%83%8f/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GRUB</title>
		<link>http://yoshi-1968.com/2009/08/12/grub/</link>
		<comments>http://yoshi-1968.com/2009/08/12/grub/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 14:46:12 +0000</pubDate>
		<dc:creator>yoshimi</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[GRUB]]></category>

		<guid isPermaLink="false">http://yoshi-1968.com/?p=128</guid>
		<description><![CDATA[GPartedでubuntuの論理パーティション（と拡張パーティション）のサイズを変更した後、Ubuntuが起動しなくなったのでGRUBを再インストール。

UbuntuのLiveeCDで起動。
GRUBをインストールし [...]]]></description>
			<content:encoded><![CDATA[<p>GPartedでubuntuの論理パーティション（と拡張パーティション）のサイズを変更した後、Ubuntuが起動しなくなったのでGRUBを再インストール。</p>
<ol>
<li>UbuntuのLiveeCDで起動。</li>
<li>GRUBをインストールしたいHDD領域をマウント。メニュー「場所」からドライブを選択すればOK。</li>
<li>次を実行する。以下の例のsda5は環境によって異なるので注意。</li>
<blockquote><p>$ sudo grub-install &#8211;root-directory=/media/disk/ /dev/sda5</p></blockquote>
</ol>
<p>おしまい。</p>
]]></content:encoded>
			<wfw:commentRss>http://yoshi-1968.com/2009/08/12/grub/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
