在这里开始Ubuntu,将ubuntu系统安装在移动硬盘里的方法:
1.在windows下从硬盘将 ubuntu 装进移动硬盘(Grub4dos用0.4.3版本方有效)
在安装之前,要把硬盘引导文件和ubuntu-7.10-alternate-i386.iso放到某个盘符下(放移动硬盘下不行,grub之初检不到),7.10可以在ntfs下,不过以前的版本得在fat32下。后面和硬盘安装一样,只是装到移动硬盘上。在提示装Grub时最好不要装在win的mbr,可填上/dev/sdb(因为内部有SATA硬盘了)
2.将 GRUB4DOS 引导代码写入移动硬盘MBR
在已装好的ubuntu下,进入 bootlace.com 所在目录,假设移动硬盘为 /dev/sdb
运行命令
sudo ./bootlace.com --floppy /dev/sdb
3.配置 GRUB4DOS
在移动硬盘上找一个或新建一个 fat16/fat32/ext2/ext3 分区,将grldr 拷至其根目录, 并在同一目录下建立 menu.lst 文件,内容如下:
timeout 6
default 0
title Ubuntu, kernel 2.6.20-16-lowlatency
kernel /boot/vmlinuz-2.6.20-16-lowlatency root=UUID=177430b6-2e85-4674-88c1-029d51aeca13 ro quiet splash
initrd /boot/initrd.img-2.6.20-16-lowlatency
quiet
title Ubuntu, kernel 2.6.20-16-lowlatency (recovery mode)
kernel /boot/vmlinuz-2.6.20-16-lowlatency root=UUID=177430b6-2e85-4674-88c1-029d51aeca13 ro single
initrd /boot/initrd.img-2.6.20-16-lowlatency
title Ubuntu, kernel 2.6.20-16-generic
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=177430b6-2e85-4674-88c1-029d51aeca13 ro quiet splash
initrd /boot/initrd.img-2.6.20-16-generic
quiet
title Ubuntu, kernel 2.6.20-16-generic (recovery mode)
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=177430b6-2e85-4674-88c1-029d51aeca13 ro single
initrd /boot/initrd.img-2.6.20-16-generic
title Ubuntu, kernel 2.6.20-15-lowlatency
kernel /boot/vmlinuz-2.6.20-15-lowlatency root=UUID=177430b6-2e85-4674-88c1-029d51aeca13 ro quiet splash
initrd /boot/initrd.img-2.6.20-15-lowlatency
quiet
title Ubuntu, kernel 2.6.20-15-lowlatency (recovery mode)
kernel /boot/vmlinuz-2.6.20-15-lowlatency root=UUID=177430b6-2e85-4674-88c1-029d51aeca13 ro single
initrd /boot/initrd.img-2.6.20-15-lowlatency
新闻热点
疑难解答