系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
-
mfecit
- 帖子: 156
- 注册时间: 2006-12-03 17:59
#16
帖子
由 mfecit » 2008-08-29 12:00
yaoms 写了:sudo mount -t vfat -o loop file.img /mnt 不行吗?
这肯定是错误的 文件系统怎么会是FAT分区??
-
BigSnake.NET
- 帖子: 12522
- 注册时间: 2006-07-02 11:16
- 来自: 廣州
-
联系:
#17
帖子
由 BigSnake.NET » 2008-08-29 12:00
试试 512
跳过 mbr
^_^ ~~~
要理解递归,首先要理解递归。
地球人都知道,理论上,理论跟实际是没有差别的,但实际上,理论跟实际的差别是相当大滴。
-
mfecit
- 帖子: 156
- 注册时间: 2006-12-03 17:59
#18
帖子
由 mfecit » 2008-08-29 12:01
BigSnake.NET 写了:试试 512
跳过 mbr
同样出错
-
BigSnake.NET
- 帖子: 12522
- 注册时间: 2006-07-02 11:16
- 来自: 廣州
-
联系:
#19
帖子
由 BigSnake.NET » 2008-08-29 12:03
mfecit 写了:BigSnake.NET 写了:试试 512
跳过 mbr
同样出错
fdisk -l xxx.img
贴出来
^_^ ~~~
要理解递归,首先要理解递归。
地球人都知道,理论上,理论跟实际是没有差别的,但实际上,理论跟实际的差别是相当大滴。
-
mfecit
- 帖子: 156
- 注册时间: 2006-12-03 17:59
#20
帖子
由 mfecit » 2008-08-29 12:05
mount: 您必须指定文件系统类型
它总是提示这一点 我估计不是MBR的问题
文件类型?
ntfs vfat
mount -t ntfs -o loop,offset=512 X.img /mnt
NTFS signature is missing.
Failed to mount '/dev/loop0': 非法的参数
The device '/dev/loop0' doesn't have a valid NTFS.
Maybe you selected the wrong device? Or the whole disk instead of a
partition (e.g. /dev/hda, not /dev/hda1)? Or the other way around?
root@mf-laptop:/media/Work/其它# mount -t vfat -o loop,offset=512 X.img /mnt
mount: wrong fs type, bad option, bad superblock on /dev/loop1,
missing codepage or helper program, or other error
系统日志中可能有一些重要的信息,
试试用 dmesg | tail 之类的命令查看。
-
mfecit
- 帖子: 156
- 注册时间: 2006-12-03 17:59
#21
帖子
由 mfecit » 2008-08-29 12:06
fdisk -l X.img
You must set cylinders.
You can do this from the extra functions menu.
Disk X.img: 0 MB, 0 bytes
2 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 126 * 512 = 64512 bytes
Disk identifier: 0x018fccb1
Device Boot Start End Blocks Id System
X.img1 * 1 15929 1003504 b W95 FAT32
Partition 1 has different physical/logical beginnings (non-Linux?):
phys=(0, 1, 1) logical=(0, 0, 33)
Partition 1 has different physical/logical endings:
phys=(1023, 1, 63) logical=(15928, 1, 49)
-
yaoms
- 帖子: 4952
- 注册时间: 2007-10-19 14:51
- 来自: 深圳
#22
帖子
由 yaoms » 2008-08-29 12:11
你的u盘什么分区格式你总知道吧?我一帮都用fat的。。
Nothing 有事请发邮件到 yms541 AT gmail.com
alias 爱慕颇雷尔='mplayer'
-
BigSnake.NET
- 帖子: 12522
- 注册时间: 2006-07-02 11:16
- 来自: 廣州
-
联系:
#23
帖子
由 BigSnake.NET » 2008-08-29 12:11
mfecit 写了:mount: 您必须指定文件系统类型
它总是提示这一点 我估计不是MBR的问题
文件类型?
ntfs vfat
mount -t ntfs -o loop,offset=512 X.img /mnt
NTFS signature is missing.
Failed to mount '/dev/loop0': 非法的参数
The device '/dev/loop0' doesn't have a valid NTFS.
Maybe you selected the wrong device? Or the whole disk instead of a
partition (e.g. /dev/hda, not /dev/hda1)? Or the other way around?
root@mf-laptop:/media/Work/其它# mount -t vfat -o loop,offset=512 X.img /mnt
mount: wrong fs type, bad option, bad superblock on /dev/loop1,
missing codepage or helper program, or other error
系统日志中可能有一些重要的信息,
试试用 dmesg | tail 之类的命令查看。
这是 mbr 的问题,mount 不能自动分辨文件系统类型,所以就叫你指定了
实际上你挂载的文件根本不是个分区,当然不能分辨类型
mount -o loop,offset=512 X.img /mnt
试试
^_^ ~~~
要理解递归,首先要理解递归。
地球人都知道,理论上,理论跟实际是没有差别的,但实际上,理论跟实际的差别是相当大滴。
-
mfecit
- 帖子: 156
- 注册时间: 2006-12-03 17:59
#24
帖子
由 mfecit » 2008-08-29 12:11
mount -t vfat -o loop X.img /mnt
mount: wrong fs type, bad option, bad superblock on /dev/loop1,
missing codepage or helper program, or other error
系统日志中可能有一些重要的信息,
试试用 dmesg | tail 之类的命令查看。
FAT 格式的啊
-
mfecit
- 帖子: 156
- 注册时间: 2006-12-03 17:59
#25
帖子
由 mfecit » 2008-08-29 12:13
BigSnake.NET 写了:mfecit 写了:mount: 您必须指定文件系统类型
它总是提示这一点 我估计不是MBR的问题
文件类型?
ntfs vfat
mount -t ntfs -o loop,offset=512 X.img /mnt
NTFS signature is missing.
Failed to mount '/dev/loop0': 非法的参数
The device '/dev/loop0' doesn't have a valid NTFS.
Maybe you selected the wrong device? Or the whole disk instead of a
partition (e.g. /dev/hda, not /dev/hda1)? Or the other way around?
root@mf-laptop:/media/Work/其它# mount -t vfat -o loop,offset=512 X.img /mnt
mount: wrong fs type, bad option, bad superblock on /dev/loop1,
missing codepage or helper program, or other error
系统日志中可能有一些重要的信息,
试试用 dmesg | tail 之类的命令查看。
这是 mbr 的问题,mount 不能自动分辨文件系统类型,所以就叫你指定了
实际上你挂载的文件根本不是个分区,当然不能分辨类型
mount -o loop,offset=512 X.img /mnt
试试
mount -o loop,offset=512 X.img /mnt
mount: 您必须指定文件系统类型
-
BigSnake.NET
- 帖子: 12522
- 注册时间: 2006-07-02 11:16
- 来自: 廣州
-
联系:
#26
帖子
由 BigSnake.NET » 2008-08-29 12:14
mfecit 写了:BigSnake.NET 写了:mfecit 写了:mount: 您必须指定文件系统类型
它总是提示这一点 我估计不是MBR的问题
文件类型?
ntfs vfat
mount -t ntfs -o loop,offset=512 X.img /mnt
NTFS signature is missing.
Failed to mount '/dev/loop0': 非法的参数
The device '/dev/loop0' doesn't have a valid NTFS.
Maybe you selected the wrong device? Or the whole disk instead of a
partition (e.g. /dev/hda, not /dev/hda1)? Or the other way around?
root@mf-laptop:/media/Work/其它# mount -t vfat -o loop,offset=512 X.img /mnt
mount: wrong fs type, bad option, bad superblock on /dev/loop1,
missing codepage or helper program, or other error
系统日志中可能有一些重要的信息,
试试用 dmesg | tail 之类的命令查看。
这是 mbr 的问题,mount 不能自动分辨文件系统类型,所以就叫你指定了
实际上你挂载的文件根本不是个分区,当然不能分辨类型
mount -o loop,offset=512 X.img /mnt
试试
mount -o loop,offset=512 X.img /mnt
mount: 您必须指定文件系统类型
fdisk -ul X.img 贴结果
^_^ ~~~
要理解递归,首先要理解递归。
地球人都知道,理论上,理论跟实际是没有差别的,但实际上,理论跟实际的差别是相当大滴。
-
mfecit
- 帖子: 156
- 注册时间: 2006-12-03 17:59
#27
帖子
由 mfecit » 2008-08-29 12:15
fdisk -ul X.img
You must set cylinders.
You can do this from the extra functions menu.
Disk X.img: 0 MB, 0 bytes
2 heads, 63 sectors/track, 0 cylinders, total 0 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x018fccb1
Device Boot Start End Blocks Id System
X.img1 * 32 2007039 1003504 b W95 FAT32
Partition 1 has different physical/logical beginnings (non-Linux?):
phys=(0, 1, 1) logical=(0, 0, 33)
Partition 1 has different physical/logical endings:
phys=(1023, 1, 63) logical=(15928, 1, 49)
-
BigSnake.NET
- 帖子: 12522
- 注册时间: 2006-07-02 11:16
- 来自: 廣州
-
联系:
#28
帖子
由 BigSnake.NET » 2008-08-29 12:18
设置
offset=16384
^_^ ~~~
要理解递归,首先要理解递归。
地球人都知道,理论上,理论跟实际是没有差别的,但实际上,理论跟实际的差别是相当大滴。
-
mfecit
- 帖子: 156
- 注册时间: 2006-12-03 17:59
#29
帖子
由 mfecit » 2008-08-29 12:21
BigSnake.NET 写了:设置
offset=16384
mount -o loop,offset=16384 X.img /mnt
成功了 非常感谢………………………………