- 论坛徽章:
- 0
|
30可用积分
这是一个安装问题,我详细写明我的操作步骤和系统提示,如需更多细节,敬请回复!
关键字,无法从移动硬盘安装系统,红旗LINUX,
设备 笔记本电脑一台 移动硬盘一块
描述 笔记本运行Debian 4 下载了中科红旗 RH7.iso
步骤
0.设定笔记本引导顺序1光驱2移动设备3硬盘4网络
1.运行Gparted软件格式化移动硬盘。
/dev/sda1 90.63 GiB
/dev/sda1 ext3 Mountpoint /,/dev/.static/dev Flags boot
/dev/sda2 extended
/dev/sda5 linux-swap
/dev/sdb1 149.05 GiB
/dev/sdb1 ext2 Mountpoint /media/usbdisk
检查用 fdisk -l
Disk /dev/sda: 100.0 GB, 100030242816 bytes
255 heads, 63 sectors/track, 12161 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 11831 95032476 83 Linux
/dev/sda2 11832 12161 2650725 5 Extended
/dev/sda5 11832 12161 2650693+ 82 Linux swap / Solaris
Disk /dev/sdb: 160.0 GB, 160041885184 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 19457 156288321 83 Linux
2.移动硬盘上拷贝如下文件
redflag-DT7-liveCD-200808080800.iso
vmlinuz0
initrd4disk.img
建立文件夹grub内有grub.conf文件
还有一个文件夹,分区后就存在名为lost+found(不知道是什么)
3.gurb.conf文件内容如下
title disk boot DT7
root (hd1,0)
kernel /vmlinuz0 root=CDLABEL=redflag-DT7-livecd isodev=/dev/sdb1 isodev_dir=/ rootfstype=iso9660 ro liveimg quiet vga=788 live_locale=zh_CN.UTF-8
initrd /initrd4disk.img
4.运行hdboot.sh
please input the path of .iso file,for example(/mnt/sda2) :
/media/usbdisk回车
these are all iso file,in this directory :
1 redflag-DT7-liveCD-200808080800.iso
please choose the number that you want to install:
1回车
Successful!!!,you need reboot computer ,install
结果,重启后并未从移动硬盘引导,而是从硬盘引导。
我错在哪一处了,请高手指点。 |
最佳答案
查看完整内容
grub在哪个盘上安装的呢?设置引导那个盘呢?grub.conf在usbdisk上,那么usbdisk的MBA上安装grub了吗?是硬盘主分区在引导还是usbdisk主分区在引导?[ 本帖最后由 freesky3555 于 2009-11-4 23:03 编辑 ]
|