万恶的EXT4的grub

以前grub的命令是
root (hd0,0)指转到sda1盘
setup (hd0)安装grub
现在的命令是
grub-install –root-directory=/media/disk-1 /dev/sda
其中/media/disk-1指系统的根目录,如果是你当前系统,即/
/dev/sda就是(hd0),照抄就是
当时我把Arch根目录打包转移到ext4分区,期间有了一些系统之外的问题,总之一个晚上,即两小时没搞定。找到以上grub-install命令,也没理解清楚,所以当时,靠,直接用移动硬盘安装ubuntu9.04,从开机到装完新系统不到五分钟,grub自动搞定,用得着我这样费时间折腾嘛!
这是三天前的事,明天十四号,看看ubuntu9.10做得咋样哈。

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s