LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1199|回复: 8

使用dd命令u盘安装的问题

[复制链接]
发表于 2009-8-23 07:55:01 | 显示全部楼层 |阅读模式
想从ubuntu叛到archlinux,可是用官方的那个教程用命令dd做出来的启动盘系统根本不认,直接进入到硬盘了(我已指定从usb-zip启动)。我的主板支持usb启动的。

制作时的操作:
dd bs=8M if=archlinux-2009.08-core-i686.img of=/dev/sdb

u盘的信息如下:
Disk /dev/sdb: 2032 MB, 2032664576 bytes
95 heads, 61 sectors/track, 685 cylinders
Units = cylinders of 5795 * 512 = 2967040 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1         129      372455   83  Linux
Partition 1 has different physical/logical beginnings (non-Linux?):
     phys=(0, 1, 1) logical=(0, 1, 3)
Partition 1 has different physical/logical endings:
     phys=(46, 94, 61) logical=(128, 52, 41)
请问各位是不是用dd之前对u盘要有什么操作?
发表于 2009-8-23 08:07:09 | 显示全部楼层
已指定从usb-zip启动?

再换一个 usb 启动方式吧。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-8-23 08:21:07 | 显示全部楼层
谢谢,只是我都试过了,可还是不行
回复 支持 反对

使用道具 举报

发表于 2009-8-23 08:24:37 | 显示全部楼层
用GRUB4DOS来启动光盘吧。。。
回复 支持 反对

使用道具 举报

发表于 2009-8-23 09:21:05 | 显示全部楼层
是不是启动顺序没设置好?

另外,有些电脑的 U 盘启动可能 grub 引导不了,此时可以用 syslinux 引导。还没见过后者不能引导的情况。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-8-23 09:29:06 | 显示全部楼层
哦,谢谢,我再研究研究
回复 支持 反对

使用道具 举报

发表于 2009-8-23 11:11:41 | 显示全部楼层
我的也不能启动, 于是花了20分钟下iso刻光盘, 一切照旧.
回复 支持 反对

使用道具 举报

发表于 2009-8-23 12:02:53 | 显示全部楼层
看来有必要出一个 syslinux 启动的教程。不过我只知道 Linux 下如何操作:

1. 格式化U盘,可选 FAT32 或 EXT2 的格式,然后挂载U盘;
2. 将 Arch 启动光盘上的内容全部复制到U盘;
3. 安装 syslinux;
4. 将当前目录改变为U盘上 boot/isolinux 文件夹下
5.1 如果是 fat32 格式,要用 syslinux 指令
cp isolinux.cfg syslinux.cfg
vi syslinux.cfg (修改 archisolabel 的值,使之等于 U盘的 label)
syslinux [-s] /dev/sdb1
5.2 如果是 ext2 格式,要用 extlinux 指令
cp isolinux.cfg extlinux.conf
vi syslinux.cfg (修改 archisolabel 的值,使之等于 U盘的 label)
extlinux -i /dev/sdb1
cat /path/to/mbr.bin > /dev/sdb
回复 支持 反对

使用道具 举报

发表于 2009-8-23 12:52:44 | 显示全部楼层
我只知道有两点要注意:
1.不要挂载u盘
2.写入的是整个u盘,即sd[x],而不是分区 sd[x]1
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表